.quick-search{padding:0;border:0;background:none;margin-top:22px}.quick-search label{font-size:14px;font-weight:700}.quick-search>div{display:flex;gap:8px;margin-top:8px}.quick-search input{margin:0;min-width:0}.quick-search button{white-space:nowrap}.quick-links{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.quick-links a{font-size:13px;padding:7px 12px;border:1px solid #cbd4bf;border-radius:25px;text-decoration:none;background:#edf0e5}.quick-links a:hover{background:#dfe8d1}.task-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:8px 0 30px}.task-strip a{padding:18px;border:1px solid #d8decd;border-radius:12px;text-decoration:none;background:#fff}.task-strip strong,.task-strip span{display:block}.task-strip span{font-size:13px;color:#58675c;margin-top:4px}.section-title .eyebrow{margin:22px 0 5px}.section-title .eyebrow+h2{margin-top:5px}.spotlight .small{font-size:13px;color:#58675c;margin-bottom:0}.hub-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:32px;align-items:center;padding:28px 0}.hub-hero h1{font-size:clamp(34px,4vw,50px)}.hub-hero>img{width:100%;height:auto;border-radius:18px}.muted{font-size:13px;color:#58675c}.library-filter{margin-top:10px}.library-filter label{font-weight:650;font-size:14px}.library-filter input{margin:9px 0 15px}.filter-fields{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px}.filter-fields label{flex:1;min-width:140px}select{display:block;width:100%;padding:12px;border:1px solid #cccdbf;border-radius:8px;background:white;color:#23352d;font:inherit;margin-top:8px}.filter-fields button{min-height:47px}.related-pages{margin-top:42px;padding-top:4px;border-top:1px solid #d8decd}.related-pages .grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.prose+.related-pages{max-width:960px}nav a[aria-current=page]{font-weight:800;text-decoration:underline}.crumb{margin-top:8px}main>section{scroll-margin-top:20px}input[type=search]::-webkit-search-cancel-button{cursor:pointer}.library-hero{padding-bottom:8px}.tool-page .toc{font-size:15px}a,button,input,select,textarea{touch-action:manipulation}@media(max-width:700px){.hub-hero{grid-template-columns:1fr;gap:12px;padding:20px 0}.hub-hero>img{max-height:210px;object-fit:cover}.task-strip{grid-template-columns:1fr;gap:8px}.task-strip a{padding:13px 16px}.task-strip span{margin-top:2px}.quick-search>div{flex-direction:column}.quick-search button{min-height:46px}.section-title{flex-wrap:wrap}.muted{margin-bottom:8px}.filter-fields{gap:12px}.filter-fields label{min-width:100%;flex:auto}.filter-fields button{width:100%}.section-title h2{font-size:23px}}@media(prefers-reduced-motion:reduce){.card:hover{transform:none}}@media print{.quick-search,.quick-links,.task-strip,.related-pages,.library-filter{display:none}}

#review-rows label{display:block;padding:14px;margin:10px 0;background:#edf1e8;border-radius:10px;overflow-wrap:anywhere}#review-rows select{display:block;max-width:100%;padding:10px;margin-top:8px;font:inherit}#review-status{padding:14px;border-left:4px solid #496f54}

/* Gaming math lab: original diagrams and readable result hierarchy. */
.math-cover{display:block;width:100%;height:auto;border-radius:16px;margin:22px 0}.math-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.math-metrics>div{padding:18px;background:#e5eee3;border:1px solid #bfcfbd;border-radius:12px}.math-metrics dt{font-size:14px;color:#466250}.math-metrics dd{font-size:26px;font-weight:780;margin:8px 0 0;overflow-wrap:anywhere}.math-chart svg{display:block;width:100%;height:auto;margin:22px 0}.formula-text{padding:18px;border-left:4px solid #39796a;background:#edf1e8;overflow-wrap:anywhere}.math-page label{display:block}.math-page form{scroll-margin-top:20px}.math-page table{min-width:420px}.math-page #math-result[data-state=error]{color:#8f2d22;padding:16px;background:#fce9df;border-radius:10px}.math-page #math-result[data-state=stale]{padding:16px;background:#fff1cf}.math-page img{max-height:300px;object-fit:contain;background:#122f2b}@media(max-width:600px){.math-metrics{grid-template-columns:1fr}.math-metrics dd{font-size:23px}.math-page .tool-fields{grid-template-columns:1fr}}

.math-hub-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:24px;align-items:center}.math-hub-hero h1{font-size:clamp(32px,4vw,48px)}.math-hub-hero img{display:block;width:100%;height:auto;border-radius:15px}.math-page .math-cover{max-height:200px}@media(max-width:700px){.math-hub-hero{grid-template-columns:1fr}.math-hub-hero img{max-height:180px;object-fit:contain;background:#122f2b}.math-page .math-cover{max-height:150px}}

.illustrated .math-illustration{aspect-ratio:900/360;object-fit:contain;background:#122f2b}.math-chart{overflow-x:auto}@media(max-width:600px){.math-chart svg{min-width:580px}}
