.member-access {
  margin-block: clamp(28px, 5vw, 74px);
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  background: #fff;
}
.access-visual {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: #0e2c3b;
}
.access-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.access-visual:after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(0deg, #081e35cf, transparent);
}
.access-visual span {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 1;
  color: white;
  font: 600 clamp(22px, 3vw, 33px) / 1.4 var(--serif);
  letter-spacing: 0.05em;
}
.member-access .auth {
  align-self: center;
  width: 100%;
  max-width: 490px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 58px);
}
.member-access h1,
.account-page .page-head h1,
.editorial-detail h1,
.profile-mast h1 {
  font: 700 clamp(32px, 3.5vw, 50px) / 1.3 var(--serif);
  letter-spacing: -0.025em;
}
.member-access .btn.primary,
.form-card .btn.primary {
  min-height: 44px;
}
.field > label {
  font-size: 14px;
  font-weight: 650;
}
.password-control {
  position: relative;
  min-width: 0;
}
.password-control input {
  padding-right: 48px;
}
.password-control button {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 1px 1px 1px auto;
  width: 43px;
  color: var(--muted);
  border: 0;
  background: transparent;
  cursor: pointer;
}
.field :is(input, textarea, select):focus {
  border-color: var(--jade);
}
.field input::-ms-reveal {
  display: none;
}
.account-page .readable {
  max-width: 870px;
}
.account-page .page-head,
.editorial-detail .readable > .meta {
  border-top: 3px solid var(--jade);
  padding-top: 22px;
}
.account-page .form-card,
.member-profile .form-card {
  border-radius: 5px;
  max-width: none;
}
.member-tiers {
  gap: 16px;
}
.member-tiers .card {
  border-radius: 4px;
  border-top: 4px solid #329174;
  background: #edf5f0;
  padding: clamp(20px, 3vw, 32px);
}
.member-tiers .card:last-child {
  background: #123143;
  color: white;
  border-color: #2e665f;
}
.member-tiers .card:last-child p {
  color: #d0e0e0;
}
.member-tiers h3 {
  font: 650 26px/1.35 var(--serif);
  margin-bottom: 12px;
}
.qr-list {
  gap: 13px;
}
.qr-list figure {
  border-radius: 5px;
  border-top: 2px solid #84a89c;
}
.contact-list dd {
  overflow-wrap: anywhere;
}
.profile-mast {
  background: var(--deep);
  color: #fff;
  padding: clamp(21px, 3vw, 36px);
  border-left: 5px solid #4da789;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
}
.profile-mast h1 {
  margin: 0;
}
.profile-mast p {
  margin: 6px 0 0;
  color: #cbdbd9;
}
.profile-mast .btn.ghost {
  color: white;
  background: transparent;
  border-color: #8aa8ac;
}
.profile-mobile {
  display: none;
}
.account-nav {
  border-radius: 3px;
  background: #f5f8f7;
  padding: 8px 0;
}
.account-nav a,
.account-nav button {
  border-radius: 0;
  border-left: 3px solid transparent;
}
.account-nav a.active {
  border-color: var(--jade);
  color: var(--jade);
  background: #e5f0eb;
}
.member-profile .block > h2 {
  font: 700 24px/1.4 var(--serif);
}
.member-links {
  border-radius: 5px;
}
.member-links a {
  min-height: 45px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.member-links a:hover {
  background: #edf6f2;
}
.library-filters {
  border-radius: 3px;
  background: #f4f7f5;
  border-color: var(--line);
  margin: 18px 0 25px;
}
.library-filters :is(select, .btn, .search-box) {
  min-height: 42px;
}
.thread-row {
  padding: 20px 0;
}
.thread-row h3,
.resource-row h2 {
  font: 700 clamp(19px, 2vw, 25px) / 1.45 var(--serif);
  margin: 5px 0;
  overflow-wrap: anywhere;
}
.thread-row > a {
  display: block;
}
.resource-list {
  border-top: 2px solid #889e9c;
}
.resource-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.resource-row small,
.resource-row p,
.resource-stat {
  color: var(--muted);
}
.resource-row p {
  line-height: 1.65;
  margin: 5px 0;
  overflow-wrap: anywhere;
}
.file-icon {
  background: #edf4f1;
  min-height: 68px;
  border-top: 2px solid #498e7c;
  color: #176d60;
  display: grid;
  justify-items: center;
  align-content: center;
}
.file-icon small {
  font-size: 11px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.resource-stat {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.resource-row:hover h2 {
  color: var(--jade);
}
.editorial-detail .readable {
  max-width: 820px;
}
.editorial-detail .article-actions {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.article-actions [aria-pressed="true"] {
  border-color: #90c1ad;
  color: #12644f;
  background: #eaf5f0;
}
@media (max-width: 760px) {
  .member-access {
    max-width: 500px;
    grid-template-columns: 1fr;
    margin-block: 18px 28px;
  }
  .access-visual {
    min-height: 100px;
  }
  .access-photo {
    object-position: center 48%;
  }
  .access-visual span {
    left: 21px;
    bottom: 14px;
    font-size: 20px;
  }
  .member-access .auth {
    padding: 21px;
  }
  .member-access h1 {
    font-size: 30px;
  }
  .member-access .auth .hint {
    margin-bottom: 17px;
  }
  .profile-mast {
    padding: 17px 19px;
    margin-bottom: 12px;
  }
  .profile-mast h1 {
    font-size: 28px;
  }
  .member-profile .account-nav {
    display: none;
  }
  .profile-mobile {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    padding: 0 0 13px;
    margin-bottom: 18px;
  }
  .profile-mobile label {
    display: grid;
    gap: 4px;
    flex: 1;
  }
  .profile-mobile label span {
    font-size: 12px;
    color: var(--muted);
  }
  .profile-mobile select,
  .profile-mobile button {
    font: inherit;
    min-height: 43px;
    background: #fff;
    border: 1px solid #b6c6c6;
    border-radius: 5px;
    padding: 8px 11px;
    color: var(--ink);
    width: auto;
  }
  .profile-mobile button {
    font-size: 14px;
  }
  .member-profile .account-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .member-profile .block > h2 {
    font-size: 21px;
  }
  .library-filters {
    gap: 8px;
    padding: 10px;
  }
  .library-filters .search-box {
    flex-basis: 100%;
  }
  .filter-select {
    flex: 1 1 auto;
  }
  .filter-select select {
    width: 100%;
  }
  .resource-row {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 6px 12px;
    padding: 15px 0;
  }
  .resource-stat {
    grid-column: 2;
  }
  .file-icon {
    min-height: 54px;
    align-self: start;
  }
  .resource-row h2 {
    font-size: 20px;
  }
  .thread-row h3 {
    font-size: 21px;
  }
  .account-page .page-head,
  .editorial-detail .readable > .meta {
    padding-top: 14px;
  }
  .directory-mast .actions {
    gap: 5px;
    flex-wrap: wrap;
  }
  .directory-mast .actions .btn {
    font-size: 13px;
    padding: 7px 9px;
    min-height: 37px;
  }
  .community-page .directory-mast > div {
    padding-right: 7px;
  }
}
@media (max-width: 440px) {
  .member-access {
    width: calc(100% - 28px);
  }
  .account-page .split-fields {
    grid-template-columns: 1fr;
  }
  .library-page .directory-mast h1,
  .community-page .directory-mast h1 {
    font-size: 31px;
  }
}
