@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Noto+Naskh+Arabic:wght@400;600;700&display=swap');
:root{color-scheme:light;--ink:#173f31;--muted:#52695c;--green:#25734e;--deep:#195337;--lime:#d5ed82;--paper:#f5f9f0;--line:#dce7d5;--white:#fff;--orange:#f4a740;--blue:#449cda;--pink:#ed96af;--purple:#aa95e6;--teal:#65beb9;--radius:26px;font-family:'Nunito',ui-rounded,system-ui,sans-serif;font-size:16px;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0;min-width:300px}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer;color:inherit}button{border:0}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #0871c7;outline-offset:4px}a{color:#175a85;text-underline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.85rem,3.4vw,2.8rem);line-height:1.13;font-weight:900;letter-spacing:-.04em}h2{font-size:1.7rem;line-height:1.25;font-weight:900;letter-spacing:-.025em}h3{font-size:1.2rem;font-weight:900}p{line-height:1.65}small{font-size:.875rem}strong{font-weight:900}.muted{color:var(--muted)}.skip{position:fixed;top:-70px;left:20px;z-index:20;background:white;padding:15px}.skip:focus{top:10px}.topbar{max-width:1250px;margin:auto;padding:24px 32px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;gap:12px;align-items:center;text-align:left;font-size:1.3rem;font-weight:900;background:transparent;padding:0;line-height:1.15}.brand small{display:block;margin-top:5px;font-size:.7rem;letter-spacing:.08em;line-height:1.4}.brand-icon{width:46px;height:46px;background:var(--green);border-radius:16px;display:grid;place-items:center;color:#e0f092;font-size:2.5rem}.header-actions{display:flex;gap:10px;align-items:center}.star-pill{background:#fff0b9;border:1px solid #ecd071;border-radius:30px;padding:10px 18px;color:#704900;font-weight:900;white-space:nowrap}.icon-button{min-width:46px;min-height:46px;border-radius:50%;background:white;border:1px solid var(--line);font-size:1.4rem;font-weight:900}.soft-button,.primary,.outline-button,.danger{min-height:48px;border-radius:16px;padding:12px 20px;font-weight:800;line-height:1.4}.soft-button{background:white;border:1px solid var(--line)}.primary{background:var(--green);color:white;box-shadow:0 4px 0 #164d32}.primary:hover{background:#1d6442}.primary:active{transform:translateY(3px);box-shadow:0 1px 0 #164d32}.outline-button{border:2px solid var(--green);background:transparent}.danger{background:#aa302f;color:white}.small-button{padding:8px 14px;min-height:44px}.button-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.button-row.center{justify-content:center}main{max-width:1200px;margin:auto;padding:10px 24px 48px;outline:none}.welcome{display:flex;align-items:center;justify-content:space-between;gap:28px;background:#fff;border:1px solid var(--line);border-radius:30px;margin-bottom:26px;padding:27px 36px;overflow:hidden;min-height:215px}.welcome-copy{max-width:640px}.eyebrow{font-weight:900;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;display:block;margin-bottom:10px;color:#467047}.welcome p{margin-top:12px}.welcome img{width:185px;height:185px;object-fit:contain;flex-shrink:0}.nav-pills{display:flex;gap:8px;background:#e8efdf;padding:6px;border-radius:19px;max-width:max-content;margin:0 0 24px;flex-wrap:wrap}.nav-pills button{background:transparent;padding:12px 24px;border-radius:14px;font-weight:900;min-height:46px}.nav-pills .active{background:var(--green);color:white;box-shadow:0 2px 3px #15482918}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}.section-head p{font-size:.95rem;color:var(--muted);margin-top:4px}.section-label{display:inline-flex;align-items:center;gap:8px;font-size:.85rem;font-weight:800}.subject-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.subject-card{position:relative;border:2px solid #dce7d5;border-radius:var(--radius);background:white;overflow:hidden;display:flex;flex-direction:column;min-height:224px;transition:transform .16s,box-shadow .16s}.subject-card:hover{transform:translateY(-3px);box-shadow:0 7px 0 #dce7d5}.subject-top{display:flex;align-items:center;gap:16px;padding:22px 22px 14px}.subject-icon{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;font-size:2.35rem;font-weight:700;flex-shrink:0;background:var(--tint);font-family:'Nunito','Noto Naskh Arabic',sans-serif}.subject-card h3{font-size:1.3rem}.subject-card .subject-name{display:block;font-size:.85rem;font-weight:900;color:#536253;margin-bottom:3px}.subject-body{padding:0 22px 16px;flex:1}.subject-body p{font-size:.94rem;color:var(--muted)}.subject-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 22px 20px}.subject-foot button{padding:9px 16px;min-height:44px;background:var(--tint);border-radius:13px;font-weight:900}.subject-foot small{font-size:.8rem;color:var(--muted)}.orange{--tint:#ffe2ae;--accent:#9b5715}.blue{--tint:#cdeafa;--accent:#12688e}.pink{--tint:#ffdae6;--accent:#973759}.purple{--tint:#e9dfff;--accent:#6a419d}.teal{--tint:#cef0ed;--accent:#236c65}.green{--tint:#dfefad;--accent:#466f21}.gentle-note{display:flex;gap:12px;align-items:center;padding:18px 22px;border:1px dashed #b3c5a1;border-radius:18px;margin-top:24px;font-size:.94rem;color:var(--muted)}.resume{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 22px;background:#ebf6cc;border:1px solid #c9df91;border-radius:20px;margin-bottom:22px}.back{background:transparent;font-weight:900;font-size:.94rem;min-height:44px;padding:6px 0;margin-bottom:12px}.subject-hero{display:flex;align-items:center;gap:22px;padding:24px 30px;border-radius:28px;background:var(--tint);margin-bottom:24px}.subject-hero .subject-icon{background:white;width:82px;height:82px;font-size:3rem}.subject-hero p{margin-top:7px}.topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.topic{background:white;border:1px solid var(--line);border-radius:22px;padding:22px;display:flex;flex-direction:column;gap:8px}.topic>span{font-size:2rem;line-height:1.4}.topic p{font-size:.94rem;color:var(--muted);flex:1}.topic .button-row{margin-top:10px}.topic button{font-size:.94rem}.top-spacer{margin-top:24px}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px}.mode-box{background:white;border:1px solid var(--line);border-radius:22px;padding:22px}.mode-box h3{margin-bottom:6px}.mode-box p{font-size:.94rem;margin-bottom:16px;color:var(--muted)}.schedule{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.day-card{background:white;border:1px solid var(--line);border-radius:22px;overflow:hidden}.day-title{padding:18px;background:#e5efda}.day-title h3{font-size:1.15rem}.day-title small{color:var(--muted)}.day-card .schedule-session{padding:16px}.schedule-session+.schedule-session{border-top:1px dashed var(--line)}.schedule-session small{display:block;margin-bottom:7px}.schedule-session button{width:100%;font-size:.94rem;margin-top:10px}.break-label{background:#fff0b4;text-align:center;padding:6px;font-size:.8rem;font-weight:800}.play-shell{max-width:860px;margin:0 auto}.play-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:8px 0 14px}.play-top p{font-weight:900}.progress-track{height:12px;background:#dfe8d5;border-radius:30px;overflow:hidden;margin-bottom:26px}.progress-bar{height:100%;background:var(--green);border-radius:30px;transition:width .3s}.question-card,.learn-card,.oral-card{background:white;border:2px solid var(--line);border-radius:30px;padding:28px;text-align:center;position:relative}.question-card h1{font-size:clamp(1.5rem,3vw,2.05rem);line-height:1.3;letter-spacing:-.02em;max-width:700px;margin:8px auto 16px}.question-card .prompt-speech{margin-bottom:15px}.chip{display:inline-flex;gap:6px;background:#edf4e4;color:#46672f;padding:6px 12px;border-radius:20px;font-size:.8rem;font-weight:900}.large-emoji{display:block;font-size:5rem;line-height:1.2;margin:20px auto}.caption{margin:10px auto 18px;color:var(--muted);max-width:580px;font-size:1rem}.choices{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}.choice{position:relative;min-height:100px;background:#fff;border:2px solid #dce7d5;border-bottom-width:5px;border-radius:21px;padding:16px 10px;font-size:1.4rem;font-weight:900;overflow-wrap:anywhere;transition:transform .15s,background .15s}.choice:hover:not(:disabled){background:#f0f7e4;transform:translateY(-2px)}.choice.selected{background:#daf0a7;border-color:#629127}.choice .emoji{display:block;font-size:3.1rem;line-height:1.4;margin-bottom:8px}.choice .picture-label{display:block;font-size:1rem}.choice .arabic{font-size:2rem}.choice.wrong{background:#fff0c5;border-color:#d8b554}.choice.correct{background:#e2f4c8;border-color:#71a340}.choice:disabled{opacity:1}.feedback{margin-top:20px;padding:18px;border-radius:20px;background:#edf5de;text-align:left;display:flex;justify-content:space-between;gap:16px;align-items:center}.feedback.retry{background:#fff2cf}.feedback p{font-size:.94rem;margin-top:3px}.feedback h3{font-size:1.1rem}.feedback .primary{white-space:nowrap}.game-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}.game-controls p{font-size:.875rem;color:var(--muted)}.muted-link{background:transparent;font-size:.9rem;text-decoration:underline;padding:12px;font-weight:800}.big-letter{font-size:5rem;font-weight:900;line-height:1.25;margin:12px 0}.word-focus{font-size:clamp(3rem,8vw,5rem);font-weight:900;letter-spacing:.03em;margin:16px 0}.word-focus mark{background:#e1f29f;color:#284d22;padding:0 6px;border-radius:10px}.sequence{display:flex;justify-content:center;gap:15px;margin:24px 0}.sequence span{display:grid;place-items:center;width:95px;height:95px;background:#eff4e8;border-radius:20px;font-size:2.5rem;font-weight:900}.sequence .blank{border:3px dashed #7b9c64;background:#fbffe9}.count-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-width:400px;margin:20px auto}.object{background:#f3f7ed;border-radius:14px;aspect-ratio:1;font-size:2rem;border:2px solid transparent;padding:0;min-height:45px}.object.counted{background:#d9eaa8;border-color:#6c923e;transform:scale(.92)}.count-status{min-height:26px;font-weight:800;color:#48732b}.arabic{font-family:'Noto Naskh Arabic','Traditional Arabic','Amiri',serif;direction:rtl;line-height:1.9;letter-spacing:normal!important;font-weight:600}.learn-card{padding:28px 40px;min-height:370px;display:flex;flex-direction:column;align-items:center;justify-content:center}.learn-card .arabic.big-letter{font-size:4.5rem}.learn-card h2{font-size:2.8rem}.learn-card p{max-width:600px}.learn-card .large-emoji{margin:10px 0}.card-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:18px}.card-footer .soft-button{min-width:115px}.farm-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;width:100%;margin:22px 0}.farm-piece{background:#f5f8ef;padding:18px 10px;border-radius:18px}.farm-piece .emoji{font-size:2.5rem}.farm-piece strong{display:block;font-size:1.4rem}.farm-piece small{display:block;margin-top:4px}.palette{display:flex;justify-content:center;gap:10px;margin:16px 0}.swatch{height:46px;width:46px;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px #b7c7ad}.swatch.active{box-shadow:0 0 0 3px #254f32}.color-hint{font-weight:800;font-size:.9rem}.trace-area{position:relative;width:100%;max-width:570px;height:230px;margin:20px auto;border:2px dashed #a8bd93;border-radius:22px;background:repeating-linear-gradient(transparent 0,transparent 113px,#e6edde 114px,#e6edde 115px);overflow:hidden}.trace-target{position:absolute;inset:0;display:grid;place-items:center;font:900 180px/1 'Nunito',sans-serif;color:#c9d4bc;pointer-events:none;user-select:none;letter-spacing:.05em}.trace-area canvas{position:relative;width:100%;height:100%;touch-action:none;cursor:crosshair}.trace-actions{display:flex;justify-content:center;gap:10px;margin-bottom:15px}.parent-rate{background:#f1f5ed;padding:20px;border-radius:22px;text-align:left;margin-top:20px}.parent-rate p{font-size:.94rem;margin:6px 0 12px}.ratings{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.ratings button{min-height:56px;padding:10px;border-radius:15px;background:white;border:1px solid #c9d8c0;font-weight:900}.ratings button:hover{background:#e3efcc}.ratings small{font-size:.8rem;display:block;font-weight:600}.verse{font-size:clamp(1.8rem,3.5vw,2.6rem);line-height:2.3;direction:rtl;margin:20px 0;color:#163e31}.verse-number{display:inline-flex;border:1px solid #b9c9a7;border-radius:50%;font-family:'Nunito',sans-serif;font-size:.9rem;width:32px;height:32px;align-items:center;justify-content:center;margin:0 10px;vertical-align:middle}.quran-hidden{padding:32px 22px;border-radius:22px;background:#f0f5e8;margin:20px 0}.quran-hidden .large-emoji{font-size:3rem}.verse-picker{display:flex;align-items:end;justify-content:center;flex-wrap:wrap;gap:14px;margin:16px 0}.field{display:flex;flex-direction:column;gap:7px;text-align:left;font-size:.94rem;font-weight:800}.field input,.field select{background:white;border:1px solid #b7c8ae;border-radius:12px;padding:10px 13px;min-height:46px;color:var(--ink);max-width:100%}.field input[type=number]{width:100px}.reading-list{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:20px}.reading-list button{background:white;border:1px solid #d2dfc4;border-radius:15px;padding:12px;min-height:48px;font-weight:800}.reading-list button.done{background:#e2f0c9}.parent-section{background:white;border:1px solid var(--line);border-radius:24px;padding:25px;margin-bottom:20px}.parent-section>h2{margin-bottom:15px}.parent-section p+p{margin-top:10px}.parent-section ul{padding-left:23px;line-height:1.8}.checklist{display:flex;flex-direction:column;gap:8px;margin-top:15px}.checkrow{display:flex;align-items:center;gap:12px;padding:13px;background:#f1f6e8;border-radius:12px;font-weight:700;min-height:48px}.checkrow input{width:22px;height:22px;accent-color:var(--green)}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.94rem}th{background:#edf4e2;font-weight:900}td,th{padding:13px 16px;border-bottom:1px solid #e1e8da;vertical-align:top}td p{line-height:1.65}td .arabic{font-size:1.2rem}td small{display:block;margin-top:5px;color:var(--muted)}.results-hero{text-align:center;background:white;border:1px solid var(--line);border-radius:30px;padding:35px;margin-bottom:22px}.results-hero img{height:150px;width:150px;object-fit:contain}.results-hero h1{margin:14px 0}.results-hero p{margin:10px auto;max-width:600px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.stat{padding:20px;border-radius:20px;background:#edf4df;text-align:center}.stat strong{display:block;font-size:2rem}.stat small{display:block;margin-top:5px}.review-item{border:1px solid #dce7d4;border-radius:16px;padding:17px;margin-bottom:10px}.review-item summary{cursor:pointer;font-weight:800;min-height:32px}.review-item p{font-size:.94rem;margin-top:10px}.fun-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.fun-grid button{padding:28px;border-radius:24px;background:white;border:2px solid var(--line);font-weight:900;font-size:1.2rem;min-height:150px}.fun-grid span{display:block;font-size:3rem;margin-bottom:12px}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px auto;max-width:650px}.memory-card{aspect-ratio:1;border-radius:20px;background:var(--green);color:white;font-size:2.5rem;font-weight:900;border-bottom:5px solid var(--deep)}.memory-card.flipped,.memory-card.matched{background:#fff7cf;color:var(--ink);border-color:#dcbe64}.memory-card.matched{background:#dff0b7;opacity:.6}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100;max-width:90vw;background:#173f31;color:white;padding:14px 24px;border-radius:18px;box-shadow:0 4px 20px #0002;display:none;text-align:center;line-height:1.5}.toast.show{display:block}.celebrate{animation:bounce .55s ease}.source-note{font-size:.85rem;color:var(--muted);margin-top:20px}.footer-line{font-size:.8rem;color:var(--muted);text-align:center;margin:30px 0 0}.error-message{color:#912f27;font-weight:800;margin:10px 0;min-height:20px}dialog{border:1px solid var(--line);border-radius:26px;max-width:490px;width:calc(100% - 32px);padding:28px;color:var(--ink)}dialog::backdrop{background:#153d3259}dialog p{margin:14px 0 22px}details>summary{cursor:pointer}.pill-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.pill-list span{background:#ecf2e4;padding:5px 11px;border-radius:10px;font-size:.9rem}.oral-reference{margin-top:16px;padding:16px;background:#f5f8ee;border-radius:18px}.oral-reference summary{font-weight:800;min-height:35px}.tag-button{background:#e7efdc;padding:8px 12px;min-height:42px;border-radius:13px;font-weight:800}.matching-word{letter-spacing:.1em}.reading-steps{display:flex;gap:10px;margin:18px 0;flex-wrap:wrap;justify-content:center}.reading-steps span{background:#eaf3db;padding:8px 14px;border-radius:14px;font-weight:800}.badge-list{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:18px}.badge{background:#fff0b1;border:1px solid #e7c753;border-radius:15px;padding:12px;font-weight:900}.hidden{display:none!important}
@keyframes bounce{0%,100%{transform:scale(1)}45%{transform:scale(1.04)}}
@media(max-width:1000px){.schedule{grid-template-columns:repeat(3,1fr)}.subject-grid{grid-template-columns:repeat(2,1fr)}.topic-grid{grid-template-columns:repeat(2,1fr)}.welcome img{width:155px;height:155px}.topbar{padding:20px 24px}.brand small{font-size:.65rem}}
@media(max-width:640px){main{padding:7px 16px 30px}.topbar{padding:16px;gap:8px}.brand{font-size:1.05rem;gap:8px}.brand-icon{width:38px;height:38px;font-size:2rem;border-radius:13px}.brand small{font-size:.58rem;max-width:135px}.header-actions{gap:6px}.header-actions .soft-button{font-size:.75rem;max-width:90px;padding:6px 9px;min-height:42px}.icon-button{min-width:40px;min-height:40px;font-size:1.2rem}.star-pill{padding:8px 10px;font-size:.9rem}.welcome{padding:22px;gap:4px;min-height:180px;margin-bottom:18px}.welcome img{width:105px;height:125px;margin-right:-8px}.welcome h1{font-size:1.9rem}.welcome p{font-size:.94rem}.eyebrow{font-size:.7rem}.nav-pills{width:100%;max-width:none;gap:2px}.nav-pills button{flex:1;padding:11px 9px;font-size:.92rem}.section-head{align-items:start;margin-bottom:15px}.section-head h2{font-size:1.45rem}.section-head .section-label{max-width:100px;font-size:.75rem}.subject-grid{gap:12px}.subject-card{min-height:226px;border-radius:22px}.subject-top{padding:17px 14px 10px;gap:8px;flex-direction:column;align-items:flex-start}.subject-icon{width:51px;height:51px;border-radius:16px;font-size:1.9rem}.subject-card h3{font-size:1.08rem;line-height:1.3}.subject-card .subject-name{font-size:.77rem;margin-bottom:5px}.subject-body{padding:0 14px 12px}.subject-body p{font-size:.875rem;line-height:1.5}.subject-foot{margin:0 14px 14px;flex-wrap:wrap;gap:8px}.subject-foot button{width:100%;font-size:.9rem}.subject-foot small{font-size:.75rem}.gentle-note{font-size:.875rem;padding:16px}.resume{align-items:flex-start;padding:16px;flex-direction:column}.resume .primary{width:100%}.subject-hero{padding:20px;gap:14px}.subject-hero h1{font-size:1.7rem}.subject-hero .subject-icon{width:60px;height:60px;font-size:2.2rem}.subject-hero p{font-size:.9rem}.topic-grid{grid-template-columns:1fr 1fr;gap:12px}.topic{padding:16px;border-radius:20px}.topic h3{font-size:1.05rem}.topic p{font-size:.875rem}.topic .button-row{gap:8px}.topic button{width:100%;font-size:.85rem;padding:10px}.mode-grid{grid-template-columns:1fr}.schedule{grid-template-columns:1fr 1fr}.day-title{padding:14px}.day-card .schedule-session{padding:13px}.question-card,.learn-card,.oral-card{padding:22px 16px;border-radius:25px}.play-top{font-size:.9rem}.question-card h1{font-size:1.55rem}.choices{gap:9px}.choice{font-size:1.08rem;min-height:84px;padding:13px 7px;border-radius:17px}.choice .arabic{font-size:1.65rem}.choice .emoji{font-size:2.3rem}.choice .picture-label{font-size:.85rem}.feedback{flex-direction:column;align-items:stretch}.feedback button{width:100%}.ratings{grid-template-columns:1fr}.ratings button{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 18px}.learn-card h2{font-size:2.2rem}.farm-trio{gap:7px}.farm-piece{padding:12px 6px}.farm-piece strong{font-size:1.1rem}.farm-piece small{font-size:.8rem}.card-footer .soft-button{min-width:80px;padding:11px;font-size:.9rem}.card-footer .primary{font-size:.9rem;padding:11px}.stat-grid{gap:9px}.stat{padding:17px 10px}.stat strong{font-size:1.5rem}.stat small{font-size:.77rem}.parent-section{padding:20px 16px}.reading-list{grid-template-columns:repeat(3,1fr)}.fun-grid{gap:12px}.fun-grid button{padding:18px;font-size:1.05rem}.memory-grid{gap:9px}.memory-card{font-size:2rem}.table-scroll td,.table-scroll th{min-width:145px;padding:12px}.trace-area{height:205px}.trace-target{font-size:160px}.game-controls p{font-size:.8rem}.word-focus{font-size:3.3rem}.footer-line{line-height:1.6}.results-hero{padding:25px 20px}.oral-card .verse{font-size:1.9rem}.section-head{flex-wrap:wrap}}
@media(max-width:360px){.brand small{display:none}.header-actions .soft-button{max-width:75px}.welcome img{width:78px;height:100px}.welcome h1{font-size:1.65rem}.choices{grid-template-columns:1fr}.choice{min-height:66px}.subject-grid,.topic-grid{grid-template-columns:1fr}.subject-top{flex-direction:row;align-items:center}.subject-card{min-height:180px}.subject-foot button{width:auto}.subject-foot{flex-wrap:nowrap}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.topbar,.back,.nav-pills,button,.toast,.welcome,dialog{display:none!important}body,main{background:white;color:black;padding:0}.parent-section{break-inside:avoid;border:0;padding:12px 0}.table-scroll{overflow:visible}td,th{min-width:0!important;font-size:10pt}h1{font-size:20pt}h2{font-size:16pt}.source-note{font-size:10pt}}
.brand small{font-size:.75rem;letter-spacing:.045em}.topic button,.header-actions .soft-button{font-size:.875rem}
@media(max-width:640px){.topbar{flex-wrap:wrap}.header-actions{margin-left:auto}.brand small{font-size:.75rem;letter-spacing:0;line-height:1.25}.eyebrow,.section-head .section-label{font-size:.75rem}.header-actions .soft-button{font-size:.875rem;max-width:95px}.topic button{font-size:.875rem}}
