/* APRO IELTS English Academy: "Academic Prestige" design system (see ACRO/academic_prestige/DESIGN.md) */
:root {
  --navy-deep: #001430;
  --navy: #10294b;
  --navy-soft: #31476b;
  --navy-tint: #7b91b9;
  --gold: #c7a04a;
  --gold-text: #795903;
  --gold-soft: #fdd176;
  --gold-pale: #ffdf9f;
  --gold-wash: #fff6e0;
  --ink: #161c25;
  --ink-2: #44474e;
  --slate: #718096;
  --line: #dde2f0;
  --line-2: #c4c6cf;
  --surface: #f9f9ff;
  --surface-low: #f0f3ff;
  --surface-mid: #e8eefc;
  --surface-high: #e3e8f6;
  --sky: #e6f0ff;
  --white: #fff;
  --error: #ba1a1a;
  --error-bg: #ffdad6;
  --ok: #1d6b3a;
  --ok-bg: #e2f4e8;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 12px;
  --shadow: 0 4px 16px -2px rgba(16, 41, 75, .06), 0 1px 3px 0 rgba(16, 41, 75, .04);
  --shadow-lg: 0 12px 32px -6px rgba(16, 41, 75, .16);
  --shadow-gold: 0 8px 24px -4px rgba(199, 160, 74, .18);
  --gutter: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 15px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.bg-soft { background: var(--surface-low); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }
h1, h2, h3, h4 { margin: 0; color: var(--navy-deep); }
p { margin: 0 0 .75rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* icons (Material Symbols subset from Google Fonts) */
.ms { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 1.25em; line-height: 1;
  display: inline-block; vertical-align: middle; letter-spacing: normal; text-transform: none; white-space: nowrap;
  word-wrap: normal; direction: ltr; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; flex-shrink: 0;
  width: 1em; overflow: hidden; }

/* type */
.display { font: 700 clamp(2.1rem, 5vw, 3.4rem)/1.12 var(--serif); letter-spacing: -.02em; }
.display em { font-weight: 400; color: var(--gold-text); }
.h-xl { font: 700 clamp(1.7rem, 3.6vw, 2.4rem)/1.2 var(--serif); letter-spacing: -.01em; }
.h-lg { font: 600 clamp(1.6rem, 3.2vw, 2.25rem)/1.22 var(--serif); letter-spacing: -.01em; }
.h-md { font: 600 1.5rem/1.3 var(--serif); }
.h-sm { font: 600 1.25rem/1.35 var(--serif); }
.h-sec { font: 600 1.05rem/1.4 var(--sans); display: flex; align-items: center; gap: .6rem; }
.lead { font-size: 1.05rem; color: var(--ink-2); max-width: 46rem; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.tiny { font-size: .75rem; }
.right { text-align: right; }
.center { text-align: center; }
.light, .light * { color: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: .35rem; font: 700 .7rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.eyebrow.gold { color: var(--gold-text); }
.serif { font-family: var(--serif); }

/* layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow-wide { max-width: 860px; }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.5rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn-row.center { justify-content: center; }
@media (min-width: 700px) {
  :root { --gutter: 2rem; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  :root { --gutter: 3rem; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow); }
.card.narrow { max-width: 30rem; margin: 0 auto; }
.card.center { text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .6rem 1.25rem;
  border: 1px solid transparent; border-radius: var(--r-sm); font: 600 .9rem/1.2 var(--sans); letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn .ms { font-size: 1.15rem; }
.btn-lg { min-height: 52px; padding: .8rem 1.6rem; font-size: .95rem; }
.btn.sm { min-height: 34px; padding: .3rem .7rem; font-size: .8rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: inset 0 -2px 0 transparent; }
.btn-primary:hover { background: var(--navy-deep); color: var(--white); box-shadow: inset 0 -2px 0 var(--gold); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--sky); color: var(--navy); }
.btn-soft { background: var(--surface-mid); color: var(--navy); }
.btn-soft:hover { background: var(--surface-high); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-low); color: var(--navy); }
.btn-gold { background: var(--gold-soft); color: var(--navy-deep); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: var(--navy-deep); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .4); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.btn-link { background: none; border: 0; color: var(--ink-2); padding-inline: .5rem; }
.btn-link:hover { color: var(--navy); text-decoration: underline; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: var(--surface-low); color: var(--navy); cursor: pointer; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 999px; background: var(--sky);
  color: var(--navy); font: 700 .7rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.chip .ms { font-size: 1rem; }
.chip-gold { background: var(--gold-pale); color: #5c4300; }
.chip-live { background: var(--ok-bg); color: var(--ok); }
.chip-warn { background: var(--gold-wash); color: #5c4300; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }

/* alerts */
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r-sm); font-size: .9rem; margin-bottom: 1rem; border: 1px solid; text-align: left; }
.alert .ms { margin-top: 2px; }
.alert-error { background: #fff4f2; color: #7a0d0d; border-color: #f2b8b1; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border-color: #b5dcc2; }
.alert-info { background: var(--sky); color: var(--navy); border-color: #c3d6f5; }

/* forms */
.field { display: flex; flex-direction: column; gap: .35rem; }
.field + .field, .grid-2 + .field, .field + .grid-2 { margin-top: 1rem; }
label, .label { font-weight: 600; font-size: .875rem; color: var(--ink); display: flex; justify-content: space-between; gap: .5rem; }
.label { margin: 1rem 0 .5rem; }
.opt { font-weight: 400; color: var(--slate); font-size: .8rem; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > .ms:first-child { position: absolute; left: .8rem; color: var(--slate); pointer-events: none; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input:not([type]), select, textarea {
  width: 100%; min-height: 46px; padding: .6rem .85rem; background: var(--white); border: 1px solid #d2d6dc; border-radius: var(--r-sm);
  font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
.input-wrap > .ms:first-child ~ input { padding-left: 2.6rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--sky); }
[aria-invalid=true], .has-error input, .has-error select { border-color: var(--error); }
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
.pw-toggle { position: absolute; right: .3rem; border: 0; background: none; color: var(--slate); width: 40px; height: 40px; cursor: pointer; border-radius: var(--r-sm); }
.pw-toggle:hover { color: var(--navy); }
.hint { font-size: .8rem; color: var(--slate); margin: 0; }
.field-error { color: var(--error); font-size: .82rem; margin: .4rem 0 0; font-weight: 600; }
.check { display: flex; justify-content: flex-start; gap: .65rem; align-items: flex-start; font-weight: 400; font-size: .875rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.pw-rules { display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding: .6rem .8rem; background: var(--surface-low); border-radius: var(--r-sm); font-size: .8rem; color: var(--slate); }
.pw-rules li::before { content: "○ "; }
.pw-rules li.ok { color: var(--ok); }
.pw-rules li.ok::before { content: "✓ "; }
.textarea-wrap { position: relative; }
.counter { position: absolute; right: .7rem; bottom: .5rem; font-size: .72rem; color: var(--slate); background: var(--white); }

/* ---------- header / footer ---------- */
.announce { background: var(--navy-deep); color: var(--navy-tint); font: 600 .78rem/1.3 var(--sans); letter-spacing: .03em; text-align: center; padding: .55rem 1rem; }
.announce .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-soft); margin-right: .5rem; vertical-align: middle; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 8px rgba(0, 0, 0, .05); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; position: relative; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy-deep); }
.brand-mark { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--navy); color: var(--gold-soft); display: grid; place-items: center; font: 700 1.3rem/1 var(--serif); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font: 700 1.2rem/1.1 var(--serif); }
.brand-text small { font: 700 .58rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.main-nav { display: none; }
.main-nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.main-nav a:hover { color: var(--navy); }
.main-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: .5rem var(--gutter) 1rem; box-shadow: var(--shadow-lg); }
.main-nav.open a { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-actions form { margin: 0; }
.hide-sm { display: none; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font: 700 .8rem/1 var(--sans); letter-spacing: .04em; }
@media (min-width: 640px) { .hide-sm { display: inline-flex; } }
@media (min-width: 1024px) {
  .main-nav { display: flex; gap: 1.75rem; }
  .nav-toggle { display: none; }
}

.site-footer { background: var(--surface-low); border-top: 1px solid var(--line); padding: 3rem 0 1.5rem; margin-top: 0; font-size: .875rem; }
.site-footer.slim { padding: 1.25rem 0; background: transparent; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2rem; }
.footer-about p { color: var(--ink-2); margin-top: 1rem; max-width: 22rem; }
.site-footer h4 { font: 700 .72rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .8rem; }
.site-footer li + li { margin-top: .45rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--navy); text-decoration: underline; }
.contact-list a { display: inline-flex; gap: .45rem; align-items: center; word-break: break-all; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1.25rem; color: var(--slate); }
.slim .footer-bottom { border-top: 0; padding-top: 0; }
.footer-bottom nav { display: flex; gap: 1.25rem; }
.tm { font-size: .72rem; color: var(--slate); margin-top: .75rem; max-width: 60rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }

/* ---------- landing ---------- */
.band { padding: 4rem 0; }
.band-soft { background: var(--surface-low); }
.section-head { margin-bottom: 2.25rem; max-width: 46rem; }
.section-head .eyebrow { margin-bottom: .5rem; }
.section-head .muted { margin-top: .75rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.split { max-width: none; display: grid; gap: 1rem; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1fr 1fr; align-items: end; } }

.hero { padding: 3rem 0 4rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy .chip { margin-bottom: 1.25rem; }
.hero-copy .display { margin-bottom: 1.25rem; }
.hero-copy .lead { margin-bottom: 1.75rem; }
.standard { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); max-width: 34rem; }
.standard p { margin: 0; font-size: .875rem; color: var(--ink-2); }
.standard-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-pale); color: #261a00; display: grid; place-items: center; flex-shrink: 0; }
.hero-figure { margin: 0; position: relative; background: var(--white); padding: .75rem; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hero-figure img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 62% center; border-radius: var(--r); }
.hero-figure figcaption { position: absolute; left: 1.75rem; right: 1.75rem; bottom: 1.75rem; background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px); padding: 1rem 1.25rem; border-radius: var(--r); box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.hero-figure q { display: block; font: italic 400 1.15rem/1.4 var(--serif); color: var(--navy-deep); margin-top: .25rem; quotes: "“" "”"; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 3.5rem; } .hero { padding: 4rem 0 5rem; } }

.tile-icon { width: 48px; height: 48px; border-radius: var(--r); background: var(--surface-mid); color: var(--navy); display: inline-grid; place-items: center; flex-shrink: 0; }
.tile-icon .ms { font-size: 1.6rem; }
.tile-icon.sm { width: 36px; height: 36px; }
.tile-icon.sm .ms { font-size: 1.25rem; }
.feature { display: flex; flex-direction: column; gap: .75rem; }
.feature .muted { font-size: .9rem; flex: 1; }
.feature-foot { display: flex; align-items: center; gap: .35rem; font: 600 .8rem/1.4 var(--sans); color: var(--navy); padding-top: .75rem; border-top: 1px solid var(--line); margin: 0; }

.stages { counter-reset: none; }
.stage { display: flex; flex-direction: column; gap: .6rem; }
.stage-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .25rem; }
.stage-num { width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--navy); color: var(--white); display: grid; place-items: center; font: 700 .95rem/1 var(--serif); }
.stage .muted { font-size: .9rem; flex: 1; }
.deliverable { background: var(--sky); border-radius: var(--r-sm); padding: .65rem .8rem; font-size: .82rem; color: var(--navy); font-weight: 600; }
.deliverable small { display: block; font: 700 .65rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }

.programs { align-items: stretch; }
.program { display: flex; flex-direction: column; gap: .85rem; position: relative; border-top: 3px solid var(--navy); }
.program.featured { border: 1px solid rgba(199, 160, 74, .55); border-top: 3px solid var(--gold); box-shadow: var(--shadow-gold); }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); display: inline-flex; gap: .3rem; align-items: center; background: var(--navy); color: var(--gold-soft); font: 700 .65rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: .45rem .8rem; border-radius: 999px; white-space: nowrap; }
.ribbon .ms { font-size: .95rem; }
.program-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.program .muted { font-size: .9rem; }
.price { font: 700 2rem/1 var(--serif); color: var(--navy-deep); margin: .25rem 0; }
.price small { font: 600 .9rem/1 var(--sans); color: var(--slate); margin-right: .3rem; }
.price.sm { font-size: 1.4rem; white-space: nowrap; }
.price-tbc { font: 600 .9rem/1.4 var(--sans); color: var(--gold-text); white-space: nowrap; }
.ticks { display: grid; gap: .55rem; font-size: .88rem; color: var(--ink-2); flex: 1; }
.ticks li { display: flex; gap: .55rem; align-items: flex-start; }
.ticks .ms { color: var(--gold-text); font-size: 1.15rem; margin-top: 1px; }
.ticks.small { font-size: .82rem; gap: .35rem; }
@media (min-width: 700px) { .ticks.cols-2 { grid-template-columns: 1fr 1fr; } }
.program-note { font-size: .78rem; color: var(--slate); text-align: center; background: var(--surface-low); border-radius: var(--r-sm); padding: .45rem; margin: 0; }

.feedback-grid { display: grid; gap: 2.5rem; align-items: center; }
.feedback-img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feedback-grid .h-lg { margin: .5rem 0 1rem; }
.sample { margin-top: 1.5rem; border-top: 3px solid var(--gold); }
.sample-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; color: var(--navy-deep); }
.scores { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin: 0 0 1rem; }
.scores div { background: var(--surface-low); border-radius: var(--r-sm); padding: .6rem .8rem; }
.scores dt { font: 700 .65rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.scores dd { margin: 0; font: 700 1.4rem/1.2 var(--serif); color: var(--navy-deep); }
.sample-note { font: italic .9rem/1.6 var(--sans); color: var(--ink-2); border-left: 3px solid var(--gold); padding-left: .9rem; }
@media (min-width: 560px) { .scores { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .feedback-grid { grid-template-columns: 5fr 6fr; gap: 4rem; } }

.why-item { display: flex; flex-direction: column; gap: .75rem; }
.why-item .muted { font-size: .9rem; }

.faq { display: grid; gap: .75rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; font-weight: 600; color: var(--navy-deep); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ms { transition: transform .2s; color: var(--slate); }
.faq-item[open] summary .ms { transform: rotate(180deg); }
.faq-item p { padding: 0 1.25rem 1.25rem; color: var(--ink-2); font-size: .92rem; }

.cta-band { background: var(--navy-deep); color: #c9d4ea; padding: 4rem 0; }
.cta-band .h-lg { color: var(--white); margin: .5rem 0 .75rem; }
.cta-band .eyebrow.gold { color: var(--gold-soft); }
.cta-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: 3fr 2fr; } .cta-grid .btn-row { justify-content: flex-end; } }

.prose { max-width: 46rem; }
.prose .h-lg { margin: .5rem 0 .25rem; }
.prose .h-sm { margin: 2rem 0 .6rem; }
.prose p { color: var(--ink-2); }

/* ---------- auth ---------- */
.auth-main { padding: 2.5rem 0 4rem; min-height: 60vh; }
.auth-split { display: grid; gap: 2rem; max-width: 1080px; }
.auth-aside { order: 2; }
.auth-aside .chip { margin-bottom: 1rem; }
.auth-aside .h-lg { margin-bottom: .75rem; }
.pillars { display: grid; gap: 1.1rem; margin: 1.75rem 0; }
.pillars li { display: flex; gap: .9rem; }
.pillars b { color: var(--navy-deep); }
.pillars p { font-size: .88rem; color: var(--ink-2); margin: .15rem 0 0; }
.pill-icon { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--navy); flex-shrink: 0; }
.secure-note { display: flex; gap: .5rem; align-items: center; color: var(--slate); font-size: .82rem; }
.auth-card { padding: 1.75rem; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .25rem; background: var(--surface-mid); border-radius: var(--r-sm); margin-bottom: 1.5rem; }
.auth-tabs a { display: flex; gap: .4rem; align-items: center; justify-content: center; min-height: 42px; border-radius: 3px; text-decoration: none; font-weight: 600; font-size: .88rem; color: var(--ink-2); }
.auth-tabs a.active { background: var(--navy); color: var(--white); }
.auth-foot { margin-top: 1.25rem; text-align: center; font-size: .88rem; color: var(--ink-2); }
.big-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sky); color: var(--navy); margin-bottom: 1rem; }
.big-icon .ms { font-size: 2rem; }
.big-icon.warn { background: var(--gold-wash); color: var(--gold-text); }
.narrow .h-md { margin-bottom: .75rem; }
.narrow .stack, .narrow form { text-align: left; margin-top: 1.25rem; }
.resend { margin-top: 1.5rem; text-align: left; border-top: 1px solid var(--line); padding-top: 1rem; }
.resend summary { cursor: pointer; font-weight: 600; color: var(--navy); }
@media (min-width: 900px) {
  .auth-split { grid-template-columns: 5fr 6fr; gap: 3.5rem; align-items: start; }
  .auth-aside { order: 0; padding-top: 1rem; }
}

/* ---------- onboarding ---------- */
.stepper-wrap { background: var(--white); border-bottom: 1px solid var(--line); padding: 1rem 0 .75rem; }
.stepper-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.stepper-head .pct { font: 700 .72rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.bar { height: 6px; border-radius: 999px; background: var(--surface-high); overflow: hidden; flex: 1; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); border-radius: inherit; transition: width .3s; }
.bar.light { background: rgba(255, 255, 255, .18); }
.stepper { display: flex; gap: .35rem; overflow-x: auto; margin-top: .75rem; padding-bottom: .25rem; scrollbar-width: none; }
.stepper::-webkit-scrollbar { display: none; }
.step a { display: flex; align-items: center; gap: .45rem; padding: .4rem .7rem .4rem .4rem; border-radius: 999px; text-decoration: none; color: var(--slate); font: 600 .78rem/1 var(--sans); white-space: nowrap; }
.step .num { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-mid); font-size: .72rem; }
.step .num .ms { font-size: .95rem; }
.step.done a { color: var(--navy); }
.step.done .num { background: var(--navy); color: var(--white); }
.step.current a { background: var(--navy); color: var(--white); }
.step.current .num { background: var(--gold-soft); color: var(--navy-deep); }
.step.todo a { pointer-events: none; opacity: .7; }

.ob-grid { display: grid; gap: 2rem; padding-top: 2rem; padding-bottom: 2rem; }
.ob-main { min-width: 0; }
.ob-main > * + * { margin-top: 1.25rem; }
.ob-title { margin-bottom: 1.75rem; }
.ob-title .h-xl { margin: .5rem 0 .75rem; }
.q-section { margin: 0; min-width: 0; }
.q-section.has-error { border-color: #f2b8b1; box-shadow: 0 0 0 3px #fff0ee; }
.q-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.code { display: inline-grid; place-items: center; min-width: 28px; height: 22px; padding: 0 .35rem; border-radius: 3px; background: var(--surface-mid); color: var(--navy); font: 700 .68rem/1 var(--sans); letter-spacing: .04em; }
.section-note { font: 700 .68rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.group-label { font: 700 .7rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin: 1.1rem 0 .5rem; }
.group-label:first-of-type { margin-top: 0; }

.choices { display: grid; gap: .75rem; }
@media (min-width: 700px) {
  .choices.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choices.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.choice { display: flex; gap: .75rem; align-items: flex-start; position: relative; padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; font-weight: 400; color: var(--ink); justify-content: flex-start; }
.choice:hover { border-color: var(--navy-tint); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-body { display: flex; flex-direction: column; gap: .3rem; flex: 1; min-width: 0; }
.choice-title { display: block; font-size: 1rem; color: var(--navy-deep); }
.choice-title.serif { font: 600 1.25rem/1.3 var(--serif); display: block; margin-top: .2rem; }
.choice-desc { display: block; font-size: .86rem; color: var(--ink-2); line-height: 1.55; }
.choice-row { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; flex-wrap: wrap; }
.choice-icon { width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--surface-mid); display: grid; place-items: center; color: var(--navy); flex-shrink: 0; }
.choices.list .choice-body { flex-direction: row; gap: 1rem; }
.choices.list .choice-body > span:last-child, .choices.list .choice-body > .choice-row { flex: 1; }
.choices.list.programs-pick .choice-body, .choices.list .choice-body:has(> .choice-row) { flex-direction: column; gap: .4rem; }
.tag { font: 700 .65rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); background: var(--gold-wash); padding: .15rem .5rem; border-radius: 3px; white-space: nowrap; }
.choice-mark { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); flex-shrink: 0; display: grid; place-items: center; margin-top: 2px; transition: all .15s; }
input[type=checkbox] ~ .choice-mark { border-radius: 4px; }
.choice:has(input:checked) { border: 1px solid var(--navy); box-shadow: 0 0 0 1px var(--navy), var(--shadow); background: #fcfdff; }
.choice:has(input:checked) .choice-mark { background: var(--navy); border-color: var(--navy); }
.choice:has(input:checked) .choice-mark::after { content: ""; width: 6px; height: 11px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.choice:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }

.choices.bands { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
@media (min-width: 560px) { .choices.bands { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 900px) { .choices.bands { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
.choices.bands .choice { padding: .8rem .3rem; justify-content: center; text-align: center; }
.choices.bands .choice-body { align-items: center; gap: .1rem; }
.choices.bands .choice-mark { display: none; }
.band-num { font: 700 1.35rem/1.2 var(--serif); color: var(--navy-deep); }
.band-cefr { font: 700 .62rem/1.4 var(--sans); letter-spacing: .06em; color: var(--slate); }
.band-word { font-size: .68rem; color: var(--slate); }
.choices.bands .choice:has(input:checked) { background: var(--gold-text); border-color: var(--gold-text); box-shadow: var(--shadow-gold); }
.choices.bands .choice:has(input:checked) * { color: var(--white); }

.chip-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-choice { position: relative; font-weight: 400; cursor: pointer; }
.chip-choice input { position: absolute; opacity: 0; pointer-events: none; }
.chip-choice > span { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .45rem .95rem; border-radius: 999px; background: var(--surface-low); border: 1px solid var(--line); color: var(--ink); font-size: .87rem; font-weight: 600; transition: all .15s; }
.chip-choice:hover > span { border-color: var(--navy-tint); }
.chip-choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip-choice input[type=checkbox]:checked + span::before { content: "✓"; font-weight: 700; }
.chip-choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.disclaimer { display: flex; gap: .5rem; align-items: flex-start; margin-top: 1rem; font-size: .8rem; color: var(--ink-2); background: var(--surface-low); padding: .6rem .8rem; border-radius: var(--r-sm); }
.disclaimer .ms { color: var(--gold-text); }
.reveal { margin-top: 1rem; }
.js .reveal.is-hidden { display: none; }
.score-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: .6rem; margin-top: .75rem; }
.score-field + .score-field { margin-top: 0; }

.weight-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--surface-high); }
.seg { display: block; height: 100%; transition: width .2s; }
.seg-writing { background: var(--navy-deep); }
.seg-speaking { background: var(--gold-text); }
.seg-reading { background: var(--navy-soft); }
.seg-listening { background: #a9bde0; }
.weight-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: .6rem 0 1.25rem; font-size: .78rem; color: var(--ink-2); align-items: center; }
.weight-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .35rem; vertical-align: middle; }
.weight-total { margin-left: auto; font-weight: 700; color: var(--ok); }
.weight-total.bad { color: var(--error); }
.weight { background: var(--surface-low); box-shadow: none; padding: 1.1rem; }
.weight-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .4rem; }
.weight-head b { flex: 1; color: var(--navy-deep); }
.weight-val { font: 700 1.4rem/1 var(--serif); color: var(--navy-deep); }
input[type=range] { width: 100%; accent-color: var(--navy); height: 28px; }

.ob-aside > * + * { margin-top: 1.25rem; }
.dossier { border-top: 3px solid var(--gold); }
.dossier-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.kv { margin: 0; display: grid; gap: .1rem; }
.kv div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); font-size: .86rem; }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--slate); flex-shrink: 0; }
.kv dd { margin: 0; font-weight: 600; color: var(--navy-deep); text-align: right; overflow-wrap: anywhere; }
.upcoming { display: grid; gap: .6rem; margin-top: .75rem; font-size: .88rem; color: var(--ink-2); }
.upcoming li { display: flex; gap: .6rem; align-items: center; }
.upcoming .num { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-mid); display: grid; place-items: center; font: 700 .72rem/1 var(--sans); color: var(--navy); }
.review-block .kv div { font-size: .9rem; }
.review-block .q-head .chip { margin-left: auto; }

.action-bar { position: sticky; bottom: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(16, 41, 75, .06); padding: .75rem 0; }
.action-row { display: grid; grid-template-columns: auto 1fr; gap: .5rem; align-items: center; }
.action-row > :last-child { grid-column: 1 / -1; }
.action-row .btn-link { justify-self: end; }
@media (min-width: 700px) {
  .action-row { display: flex; justify-content: space-between; }
  .action-row .btn-link { margin-left: auto; }
}
@media (min-width: 1024px) {
  .ob-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 2.5rem; align-items: start; }
  .ob-aside { position: sticky; top: 96px; }
}

/* ---------- dashboard ---------- */
.app-main { padding-bottom: 3rem; min-height: 70vh; }
.dash { padding-top: 2rem; }
.dash > * + * { margin-top: 1.5rem; }
.dash-hero { background: radial-gradient(120% 140% at 100% 0%, #213e66 0%, var(--navy-deep) 60%); color: #c9d4ea; border-radius: var(--r-lg); padding: 2rem; display: grid; gap: 1.5rem; box-shadow: var(--shadow-lg); }
.dash-hero .h-xl { margin: .75rem 0 .5rem; }
.dash-hero p { margin: 0; }
.hero-side { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: 1.1rem 1.25rem; display: grid; gap: .45rem; align-content: start; }
.hero-side .eyebrow { color: var(--navy-tint); }
.hero-side b { font: 700 1.8rem/1.1 var(--serif); color: var(--gold-soft); }
.hero-side span:last-child { font-size: .82rem; }
@media (min-width: 900px) { .dash-hero { grid-template-columns: 1fr 300px; align-items: center; padding: 2.5rem; } }
.stat { display: flex; flex-direction: column; gap: .35rem; }
.stat-head { display: flex; justify-content: space-between; align-items: center; color: var(--gold-text); }
.stat-value { font: 700 1.3rem/1.3 var(--serif); color: var(--navy-deep); }
.dash-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .dash-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; } }
.priority { display: grid; gap: 1rem; align-items: center; background: var(--surface-mid); border-color: var(--surface-high); }
.priority .h-sm { margin: .4rem 0 .25rem; }
@media (min-width: 700px) { .priority { grid-template-columns: auto 1fr auto; } }
.timeline { display: grid; gap: 0; margin-top: 1rem; }
.timeline li { display: flex; gap: .9rem; position: relative; padding-bottom: 1.1rem; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.tl-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-mid); color: var(--slate); display: grid; place-items: center; flex-shrink: 0; }
.timeline li.done .tl-icon { background: var(--ok-bg); color: var(--ok); }
.timeline li.now .tl-icon { background: var(--gold-pale); color: #5c4300; }
.timeline b { color: var(--navy-deep); }
.skill-row { display: grid; grid-template-columns: auto 90px 1fr 44px; gap: .75rem; align-items: center; padding: .55rem 0; }
.skill-row b { color: var(--navy-deep); font-size: .92rem; }
.skill-row .bar { height: 8px; }
.skill-row .bar span { background: var(--navy); }
.skill-row .pct { font: 700 .95rem/1 var(--serif); text-align: right; color: var(--navy-deep); }
.locked { text-align: center; display: grid; justify-items: center; gap: .6rem; background: var(--surface-low); border-style: dashed; box-shadow: none; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .action-bar, .site-footer, .announce { display: none; } }

/* ---------- admin console ---------- */
body.adm { background: var(--surface-low); }
.adm-top { background: var(--navy-deep); color: var(--white); position: sticky; top: 0; z-index: 40; }
.adm-top-row { display: flex; align-items: center; gap: 1rem; min-height: 60px; padding: 0 var(--gutter); }
.light-brand, .light-brand .brand-text b { color: var(--white); }
.light-brand .brand-text small { color: var(--navy-tint); }
.light-brand .brand-mark { background: var(--gold-soft); color: var(--navy-deep); }
.adm-who { margin-left: auto; display: flex; align-items: center; gap: .75rem; font-size: .88rem; color: #c9d4ea; }
.adm-who form { margin: 0; }
.adm-shell { display: grid; grid-template-columns: 1fr; min-height: calc(100vh - 60px); }
.adm-nav { display: flex; gap: .25rem; overflow-x: auto; background: var(--white); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter); scrollbar-width: none; }
.adm-nav::-webkit-scrollbar { display: none; }
.adm-nav a { display: flex; align-items: center; gap: .55rem; padding: .55rem .8rem; border-radius: var(--r-sm); text-decoration: none; color: var(--ink-2); font: 600 .88rem/1.2 var(--sans); white-space: nowrap; }
.adm-nav a:hover { background: var(--surface-low); color: var(--navy); }
.adm-nav a.active { background: var(--navy); color: var(--white); }
.adm-main { padding: 1.5rem var(--gutter) 3rem; min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) {
  .adm-shell { grid-template-columns: 230px minmax(0, 1fr); }
  .adm-nav { flex-direction: column; border-bottom: 0; border-right: 1px solid var(--line); padding: 1.25rem .9rem; position: sticky; top: 60px; height: calc(100vh - 60px); }
  .adm-site { margin-top: auto; }
  .adm-main { padding: 2rem 2.5rem 3rem; }
}
.adm-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.adm-head h1 { margin-bottom: .2rem; }
.adm-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1100px) { .adm-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; } }
.mt { margin-top: 1rem; }
.kpi { display: flex; flex-direction: column; gap: .3rem; }
.kpi-n { font: 700 2.1rem/1.1 var(--serif); color: var(--navy-deep); }
.num { font-variant-numeric: tabular-nums; }
.pill { display: inline-block; padding: .18rem .6rem; border-radius: 999px; font: 700 .7rem/1.4 var(--sans); white-space: nowrap; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-warn { background: var(--gold-wash); color: #5c4300; }
.pill-info { background: var(--sky); color: var(--navy); }

.colchart { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; align-items: end; height: 170px; padding-top: 1.2rem; border-bottom: 1px solid var(--line); }
.colchart .col { position: relative; height: 100%; display: flex; align-items: flex-end; }
.colchart .col span { display: block; width: 100%; min-height: 2px; background: var(--navy); border-radius: 2px 2px 0 0; }
.colchart .col:last-child span { background: var(--gold); }
.colchart .col i { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(100% - 1rem); font: 600 .62rem/1 var(--sans); color: var(--slate); font-style: normal; display: none; }
.colchart .col:hover i { display: block; }
.colaxis { display: flex; justify-content: space-between; font-size: .72rem; color: var(--slate); margin-top: .35rem; }

.hbars { display: grid; gap: .55rem; }
.hbar { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) auto; gap: .7rem; align-items: center; font-size: .85rem; }
.hb-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.hb-track { height: 10px; border-radius: 999px; background: var(--surface-high); overflow: hidden; }
.hb-track span { display: block; height: 100%; width: 0; background: var(--navy); border-radius: inherit; }
.hb-n { font-weight: 700; color: var(--navy-deep); }
.hb-n small { font-weight: 400; color: var(--slate); }
.lead-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-top: .6rem; }
.lead-tile { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .7rem .3rem; border-radius: var(--r-sm); background: var(--surface-low); text-decoration: none; color: var(--ink-2); font-size: .78rem; }
.lead-tile b { font: 700 1.4rem/1.1 var(--serif); color: var(--navy-deep); }
.lead-tile:hover { background: var(--sky); }

.table-wrap { overflow-x: auto; }
.card.flush { padding: 0; overflow: hidden; }
table.data { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 640px; }
table.data th { text-align: left; font: 700 .68rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); background: var(--surface-low); padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
table.data td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: #fbfcff; }
table.data a.strong { font-weight: 700; color: var(--navy-deep); text-decoration: none; }
table.data a.strong:hover { text-decoration: underline; }
table.data .btn-row form { margin: 0; }

.filters { display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: end; }
.filters .field + .field { margin-top: 0; }
.filter-actions { display: flex; gap: .5rem; }
@media (min-width: 800px) { .filters { grid-template-columns: 2fr 1fr 1fr auto; } }
.pager { display: flex; justify-content: center; align-items: center; gap: 1rem; }
.answers .card { box-shadow: none; }
.answers .h-sec { margin-bottom: .6rem; }
.danger { border-color: #f2b8b1; }
.inline-form { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.inline-form input { flex: 1; min-width: 220px; }
.btn-danger { background: var(--error); color: var(--white); border-color: var(--error); }
.btn-danger:hover { background: #8c1111; color: var(--white); }
.grid-4.kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.kpis .kpi { padding: 1rem; }
@media (min-width: 1024px) { .grid-4.kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } .kpis .kpi { padding: 1.5rem; } }

/* ---------- avatars & profile editor (learner and staff) ---------- */
.avatar { overflow: hidden; flex-shrink: 0; user-select: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.sm { width: 32px; height: 32px; font-size: .72rem; }
.avatar.lg { width: 64px; height: 64px; font: 700 1.3rem/1 var(--serif); }
.avatar.xl { width: 112px; height: 112px; font: 700 2.2rem/1 var(--serif); box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--line); }
.av-navy { background: var(--navy); color: var(--white); }
.av-gold { background: var(--gold-soft); color: var(--navy-deep); }
.av-teal { background: #1f6f6b; color: var(--white); }
.av-plum { background: #5b3a6e; color: var(--white); }
.av-rust { background: #a4512b; color: var(--white); }
.av-slate { background: #4a5568; color: var(--white); }
.avatar-link { border-radius: 50%; display: inline-flex; }
.avatar-link:hover .avatar { box-shadow: 0 0 0 2px var(--gold); }
.profile-grid { display: grid; gap: 1.75rem; margin-top: 1rem; }
.avatar-col { display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center; }
.avatar-upload { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.avatar-col form { margin: 0; }
.file-btn { cursor: pointer; }
.avatar-upload:focus-within .file-btn { outline: 3px solid var(--gold); outline-offset: 2px; }
.profile-fields .field + .field { margin-top: 0; }
@media (min-width: 760px) { .profile-grid { grid-template-columns: 180px minmax(0, 1fr); align-items: start; } }
.swatches { display: flex; flex-wrap: wrap; gap: .6rem; }
.swatch { position: relative; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch:has(input:checked) { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--navy); }
.swatch:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 4px; }
.locked-value { display: flex; align-items: center; gap: .5rem; margin: 0; padding: .6rem .85rem; background: var(--surface-low); border-radius: var(--r-sm); color: var(--ink-2); font-size: .95rem; overflow-wrap: anywhere; }
.locked-value .ms { color: var(--slate); }
.who-cell { display: flex; align-items: center; gap: .75rem; }
.person-head { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.person-head .adm-head { flex: 1; }
.adm-me { display: flex; align-items: center; gap: .55rem; color: inherit; text-decoration: none; border-radius: 999px; padding: .2rem .6rem .2rem .2rem; }
.adm-me:hover { background: rgba(255, 255, 255, .08); color: var(--white); }
