.account-panel { max-width: 660px; margin: 30px auto 0; padding: clamp(24px, 5vw, 42px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-panel); }
.account-panel-family { max-width: 920px; }
.account-panel h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; margin: 8px 0 12px; }
.account-panel > p:not(.eyebrow) { color: var(--muted); }
.account-form { display: grid; gap: 9px; margin-top: 24px; }
.account-form label { font-weight: 800; font-size: 14px; margin-top: 8px; }
.account-form input { width: 100%; padding: 12px 14px; border: 1px solid #bcc9cd; border-radius: 11px; background: #fff; }
.account-form small { color: var(--muted); }
.account-form button { margin-top: 12px; border: 0; border-radius: 11px; padding: 13px 16px; background: var(--ink); color: #fff; font-weight: 800; cursor: pointer; }
.account-switch { margin-top: 23px; }
.account-switch a { color: #22746f; font-weight: 800; }
.form-error { max-width: 660px; margin: 0 auto; background: #ffe3dd; border: 1px solid var(--coral); border-radius: 12px; padding: 13px 16px; }
.child-roster { margin-top: 28px; }
.child-roster-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.child-roster-heading h2 { margin: 0; font-size: 20px; }
.child-roster-heading > span { padding: 7px 11px; border-radius: 99px; background: #e4f4ef; color: #246e66; font-size: 12px; font-weight: 850; }
.child-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 13px; }
.child-roster-form { min-width: 0; }
body.child-learning-paused .child-roster-form,
body.child-learning-paused a[href="enroll.php"],
body.child-learning-paused .account-panel-family > form.account-form { display: none; }
.child-choice { position: relative; display: flex; width: 100%; min-height: 204px; flex-direction: column; align-items: center; justify-content: flex-start; gap: 7px; padding: 17px 11px 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--ink); text-align: center; font-weight: 800; cursor: pointer; box-shadow: 0 4px 0 #e9e5dc; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.child-choice:hover { transform: translateY(-3px); border-color: #82c8b8; box-shadow: 0 7px 0 #dcece5; }
.child-choice:focus-visible { outline: 3px solid #9a5600; outline-offset: 3px; }
.child-choice.is-active { border: 2px solid var(--teal); background: #f2faf7; box-shadow: 0 4px 0 #d9ebe4; }
.child-avatar { display: grid; width: 82px; height: 82px; flex: none; place-items: center; overflow: hidden; border: 3px solid #fff; border-radius: 50%; background: #ffe0ad; box-shadow: 0 3px 10px #14263d1c; }
.child-avatar svg { display: block; width: 100%; height: 100%; }
.child-choice > strong { max-width: 100%; overflow-wrap: anywhere; font-size: 16px; line-height: 1.2; }
.child-stage { padding: 4px 9px; border-radius: 99px; background: #f5f1e8; color: #526678; font-size: 11px; font-weight: 800; }
.child-demo-label { color: #89622b; font-size: 11px; font-weight: 850; }
.child-choice-action { margin-top: auto; color: #246e66; font-size: 11px; font-weight: 850; }
.child-profile-link { display:block; margin:7px 2px 0; padding:7px 9px; border-radius:9px; color:#176b6d; font-size:12px; font-weight:800; text-align:center; text-decoration:none; }
.child-profile-link:hover { background:#e8f3f2; color:#14263d; }
.child-profile-link:focus-visible { outline:3px solid #f2a525; outline-offset:2px; }
.account-panel-family > p > a { display:inline-flex; align-items:center; gap:8px; margin-top:10px; padding:11px 15px; border-radius:11px; background:#e8f3f2; color:#176b6d; font-weight:850; text-decoration:none; box-shadow:0 3px 0 #cfe5df; transition:transform .16s ease, background .16s ease, box-shadow .16s ease; }
.account-panel-family > p > a:hover { transform:translateY(-2px); background:#d9eeea; color:#14263d; box-shadow:0 5px 0 #c4ddd6; }
.account-panel-family > p > a:focus-visible { outline:3px solid #f2a525; outline-offset:3px; }
.child-roster > p > a { display:inline-flex; align-items:center; gap:8px; margin-top:4px; padding:11px 15px; border-radius:11px; background:#e8f3f2; color:#176b6d; font-weight:850; text-decoration:none; box-shadow:0 3px 0 #cfe5df; transition:transform .16s ease, background .16s ease, box-shadow .16s ease; }
.child-roster > p > a:hover { transform:translateY(-2px); background:#d9eeea; color:#14263d; box-shadow:0 5px 0 #c4ddd6; }
.child-roster > p > a:focus-visible { outline:3px solid #f2a525; outline-offset:3px; }
@media (max-width: 520px) { .account-panel-family { padding: 21px 16px; } .child-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .child-choice { min-height: 192px; padding: 14px 8px 12px; border-radius: 17px; } .child-avatar { width: 74px; height: 74px; } .child-choice > strong { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .child-choice { transition: none; } .child-choice:hover { transform: none; } }
