/* FirstStepMath online teaching tools: shared look. Comic Sans, big touch targets, no external requests. */
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:'Comic Sans MS','Comic Sans',Chalkboard SE,cursive;color:#0f1e64;background:#f4f8ff;-webkit-tap-highlight-color:transparent}
button,input,select{font-family:inherit}
.hd{background:#fff;border-bottom:4px solid #ffe228;display:flex;align-items:center;gap:12px;padding:8px 14px;flex-wrap:wrap}
.hd a.logo img{height:44px;display:block}
.hd nav{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.hd nav a{color:#0f1e64;text-decoration:none;font-weight:700;padding:10px 14px;border-radius:12px;background:#eaf2ff;min-height:44px;display:inline-flex;align-items:center}
.hd nav a:hover{background:#ffe228}
.tw{max-width:1100px;margin:0 auto;padding:14px 14px 40px}
.crumb{margin:4px 0 8px;font-size:1rem}
.crumb a{color:#1e6edc;font-weight:700}
h1{font-size:clamp(1.7rem,5.5vw,2.6rem);margin:6px 0 6px}
.lead{font-size:1.1rem;margin:0 0 14px;color:#33427a}
.panel{background:#fff;border:3px solid #1e6edc;border-radius:22px;padding:14px;margin:12px 0}
.bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:8px 0}
.btn{min-height:52px;min-width:52px;padding:8px 18px;border-radius:16px;border:3px solid #0f1e64;background:#ffe228;color:#0f1e64;font-size:1.15rem;font-weight:700;cursor:pointer;touch-action:manipulation}
.btn:active{transform:scale(.96)}
.btn.on{background:#1e6edc;color:#fff;border-color:#0f1e64}
.btn.go{background:#1c9a5b;color:#fff}
.btn.red{background:#e12323;color:#fff}
.btn.soft{background:#eaf2ff}
.lab{font-weight:700;font-size:1.05rem}
.big{font-size:clamp(2rem,8vw,3.6rem);font-weight:700}
.foot{margin-top:18px;font-size:.95rem;color:#55618a}
.foot a{color:#1e6edc}
.std{display:inline-block;background:#eaf2ff;border-radius:10px;padding:4px 10px;font-size:.95rem;margin:4px 6px 0 0}
@media (max-width:600px){.hd nav a{padding:8px 10px;font-size:.95rem}.btn{font-size:1rem;padding:8px 12px}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.btn.soft.on{background:#1e6edc;color:#fff}

@media (max-width:640px){.hd{gap:6px 8px}.hd nav{order:3;flex-basis:100%;margin-left:0;justify-content:center}.hd .fsr-btn{margin-left:auto!important}}
