.account-body { min-height: 100vh; color: var(--ink); background: #e9efec; }
.account-body [hidden] { display: none !important; }
.account-header { position: fixed; z-index: 20; inset: 0 0 auto; height: 78px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; background: rgba(248,246,243,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.account-logo { width: 112px; overflow: hidden; border-radius: 7px; box-shadow: 0 6px 18px rgba(23,61,65,.12); }
.account-logo img { width: 100%; }
.account-header-actions { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 10px; }
.account-header-actions a { padding: 9px 14px; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; font-weight: 800; text-decoration: none; }
.account-shell { min-height: 100vh; padding-top: 78px; display: grid; grid-template-columns: minmax(330px, .72fr) minmax(620px, 1.28fr); }
.account-story { position: sticky; top: 78px; height: calc(100vh - 78px); overflow: hidden auto; padding: clamp(44px, 5vw, 80px); display: flex; flex-direction: column; justify-content: space-between; color: white; background: linear-gradient(150deg,#56386d 0%,#245c68 57%,#176d70 100%); }
.account-story::after { content: ""; position: absolute; width: 430px; height: 430px; left: -250px; bottom: -230px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.account-story > * { position: relative; z-index: 1; }
.account-story h1 { margin: 0; font: 400 clamp(49px, 5.3vw, 75px)/.92 var(--serif); letter-spacing: -.055em; }
.account-story h1 em { color: var(--lime); font-weight: 400; }
.account-story > div:first-child > p:last-child { max-width: 530px; margin: 27px 0 0; color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.65; }
.data-impact-preview { margin-top: 55px; padding: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 19px 4px 19px 4px; backdrop-filter: blur(8px); }
.data-impact-preview h2 { margin: 0 0 15px; color: var(--mint); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.data-impact-preview > div { padding: 12px 0; display: grid; grid-template-columns: 27px 1fr; gap: 9px; border-top: 1px solid rgba(255,255,255,.11); }
.data-impact-preview > div > span { color: var(--lime); font-size: 8px; font-weight: 850; }
.data-impact-preview p { margin: 0; display: flex; flex-direction: column; }
.data-impact-preview strong { font: 400 14px var(--serif); }
.data-impact-preview small { margin-top: 3px; color: rgba(255,255,255,.54); font-size: 8px; line-height: 1.45; }
.account-trust { display: flex; align-items: flex-start; gap: 8px; margin: 30px 0 0; color: rgba(255,255,255,.54); font-size: 9px; line-height: 1.5; }
.account-trust span { color: var(--lime); }

.account-panel { min-height: calc(100vh - 78px); padding: 48px clamp(35px, 6vw, 88px) 80px; background: var(--paper); }
.account-mode-row { width: fit-content; margin-left: auto; padding: 3px; display: flex; background: #e8e7e0; border-radius: 999px; }
.account-mode-row button { min-height: 34px; padding: 7px 14px; color: #6f7d7e; background: transparent; border: 0; border-radius: 999px; font-size: 9px; font-weight: 800; cursor: pointer; }
.account-mode-row button.active { color: var(--ink); background: white; box-shadow: 0 3px 9px rgba(18,63,68,.08); }
.account-availability { max-width: 720px; margin: 20px auto 25px; padding: 11px 14px; display: flex; align-items: center; gap: 10px; background: #ece9f0; border-left: 3px solid var(--plum); }
.account-availability > span { flex: 0 0 auto; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
.account-availability p { margin: 0; display: flex; flex-direction: column; }
.account-availability strong { font-size: 9px; }.account-availability small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.account-availability.ready { background: #e2efdf; border-color: var(--teal-bright); }.account-availability.ready > span { background: var(--teal-bright); }
.account-availability.preview { background: #f1eadc; border-color: var(--gold); }
.signup-flow, .signin-form { max-width: 720px; margin: 0 auto; }
.signup-progress { position: relative; margin: 0 0 36px; display: grid; grid-template-columns: repeat(5, 1fr); }
.signup-progress::before { content: ""; position: absolute; top: 14px; left: 9%; right: 9%; height: 1px; background: #cfd5cf; }
.signup-progress span { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; color: #8b9590; }
.signup-progress b { width: 29px; height: 29px; display: grid; place-items: center; background: var(--paper); border: 1px solid #cfd5cf; border-radius: 50%; font-size: 8px; }
.signup-progress small { font-size: 7px; font-weight: 750; }
.signup-progress span.active, .signup-progress span.done { color: var(--ink); }
.signup-progress span.active b { color: white; background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(168,229,220,.42); }
.signup-progress span.done b { color: var(--ink); background: var(--mint); border-color: var(--mint); }
.signup-step { animation: step-in .28s ease-out; }
@keyframes step-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.step-heading { margin-bottom: 27px; }
.step-heading > p { margin: 0 0 8px; color: var(--teal-bright); font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.step-heading h2 { margin: 0; font: 400 clamp(34px, 4vw, 48px)/1 var(--serif); letter-spacing: -.04em; }
.step-heading > span { max-width: 600px; margin-top: 11px; display: block; color: var(--muted); font-size: 11px; line-height: 1.55; }
.field-grid { display: grid; gap: 13px; }.field-grid.two { grid-template-columns: 1fr 1fr; }.field-grid.three { grid-template-columns: repeat(3, 1fr); }
.signup-flow > section > label, .field-grid label, .signin-form > label { margin-bottom: 14px; display: flex; flex-direction: column; gap: 7px; }
.signup-flow label > span, .signin-form label > span { font-size: 9px; font-weight: 800; }
.signup-flow label > small, .signin-form label > small { color: #84908d; font-size: 7px; line-height: 1.4; }
.signup-flow input:not([type="checkbox"]):not([type="radio"]), .signup-flow select, .signup-flow textarea, .signin-form input { width: 100%; min-height: 46px; padding: 11px 13px; color: var(--ink); background: white; border: 1px solid #d6d8d2; border-radius: 8px; font-size: 11px; }
.signup-flow textarea { min-height: 83px; resize: vertical; }
.signup-flow input::placeholder, .signup-flow textarea::placeholder { color: #9ca5a1; }
.parent-notice, .clinical-boundary { margin: 4px 0 15px; padding: 13px 15px; background: #e5efdb; border-left: 3px solid var(--teal-bright); }
.parent-notice strong { font: 400 14px var(--serif); }.parent-notice p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
fieldset { min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }
legend { width: 100%; margin-bottom: 10px; font-size: 9px; font-weight: 800; } legend small { color: var(--muted); font-weight: 500; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.choice-grid.compact { grid-template-columns: repeat(3, 1fr); }
.choice-grid label { position: relative; min-width: 0; margin: 0; cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid label > span { min-height: 63px; padding: 12px; display: flex; flex-direction: column; justify-content: center; background: white; border: 1px solid #d6d8d2; border-radius: 11px 3px 11px 3px; font-size: 10px; }
.choice-grid label > span small { margin-top: 4px; color: var(--muted); font-size: 7px; font-weight: 500; line-height: 1.35; }
.choice-grid input:checked + span { background: #e3f0dd; border-color: var(--teal-bright); box-shadow: inset 3px 0 var(--teal-bright); }
.choice-grid input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.choice-grid label.restricted { cursor: not-allowed; }
.choice-grid label.restricted > span { color: #7f8986; background: #ecece8; border-style: dashed; box-shadow: none; opacity: .68; }
.choice-grid.compact label > span { min-height: 42px; padding: 8px 10px; align-items: center; text-align: center; }
.clinical-boundary { display: grid; grid-template-columns: 28px 1fr; gap: 9px; background: #f0e7e5; border-color: var(--coral); }
.clinical-boundary > span { width: 25px; height: 25px; display: grid; place-items: center; color: white; background: var(--coral); border-radius: 50%; font-weight: 850; }
.clinical-boundary p { margin: 0; color: #6e6261; font-size: 9px; line-height: 1.5; }
.pace-label { margin: 0 0 10px; display: block; }
.pace-options { margin-top: 8px; padding: 3px; display: grid; grid-template-columns: repeat(4, 1fr); background: #e7e6df; border-radius: 10px; }
.pace-options label { position: relative; margin: 0; }
.pace-options input { position: absolute; opacity: 0; }
.pace-options span { min-height: 38px; display: grid; place-items: center; color: #7c8884; border-radius: 8px; font-size: 9px; }
.pace-options input:checked + span { color: var(--ink); background: white; box-shadow: 0 2px 7px rgba(18,63,68,.1); }
.medication-choice { margin-bottom: 19px; padding: 14px; background: #eee7ef; border: 1px solid #dccfdf; border-radius: 13px 3px 13px 3px; }
.medication-choice label { position: relative; margin: 0; display: grid; grid-template-columns: 18px 1fr; gap: 10px; cursor: pointer; }
.medication-choice input { width: 16px; height: 16px; accent-color: var(--plum); }
.medication-choice span { display: flex; flex-direction: column; }.medication-choice strong { font-size: 9px; }.medication-choice small { margin-top: 4px; color: #766a74; font-size: 7px; line-height: 1.45; }
.medication-choice.restricted { opacity: .55; }
.medication-choice.restricted label { cursor: not-allowed; }
.account-consent { margin-top: 5px !important; display: grid !important; grid-template-columns: 17px 1fr; align-items: flex-start; gap: 9px !important; }
.account-consent input { width: 16px; height: 16px; margin: 0; accent-color: var(--teal); }.account-consent span { color: var(--muted); font-weight: 500 !important; line-height: 1.5; }
.signup-actions { margin-top: 31px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.back-button, .next-button, .create-button { min-height: 48px; padding: 12px 20px; border-radius: 999px; font-size: 10px; font-weight: 850; cursor: pointer; }
.back-button { color: var(--ink); background: transparent; border: 1px solid #bcc7c4; }
.next-button, .create-button { margin-left: auto; display: inline-flex; align-items: center; gap: 18px; color: white; background: var(--ink); border: 1px solid var(--ink); }
.create-button { background: var(--teal); border-color: var(--teal); }
.account-form-status { min-height: 18px; margin: 12px 0 0; color: var(--muted); font-size: 9px; text-align: center; }.account-form-status.error { color: #b14234; }.account-form-status.success { color: var(--teal); }

.path-hero { margin-bottom: 15px; padding: 19px; display: grid; grid-template-columns: 48px 1fr; gap: 14px; color: white; background: linear-gradient(135deg,#65487d,#1f6068); border-radius: 17px 4px 17px 4px; }
.path-orb { width: 48px; height: 48px; display: grid; place-items: center; color: var(--ink); background: var(--lime); border-radius: 50%; font: 700 17px var(--serif); }
.path-hero div { display: flex; flex-direction: column; }.path-hero small { color: var(--mint); font-size: 7px; font-weight: 850; letter-spacing: .12em; }.path-hero h3 { margin: 5px 0; font: 400 19px var(--serif); }.path-hero p { margin: 0; color: rgba(255,255,255,.63); font-size: 8px; line-height: 1.45; }
.path-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.path-cards article { min-height: 120px; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 12px 3px 12px 3px; }
.path-cards span { color: var(--teal-bright); font-size: 7px; font-weight: 850; letter-spacing: .1em; }.path-cards strong { margin: 9px 0 5px; display: block; font: 400 15px var(--serif); }.path-cards p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.45; }
.impact-ledger { margin-top: 16px; border: 1px solid var(--line); background: #f1efeb; }
.ledger-head, .impact-ledger [data-impact-ledger] > div { padding: 9px 12px; display: grid; grid-template-columns: .65fr 1.35fr; gap: 15px; }
.ledger-head { color: #84908c; font-size: 7px; font-weight: 850; letter-spacing: .1em; }
.impact-ledger [data-impact-ledger] > div { background: white; border-top: 1px solid var(--line); font-size: 8px; line-height: 1.4; }.impact-ledger b { font-size: 8px; }.impact-ledger p { margin: 0; color: var(--muted); }
.safety-review { margin-top: 14px; padding: 13px 15px; background: #e5efdb; border-left: 3px solid var(--teal-bright); font-size: 8px; line-height: 1.5; }.safety-review strong { display: block; margin-bottom: 3px; font-size: 9px; }
.path-version { color: #8b9490; font-size: 7px; text-align: center; }
.signin-form { padding-top: 35px; }.signin-form .create-button { width: 100%; justify-content: center; }.signin-note { color: #87918e; font-size: 8px; text-align: center; }

@media (max-width: 980px) {
  .account-shell { grid-template-columns: 1fr; }.account-story { position: relative; top: auto; height: auto; min-height: 660px; }.account-panel { padding-top: 45px; }
}
@media (max-width: 620px) {
  .account-header { height: 68px; padding: 0 14px; }.account-logo { width: 95px; }.account-header-actions span { display: none; }
  .account-shell { padding-top: 68px; }.account-story { padding: 45px 24px; min-height: auto; }.account-story h1 { font-size: 47px; }.data-impact-preview { margin-top: 40px; }
  .account-panel { padding: 28px 16px 60px; }.account-mode-row { margin: 0 auto 18px; }.account-availability { margin-top: 0; }
  .signup-progress small { display: none; }.signup-progress { margin-bottom: 28px; }.field-grid.two, .field-grid.three, .choice-grid, .choice-grid.compact { grid-template-columns: 1fr 1fr; }
  .path-cards { grid-template-columns: 1fr; }.path-cards article { min-height: auto; }.ledger-head, .impact-ledger [data-impact-ledger] > div { grid-template-columns: 1fr; gap: 4px; }
}
