.member-split {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}
.member-form .page-field:first-of-type,
.member-form .message:first-child {
  margin-top: 0;
}
.member-form .pill {
  margin-top: 10px;
}
.meta {
  color: #bfc1c6;
  font: 12px/1.6 var(--mono);
}
.club-price {
  display: block;
  font-size: clamp(32px, 3.6vw, 48px);
  letter-spacing: -0.06em;
  line-height: 1.15;
  margin: 8px 0 2px;
  font-weight: 530;
}
.ruled {
  border-block: 1px solid var(--line);
  margin: 20px 0;
}
.ruled li {
  padding: 10px 0;
  color: #c6c8ce;
  font-size: 14px;
}
.ruled li + li {
  border-top: 1px solid var(--line);
}
.aux-links,
.actions {
  display: flex;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.aux-links a,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  border: 0;
  color: var(--paper);
  background: transparent;
}
.account-email,
.message {
  margin: 16px 0;
  overflow-wrap: anywhere;
}
.message {
  padding: 12px 16px;
  border-left: 2px solid #bac6cc;
  background: #ffffff08;
}
.reading {
  max-width: 74ch;
}
.reading :is(h2, h3):not(:first-child) {
  margin-top: 28px;
}
.reading p + p {
  margin-top: 12px;
}
.reading .pill {
  margin-top: 23px;
}
.club-page:has(.member-split) .section-title p {
  max-width: 65ch;
}
@media (max-width: 730px) {
  .member-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-field input,
  .page-field select,
  .page-field textarea {
    font-size: 16px;
  }
}
.check-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 15px;
}
.check-field input {
  width: 19px;
  height: 19px;
}
.member-list li + li {
  border-top: 1px solid var(--line);
}
.member-list li > a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
}
.member-list small,
.member-list strong {
  display: block;
  overflow-wrap: anywhere;
}
.member-list small {
  font-size: 13px;
  color: #b6b8c0;
}
.member-list strong {
  font-weight: 540;
}
.meta {
  overflow-wrap: anywhere;
}
.club-page > .band > .wrap > .section-title + * {
  margin-block-start: 34px;
}
@media (max-width: 850px) {
  .site-header .club-access {
    --halo: 9px;
    min-height: 44px;
  }
  .site-header .club-access::before {
    inset: -5px;
    padding: 5px;
  }
  .club-menu summary {
    width: 44px;
  }
}
.resume-panel,
.shelf-card {
  overflow: hidden;
}
.resume-photo,
.shelf-card img {
  width: 100%;
  height: clamp(140px, 15vw, 205px);
  object-fit: cover;
}
.resume-photo {
  object-position: 50% 35%;
}
.resume-panel .pill,
.reader #progresso form {
  margin-top: 20px;
}
progress {
  display: block;
  width: 100%;
  height: 6px;
  accent-color: #cdd5ca;
  margin-block: 16px;
}
.library-search {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.library-search .page-field {
  width: min(100%, 430px);
  margin: 0;
}
.shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
}
.shelf-card {
  max-width: 540px;
}
.shelf-card a {
  display: block;
  height: 100%;
}
.shelf-card:focus-within {
  outline: 2px solid #d0d7d7;
}
.shelf-card h2 {
  text-wrap: balance;
}
.lesson-row {
  display: flex;
  min-height: 52px;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 10px 0;
  font-size: 15px;
}
.lesson-row small {
  color: #afb7bf;
  font: 11px var(--mono);
}
.lesson-row[aria-current] span {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.resource-copy h3.module-title {
  font: 12px/1.5 var(--mono);
  margin-block: 20px 12px;
  color: #c2c6ca;
}
.reader-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.66fr) minmax(0, 1.74fr);
  gap: 20px;
  align-items: start;
}
.lesson-layout {
  position: relative;
  padding-block: clamp(16px, 2vw, 26px);
}
.lesson-layout::before,
.lesson-layout::after {
  content: '';
  position: absolute;
  inset-inline: calc(0px - var(--inset));
  height: 1px;
  background: var(--guide-edge);
  pointer-events: none;
}
.lesson-layout::before { top: 0; }
.lesson-layout::after { bottom: 0; }
.reader-index {
  position: sticky;
  top: 76px;
}
.reader-index summary {
  cursor: pointer;
  padding: 8px 0;
  font-weight: 540;
}
.reader {
  min-width: 0;
  border-inline-start: 1px solid var(--guide-inner);
  padding-block: 0;
}
.reader video {
  max-height: 440px;
  margin: 0 auto 18px;
  width: 100%;
  background: #09090a;
  border-radius: 14px;
}
.article-body {
  font-size: 16px;
  overflow-wrap: anywhere;
  line-height: 1.65;
}
.article-body p,
.article-body :is(ul, ol, table, pre, blockquote) {
  margin: 12px 0;
}
.article-body h2,
.club-page .reader h2 {
  margin: 32px 0 12px;
}
.article-body pre {
  white-space: pre-wrap;
  font: 14px/1.6 var(--mono);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #111215;
}
.article-snippet {
  margin-block: 12px;
  padding: 6px 16px 16px;
  border-block: 1px solid var(--guide-edge);
  background: #101114;
}
.article-body .article-snippet pre {
  margin: 0;
  padding: 4px 0 0;
  border: 0;
  background: transparent;
}
.snippet-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-inline-start: auto;
  min-height: 44px;
  padding-inline: 8px;
  font: 500 13px/1.3 var(--mono);
  color: #c5c9d1;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.snippet-copy::before {
  content: '';
  width: 10px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 2px;
  box-shadow: -3px -3px 0 -1px #101114, -3px -3px currentColor;
}
.snippet-copy:hover,
.snippet-copy:focus-visible {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.article-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body ul,
.article-body ol {
  padding-left: 1.6em;
  list-style: disc;
}
.article-body ol {
  list-style: decimal;
}
.article-body blockquote {
  margin-inline: 0;
  border-left: 2px solid #aaa;
  padding-left: 16px;
}
.article-body img {
  height: auto;
  max-height: 530px;
  object-fit: contain;
  border-radius: 12px;
  margin: 18px auto;
}
.article-body table {
  display: block;
  overflow-x: auto;
}
.article-body th,
.article-body td {
  text-align: left;
  padding: 8px;
  border: 1px solid var(--line);
}
.reader #progresso {
  scroll-margin-top: 80px;
}
.resource-copy p + p {
  margin-top: 12px;
}
@media (max-width: 730px) {
  .reader-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .reader-index {
    position: static;
  }
  .reader {
    padding-inline: 0;
    border-inline-start: 0;
  }
  .library-search .page-field {
    flex: 1;
    min-width: 170px;
  }
  .shelf-card {
    max-width: none;
  }
}
.editor-grid fieldset {
  padding: 0;
  margin: 0 0 18px;
  min-width: 0;
  border: 0;
}
.editor-grid legend {
  font-size: 22px;
  font-weight: 540;
  letter-spacing: -0.035em;
}
.admin-actions {
  display: grid;
  gap: 8px;
  margin-block: 16px;
}
.admin-list {
  margin-top: 18px;
}
.check-field span,
.check-field small,
.ruled small {
  overflow-wrap: anywhere;
}
.check-field small {
  display: block;
  color: #aeb3bc;
  font-family: var(--mono);
  font-size: 11px;
}
.check-field input {
  flex: none;
}
fieldset:disabled :is(input, textarea, select) {
  opacity: 0.82;
}
img[src='/club-media/caua-no-posto.jpg'] {
  object-position: 50% 54%;
}
.upload-form {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.upload-form input[type='file'] {
  max-width: 100%;
}

/* On the sign-in page the heading and form share the left rail. */
.club-page .wrap:has(> .login-layout) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  grid-template-areas: 'heading offer' 'form offer';
  gap: 34px clamp(28px, 4vw, 60px);
  align-items: start;
}
.login-layout { display: contents; }
.wrap:has(> .login-layout) > .section-title { grid-area: heading; }
.wrap:has(> .login-layout) > .section-title > p:last-child {
  max-width: 40ch;
  margin-top: 10px;
}
.login-form { grid-area: form; min-width: 0; }
.login-form .page-field input { min-height: 50px; }
.login-form .pill { min-width: 128px; }
/* The pass is the same component used when the club issues it at checkout. */
.login-offer { grid-area:offer; min-width:0; }
.login-pass-frame {
  position:relative; isolation:isolate; display:grid; place-items:center;
  border:1px solid #3b4863; border-radius:17px; overflow:hidden;
  background:
    radial-gradient(ellipse at 48% 28%, #34466a 0%, #19243c 50%, #0c1322 92%);
}
.login-pass-frame::before {
  content:''; position:absolute; inset:0; pointer-events:none; opacity:.2;
  background:url('/art/cardstock-grain.png') repeat;
}
.login-pass-frame .margin-checkout {
  width:100%; min-width:0; padding:clamp(22px,2.4vw,36px) 24px;
  display:flex; justify-content:center; align-items:center;
}
.login-pass-frame .ticket-stage { width:min(100%,238px); transform:rotate(-4deg); }
.login-pass-caption {
  display:flex; align-items:baseline; justify-content:space-between;
  gap:8px 20px; flex-wrap:wrap; padding:16px 2px 0;
}
.login-pass-caption p { margin:0; font-size:14px; color:#c9cdd5; }
.login-pass-caption a { font-size:13px; }
@media (max-width: 730px) {
  .club-page .wrap:has(> .login-layout) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'heading' 'form' 'offer';
    grid-template-rows: auto;
  }
  .login-pass-frame .ticket-stage { width:min(100%,214px); }
}

.verify-page {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 100px); align-items: center;
  padding-block: clamp(58px, 10vw, 148px); min-height: 68vh;
}
.verify-copy { max-width: 31rem; min-width: 0; }
.verify-copy h1 { font: 520 clamp(42px, 5.5vw, 78px)/.99 Geist, sans-serif; letter-spacing: -.07em; margin: 0 0 24px; text-wrap: balance; }
.verify-copy > p { margin: 0; color: #bdc4d2; line-height: 1.55; }
.verify-copy .verify-address { color: #f3f5fc; overflow-wrap: anywhere; font-weight: 550; }
.verify-form { margin-top: 24px; }
.verify-action { min-height: 46px; gap: 18px; }
.verify-copy > .verify-action { margin-top: 24px; }
.verify-copy .verify-help { max-width: 36ch; font-size: 14px; margin: 22px 0 10px; }
.verify-copy form + form { margin-top: 16px; }
.verify-art { display: grid; place-items: center; min-width: 0; padding: 8% 3%; }
.verify-envelope {
  isolation: isolate; width: min(90%, 390px); aspect-ratio: 1.62; position: relative;
  display: grid; place-items: center; transform: rotate(-6deg);
  border: 1px solid #788bb6; border-radius: 4px;
  background: linear-gradient(31deg, transparent 48.8%, #637aaa 49%, transparent 49.6%) left bottom / 51% 66% no-repeat,
    linear-gradient(-31deg, transparent 48.8%, #637aaa 49%, transparent 49.6%) right bottom / 51% 66% no-repeat,
    repeating-linear-gradient(112deg, #ffffff07 0 1px, transparent 1px 3px), linear-gradient(105deg, #213e85, #112456);
  box-shadow: 0 2px #64799f, 0 28px 48px -20px #000;
}
.verify-flap, .verify-flap::before { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 52% 61%, 49% 61%); }
.verify-flap { background: #8d9fca; }
.verify-flap::before { content: ''; bottom: 2px; background: repeating-linear-gradient(28deg, #a0b9ed0b 0 1px, transparent 1px 4px), linear-gradient(145deg, #385da8, #1c3470 67%); }
.verify-envelope img { position: relative; width: 16%; height: auto; margin-top: 10%; border-radius: 50%; filter: drop-shadow(0 3px 2px #071735); }
@media (max-width: 700px) {
  .verify-page { grid-template-columns: 1fr; gap: 32px; padding-block: 38px 60px; }
  .verify-art { grid-row: 1; justify-items: start; padding: 4px 12px; }
  .verify-envelope { width: 144px; }
}

.verify-checkout { display:inline-flex; align-items:center; min-height:44px; }

.action-review { width:min(30rem,calc(100% - 2rem)); color:#f2f1ee; background:#161719; border:1px solid #54555a; border-radius:1rem; padding:1.5rem; }
.action-review::backdrop { background:rgb(0 0 0 / 72%); }
.action-review .resource-copy { padding:0; }
.skill-copy-part { margin-block:1rem; }
.skill-copy-part details { margin-top:.5rem; }
.skill-copy-part textarea { width:100%; }
