.school-micro{display:flex;flex-direction:column;gap:12px;width:100%;height:100%;min-height:0;overflow:auto;padding:16px;box-sizing:border-box;background:linear-gradient(145deg,#102c2e,#091c24);color:#edf5ed;font-family:system-ui,-apple-system,sans-serif;touch-action:pan-y;overscroll-behavior:contain}
.school-micro>*{flex-shrink:0;box-sizing:border-box}
.sm-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;border:1px solid #608e88;border-radius:14px;background:#123b3c;font-size:17px}
.sm-count{font-size:14px;color:#d0e7df}
.sm-guide{padding:13px 17px;border:1px solid #6c999333;border-radius:13px;background:#183b3d}
.sm-guide h3,.sm-quiz h3{margin:0 0 6px;font-size:19px;line-height:1.35;color:#f3ebd3}
.sm-guide p{margin:0;font-size:15px;line-height:1.5;color:#d6e5df}
.sm-field{position:relative;min-height:330px;height:clamp(330px,46vh,510px);background:#071e21;border:1px solid #5d8585;border-radius:18px;overflow:hidden}
.sm-field canvas{display:block;width:100%;height:100%;touch-action:pan-y;cursor:crosshair}
.sm-caption{margin:0;font-size:12px;color:#b1c6be;text-align:center;line-height:1.4}
.sm-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:12px;border:1px solid #6c999344;border-radius:14px;background:#102d35;min-width:0}
.sm-button{min-height:46px;padding:12px 16px;border:1px solid #8eb8b2;border-radius:12px;background:#245264;color:#f4f6eb;font:600 15px/1.35 system-ui;cursor:pointer;max-width:100%;overflow-wrap:anywhere}
.sm-button:hover{background:#306578}.sm-button:focus-visible,.sm-focus input:focus-visible{outline:3px solid #e2be7c;outline-offset:3px}.sm-button:disabled{opacity:.6;cursor:default}.sm-button.sm-next{background:#2d695b;border-color:#a6cab1}
.sm-status{margin:0;padding:10px 14px;min-height:44px;border-left:3px solid #9fbfb2;background:#153132;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.sm-status.sm-bad{border-color:#e6b19d;color:#f4c4b6}
.sm-focus{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;font-size:16px}.sm-focus input{width:clamp(140px,30vw,320px);min-height:42px;accent-color:#d4b875}
.sm-quiz{width:100%;max-width:800px;text-align:center}.sm-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.sm-options .sm-button{width:100%}.sm-feedback{font-size:15px;line-height:1.55;text-align:left;margin:10px 0}.sm-feedback:empty{display:none}.sm-button.sm-wrong{border-color:#e29d8e;color:#f7c0ac}.sm-button.sm-correct{border-color:#91caaa;background:#315f50;opacity:1}
.sm-book{padding:12px 16px;border:1px solid #7f9b883b;border-radius:14px;background:#173337}.sm-book summary{font-size:16px;cursor:pointer;min-height:32px}.sm-entry{padding:10px 0;border-top:1px solid #87ab9733}.sm-entry h4{margin:0 0 6px;font-size:16px;color:#ebd3a6}.sm-entry p{margin:5px 0;font-size:14px;line-height:1.55;color:#d5e6dd}
.sm-observe-progress{min-width:150px;text-align:center;color:#e5d2a9;font-size:15px}
@media(max-width:600px){.school-micro{padding:12px;gap:10px}.sm-header{padding:10px 12px;font-size:16px;gap:7px}.sm-guide{padding:12px}.sm-guide h3,.sm-quiz h3{font-size:18px}.sm-guide p{font-size:14px}.sm-field{height:360px;min-height:320px}.sm-controls{padding:10px;gap:8px}.sm-button{font-size:14px;padding:11px 12px;min-height:46px}.sm-options{grid-template-columns:1fr;gap:9px}.sm-controls>[data-org]{flex:1 1 135px}.sm-focus{width:100%}.sm-focus input{width:72%}.sm-feedback{font-size:14px}.sm-status{font-size:13px}}
@media(max-height:500px) and (min-width:601px){.sm-field{height:330px}.school-micro{padding:12px}}
