:root{color-scheme:dark;font-family:system-ui,-apple-system,sans-serif;background:#07162d;color:#edf5ff}*{box-sizing:border-box}body{margin:0}header,main{max-width:960px;margin:auto;padding:24px}header,.row,nav,footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.brand{font-size:26px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}a{color:#9dceff}.back-workspace{display:inline-flex;align-items:center;min-height:44px;margin-bottom:16px;font-weight:600;text-underline-offset:4px}main{padding-top:44px}h1{font-size:clamp(32px,6vw,52px);line-height:1.1;margin:12px 0 20px}h2{font-size:24px}p{line-height:1.65;overflow-wrap:anywhere}.eyebrow{color:#9dceff;font-size:12px;letter-spacing:.15em;font-weight:700}.intro{max-width:65ch;color:#bfd0e8}.notice{padding:16px;border-left:3px solid #9dceff;background:#102744;border-radius:6px}.card{background:#11294b;border:1px solid #385474;border-radius:24px;padding:28px;margin:24px 0;box-shadow:0 7px 0 #041022}form{display:grid;gap:12px;max-width:440px;margin:24px 0}input{width:100%;font:inherit;padding:15px;border:1px solid #7894b7;border-radius:12px;background:#07162d;color:#fff}button{font:inherit;font-weight:600;background:#a2d4ff;color:#06182c;border:0;border-radius:13px;padding:13px 20px;box-shadow:0 4px 0 #497cad;cursor:pointer;transition:transform .12s}button:active:not(:disabled){transform:translateY(2px)}button:disabled{opacity:.5;cursor:not-allowed}.secondary,nav button{background:#18375d;color:#e9f4ff;box-shadow:0 3px 0 #061329}nav button[aria-pressed=true]{background:#a2d4ff;color:#06182c}.small{font-size:13px;color:#bfd0e8}article{border-top:1px solid #385474;padding:16px 0}article p{white-space:pre-wrap}footer{justify-content:flex-start;margin-top:36px;font-size:14px}[hidden]{display:none!important}:focus-visible{outline:3px solid #fff;outline-offset:4px}@media(max-width:480px){header,main{padding:18px}.card{padding:20px}nav{gap:8px}nav button{padding:10px 12px;min-height:44px}footer a{display:inline-flex;align-items:center;min-height:44px}}@media(prefers-reduced-motion:reduce){button{transition:none}}

textarea{box-sizing:border-box;width:100%;padding:12px;border-radius:10px;font:inherit;background:#091b38;color:#eaf3ff;border:1px solid #60738f;resize:vertical}#note-form{margin-top:24px}#notes article button{margin-top:12px}
/* Account tools use a fixed dark surface. */
#subject-filter,#note-subject{appearance:none;display:block;width:100%;max-width:440px;min-width:0;min-height:48px;margin:8px 0 16px;padding:12px 40px 12px 12px;font:inherit;font-size:16px;border:1px solid #7894b7;border-radius:12px;background-color:#07162d;background-image:linear-gradient(45deg,transparent 50%,#9dceff 50%),linear-gradient(135deg,#9dceff 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%;background-size:6px 6px;background-repeat:no-repeat;color:#edf5ff}
label[for=subject-filter]{display:block;margin-top:24px}#new-subject-fields{display:grid;gap:8px}.note-subject{margin:0 0 6px;color:#9dceff;font-size:13px;font-weight:600}
:root{--logo-blend:screen;--logo-filter:contrast(1.2) invert(1) hue-rotate(180deg)}

.file-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:8px}

#cloud-upload{border-top:1px solid #385474;padding-top:20px;margin-top:24px}.upload-consent{display:flex;align-items:flex-start;gap:12px;margin:18px 0;line-height:1.6}.upload-consent input{width:20px;min-width:20px;height:20px;margin-top:4px}#upload-file{margin-top:10px}#upload-progress{width:100%;max-width:360px}

#guardian-panel article h3 { overflow-wrap: anywhere; }

.family-agreement-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; margin-block: 1rem; }
#family-consent-panel h3, #family-consent-panel p { overflow-wrap: anywhere; }

#account-mode{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:440px;margin:20px 0 12px}.account-mode button{min-height:44px}.account-mode button[aria-pressed=true]{background:#a2d4ff;color:#06182c;box-shadow:0 4px 0 #497cad}#self-service-panel{border:1px solid #385474;border-radius:16px;padding:18px;margin:0;background:#0b203d}#self-service-panel legend{padding:0 8px;font-weight:700}#self-service-panel details{margin-bottom:14px}#self-service-panel summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#9dceff;font-weight:700}.self-service-notice{max-height:180px;overflow:auto;white-space:pre-wrap;background:#07162d;border-radius:10px;padding:14px;font-size:14px}.self-service-choice{display:flex;align-items:flex-start;gap:10px;line-height:1.5;min-height:44px}.self-service-choice input{width:22px;min-width:22px;height:22px;margin-top:2px}

.legal-links a,#feedback-link,main>p>a,footer a{display:inline-flex;align-items:center;min-height:44px}

.account-overview{display:grid;gap:18px}.account-heading{align-items:flex-start}.account-heading h2{margin:4px 0 0}.plan-badge{display:inline-flex;align-items:center;min-height:32px;padding:6px 11px;border:1px solid #7894b7;border-radius:999px;background:#0b203d;color:#d7ebff;font-size:13px;font-weight:700}.account-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-summary>div{display:grid;gap:4px;padding:16px;border:1px solid #385474;border-radius:16px;background:#0b203d}.account-summary span{color:#9dceff;font-size:12px}.account-summary strong{font-size:16px}.account-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.button-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:13px 20px;border-radius:13px;font-weight:700;text-decoration:none}.danger-link{border:1px solid #d98b8b;color:#ffd1d1;background:#381d2a}.danger-link:hover{background:#492334}
.billing-test{display:grid;gap:14px;padding:18px;border:1px solid #7894b7;border-radius:18px;background:#102946;color:#edf5ff}.billing-test h3{margin:0;color:inherit}.billing-test>.row{align-items:center}.billing-test .plan-badge{background:#fff1c9;color:#4d3600;border-color:#d5ac4d}.billing-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.billing-plan-grid article{display:grid;align-content:start;gap:9px;padding:16px;border:1px solid #58789c;border-radius:15px;background:#0b203d}.billing-plan-grid h4,.billing-plan-grid p{margin:0}.billing-plan-grid strong{font-size:22px}.billing-plan-grid p{min-height:48px;color:#bad7f5;font-size:13px;line-height:1.45}.billing-plan-grid button{width:100%;margin-top:auto}html[data-design] .billing-test{background:linear-gradient(145deg,var(--surface),var(--soft));color:var(--ink);border-color:var(--line)}html[data-design] .billing-test .plan-badge{background:var(--btn);color:var(--onbtn);border-color:var(--btn)}html[data-design] .billing-plan-grid article{border-color:var(--line);background:var(--soft)}html[data-design] .billing-plan-grid p{color:var(--muted)}
@media(max-width:620px){.billing-plan-grid{grid-template-columns:1fr}.billing-plan-grid p{min-height:0}}
@media(max-width:560px){.account-summary{grid-template-columns:1fr}.account-actions>*{width:100%}}

#processing-panel{margin-block:24px}#processing-panel label{display:block;margin-top:16px}#process-text{display:block;width:100%;margin:8px 0 16px}#process-actions{margin-top:12px}
