.course-choice{display:flex;gap:25px;align-items:center;margin:20px 0 24px;padding:15px 18px;border:1px solid var(--line);border-radius:12px;background:#fff}.course-choice label{font-size:.78rem;font-weight:650;flex-shrink:0}.course-choice select{display:block;margin-top:7px;border:1px solid #acc3c1;border-radius:8px;padding:10px 30px 10px 12px;background:#fff;color:var(--ink);font-size:.88rem;min-height:44px}.course-choice p{font-size:.8rem!important;margin:0!important;max-width:420px;line-height:1.6}.chapter-picker{max-width:800px;margin:0 0 20px}.chapter-picker label{display:block;font-size:.8rem;font-weight:650}.chapter-picker select{display:block;width:100%;min-height:50px;margin:9px 0 15px;padding:12px;border:1px solid #adc5c1;border-radius:10px;background:white;color:var(--ink);font-size:1rem}.chapter-picker p{color:var(--muted);font-size:.9rem}.chapter-status{display:flex;justify-content:space-between;font-size:.75rem;color:var(--muted);margin:15px 0}.chapter-navigation{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:25px 0}.chapter-context{background:#fff;border:1px solid var(--line);border-radius:12px;padding:5px 18px;font-size:.84rem;max-width:850px}.chapter-context p{font-size:.85rem;line-height:1.8}.next-learning .card-grid{grid-template-columns:minmax(0,400px)}.next-learning>p{font-size:.8rem;color:var(--muted);margin:15px 0}.task-context{background:#f3f6f4;padding:12px 14px;border-radius:9px;font-size:.87rem;line-height:1.8}.math-entry-tools{margin-top:14px}.math-entry-tools summary{font-size:.8rem;color:var(--teal)}.math-entry-tools p{font-size:.78rem;line-height:1.8;color:var(--muted)}.math-keypad{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.math-keypad button{min-width:44px;min-height:44px;padding:9px 13px;background:#edf3f1;border:1px solid #c9d8d2;color:var(--ink);font-size:.8rem}.input-preview{font-size:.77rem;color:var(--muted);margin-top:9px;min-height:20px;line-height:1.6}.input-preview.input-invalid{color:#7c4e1e}.visual-caption{font-size:.8rem;line-height:1.7;margin:0;padding:12px 18px;background:#f1f6f3;border-top:1px solid var(--line);color:#315b59}.reason-actions{display:flex;flex-wrap:wrap;gap:8px 20px}.reason-scaffold{background:#f2f6f3;border-radius:11px;padding:18px;margin:15px 0}.reason-scaffold label{margin-top:12px}.reason-scaffold textarea{min-height:75px!important;height:auto!important}.self-check-status{font-size:.8rem;color:var(--muted);line-height:1.7}.worksheet-link{display:inline-block;margin-top:12px;font-size:.82rem;color:var(--teal)}.footer-links{flex-wrap:wrap;align-items:center}.footer-links a{padding:5px 0}.flow-experiment-grid .control input[type=range]{min-height:36px}.flow-menus summary{min-height:44px}.course-pill{font-size:.7rem;padding:4px 8px;border-radius:6px;background:#f0eafa;color:#684887}.function-plot{touch-action:pan-y}.function-plot.can-drag circle[data-dot-label]{stroke:transparent;stroke-width:30px;vector-effect:non-scaling-stroke;paint-order:stroke fill;touch-action:none}.worksheet-print{display:none}
@media(max-width:760px){.course-choice{display:block;padding:14px}.course-choice select{width:100%}.course-choice p{margin-top:10px!important;font-size:.75rem!important}.catalog-heading h1{font-size:1.9rem}.chapter-picker select{font-size:.87rem}.chapter-navigation .btn{font-size:.75rem;padding:10px}.visual-caption{font-size:.75rem;padding:10px 13px}.flow-topline{gap:15px;line-height:1.6}.flow-topline a{max-width:75%}.flow-topline>span{text-align:right}.math-keypad{gap:6px}.reason-scaffold{padding:14px}.footer-links{gap:8px 15px}.flow-page{padding-bottom:110px}.next-learning .card-grid{grid-template-columns:1fr}.chapter-status{gap:15px}}
@media print{.course-choice,.chapter-picker,.chapter-navigation,.math-entry-tools,.reason-actions,.worksheet-link{display:none!important}.worksheet-print{display:block}.printing-sheet main>*:not(.worksheet-print){display:none!important}}
.worksheet-editor{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:start}.sheet-form-card,.sheet-list-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:25px;min-width:0}.worksheet-editor h2{font-size:1.3rem}.worksheet-editor label:not(.criterion){display:block;font-size:.83rem;margin:18px 0 8px}.worksheet-editor input:not([type=checkbox]):not([type=file]),.worksheet-editor select,.worksheet-editor textarea{width:100%;border:1px solid #b5c9c3;border-radius:9px;padding:11px;color:var(--ink);background:white;font-size:.9rem;min-height:45px}.worksheet-editor textarea{min-height:100px;resize:vertical;line-height:1.7}.worksheet-editor .btn{margin-top:12px}.worksheet-editor details{font-size:.85rem;line-height:1.8;margin:18px 0}.sheet-list{padding-left:20px}.sheet-list>li{padding:15px 0;border-bottom:1px solid var(--line);font-size:.87rem;overflow-wrap:anywhere}.sheet-list p{margin:8px 0}.sheet-kind-badge{font-size:.68rem;color:var(--teal)}.sheet-actions{display:flex;flex-wrap:wrap;gap:10px}.sheet-actions label{font-size:.85rem!important;margin-bottom:0!important;margin-top:12px!important}.sheet-list .text-button{font-size:.76rem;margin-right:12px}.worksheet-editor #sheet-form-message{color:#884d19;font-size:.85rem;line-height:1.6;margin-top:15px}.worksheet-page>.learning-card{margin-bottom:25px}.worksheet-page .chapter-navigation{max-width:850px;margin:25px auto}.worksheet-page .learning-card textarea{height:auto;min-height:140px}.worksheet-print article{break-inside:avoid;margin:20px 0}.worksheet-print h1{font-size:24pt}.worksheet-print h2{font-size:14pt}.print-solutions{break-before:page}
@media(max-width:850px){.worksheet-editor{grid-template-columns:1fr}.sheet-form-card,.sheet-list-card{padding:21px}}
@media print{body.printing-sheet .catalog-heading,body.printing-sheet .worksheet-editor{display:none!important}body.printing-sheet .worksheet-print{display:block!important}body.printing-sheet .worksheet-print h1{font-size:23pt}body.printing-sheet .worksheet-print h2{font-size:14pt}body.printing-sheet .worksheet-print p,body.printing-sheet .worksheet-print li{font-size:11pt;line-height:1.7}}
.badge.lk-badge{background:#efe8f8;color:#70458c}.card-meta .badge{white-space:normal}
.zoom-note{display:none;font-size:.74rem;line-height:1.7;color:var(--muted);max-width:650px}.wide-mode .zoom-note{display:block}.function-plot.can-drag circle[data-dot-label]{cursor:grab}
@media(max-width:760px){.flow-page.wide-mode .plot-wrap{display:block;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain}.flow-page.wide-mode .plot-wrap svg{min-width:650px;max-height:none!important;width:650px;height:auto;touch-action:pan-x pan-y}.flow-page.wide-mode .plot-wrap svg circle[data-dot-label]{touch-action:none}}
@media print{.zoom-note{display:none!important}.flow-page.wide-mode .plot-wrap svg{min-width:0!important;width:100%!important;max-width:100%!important;max-height:340px!important}}
.search-suggestions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:20px 0}.search-suggestions .btn{font-size:.83rem}

.direct-practice{display:inline-block;font-size:.8rem;color:var(--teal);margin-top:6px;min-height:30px}.flow-menu:not([open])>.menu-panel{display:none}
@media(max-width:760px){.flow-page.wide-mode .plot-wrap{justify-items:start;align-items:start}.flow-page.wide-mode .plot-wrap svg{justify-self:start;align-self:start;margin-left:0;margin-right:0}}
