/* AdmitDesk parent pages. Phone first; --school is set per school. */
:root { --school: #8A0F50; --bg: #FFFBF7; --ink: #3B1029; --ink-2: #5C3A4B; --muted: #7A5566; --line: #F3E6DA; --field: #FEFBF8;
  --mint: #D8F4E6; --mint-ink: #157347; --peach: #FFE3CF; --peach-ink: #A1470C; --butter: #FFF4D6; --butter-ink: #6B4E00; --red: #FFDCDC; --red-ink: #A61B14; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.45; }
body.embed { background: transparent; }
a { color: var(--school); }
:focus-visible { outline: 3px solid var(--school); outline-offset: 2px; }
.page { max-width: 480px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.embed .page { min-height: 0; }
.top { padding: 20px 22px 14px; display: flex; flex-direction: column; gap: 16px; }
.school { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--muted); }
.school-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--school); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 11px; flex: none; }
.banner { position: relative; overflow: hidden; background: var(--school); color: #fff; padding: 22px 22px 64px; border-radius: 0 0 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.embed .banner { border-radius: 24px 24px 28px 28px; }
.banner .school { color: #fff; }
.banner .school-mark { background: #fff; color: var(--school); width: 40px; height: 40px; font-size: 13px; }
.banner-deco { position: absolute; right: -40px; top: -30px; }
.tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 13px; font-weight: 700; }
h1 { margin: 0; font-size: 27px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.sub { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.step { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--peach-ink); }
.progress { display: flex; gap: 6px; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.progress span.on { background: var(--school); }
.card { background: #fff; border-radius: 24px; box-shadow: 0 6px 24px rgba(59,16,41,.08); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.lift { margin: -44px 16px 0; position: relative; }
.body { flex: 1; padding: 0 16px; display: flex; flex-direction: column; gap: 16px; }
.foot { padding: 16px 16px 24px; display: flex; flex-direction: column; gap: 10px; }
label.f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
label.f .opt { font-weight: 500; color: var(--muted); }
.f input, .f select, .f textarea { min-height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--field); font: 16px 'Plus Jakarta Sans', sans-serif; color: var(--ink); width: 100%; }
.f textarea { padding: 12px 14px; }
.f input[aria-invalid="true"], .f select[aria-invalid="true"] { border-color: var(--red-ink); }
.two { display: flex; gap: 10px; }
.two > * { flex: 1; min-width: 0; }
.err { margin: 0; color: var(--red-ink); font-size: 13px; font-weight: 600; }
.note { margin: 0; display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.note.ok { background: var(--mint); color: var(--mint-ink); }
.note.warn { background: var(--butter); color: var(--butter-ink); }
.note.bad { background: var(--red); color: var(--red-ink); }
.btn { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 18px; border-radius: 16px; border: 0; background: var(--school); color: #fff; text-decoration: none; font: 800 16px 'Plus Jakarta Sans', sans-serif; cursor: pointer; width: 100%; }
.btn:hover { filter: brightness(.92); color: #fff; }
.btn.ghost { background: #fff; color: var(--school); border: 1px solid var(--line); }
.small { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }
.choice { display: flex; gap: 10px; }
.choice label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid var(--line); border-radius: 14px; font-weight: 600; cursor: pointer; }
.choice label:has(input:checked) { border: 2px solid var(--school); background: var(--field); font-weight: 700; }
.choice input, .check input { accent-color: var(--school); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 0; flex: none; }
fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.fee { position: relative; overflow: hidden; background: var(--school); color: #fff; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.fee .amt { margin: 0; font-size: 46px; font-weight: 800; letter-spacing: -0.02em; }
.fee p { margin: 0; opacity: .88; }
.next { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.next b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 14px; }
.timeline .rail { display: flex; flex-direction: column; align-items: center; }
.timeline .dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800; }
.timeline .line { width: 2px; flex: 1; min-height: 22px; background: var(--line); }
.timeline li:last-child .line { background: transparent; }
.timeline .done .dot { background: var(--school); border-color: var(--school); }
.timeline .done .line { background: var(--school); }
.timeline .now .dot { border-color: var(--school); }
.timeline .txt { padding-bottom: 16px; }
.timeline .txt p { margin: 2px 0 0; }
.timeline .next-s .label { color: var(--muted); }
.timeline .now .label { font-weight: 800; }
.label { font-size: 15px; font-weight: 600; }
.detail { font-size: 13px; color: var(--muted); }
.demo { padding: 12px 14px; border-radius: 14px; background: var(--butter); color: var(--butter-ink); font-size: 13px; font-weight: 600; }
.receipt { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14px; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; text-align: right; font-weight: 700; }
.lang { display: flex; gap: 8px; justify-content: center; font-size: 13px; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
