/* Quiet account surfaces: explicit foregrounds keep cinematic lesson colours contained. */
.student-account{color:#253b35;background:#f4f3ef;color-scheme:light;font-family:Inter,system-ui,sans-serif}
.student-account>header{background:#fcfbf8;border-bottom:1px solid #dfe3dc;color:#253b35}
.student-account>main{max-width:1160px}
.student-account h1{color:#203b31;font:400 clamp(34px,4vw,52px)/1.15 Georgia,serif;letter-spacing:-.035em;text-wrap:balance}
.student-account .card{background:#fffefb;color:#253b35;border:1px solid #dce2d9;border-radius:22px;box-shadow:none}
.student-account :is(input,select,textarea){color:#253b35;background:#fffefb;border-color:#c8d4c6}
.student-account :is(.muted,small){color:#536752}
.student-account button:focus-visible,.student-account a:focus-visible{outline:3px solid #986729;outline-offset:4px}
body:has(.overhaul-home){background:#f4f3ef;color:#253b35;color-scheme:light}
body:has(.overhaul-home)>header{background:#fcfbf8;border-color:#dfe3dc;padding-block:20px}
body:has(.overhaul-home) nav a{padding:10px 4px;text-decoration:none;color:#40574d}
body:has(.overhaul-home) nav a:hover{color:#173f32;text-decoration:underline}
#app:has(.overhaul-home){max-width:1160px;margin-top:36px}
.overhaul-home{position:relative;padding:clamp(24px,4vw,48px);border:1px solid #dce2d9;border-radius:30px;background:radial-gradient(ellipse at 85% 0%,#e3ecdf,transparent 65%),#fcfbf7;color:#253b35;box-shadow:0 14px 55px #263e3007}
.overhaul-home h1{color:#203b31;font:400 clamp(36px,5vw,60px)/1.12 Georgia,serif;letter-spacing:-.035em;margin:10px auto 28px;text-wrap:balance;overflow-wrap:anywhere}
.overhaul-home .eyebrow{color:#53674e;letter-spacing:.16em;font-size:11px}
.overhaul-daily{display:block;width:fit-content;max-width:100%;margin:0 auto 20px;padding:16px 24px;border:1px solid #b9cfb9;background:#e4efdf;color:#214e36;font-size:clamp(18px,2.5vw,24px);line-height:1.45;border-radius:18px;font-weight:650}
.overhaul-hint{max-width:570px;margin:16px auto 28px;color:#4c6255;line-height:1.65}
.overhaul-actions{gap:18px;margin-top:32px;align-items:stretch}
.overhaul-actions>a{padding:28px 20px;gap:12px;background:#fffefb;border:1px solid #d8dfd3;color:#294436;border-radius:22px;box-shadow:0 4px 14px #213e3004;transition:box-shadow .25s,border-color .25s,transform .25s}
.overhaul-actions>a:hover{transform:translateY(-3px);border-color:#98b198;box-shadow:0 12px 26px #213e3010}
.overhaul-actions strong{font-size:21px;line-height:1.3;font-weight:650;overflow-wrap:normal;hyphens:auto;text-wrap:balance}
.overhaul-actions>a>span:not(.overhaul-symbol){font-size:15px;line-height:1.5;color:#536752}
.overhaul-actions small{margin-top:auto;padding-top:8px;color:#4c654f;font-size:14px;line-height:1.5}
.overhaul-symbol{width:72px;height:72px;margin-bottom:8px;background:linear-gradient(140deg,#f1f5e9,#dce8d6);border:1px solid #d5e1cc;box-shadow:inset 0 1px #fff,0 6px 20px #254a3810;color:#39634d}
.overhaul-symbol svg{width:42px;height:42px;stroke-width:2.3}
.overhaul-actions .overhaul-live{background:#244b3c;border-color:#244b3c;color:#fffdf5}
.overhaul-actions .overhaul-live>span:not(.overhaul-symbol),.overhaul-actions .overhaul-live small{color:#e0ecdd}
.overhaul-live .overhaul-symbol{color:#e6f0de;background:#ffffff0c;border-color:#ffffff24;box-shadow:inset 0 1px #ffffff18}
.overhaul-home .mallo-help-card{background:#f0f1e9;border-color:#d4ddcd;box-shadow:none;padding:20px 26px;color:#294436;margin-top:24px}
.overhaul-home .mallo-help-copy>span{color:#50644f}
.overhaul-home .mallo-help-cta{background:#294f3d;color:#fffdf5;font-weight:600}
body:has(.overhaul-home) .card{color:#253b35;background:#fffefb;border-color:#dce2d9;box-shadow:none}
body:has(.overhaul-home) .card :is(h1,h2,h3){color:#253b35}
body:has(.overhaul-home) .card :is(.muted,small){color:#536752}
@media(max-width:650px){#app:has(.overhaul-home){margin-top:18px;padding-inline:14px}.overhaul-home{padding:28px 18px;border-radius:24px}.overhaul-actions{grid-template-columns:1fr;gap:12px}.overhaul-actions>a{display:grid;grid-template-columns:56px 1fr;gap:4px 16px;text-align:left;align-items:center;padding:20px}.overhaul-symbol{grid-row:1/4;width:56px;height:56px;margin:0;border-radius:18px}.overhaul-symbol svg{width:35px;height:35px}.overhaul-actions small{margin:0;padding-top:5px}.overhaul-actions strong{font-size:19px}.overhaul-home .mallo-help-card{padding:20px 16px;gap:14px}.overhaul-daily{padding:14px 16px}}
@media(prefers-reduced-motion:reduce){.overhaul-actions>a{transition:none}.overhaul-actions>a:hover{transform:none}}
.profile-subscription{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px 24px;text-align:left;margin:24px 0 8px;padding:22px 24px;background:#fffefb;border:1px solid #c9d5c6;border-radius:20px}
.profile-subscription h2{margin:0 0 5px;font-size:21px;color:#253b35}.profile-subscription p{margin:0;line-height:1.5;color:#49604f}.profile-subscription #portal{flex-shrink:0;font-size:17px;font-weight:650;padding:15px 22px;min-height:52px}.profile-subscription #portal span{margin-left:12px}.profile-subscription .profile-subscription-status{margin-top:8px;font-weight:600;color:#284d3b}.profile-subscription-error,.profile-subscription-pending{flex-basis:100%}.profile-subscription .profile-subscription-error{color:#983c3c}.profile-subscription-pending{border-top:1px solid #dce2d9;padding-top:16px}.profile-subscription-pending button{margin-top:12px}
@media(max-width:650px){.profile-subscription{padding:20px;gap:16px}.profile-subscription #portal{width:100%}}
