:root{--ink:#594652;--muted:#786875;--rose:#b76586;--rose-soft:#fbebf1;--blue:#477b99;--paper:#fffdfc;--edge:#ead9e1;--success:#227653;--bad:#b04255}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:#fffaf9}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #6596bf;outline-offset:2px}.board-shell{max-width:1060px;margin:0 auto;padding:16px}.board-shell.embed{padding:8px}.intro{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.intro h1{font-size:clamp(20px,3vw,27px);margin:0 0 3px;font-family:Georgia,serif;color:#875268}.intro p{font-size:13px;margin:0;color:var(--muted)}.mini-pill{display:inline-block;background:var(--rose-soft);color:#8f4667;border-radius:20px;padding:5px 10px;font-weight:750;font-size:12px}.task-card,.panel{border:1px solid var(--edge);border-radius:17px;background:#fff;box-shadow:0 6px 18px #98577a0d}.task-card{padding:13px 16px;margin:12px 0 10px}.task-heading{display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap}.task-heading strong{font-size:15px}.task-heading select{border:1px solid var(--edge);padding:8px;border-radius:10px;background:white;color:var(--ink);max-width:100%}.task-card p{margin:8px 0 0;font-size:13px;line-height:1.55}.tools{padding:9px;display:flex;gap:7px;flex-wrap:wrap;align-items:center}.tool{border:1px solid #e2d2da;background:#fff;color:var(--ink);border-radius:10px;padding:8px 12px;font-weight:750;font-size:12px;min-height:36px}.tool[aria-pressed=true]{background:var(--rose-soft);color:#994667;border-color:#d79bb5}.tool .symbol{font-size:15px}.board-area{background:var(--paper);border-top:1px solid #f3eaf0;border-bottom:1px solid #f3eaf0;overflow:hidden;position:relative;touch-action:none}.board-area svg{display:block;width:100%;height:auto;max-height:500px;min-height:230px;touch-action:none;user-select:none}.note{font-size:11px;color:#6f6971;padding:5px 11px;background:#fffafa;line-height:1.4}.tool-settings{padding:10px 13px;display:flex;gap:13px;align-items:center;flex-wrap:wrap}.tool-settings label{font-size:12px;font-weight:650;display:flex;align-items:center;gap:7px}.tool-settings input[type=number]{width:72px;padding:7px;border:1px solid var(--edge);border-radius:8px}.tool-settings input[type=range]{accent-color:var(--rose);max-width:120px}.tool-settings .tool-help{font-size:12px;color:#876879;flex:1;min-width:180px}.tool-actions{padding:0 12px 13px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.button{border:none;border-radius:9px;padding:9px 12px;background:#ac6482;color:white;font-weight:750;font-size:12px}.button.secondary{background:#fff;border:1px solid #d9bbcb;color:#865469}.button:disabled{opacity:.45;cursor:not-allowed}.feedback{margin-top:10px;min-height:25px;border-radius:10px;font-size:13px;line-height:1.45;padding:8px 12px;background:#f9f3f5}.feedback.good{color:var(--success);background:#e9f6ef}.feedback.bad{color:var(--bad);background:#fcf0f0}.feedback.neutral{color:#6d5965}.tool-hint{color:#765263;background:#fff6ed;padding:8px 12px;border-radius:10px;font-size:12px;margin-top:6px}.board-svg .gridline{stroke:#eadde4;stroke-width:.7}.board-svg .base{stroke:#61515c;stroke-width:3.2;stroke-linecap:round}.board-svg .student-segment{stroke:#b86d8b;stroke-width:3.5;stroke-linecap:round}.board-svg .student-circle{stroke:#b86d8b;stroke-width:3;fill:none}.board-svg .preview{stroke:#ad7990;stroke-width:2.5;stroke-dasharray:7 6}.board-svg .anchor{fill:#fff;stroke:#5e5263;stroke-width:3}.board-svg .instrument{cursor:grab}.board-svg .instrument:active{cursor:grabbing}.board-svg .drag-handle{fill:#b56685;stroke:#fff;stroke-width:2;cursor:grab}.board-svg .rotate-handle{fill:#477b99;stroke:#fff;stroke-width:2;cursor:crosshair}.board-svg text{font-family:system-ui,Segoe UI,sans-serif;pointer-events:none}.board-svg .geo-mark{cursor:crosshair;fill:none;stroke:transparent;stroke-width:30;pointer-events:stroke}.board-svg .line-hit{stroke:transparent;stroke-width:30;pointer-events:stroke}.board-svg .fixed-label{fill:#5b5060;font-weight:800;font-size:16px}.board-svg .target-mark{fill:#9f5475;font-size:12px;font-weight:750}.board-svg .selected-tick{stroke:#b04e71;stroke-width:3}.measure-input{padding:8px;border-radius:9px;border:1px solid var(--edge);width:90px}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body.embed .intro{display:none}body.embed .board-shell{padding:4px}body.embed .task-card{margin:1px 0 7px;padding:8px 11px}body.embed .task-card p{margin:3px 0 0}body.embed .board-area svg{max-height:430px}@media(max-width:680px){.board-shell{padding:7px}.tools{gap:5px}.tool{padding:7px 8px;font-size:11px}.tool-settings{gap:7px;padding:9px}.tool-actions{padding:0 9px 9px}.button{padding:8px 10px}.board-area svg{min-height:215px}.note{font-size:10px}.task-heading select{width:100%}}
