@font-face{font-family:ReadingTC;src:url('assets/reading-tc.woff') format('woff');font-weight:100 900;font-display:swap}
:root{color-scheme:light;--bg:#fffafb;--card:#fffdfb;--text:#4c182f;--muted:#76616b;--line:#e8cbd9;--accent:#b73170;--accent2:#cf609c;--primary-bg:#dc397d;--title-blue:#4c182f;--surface:#f8edf4;--surface-soft:#fff8fc;--accent-soft:#f9dff0;--accent-line:#f4b4d4;--focus:#bd3c7a;--hero-a:#ffdaed;--hero-b:#ffe7f4;--hero-c:#ffd4ed;--rose-a:#ffdeef;--rose-b:#ffe8f5;--rose-line:#f8acd1;--purple-a:#f3e5ff;--purple-b:#edddfc;--purple-line:#d5b4ee;--peach-a:#fff1e8;--peach-b:#ffe9dd;--peach-line:#facab2;--mint-a:#e4fff1;--mint-b:#def8eb;--mint-line:#a9e2c3;--blue-a:#eef5ff;--blue-b:#f8faff;--blue-line:#c8dbf1;--violet-bg:#ebd9fc;--violet-text:#704278;--nav-bg:rgba(255,250,251,.98);--good-bg:#dff9e8;--good:#306c52;--bad-bg:#ffe1eb;--bad:#943e5d;--shadow:0 5px 10px #a1686510;--card-shadow:0 3px 7px #a1686510;--warm-bg:#fff3dc;--warm-text:#8a5b22;--warm-line:#eacba4;--target-bg:#ffd4e8;--target-text:#90274e;--sprite:url('assets/melody-icons.png');--peek:url('assets/melody-peek.png');--progress-track:#dfcfdb}
:root[data-character="cookieann"]{--bg:#fff7e8;--card:#fffbf3;--text:#54210e;--muted:#7a6353;--line:#efd1b1;--accent:#b6593d;--accent2:#e08166;--primary-bg:#e75374;--title-blue:#54210e;--surface:#fff0de;--surface-soft:#fff9ed;--accent-soft:#ffded6;--accent-line:#ffcf7b;--focus:#b25a37;--hero-a:#fff0bb;--hero-b:#fff3ce;--hero-c:#ffe8b1;--rose-a:#ffe6dc;--rose-b:#ffede4;--rose-line:#ffbea7;--purple-a:#f3e9f9;--purple-b:#eee7f5;--purple-line:#dac8e7;--peach-a:#fff5da;--peach-b:#fff0cf;--peach-line:#ffd68d;--mint-a:#f1f9df;--mint-b:#e6f5d7;--mint-line:#c9e59a;--violet-bg:#efdcf6;--violet-text:#795370;--nav-bg:rgba(255,248,235,.98);--good-bg:#e1f8d1;--good:#3f743a;--bad-bg:#ffdedb;--bad:#a65049;--sprite:url('assets/cookieann-icons.png');--peek:url('assets/cookieann-peek.png');--progress-track:#e5d5ca}
@media(prefers-color-scheme:dark){:root{color-scheme:dark;--bg:#251c2b;--card:#332536;--text:#fff1f5;--muted:#d9bdca;--line:#846078;--accent:#ffc1df;--accent2:#d5b1ed;--primary-bg:#ba3c73;--title-blue:#fff1f5;--surface:#493247;--surface-soft:#38283e;--accent-soft:#6d415d;--accent-line:#b66c94;--focus:#ffc0df;--hero-a:#5b304d;--hero-b:#44273f;--hero-c:#59304d;--rose-a:#64394f;--rose-b:#503040;--rose-line:#b76c92;--purple-a:#574062;--purple-b:#47354f;--purple-line:#9c7db3;--peach-a:#594035;--peach-b:#47312e;--peach-line:#a77b66;--mint-a:#365648;--mint-b:#2d403a;--mint-line:#7eae95;--blue-a:#364459;--blue-b:#293549;--blue-line:#758ba8;--violet-bg:#60466f;--violet-text:#f3dfff;--nav-bg:rgba(37,28,43,.98);--good-bg:#315543;--good:#b2f2ce;--bad-bg:#613341;--bad:#ffc2ce;--warm-bg:#493723;--warm-text:#ffe0ad;--warm-line:#a78155;--target-bg:#7d3c5e;--target-text:#fff3fa;--progress-track:#756471;--shadow:0 5px 10px #0002;--card-shadow:0 3px 8px #0001}
:root[data-character="cookieann"]{--bg:#2b1a12;--card:#3c281c;--text:#fff1d9;--muted:#e5cbb1;--line:#a57951;--accent:#ffd5a7;--accent2:#e6a078;--primary-bg:#c44864;--title-blue:#fff1d9;--surface:#513b28;--surface-soft:#422d20;--accent-soft:#935854;--accent-line:#eda950;--focus:#ffd5a7;--hero-a:#5b3b1c;--hero-b:#472b18;--hero-c:#654522;--rose-a:#6c4033;--rose-b:#503124;--rose-line:#c98768;--purple-a:#644657;--purple-b:#4b3645;--purple-line:#a6879a;--peach-a:#634521;--peach-b:#4d341b;--peach-line:#ca974f;--mint-a:#5a5a2e;--mint-b:#424524;--mint-line:#a7b16c;--violet-bg:#6a4b63;--violet-text:#ffe8f4;--nav-bg:rgba(43,26,18,.98);--good-bg:#3e552e;--good:#d0f2b6;--bad-bg:#673e35;--bad:#ffd0bd;--progress-track:#827164}}
html,body{background:var(--bg);color:var(--text)}body,button,input,select,textarea{font-family:ReadingTC,'Arial Rounded MT Bold','PingFang TC',sans-serif}body{background-image:none}button,input,select{color:var(--text)}h1,h2,h3,b,strong{font-weight:850}button{font-weight:700}.app{max-width:560px;padding:8px 8px calc(72px + env(safe-area-inset-bottom));margin:auto}.art-icon{width:1.5em;height:1.5em;display:inline-block;vertical-align:middle;flex:none}.theme-art{display:inline-flex;align-items:center;justify-content:center}.theme-art>.art-icon{width:100%;height:100%}.cookie-only{display:none}:root[data-character="cookieann"] .melody-only{display:none}:root[data-character="cookieann"] .cookie-only{display:inline-block}
.storybook-brand{position:relative;min-height:61px;display:flex;align-items:flex-start;justify-content:center;margin:0 0 2px}.brand-center{text-align:center;min-width:0}.brand-center h1{margin:0;display:flex;align-items:center;justify-content:center;gap:5px;font-size:clamp(27px,7.6vw,38px);line-height:1.3;letter-spacing:.025em;font-weight:950}.brand-logo{width:40px;height:37px}.brand-subtitle{margin:3px 0 0;font-size:clamp(11px,3.1vw,16px);font-weight:650;letter-spacing:.04em}.brand-decoration{position:absolute;left:0;top:8px;width:43px;height:43px;pointer-events:none}.appearance-open{position:absolute;right:0;top:4px;border:0;background:none;box-shadow:none;color:var(--accent);width:44px;height:44px;padding:6px;cursor:pointer}.appearance-open .art-icon{width:100%;height:100%}#screen-home>.topbar{display:none}
#homeCloudStatus{display:flex;justify-content:center;align-items:center;gap:8px;width:max-content;max-width:100%;min-height:25px;padding:3px 7px;margin:0 auto 26px;border:0;background:none!important;box-shadow:none!important;border-radius:12px;cursor:pointer}#homeCloudStatus b{font-size:13px;font-weight:750}#homeCloudSub,#homeCloudStatus>span:last-child{display:none}#homeCloudStatus>div{min-width:0}.cloud-dot{width:10px;height:10px;flex:0 0 10px;box-shadow:none!important}.cloud-dot.on{background:#20e633}.cloud-dot.syncing{background:#3282ff}.cloud-dot.pending,.cloud-dot.offline{background:#ffaa16}.cloud-dot.error{background:#ff4868}.cloud-dot.off{background:#b4bac8}
.welcome{position:relative;border:2px solid var(--accent-line);background:linear-gradient(105deg,var(--hero-a),var(--hero-b),var(--hero-c));border-radius:24px;min-height:82px;padding:21px 12px 19px 18px;margin:0 0 7px;box-shadow:inset 0 0 0 1px #ffffff70}.welcome h2{font-size:clamp(17px,5.25vw,28px);line-height:1.45;margin:0;letter-spacing:-.055em;white-space:nowrap;position:relative;z-index:1;max-width:69%}.welcome p{display:none}.welcome img{position:absolute;bottom:-3px;right:2px;width:36%;height:137%;object-fit:contain;object-position:center bottom;pointer-events:none}
.hero{background:var(--card);color:var(--text);padding:10px 10px 8px;border:1.5px solid var(--line);border-radius:17px;box-shadow:var(--card-shadow);margin:0 0 7px}.progress-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;min-height:28px}.progress-heading h3{display:flex;align-items:center;gap:6px;margin:0;font-size:clamp(17px,5vw,25px);white-space:nowrap;letter-spacing:-.04em}.progress-heading .art-icon{width:36px;height:28px;color:var(--accent)}.hero .hero-scope{padding:2px 12px;background:var(--violet-bg);color:var(--text);border-radius:30px;line-height:1.5;font-size:12px;font-weight:700;margin:0;max-width:40%;overflow-wrap:anywhere}.progress-pair{display:grid;grid-template-columns:1fr 1fr;gap:7px}.progress-cell{background:linear-gradient(125deg,var(--rose-a),var(--rose-b));border-radius:13px;padding:6px 8px 8px;text-align:center}.progress-cell.star-cell{background:linear-gradient(125deg,var(--purple-a),var(--purple-b))}.progress-label{display:flex;align-items:center;justify-content:center;gap:4px;font-size:16px;font-weight:800;line-height:1.5}.progress-label .art-icon{width:20px;height:20px}.progress-number{font-size:20px;font-weight:750;line-height:1.28;white-space:nowrap}.progress-number>b:first-child{font-size:29px;font-weight:850;letter-spacing:-.03em}.progress-number>b:last-child{font-size:20px;font-weight:750}.progress-meter{display:flex;gap:4px;align-items:center;margin-top:6px;font-size:12px;font-weight:600}.hero .progress-track{flex:1;min-width:0;height:13px;border:1px solid #fff9;background:var(--progress-track);border-radius:20px;margin:0}.hero .progress-fill{height:100%;border-radius:20px;background:linear-gradient(100deg,#ff6ca8,#f75396)}.hero .star-cell .progress-fill{background:linear-gradient(100deg,#b67af6,#a965ec)}.progress-foot{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;margin:8px 4px 0;padding-top:6px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);font-weight:500}.progress-foot b{font-weight:700}
.scope-drawer{border:1.5px solid var(--line);border-radius:14px;background:var(--card);padding:0 9px;box-shadow:var(--card-shadow);margin-bottom:7px}.scope-drawer summary{display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;min-height:40px;padding:5px 0}.scope-drawer summary::-webkit-details-marker{display:none}.scope-drawer summary strong{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:15px}.scope-drawer summary .art-icon{width:29px;height:27px;color:var(--accent)}.scope-summary{margin:0!important;font-size:10px!important;color:var(--muted);flex:1;line-height:1.5;border-left:1px solid var(--line);padding-left:8px}.scope-toggle{font-size:11px;white-space:nowrap;padding:4px 9px;border-radius:20px;background:var(--violet-bg);font-weight:700}.scope-toggle::after{content:' ›';font-size:16px;line-height:.5}.scope-drawer[open] .scope-toggle::after{content:' ⌄'}.scope-title{margin:2px 0;justify-content:flex-end}.category-grid{grid-template-columns:1fr 1fr;gap:7px;margin:7px 0 10px}.category-grid .level-card:last-child{grid-column:auto}.category-grid .level-card{padding:8px;display:block;border-radius:12px}.category-title strong{font-size:14px}.level-card .category-mastery span{font-size:10px}.level-card .mini{margin-top:5px;margin-bottom:0}.category-title{gap:4px}#screen-home .level-card strong{color:var(--text)}
.adaptive-note{display:none}#screen-home>.section-title{margin:7px 3px 6px;position:relative;align-items:center}#screen-home .section-title h3{display:flex;align-items:center;gap:5px;font-size:22px;margin:0;letter-spacing:.02em}.practice-title h3>.theme-art{width:30px;height:30px}.practice-title h3>.art-icon{width:24px;height:26px;transform:rotate(45deg)}.practice-decoration{position:absolute;width:44px;height:36px;right:12px;bottom:-5px;z-index:2;pointer-events:none}
#screen-home .actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0}#screen-home .action-card{display:flex;align-items:center;min-height:61px;height:61px;padding:0 5px 0 1px;border:1.5px solid var(--rose-line);border-radius:18px;box-shadow:inset 0 0 0 1px #ffffff80;cursor:pointer;min-width:0;background:linear-gradient(120deg,var(--rose-a),var(--rose-b))}#screen-home .action-card b{display:flex;align-items:center;justify-content:flex-start;gap:0;font-size:clamp(16px,4.75vw,25px);font-weight:900;letter-spacing:-.025em;white-space:nowrap;color:var(--text);margin:0;width:100%}#screen-home .action-card small{display:none}#screen-home .action-card:nth-child(2),#screen-home .action-card:nth-child(3),#screen-home .action-card:nth-child(8){background:linear-gradient(125deg,var(--mint-a),var(--mint-b));border-color:var(--mint-line)}#screen-home .action-card:nth-child(4),#screen-home .action-card:nth-child(7){background:linear-gradient(125deg,var(--purple-a),var(--purple-b));border-color:var(--purple-line)}#screen-home .action-card:nth-child(5){background:linear-gradient(125deg,var(--peach-a),var(--peach-b));border-color:var(--peach-line)}:root[data-character="cookieann"] #screen-home .action-card:nth-child(4){background:linear-gradient(125deg,var(--rose-a),var(--rose-b));border-color:var(--rose-line)}
.practice-art{display:inline-block;width:73px;height:73px;flex:0 0 73px;background-image:var(--sprite);background-size:200% 400%;background-repeat:no-repeat;pointer-events:none}.art-0{background-position:0 0}.art-1{background-position:100% 0}.art-2{background-position:0 33.3333%}.art-3{background-position:100% 33.3333%}.art-4{background-position:0 66.6667%}.art-5{background-position:100% 66.6667%}.art-6{background-position:0 100%}.art-7{background-position:100% 100%}.action-card:active{transform:scale(.985)}
.tabbar{background:var(--nav-bg);border-top:1px solid var(--line);box-shadow:none;backdrop-filter:none;padding-bottom:env(safe-area-inset-bottom)}.tabs{max-width:560px}.tab{display:flex;flex-direction:column;align-items:center;gap:0;padding:4px 3px 5px;font-size:13px;line-height:1.3;font-weight:600;color:var(--text)}.tab .art-icon{width:25px;height:25px}.tab span{padding:0 10px;border-radius:20px}.tab.active{color:#dd3977}.tab.active span{background:var(--rose-a)}.tab.active .art-icon{stroke-width:1.5}
/* Practice pages follow the approved card, pill and illustration hierarchy. */
.toolbar{background:var(--card);border:1px solid var(--line);border-radius:22px;gap:8px;padding:5px;margin-bottom:8px;min-height:44px;position:relative}.toolbar h2{font-size:22px;letter-spacing:.02em}.toolbar::after{content:none}.back{background:var(--rose-a);box-shadow:none;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--accent);padding:8px}.back .art-icon{height:22px;width:17px}.back-icon{transform:rotate(180deg)}.practice-scope{font-size:12px;margin:5px 10px 14px;color:var(--text);font-weight:650}.adaptive-pill{font-size:11px;padding:4px 10px;border-radius:22px;background:var(--violet-bg);color:var(--text);border:0}
.flash-wrap{padding:24px 0 10px}.flashcard{position:relative;border:2px solid var(--accent-line);border-radius:28px;background:var(--card);box-shadow:0 3px 0 var(--line),var(--shadow);padding:52px 12px 18px;width:100%;min-height:410px;justify-content:flex-start;overflow:visible}.level-badge{top:13px;left:17px;background:var(--violet-bg);color:var(--text);font-size:15px;font-weight:750;border-radius:28px;padding:3px 15px}.count-badge{top:15px;right:19px;font-size:17px;font-weight:700;color:var(--text)}.card-mascot{position:absolute;right:3px;bottom:0;width:103px;height:95px;object-fit:contain;object-position:center bottom;pointer-events:none}.flashcard.expanded .card-mascot{bottom:auto;top:-57px;width:115px;height:100px}.flashcard.expanded .count-badge{right:42%;top:13px}.flashcard.expanded .level-badge{max-width:45%;font-size:14px}.word-hero{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:22px;min-width:0}.word-hero-main{min-width:0;flex:1}.word-hero .word{font-family:ReadingTC,'Arial Rounded MT Bold',sans-serif;font-size:clamp(50px,14vw,76px);font-weight:900;line-height:1.35;color:var(--text);padding:13px 0}.word-hero .speak{margin:6px 0 10px;font-size:21px;padding:10px 18px;min-height:49px;background:linear-gradient(120deg,#ee4d92,#d93474);color:#fff;border:2px solid #f997c1;border-radius:35px;box-shadow:none;display:inline-flex;align-items:center;gap:8px;justify-content:center}.word-illustration{display:none}.flashcard .hint{background:var(--violet-bg);color:var(--text);font-size:15px;padding:5px 17px;border-radius:30px;margin:6px 0 13px;line-height:1.6}.card-buttons{display:flex;justify-content:center;width:100%;margin:4px 0 55px}.reveal{border:1.5px solid var(--purple-line);border-radius:32px;background:var(--surface-soft);color:var(--text);font-size:17px;font-weight:750;padding:9px 20px;box-shadow:none}.flashcard.expanded{min-height:0;padding:46px 10px 12px;margin-top:12px}.flashcard.expanded .word-hero{background:linear-gradient(130deg,var(--rose-a),var(--rose-b));min-height:133px;padding:9px}.flashcard.expanded .word-illustration{display:flex;align-items:center;justify-content:center;width:34%;height:112px;border:2px solid var(--accent);border-radius:17px;transform:rotate(-8deg);background:var(--card);margin-left:8px;box-shadow:-7px -5px 0 var(--rose-a),-9px -7px 0 var(--accent);flex:0 0 34%;padding:10px}.word-illustration .art-icon{width:100%;height:100%}.flashcard.expanded .word{font-size:clamp(35px,10vw,58px);padding:0;overflow-wrap:anywhere}.flashcard.expanded .phrase-word{font-size:clamp(22px,6vw,35px)}.flashcard.expanded .word-hero .speak{font-size:16px;background:var(--card);color:var(--text);border-color:#f37eab;padding:6px 10px;min-height:35px;margin:4px 0 0}.speak .art-icon,.mini-btn .art-icon{width:22px;height:22px;color:#dc3d7a}.word-hero .speak .art-icon{color:inherit}.flashcard.expanded .hint{display:none}.flashcard.expanded .card-buttons{margin:6px 0 10px}.flashcard.expanded .reveal{font-size:15px;padding:4px 18px;border:0;background:var(--violet-bg)}.word-info{width:100%;margin:0;padding:0 3px}.word-meta-row{display:flex;align-items:center;justify-content:flex-start;gap:18px}.pos-chip{background:var(--violet-bg);color:var(--text);font-size:17px;padding:4px 14px;border-radius:24px;font-weight:750}.mini-btn{border:1.5px solid #ed88b5;border-radius:24px;padding:5px 12px;background:var(--card);color:var(--text);font-size:15px;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-weight:750}.definition{font-size:20px!important;line-height:1.35!important;font-weight:650!important;text-align:left;margin:10px 6px 14px!important}.example-box{border:1.5px solid var(--mint-line);border-radius:20px;background:linear-gradient(140deg,var(--card),var(--mint-b));padding:10px 12px;text-align:left}.example-box small{background:var(--violet-bg);color:var(--text);border-radius:24px;padding:3px 12px;font-size:15px;font-weight:700;display:inline-block}.example-box p{font-size:23px!important;line-height:1.35!important;font-weight:750!important;margin:8px 0 13px}.example-word{background:var(--target-bg);color:var(--target-text);border-radius:22px;padding:0 .18em}.example-actions{display:flex;gap:12px}.example-actions .mini-btn{flex:1;font-size:16px;white-space:nowrap}.example-actions .mini-btn:last-child{border-color:var(--purple-line);background:var(--purple-a)}.rating{max-width:none;gap:10px}.rating .btn{border:1.5px solid var(--rose-line);border-radius:18px;font-size:22px;min-height:48px;display:flex;align-items:center;justify-content:center;gap:9px;padding:8px}.rating .btn.good{border-color:var(--mint-line)}.rating .art-icon{width:30px;height:30px}.rating-note{font-size:11px;margin:8px auto;line-height:1.5}.navrow{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:9px}.navrow .btn{display:flex;align-items:center;justify-content:center;gap:14px;border:1px solid var(--line);border-radius:26px;min-height:38px;padding:4px;font-size:18px}.navrow .art-icon{width:12px;height:22px;color:var(--accent)}
.quiz-card{position:relative;padding:12px 12px 90px!important;border:2px solid var(--accent-line);border-radius:27px!important;background:var(--card);box-shadow:var(--shadow);min-height:470px;overflow:visible}.quiz-card::after{content:'';position:absolute;bottom:2px;right:2px;width:110px;height:94px;background:var(--peek) center bottom/contain no-repeat;pointer-events:none}.quiz-head{background:linear-gradient(100deg,var(--rose-a),var(--purple-a));border-radius:22px;padding:9px 12px;font-size:22px;color:var(--text);font-weight:750;justify-content:space-around}.quiz-head>span+span{border-left:1px solid var(--line);padding-left:24px}.quiz-progress{height:10px!important;margin:10px 5px 15px!important;background:var(--progress-track)}.quiz-progress i{background:linear-gradient(100deg,#ff80b6,#ee4792)}.prompt{margin:15px 0 20px!important}.quiz-type{background:var(--violet-bg);color:var(--text);font-size:16px;padding:6px 16px;border-radius:30px;display:inline-block;font-weight:750}.prompt h3{font-size:22px!important;line-height:1.45!important;margin:17px 0 10px!important}.prompt .speak{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(130deg,#f65497,#d83773);color:white;border:2px solid #f993bd;border-radius:35px;padding:10px 25px!important;font-size:21px;margin:15px 0 8px!important}.prompt .speak .art-icon{color:inherit;width:25px;height:25px}.options{gap:9px!important}.option{font-size:26px!important;font-weight:800;line-height:1.3!important;min-height:77px!important;border:2px solid var(--rose-line);background:linear-gradient(125deg,var(--rose-a),var(--rose-b));border-radius:21px!important;padding:12px 7px!important;color:var(--text)}.option:nth-child(2){background:linear-gradient(125deg,var(--purple-a),var(--purple-b));border-color:var(--purple-line)}.option:nth-child(3){background:linear-gradient(125deg,var(--mint-a),var(--mint-b));border-color:var(--mint-line)}.option:nth-child(4){background:linear-gradient(125deg,var(--peach-a),var(--peach-b));border-color:var(--peach-line)}.option.correct{background:var(--good-bg);border-color:var(--good-line);color:var(--text)}.option.wrong{background:var(--bad-bg);border-color:var(--bad-line);color:var(--text)}.quiz-card .cloze,.quiz-card .pos-sentence{background:var(--surface-soft);border:1px solid var(--line);border-radius:18px;font-size:25px!important;font-weight:750!important;padding:15px!important;line-height:1.45!important}.quiz-card .pos-question{font-size:21px!important}.quiz-card .feedback{font-size:18px;line-height:1.45}.quiz-card .pos-feedback-explanation,.quiz-card .pos-feedback-explanation span{font-size:17px!important}.quiz-card #nextQ{background:linear-gradient(130deg,#f65497,#d83773);border:1.5px solid #f993bd;border-radius:30px;font-size:20px;padding:9px 20px!important}.quiz-card .spell-build{border:0!important;background:none!important;display:flex!important;flex-wrap:wrap;gap:4px;justify-content:center;padding:0!important;min-height:50px!important;margin:18px 0 8px!important;letter-spacing:0}.spell-slot{display:inline-flex;align-items:center;justify-content:center;min-width:39px;height:54px;padding:0 4px;border:2px solid var(--purple-line);border-radius:15px;background:var(--card);font-size:30px;color:var(--text);line-height:1;box-shadow:inset 0 0 0 1px #ffffff66}.spell-space{width:10px}.letter-bank{gap:7px!important;margin:17px auto!important}.letter-tile{border-radius:16px!important;border:2px solid var(--rose-line);background:var(--rose-a);color:var(--text);font-size:30px!important;width:53px!important;height:58px!important;font-weight:850}.letter-tile:nth-child(4n+2){border-color:var(--purple-line);background:var(--purple-a)}.letter-tile:nth-child(4n+3){border-color:var(--mint-line);background:var(--mint-a)}.letter-tile:nth-child(4n+4){border-color:var(--peach-line);background:var(--peach-a)}.spell-tile-actions .btn{border-radius:30px!important;font-size:18px;padding:10px 15px!important}.spell-tile-actions .btn:disabled{background:var(--line);color:var(--muted);opacity:.65}.spell input{font-size:23px!important;border:2px solid var(--purple-line);border-radius:20px}.spell .btn{border-radius:22px;font-size:17px}.quiz-card.finished{background:linear-gradient(130deg,var(--card),var(--rose-a));padding:24px 18px!important;min-height:480px}.quiz-card.finished::after{display:none}.quiz-card.finished .quiz-head,.quiz-card.finished .quiz-progress{display:none}.finish-mascot{width:150px;height:140px;object-fit:contain}.finish-home{display:block;width:100%;margin-top:12px;border-radius:30px;font-size:20px}.finished .prompt h2{font-size:34px}.finished .prompt>div[style*="font-size:58px"]{font-size:46px!important}.finished .prompt .btn{border-radius:35px;min-width:80%;font-size:23px}
/* Reports, settings, help and empty states share the same illustration palette. */
#screen-progress .brand h1,#screen-about .brand h1{font-size:25px}.panel,.report-card,.mastery-summary-card,.mastery-word-card,.modal-card{border:1.5px solid var(--line);border-radius:22px;background:var(--card);box-shadow:var(--card-shadow)}.panel{padding:15px}.cloud-panel{margin-top:8px}.cloud-head h3{font-size:15px}.cloud-head p{font-size:12px}.report-card b,.mastery-summary-card b{color:var(--text)}.mastery-word-card:nth-child(4n+1){border-color:var(--rose-line)}.mastery-word-card:nth-child(4n+2){border-color:var(--peach-line)}.mastery-word-card:nth-child(4n+3){border-color:var(--mint-line)}.mastery-word-card:nth-child(4n+4){border-color:var(--purple-line)}.mastery-word-name{font-size:22px;font-weight:850;background:var(--rose-a);border-radius:14px;padding:4px 9px;width:fit-content}.mastery-word-card:nth-child(4n+3) .mastery-word-name{background:var(--mint-a)}.mastery-word-head{padding:13px}.mastery-meta{font-size:12px;margin-top:7px}.mastery-detail{border-radius:0 0 20px 20px;background:var(--surface-soft);padding:13px}.mastery-summary-card{background:var(--surface-soft)}.mastery-summary-card b{font-size:27px}.mastery-summary-card.star{background:var(--warm-bg)}.mastery-summary-card.familiar{background:var(--good-bg)}.mastery-summary-card.strengthen{background:var(--bad-bg)}.search,.select{border:1.5px solid var(--line);border-radius:20px;background:var(--card);color:var(--text)}.manual-status-grid button{border:1.5px solid var(--line);border-radius:17px;background:var(--card);min-height:48px}.manual-status-grid button.selected{background:var(--accent-soft);border-color:var(--accent)}.modal-card{padding:22px}.modal-x{border-radius:50%;background:var(--surface);color:var(--text)}.empty{min-height:220px;padding:100px 22px 25px;border:1.5px solid var(--line);border-radius:24px;background:var(--peek) right 5px top 4px/100px 85px no-repeat,var(--card);line-height:1.7;color:var(--muted)}.review-actions .action-card{border:1.5px solid var(--line);border-radius:24px;background:linear-gradient(130deg,var(--rose-a),var(--card))}.review-actions .action-card:nth-child(2){background:linear-gradient(130deg,var(--purple-a),var(--card))}.review-actions b{font-size:20px}.review-actions small{font-size:13px}.review-count{background:var(--card);color:var(--text);border-radius:25px}.theme-about{display:flex;gap:12px;align-items:center;margin:12px 0}.theme-about img{width:65px;height:65px;object-fit:contain}.theme-about div{flex:1}.theme-about p{font-size:12px;margin:3px 0!important}.theme-about .btn{padding:8px 12px;border-radius:25px;font-size:13px}.appearance-dialog{width:min(480px,calc(100% - 24px));max-height:calc(100dvh - 28px);overflow:auto;border:2px solid var(--accent-line);border-radius:28px;background:var(--bg);color:var(--text);padding:20px;box-shadow:0 12px 60px #0003}.appearance-dialog::backdrop{background:#251a2780;backdrop-filter:blur(3px)}.appearance-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.appearance-head h2{font-size:22px;margin:0}.appearance-close{width:35px;height:35px;background:var(--surface);border:1px solid var(--line);border-radius:50%;font-size:24px;cursor:pointer}.appearance-dialog p{font-size:12px;line-height:1.7;color:var(--muted)}.theme-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.theme-choice{border:2px solid #e7bdd5;border-radius:22px;background:linear-gradient(#fff7fc,#ffe1f1);color:#4c182f;padding:10px 6px;position:relative;cursor:pointer}.theme-choice[data-theme-choice="cookieann"]{background:linear-gradient(#fff9e8,#ffebba);border-color:#f4d196;color:#54210e}.theme-choice img{display:block;width:100%;height:135px;object-fit:contain}.theme-choice b{display:block;font-size:18px}.theme-choice small{font-size:10px;font-weight:500;display:block;margin-top:4px}.theme-choice[aria-pressed="true"]{box-shadow:0 0 0 3px var(--accent)}.theme-choice[aria-pressed="true"]::after{content:'✓';position:absolute;right:5px;top:5px;border-radius:50%;background:#dc397d;color:white;width:22px;height:22px;line-height:22px;font-size:14px}.theme-notice{min-height:20px}
@media(max-width:360px){.brand-decoration{width:32px;height:36px;left:0}.appearance-open{width:37px;height:38px;padding:5px}.brand-logo{width:32px;height:31px}.brand-center h1{font-size:27px}.brand-subtitle{font-size:10px}.welcome{padding-left:12px;min-height:73px}.welcome h2{font-size:17px}.progress-heading h3{font-size:16px}.progress-heading .art-icon{width:28px}.hero .hero-scope{font-size:10px;padding:3px 8px}.progress-label{font-size:14px}.progress-number>b:first-child{font-size:26px}.progress-number,.progress-number>b:last-child{font-size:17px}.scope-drawer{padding:0 7px}.scope-drawer summary{gap:4px}.scope-drawer summary strong{font-size:12px}.scope-drawer summary .art-icon{width:23px}.scope-summary{font-size:9px!important;padding-left:5px}.scope-toggle{font-size:10px;padding:3px 6px}.practice-art{width:60px;height:60px;flex-basis:60px}#screen-home .action-card b{font-size:16px}#screen-home .action-card{height:54px;min-height:54px;border-radius:16px}.option{font-size:22px!important}.quiz-type{font-size:14px}.quiz-card{padding-left:9px!important;padding-right:9px!important}.prompt h3{font-size:20px!important}.rating .btn{font-size:20px}.flashcard.expanded .word-hero .speak{font-size:13px;padding:5px 8px}.flashcard.expanded .word-hero{gap:7px;padding:8px}.definition{font-size:18px!important}.example-box p{font-size:21px!important}.example-actions{gap:7px}.example-actions .mini-btn{font-size:14px}.toolbar h2{font-size:20px}.theme-choice img{height:110px}.appearance-dialog{padding:16px}}
@media(min-width:600px){.app{padding-top:14px}.welcome{min-height:110px;padding:29px 18px}.welcome h2{font-size:29px}.hero{padding:14px}.progress-heading h3{font-size:25px}.hero .hero-scope{font-size:15px}.progress-label{font-size:21px}.progress-number>b:first-child{font-size:38px}.progress-number,.progress-number>b:last-child{font-size:25px}.progress-meter{font-size:15px}.progress-foot{font-size:12px}.scope-drawer summary{min-height:50px}.scope-drawer summary strong{font-size:19px}.scope-summary{font-size:12px!important}.scope-toggle{font-size:14px}#screen-home .section-title h3{font-size:29px}#screen-home .action-card{height:80px;min-height:80px}#screen-home .action-card b{font-size:25px}.practice-art{width:94px;height:94px;flex-basis:94px}.tab{font-size:15px}.tab .art-icon{width:28px;height:28px}.quiz-card{min-height:560px;padding:20px 20px 110px!important}.option{min-height:90px!important;font-size:30px!important}.flashcard.expanded .word-hero{min-height:180px}.flashcard.expanded .word-illustration{height:145px}.flashcard.expanded .word{font-size:65px}.flashcard.expanded .word-hero .speak{font-size:20px}.definition{font-size:23px!important}.example-box p{font-size:28px!important}.example-actions .mini-btn{font-size:20px}}
@media(min-width:900px) and (orientation:landscape){.app{max-width:1200px;padding:10px 15px 80px}.storybook-brand{min-height:58px}.brand-center h1{font-size:36px}.brand-subtitle{font-size:16px}.brand-logo{width:46px}.brand-decoration{width:65px;height:65px}.appearance-open{width:56px;height:56px}.screen:not(#screen-home){max-width:820px;margin:auto}#homeCloudStatus{margin-bottom:14px}#screen-home.active{display:grid;grid-template-columns:minmax(280px,.76fr) minmax(420px,1.35fr);gap:9px 14px;align-items:start}.welcome{grid-column:1;grid-row:1;min-height:180px;padding:22px 16px;margin:0}.welcome h2{white-space:normal;font-size:clamp(22px,2.5vw,31px);max-width:60%;line-height:1.4}.welcome p{display:block;font-size:15px;line-height:1.5;margin-top:10px}.welcome img{width:48%;height:100%}.hero{grid-column:1;grid-row:2;margin:0;padding:10px}.progress-heading h3{font-size:21px}.progress-heading .hero-scope{display:none}.progress-label{font-size:16px}.progress-number>b:first-child{font-size:29px}.progress-number>b:last-child{font-size:19px}.progress-foot{font-size:11px}.scope-drawer{grid-column:1;grid-row:3;margin:0}.scope-drawer summary strong{font-size:16px}.scope-summary{font-size:11px!important}#screen-home>.practice-title{grid-column:2;grid-row:1;margin:0;padding:14px 14px 0}#screen-home .actions{grid-column:2;grid-row:1 / span 3;margin-top:60px;padding:0 12px 12px;gap:9px}#screen-home .action-card{height:100px;min-height:100px;border-radius:24px}#screen-home .action-card b{font-size:clamp(20px,2.2vw,28px)}.practice-art{width:103px;height:103px;flex-basis:103px}.practice-decoration{bottom:-9px;right:25px;width:58px;height:51px}.tabs{max-width:1200px}.tab{flex-direction:row;justify-content:center;gap:8px;font-size:21px;padding:10px}.tab .art-icon{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Match the approved reference proportions at phone width. */
.storybook-brand{min-height:56px}#homeCloudStatus{margin-bottom:15px}
.welcome img{width:39%;height:168%;right:-2px}
.progress-cell{padding:3px 8px 5px}.progress-label{line-height:1.15}.progress-number{line-height:1.1}.progress-number>b:first-child{line-height:1.1}.progress-meter{margin-top:4px}.progress-foot{margin-top:7px;padding-top:5px}
body:not([data-screen="home"]) .brand-subtitle{display:none}body:not([data-screen="home"]) .storybook-brand{min-height:45px}
body[data-screen="study"]:has(.flashcard.expanded) #homeCloudStatus{display:none}
#screen-study .toolbar .practice-scope{border-left:1px solid var(--line);padding-left:12px;margin:0 3px 0 0;font-size:13px;line-height:1.4;max-width:55%}
.flashcard.expanded .word{font-size:clamp(39px,12.5vw,65px)}.flashcard.expanded .phrase-word{font-size:clamp(22px,6vw,35px)}
.flashcard.expanded .card-buttons{width:auto}.flashcard.expanded .reveal{min-width:0}.word-info{border-top:0}.flashcard.expanded .word-hero .speak .art-icon{color:#dc3d7a}
#screen-study .flash-wrap{padding-top:30px}.flashcard.expanded .card-mascot{top:-67px;width:130px;height:115px}
@media(min-width:900px) and (orientation:landscape){.welcome img{width:48%;height:100%}.welcome h2{white-space:normal}.hero .progress-cell{padding:6px 8px}.storybook-brand{min-height:58px}}
/* The approved report, mastery, backup and help sheets are distinct views. */
.progress-page{display:none}#screen-progress[data-panel="overview"] [data-progress-page="overview"],#screen-progress[data-panel="mastery"] [data-progress-page="mastery"],#screen-progress[data-panel="cloud"] [data-progress-page="cloud"]{display:block}.report-topbar{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;margin:18px 0 34px;gap:12px}.report-topbar .brand{flex:1;text-align:center}.report-topbar .brand h1{font-size:30px!important}.report-topbar .select{font-size:16px;font-weight:750;max-width:100%;padding:8px 18px;background:var(--surface-soft);border:1.5px solid var(--accent-line)}#screen-progress[data-panel="overview"] .report-topbar .brand{flex-basis:100%}#screen-progress[data-panel="overview"] .progress-back{display:none}#screen-progress[data-panel="cloud"] #progressLevel{display:none}#screen-progress:not([data-panel="overview"]) .report-topbar .brand h1{font-size:23px!important}#screen-progress:not([data-panel="overview"]) .report-topbar{flex-wrap:nowrap;gap:6px;margin-bottom:25px}#screen-progress[data-panel="mastery"] #progressLevel{font-size:12px;max-width:37%;padding:8px}.progress-back .art-icon{transform:rotate(180deg)}
.parent-report{position:relative;border:1.5px solid var(--rose-line);border-radius:23px;background:linear-gradient(var(--rose-b),var(--card) 100px);padding:10px 8px;box-shadow:var(--card-shadow)}.parent-report>.section-title{position:relative;min-height:47px;margin:0 0 11px;padding:7px 0}.parent-report h3{font-size:22px!important;display:flex;align-items:center;gap:8px;margin:0}.parent-report h3 .art-icon{width:39px;height:39px}.panel-mascot{position:absolute;right:0;top:-39px;width:100px;height:95px;object-fit:contain;pointer-events:none}.parent-report .section-title .panel-mascot{right:-10px;top:-37px;width:100px}.parent-report .report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 0 10px}.parent-report .report-card{padding:8px 3px;text-align:center;min-width:0;border:0;border-radius:18px;background:var(--rose-a);box-shadow:none}.parent-report .report-card:nth-child(2){background:var(--purple-a)}.parent-report .report-card:nth-child(3){background:var(--mint-a)}.parent-report .report-card small{font-size:12px;line-height:1.4;font-weight:750;color:var(--text)}.parent-report .report-card b{display:inline-block;font-size:32px;line-height:1.4;letter-spacing:-.04em}.parent-report .report-card>span:not(.practice-art){font-size:13px;margin-left:3px}.parent-report .report-grid.three{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.parent-report .report-grid.three .report-card{grid-column:span 2;border:1.5px solid var(--rose-line);padding:4px 7px 10px}.parent-report .report-grid.three .report-card:nth-child(2){border-color:var(--purple-line)}.parent-report .report-grid.three .report-card:nth-child(3){border-color:var(--mint-line)}.parent-report .report-grid.three .report-card:nth-child(4){grid-column:span 3;background:var(--peach-a);border-color:var(--peach-line)}.parent-report .report-grid.three .report-card:nth-child(5){grid-column:span 3;background:var(--purple-a);border-color:var(--purple-line)}.parent-report .practice-art{display:block;margin:-6px auto -12px;width:76px;height:76px}.parent-report .report-grid.three small{display:block;font-size:13px;white-space:normal;min-height:19px}.parent-report .report-grid.three .report-card:nth-child(n+4) .practice-art{display:inline-block;width:63px;height:63px;vertical-align:middle;margin:0 -4px 0 -8px}.parent-report .report-grid.three .report-card:nth-child(n+4) small{display:inline-block;font-size:16px}.parent-report .report-grid.three .report-card:nth-child(n+4) b{display:block;line-height:1.2}.ability-track{height:11px;background:var(--progress-track);border-radius:15px;overflow:hidden;margin:3px 1px 0}.ability-track i{height:100%;display:block;background:#ef66a6;border-radius:15px}.report-card:nth-child(2) .ability-track i,.report-card:nth-child(5) .ability-track i{background:#b480eb}.report-card:nth-child(3) .ability-track i{background:#69d88c}.report-card:nth-child(4) .ability-track i{background:#ffa65a}.parent-report>.tiny{text-align:center;font-size:12px;color:var(--muted);margin:8px 0 0}.progress-page>.panel{margin:12px 0}.progress-page>.panel:has(#topMistakes){background:linear-gradient(120deg,var(--rose-b),var(--card));border-color:var(--rose-line);padding:12px}.panel-title{font-size:21px;color:var(--text)}#topMistakes .empty{background:none;min-height:0;border:0;padding:10px;font-size:14px;box-shadow:none}.report-link{width:100%;display:flex;align-items:center;gap:12px;padding:12px 16px;border:1.5px solid var(--line);border-radius:17px;background:var(--card);box-shadow:var(--card-shadow);font-size:20px;text-align:left;margin:10px 0}.report-link>.art-icon:last-child{margin-left:auto;width:20px}.report-link>.art-icon:first-child{width:35px;height:35px}
.mastery-hero{position:relative;border:1.5px solid var(--rose-line);border-radius:23px;background:linear-gradient(var(--rose-a),var(--surface-soft));padding:14px 6px 8px;margin-bottom:14px}.mastery-hero h3{font-size:22px;margin:0 0 5px 8px;max-width:70%}.mastery-hero>p{font-size:12px;margin:0 0 16px 8px;max-width:70%;color:var(--text)}.mastery-hero .panel-mascot{top:-29px;right:0;width:112px;height:104px}.mastery-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;margin:0}.mastery-summary-card{min-width:0;padding:8px 1px;border:0;border-radius:15px}.mastery-summary-card small{white-space:normal;font-size:11px;line-height:1.5}.mastery-summary-card b{font-size:25px}.mastery-summary-card.learning{background:var(--warm-bg)}.mastery-summary-card.unmeasured{background:var(--purple-a)}.mastery-panel{padding:0;border:0;background:transparent;box-shadow:none}.mastery-controls{display:grid;grid-template-columns:1fr 1fr;gap:6px}.mastery-controls .search{grid-column:1 / -1;width:100%;font-size:15px}.mastery-controls .select{min-width:0;width:100%;font-size:12px;padding:10px}.mastery-wordlist{margin-top:12px}.mastery-notes{margin-top:16px;color:var(--muted);font-size:12px}.mastery-notes>summary{text-align:center;padding:10px;cursor:pointer}.mastery-notes .mastery-help{font-size:13px}.mastery-notes .stats-grid{margin:12px 0}.cloud-illustration{height:95px;position:relative;text-align:center;background:var(--rose-b);border-radius:17px;margin:-2px -2px 18px}.cloud-illustration>.art-icon{width:80px;height:80px}.cloud-illustration .panel-mascot{right:8px;top:-25px;width:125px;height:125px}.cloud-panel .cloud-head{background:var(--surface-soft);padding:12px;border-radius:16px}.cloud-panel .cloud-head h3{font-size:16px}.cloud-panel .cloud-head p{font-size:12px}.cloud-panel .button-row{display:grid;grid-template-columns:1fr;gap:9px}.cloud-panel .btn{border-radius:24px;font-size:17px}.backup-panel h3{font-size:22px;margin:2px 0 16px}.backup-panel h3 .art-icon{margin-right:9px;width:35px}.backup-panel .button-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.backup-panel .danger-text{grid-column:1 / -1;margin-top:10px}.backup-panel .btn{border-radius:20px;font-size:15px;background:var(--purple-a);border-color:var(--purple-line)}.backup-panel .file-label{background:var(--mint-a);border-color:var(--mint-line)}.backup-panel .danger-text{background:var(--bad-bg);border-color:var(--rose-line)}.cloud-reminder{text-align:center;line-height:1.7}.sync-code b{overflow-wrap:anywhere}
.help-hero{position:relative;min-height:105px;margin:38px 0 15px;padding:20px;border-radius:24px;background:linear-gradient(130deg,var(--hero-a),var(--hero-b));display:flex;align-items:center}.help-hero h2{font-size:32px;margin:0 0 0 20px;z-index:1}.help-hero img{position:absolute;width:43%;height:160%;object-fit:contain;right:0;bottom:-9px}.help-topic{border:2px solid var(--rose-line);border-radius:24px;background:linear-gradient(130deg,var(--card),var(--rose-a));box-shadow:var(--card-shadow);margin:10px 0;overflow:hidden}.help-topic:nth-of-type(2),.help-topic:nth-of-type(5){background:linear-gradient(130deg,var(--card),var(--purple-a));border-color:var(--purple-line)}.help-topic:nth-of-type(4){background:linear-gradient(130deg,var(--card),var(--mint-a));border-color:var(--mint-line)}.help-topic:nth-of-type(6){background:linear-gradient(130deg,var(--card),var(--peach-a));border-color:var(--peach-line)}.help-topic>summary{list-style:none;display:flex;align-items:center;font-size:20px;font-weight:850;min-height:69px;gap:0;padding:1px 12px 1px 3px;cursor:pointer}.help-topic>summary::-webkit-details-marker{display:none}.help-topic>summary .practice-art{width:73px;height:73px;flex-basis:73px;margin:-6px 0}.help-chevron{margin-left:auto;font-size:32px;color:var(--accent)}.help-topic[open]>summary .help-chevron{transform:rotate(-90deg)}.help-topic-body{background:var(--card);border-radius:19px;margin:0 4px 4px;padding:10px 14px}.help-short{margin:0;line-height:1.65;font-size:16px}.help-short::before{content:'●';color:var(--accent2);font-size:13px;margin-right:8px}.help-more{margin-top:9px;font-size:13px;line-height:1.85}.help-more>summary{font-size:11px;color:var(--muted);cursor:pointer}.help-more p{margin:12px 0}.help-tip{padding:12px 10px;border-radius:19px;background:var(--warm-bg);font-weight:750;font-size:14px;display:flex;align-items:center;gap:7px}.help-tip .art-icon{width:36px;height:36px}.review-hero{position:relative;padding:15px 20px;background:linear-gradient(130deg,var(--hero-a),var(--hero-b));border-radius:23px;margin:26px 0 17px}.review-hero h3{margin:0;font-size:24px;line-height:1.5}.review-hero .panel-mascot{width:135px;height:140px;top:-28px}.review-actions{display:grid;grid-template-columns:1fr!important;gap:16px}.review-actions .action-card{padding:14px;border-width:2px!important}.review-actions b{display:flex;align-items:center;font-size:25px}.review-actions .practice-art{width:80px;height:80px;flex-basis:80px;margin:-5px 8px -8px 0}.review-actions small{font-size:15px;line-height:1.7;max-width:100%}.review-count{display:block;margin:10px 0}.review-start{display:block;text-align:center;border-radius:24px;background:var(--rose-a);padding:10px;font-size:22px;border:1px solid var(--rose-line)}.review-actions .action-card:nth-child(2) .review-start{background:var(--purple-a);border-color:var(--purple-line)}.review-note{padding:15px;border:1.5px solid var(--mint-line);border-radius:20px;background:var(--mint-a);font-size:13px;line-height:1.8}.modal-mascot{height:65px;position:relative;margin:-10px -3px 2px}.modal-mascot .panel-mascot{top:-11px;right:32%;height:95px;width:110px}.manual-status-grid [data-status="familiar"]{background:var(--good-bg)}.manual-status-grid [data-status="star"]{background:var(--warm-bg)}.manual-status-grid [data-status="learning"]{background:var(--peach-a)}.manual-status-grid [data-status="strengthen"]{background:var(--bad-bg)}.manual-status-grid [data-status="unmeasured"]{background:var(--purple-a)}
@media(max-width:360px){.parent-report h3{font-size:20px!important}.parent-report .section-title .panel-mascot{width:80px;right:-7px}.parent-report .report-card small{font-size:11px}.parent-report .report-card b{font-size:29px}.parent-report .report-grid.three small{font-size:11px}.parent-report .report-grid.three .report-card:nth-child(n+4) small{font-size:14px}.parent-report .report-grid.three .report-card:nth-child(n+4) .practice-art{width:50px;height:50px}.help-topic>summary{font-size:17px}.help-topic>summary .practice-art{width:62px;height:62px;flex-basis:62px}.mastery-summary-card small{font-size:10px}.mastery-hero h3{font-size:18px}.mastery-hero .panel-mascot{width:93px}.help-hero h2{font-size:29px;margin-left:10px}.review-hero h3{font-size:22px}.review-hero .panel-mascot{width:115px}.backup-panel .btn{font-size:13px}}
.report-topbar{margin:8px 0 24px;gap:8px}.parent-report>.section-title{min-height:41px;margin-bottom:6px}.parent-report .report-card{padding:6px 3px}.parent-report .report-card b{line-height:1.1}.parent-report .report-card small{margin-bottom:3px}.parent-report .practice-art{width:61px;height:61px;margin:-5px auto -9px}.parent-report .report-grid.three .report-card{padding:3px 6px 8px}.parent-report .report-grid.three .report-card:nth-child(n+4) .practice-art{width:52px;height:52px}.parent-report .report-grid.three .report-card:nth-child(n+4) small{font-size:15px}.parent-report .report-grid.three .report-card:nth-child(n+4) b{line-height:1.05}.parent-report .report-grid.three{margin-bottom:6px}
.quiz-card.finished .prompt{margin:0}.finish-mascot{width:190px;height:190px;display:block;margin:-13px auto -4px}.quiz-card.finished .prompt .finish-title{font-size:48px!important;margin:0 0 7px;line-height:1.3}.finish-score{background:var(--rose-a);border-radius:40px;font-size:47px;font-weight:900;line-height:1.3;width:75%;margin:0 auto 6px}.quiz-card.finished .prompt>p{font-size:17px;margin:8px 0 12px}.finish-complete{height:23px;border-radius:25px;border:3px solid var(--card);background:linear-gradient(90deg,#ff76b2,#e83884);margin:10px 0 19px}.quiz-card.finished .prompt .btn{width:100%;font-size:24px;padding:14px 12px}.quiz-card.finished{min-height:0;padding:22px 20px!important}.review-actions .action-card{display:grid;grid-template-columns:94px 1fr;position:relative;gap:4px 6px;text-align:left}.review-actions b{display:contents}.review-actions b .practice-art{grid-column:1;grid-row:1 / span 3;width:102px;height:102px;flex-basis:102px;margin:0 -5px}.review-actions b{font-size:25px}.review-actions small{grid-column:2;font-size:14px}.review-actions .review-count{grid-column:2;width:fit-content;margin:0;font-size:13px;background:var(--purple-a);padding:4px 10px}.review-start{grid-column:1 / -1;background:linear-gradient(130deg,#ed558e,#c92f70);color:white;border:2px solid #ffbddb;margin-top:8px;font-size:24px}.review-actions .action-card:nth-child(2){background:linear-gradient(130deg,var(--mint-a),var(--card));border-color:var(--mint-line)}.review-actions .action-card:nth-child(2) .review-start{background:linear-gradient(130deg,#ed558e,#c92f70);border-color:#ffbddb}.review-note{background:var(--peach-a);border-color:var(--peach-line)}
.quiz-card.finished .prompt{margin:0!important}.quiz-card.finished .prompt .finish-title{line-height:1.2!important;margin:0 0 7px!important}.quiz-card.finished{padding:16px 20px!important}.finish-mascot{width:180px;height:180px}.quiz-card.finished .prompt .btn{padding:11px 12px}#screen-quiz:has(.finished) .toolbar{border:0;background:none;box-shadow:none;justify-content:center;padding:6px;margin-bottom:8px}#screen-quiz:has(.finished) .toolbar .back,#screen-quiz:has(.finished) .toolbar .adaptive-pill,#screen-quiz:has(.finished) .toolbar .spacer{display:none}#screen-quiz:has(.finished) .toolbar h2{font-size:30px}#screen-quiz:has(.finished) #quizScope{text-align:center;background:var(--purple-a);border-radius:25px;width:fit-content;margin:0 auto 17px;padding:7px 18px;font-size:16px}
