/* Shared look for the sign-up and download pages (same colors and type as the home page). */
:root { --plum:#33203a; --mauve:#9b76a2; --mauve-deep:#6e4b78; --lilac:#f3eef5; --lilac-line:#e2d7e6; --white:#fff; --sage:#4f7360; --muted:#6b5a70; --err:#a3324a; }
* { box-sizing: border-box; }
body { margin:0; background:var(--lilac); color:var(--plum); font:18px/1.6 "Atkinson Hyperlegible", system-ui, sans-serif; }
a { color: var(--mauve-deep); }
:focus-visible { outline:3px solid var(--mauve-deep); outline-offset:3px; border-radius:4px; }
header { padding:22px 0; }
.wrap { max-width:1080px; margin:0 auto; padding:0 24px; }
.brand { display:inline-flex; align-items:center; gap:12px; text-decoration:none; color:var(--plum); }
.brand img { width:44px; height:44px; border-radius:11px; }
.brand span { font-family:"Young Serif", Georgia, serif; font-size:24px; }
main { padding:8px 0 72px; }
.panel { max-width:520px; margin:0 auto; background:var(--white); border-radius:28px; padding:32px;
         box-shadow:0 1px 0 var(--lilac-line), 0 24px 48px -28px rgba(51,32,58,.45); }
h1 { font-family:"Young Serif", Georgia, serif; font-weight:400; font-size:34px; line-height:1.15; margin:0 0 10px; }
.sub { color:var(--muted); margin:0 0 24px; }
.progress { display:flex; gap:6px; margin:0 0 22px; padding:0; list-style:none; }
.progress li { flex:1; height:6px; border-radius:3px; background:var(--lilac-line); }
.progress li.on { background:var(--mauve); }
form { display:grid; gap:16px; }
.row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
label { display:grid; gap:6px; font-weight:700; font-size:16px; }
label small { font-weight:400; color:var(--muted); }
input { font:18px/1.4 "Atkinson Hyperlegible", sans-serif; color:var(--plum); padding:12px 14px; width:100%;
        border:1.5px solid var(--lilac-line); border-radius:12px; background:var(--white); }
input:focus { border-color:var(--mauve-deep); outline:none; box-shadow:0 0 0 3px #e4d6e8; }
input.code { font-size:30px; letter-spacing:.35em; text-align:center; }
.button { display:inline-block; text-align:center; background:var(--mauve-deep); color:var(--white); text-decoration:none;
          font:700 18px/1 "Atkinson Hyperlegible", sans-serif; padding:16px 26px; border-radius:999px; border:0; cursor:pointer; }
.button:hover { background:#5b3c65; }
.button[disabled] { opacity:.6; cursor:default; }
.link-button { background:none; border:0; padding:0; font:inherit; color:var(--mauve-deep); text-decoration:underline; cursor:pointer; }
.msg { margin:0; font-weight:700; min-height:1.6em; }
.msg.err { color:var(--err); }
.msg.ok { color:var(--sage); }
.serial { font-family:"Young Serif", Georgia, serif; font-size:40px; color:var(--mauve-deep); margin:6px 0 14px; }
.steps { padding-left:22px; margin:16px 0 0; color:var(--muted); }
.steps li { margin:6px 0; }
.foot { text-align:center; color:var(--muted); font-size:15px; margin-top:22px; }
[hidden] { display:none !important; }
@media (max-width:520px) { .wrap { padding:0 16px; } .panel { padding:24px 18px; border-radius:22px; } .row { grid-template-columns:1fr; } h1 { font-size:30px; } }
/* sign-up step 4 */
.block { display:grid; gap:18px; padding:22px 0; border-top:1px solid var(--lilac-line); }
.block h2 { font-family:"Young Serif", Georgia, serif; font-weight:400; font-size:24px; margin:0; }
.q { display:grid; gap:10px; }
.qt { font-weight:700; font-size:16px; }
.qt small, label small { font-weight:400; color:var(--muted); font-size:14px; }
.chips { display:flex; flex-wrap:wrap; gap:8px; }
.chip { font:400 15px/1.2 "Atkinson Hyperlegible", sans-serif; padding:10px 14px; border-radius:999px; border:1.5px solid var(--lilac-line);
        background:var(--white); color:var(--plum); cursor:pointer; min-height:44px; }
.chip.on { background:var(--mauve-deep); border-color:var(--mauve-deep); color:var(--white); font-weight:700; }
.row3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.row-inline { display:flex; gap:12px; align-items:flex-end; flex-wrap:wrap; }
.grow { flex:1 1 200px; }
.button.ghost { background:var(--white); color:var(--mauve-deep); border:2px solid var(--mauve-deep); padding:13px 22px; }
.button.ghost:hover { background:#f6f0f8; }
.found { background:#eef5f0; border-radius:16px; padding:14px 16px; display:grid; gap:2px; margin-top:12px; }
.found strong { color:#3f6150; }
.found.err { background:#fbeef1; color:var(--err); font-weight:700; }
select, textarea { font:18px/1.4 "Atkinson Hyperlegible", sans-serif; color:var(--plum); padding:12px 14px; width:100%;
                   border:1.5px solid var(--lilac-line); border-radius:12px; background:var(--white); }
#hosp-search { margin:0; }
.checklist { border:1.5px solid var(--lilac-line); border-radius:14px; max-height:320px; overflow:auto; }
.checklist label { display:flex; gap:12px; align-items:center; font-weight:400; font-size:16px; padding:11px 14px; border-bottom:1px solid #efe8f1; }
.checklist label:last-child { border-bottom:0; }
.checklist input { width:20px; height:20px; accent-color:var(--mauve-deep); flex:none; padding:0; }
.checklist small { padding:12px 14px; display:block; }
.panel:has(#step-practice:not([hidden])) { max-width:760px; }
@media (max-width:520px) { .row3 { grid-template-columns:1fr; } }
.chip { text-align:left; }
.chip.more { border-style:dashed; color:var(--mauve-deep); font-weight:700; }
