/* Stable alignment and soft color across learning surfaces. */
html:not([data-theme=night]) .review-tone-0{--review-color:#eee3f7}
html:not([data-theme=night]) .review-tone-1{--review-color:#e1edfc}
html:not([data-theme=night]) .review-tone-2{--review-color:#fff1bb}
html:not([data-theme=night]) .review-tone-3{--review-color:#e8f3d9}
html:not([data-theme=night]) .review-tone-4{--review-color:#e0f1eb}
html:not([data-theme=night]) .review-tone-5{--review-color:#f8e6ef}
.learning-grid>section{min-width:0}.learning-domain-bars{display:grid;gap:10px}
.learning-domain{display:grid;grid-template-columns:minmax(0,1fr) 50px;grid-template-areas:"label score" "bar bar" "count count";gap:9px 16px;margin:0;padding:15px 17px;min-height:121px;align-content:center;align-items:center;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}
.learning-domain>span{grid-area:label;align-self:center;text-align:left;min-width:0;font-size:16px;line-height:1.4}
.learning-domain>strong{grid-area:score;align-self:center;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.learning-domain>.learning-track{grid-area:bar;height:14px;width:100%}.learning-domain>small{grid-area:count;text-align:right;font-variant-numeric:tabular-nums;margin:0}
.barrow{display:grid;grid-template-columns:minmax(160px,1fr) minmax(100px,1.5fr) 64px;gap:16px;align-items:center}.barrow>span{text-align:left}.barrow>strong{text-align:right;font-variant-numeric:tabular-nums}
html[data-theme=night] .content{background:radial-gradient(ellipse at 85% 4%,#584b9738,transparent 52%),radial-gradient(ellipse at 12% 38%,#197a7940,transparent 53%),linear-gradient(155deg,#111d32,#142438 58%,#201e38)}
html[data-theme=night] .resource-tile:nth-child(1){background:linear-gradient(125deg,#314866,#24364d)!important;border-color:#7696be88!important}
html[data-theme=night] .resource-tile:nth-child(2){background:linear-gradient(125deg,#514364,#35334f)!important;border-color:#b19ac088!important}
html[data-theme=night] .resource-tile:nth-child(3){background:linear-gradient(125deg,#28595b,#233f4a)!important;border-color:#76aaa088!important}
html[data-theme=night] .resource-tile :is(.tile-icon,.icon){color:#c9f1e7!important}
html[data-theme=night] :is(.guide-domain-card,.guide-lesson,.guide-intro,.guide-library-banner,.quick-sheet,.guide-use){background:linear-gradient(130deg,#283b59,#222f47)!important;border-color:#718aaa70}
html[data-theme=night] .guide-domain-card:nth-child(4n+2){background:linear-gradient(130deg,#493e65,#2e314b)!important;border-color:#aa8fbd80}
html[data-theme=night] .guide-domain-card:nth-child(4n+3){background:linear-gradient(130deg,#2a5354,#253b48)!important;border-color:#76aaa080}
html[data-theme=night] .guide-domain-card:nth-child(4n){background:linear-gradient(130deg,#4b444f,#34354b)!important;border-color:#b6a09680}
html[data-theme=night] :is(.guide-formula,.guide-example,.quick-formulas article,.guide-check details,.learning-domain){background:linear-gradient(120deg,#34415b88,#27384b88);border:1px solid #829bb24d}
html[data-theme=night] .guide-domain-card :is(p,.eyebrow){color:#d4deed}.guide-domain-card :is(h2,p){overflow-wrap:anywhere}
.desmos-lines>div{min-width:0;align-items:center}.desmos-lines .solution-math{min-width:0;overflow-x:auto;flex:1;padding:7px 0;font-size:20px}.solution-math math{font-size:1.1em}.solution-panel{margin-top:20px;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--surface-soft)}
.solution-panel .sectionhead{gap:12px;flex-wrap:wrap}.solution-panel h3{margin:0}.solution-panel ol{padding-left:24px}.solution-panel li{padding:6px 0;line-height:1.75}.solution-panel .row{flex-wrap:wrap}.solution-graph{height:510px;width:100%;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:16px 0;background:white}.solution-graph iframe{width:100%;height:100%;border:0}.solution-panel textarea{width:100%;min-height:110px;resize:vertical;font-size:15px;line-height:1.6}.solution-panel label{display:block;margin:15px 0 7px}.solution-panel input:not([type=checkbox]){width:100%}.solution-panel .solution-preview{padding:15px;border:1px solid var(--line);border-radius:10px}.solution-panel [role=status]{font-size:13px;line-height:1.6}.solution-editor{border-top:1px solid var(--line);margin-top:16px;padding-top:10px}.solution-editor summary{font-weight:700;cursor:pointer}.solution-edited{font-size:12px;color:var(--muted)}
.solution-desmos-first{margin:18px 0 22px}.solution-graph-status{color:var(--muted);margin:8px 0}.solution-graph-status[data-state]{padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.solution-edit-status:empty{display:none}.solution-reasoning{border-top:1px solid var(--line);padding-top:10px}
@media(max-width:700px){.learning-domain{min-height:125px;padding:13px}.learning-domain>span{font-size:15px}.barrow{grid-template-columns:minmax(0,1fr) 52px;gap:9px}.barrow>.progressline{grid-column:1/-1;grid-row:2}.solution-panel{padding:15px}.solution-graph{height:480px}.desmos-lines .solution-math{font-size:17px}}

/* Continuous channel ticker: two identical groups, each wider than the viewport. */
.channel-notice{display:flex;align-items:center;gap:18px;min-height:62px;padding:14px 22px;background:#ffe6a8;color:#45320d;border-bottom:1px solid #d7b45c;font-size:clamp(17px,1.4vw,21px);line-height:1.5;font-weight:800;overflow:hidden}.channel-notice-window{min-width:0;flex:1;overflow:hidden}.channel-notice-track{display:flex;width:max-content;animation:channel-notice-scroll var(--notice-duration,90s) linear infinite;will-change:transform}.channel-notice-group{display:flex;flex:none;width:max-content}.channel-notice-message{display:inline-flex;align-items:center;gap:36px;padding-right:36px;white-space:nowrap;flex:none}.channel-notice-message:after{content:'•';opacity:.55}.channel-notice-control{display:flex;align-items:center;gap:6px;font-size:12px;cursor:pointer;white-space:nowrap;margin:0;color:inherit}.channel-notice-control input{width:16px;height:16px;min-height:0;padding:0;margin:0;accent-color:#694b0d}.channel-notice:hover .channel-notice-track,.channel-notice:focus-within .channel-notice-track,.channel-notice:has(input:checked) .channel-notice-track{animation-play-state:paused}@keyframes channel-notice-scroll{to{transform:translateX(calc(-1 * var(--notice-distance,50%)))}}@media(prefers-reduced-motion:reduce){.channel-notice-track{animation:none;width:auto;will-change:auto}.channel-notice-group{display:block;width:auto}.channel-notice-message{white-space:normal;padding:0}.channel-notice-message:after,.channel-notice-message~.channel-notice-message,.channel-notice-group~.channel-notice-group,.channel-notice-control{display:none}}
