*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#f8f6ed;color:#173c40;font:16px/1.55 "Microsoft YaHei","PingFang SC",sans-serif}a{color:inherit}header{background:#103f42;color:#fffbed;border-bottom:4px solid #c97951}.shell{max-width:1280px;margin:auto;padding:0 clamp(15px,3vw,46px)}.top,.eyebrow,.heading,.exercise-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.top{height:59px}.top a{text-decoration:none}.brand{font-size:22px;font-weight:750}.top>a:last-child{font-size:14px}.eyebrow{margin:25px 0 7px;color:#526f65;font-size:14px}.heading{border-bottom:1px solid #bacbbd;margin-bottom:22px}.heading span{letter-spacing:.18em;color:#88503d}h1{font-size:clamp(31px,4.3vw,55px);margin:0 0 10px;letter-spacing:-.04em}h2{font-size:clamp(23px,2.3vw,34px);line-height:1.3;margin:8px 0 15px}h3{line-height:1.4;margin:0 0 6px;font-size:18px}.layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(245px,.84fr);gap:clamp(18px,3vw,42px)}.screen{background:#173c40;overflow:hidden;border-radius:9px;aspect-ratio:16/9}.screen video{display:block;width:100%;height:100%}.current{padding:15px 0}.current small,#qLabel{color:#60776e;font-weight:bold}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:13px 0 18px}.button,button,.primary{font:inherit;font-weight:bold;display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:9px 16px;border:1px solid #abbdb0;border-radius:6px;background:#fffcf3;color:#204849;text-decoration:none;cursor:pointer}.primary{background:#174b4b;border-color:#174b4b;color:#fffdf4}aside,.board,.lab-body{border:1px solid #c6d3c8;background:#fffdf5;border-radius:10px;padding:15px}aside{align-self:start}aside h2{font-size:19px;margin:0 0 6px}#menu{display:grid;gap:2px}#menu a{display:grid;grid-template-columns:25px 1fr;gap:9px;text-decoration:none;align-items:center;padding:9px 7px;border-radius:4px;line-height:1.5;font-size:15px}#menu a span:first-child{color:#6a7c71}#menu a[aria-current=page]{background:#e1ecdf;font-weight:bold}#menu a:hover,.top a:hover{text-decoration:underline}details{border-top:1px solid #b9cbbf;padding:10px 0;margin-top:10px}summary{cursor:pointer;font-weight:bold;min-height:35px}#chapters{display:flex;gap:6px;flex-wrap:wrap}#chapters button{font-size:13px}#practice{margin-bottom:45px}.exercise-head{margin-bottom:10px}.given{font-size:17px}.work{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(15px,4vw,60px);align-items:start}.board{padding:14px}.board svg{width:100%;max-height:345px;display:block;touch-action:manipulation;cursor:crosshair}.numeric,.controls,.controls label{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.numeric input{width:78px;height:39px;margin-left:5px;padding:5px}.hintline{font-size:13px;color:#586e64;margin:6px 0 0}fieldset{border:0;padding:0;margin:0}legend{font-size:20px;font-weight:bold;margin:0 0 8px}#answers label{display:flex;align-items:center;gap:10px;padding:10px 13px;margin:7px 0;background:#fffdf5;border:1px solid #c1cdc2;border-radius:5px;cursor:pointer}input[type=radio]{width:18px;height:18px;flex-shrink:0}input,select,button{font:inherit}#result{padding:13px 16px;background:#e4ede0;border-left:4px solid #3c7866;margin-bottom:12px}#result[data-ok=false]{background:#fbebdc;border-color:#b76b42}#result strong{display:block;margin-bottom:5px}#result p{margin:4px 0}#lab{margin-top:20px}.lab-can{display:grid;grid-template-columns:1fr 1fr;gap:8px}.lab-can canvas{width:100%;height:auto;background:#f6f7ed}.controls{margin:10px 0 0}.controls input[type=range]{width:100px}select{padding:6px}.controls output{min-width:42px}.controls label{gap:5px}button:focus-visible,a:focus-visible,svg:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ad482e;outline-offset:2px}[hidden]{display:none!important}@media(max-width:820px){.layout,.work{grid-template-columns:1fr}.layout{gap:8px}aside{margin-bottom:20px}#menu{grid-template-columns:1fr 1fr}.current h2{margin:4px 0}.work{gap:15px}}@media(max-width:520px){.shell{padding:0 13px}.eyebrow{margin-top:14px;font-size:12px}.top{height:50px}.top a:last-child{font-size:12px}.heading{margin-bottom:12px}#menu,.lab-can{grid-template-columns:1fr}.board{padding:9px}.numeric{gap:5px}.numeric input{width:65px}.lab-can canvas{max-height:200px;object-fit:contain}.brand{font-size:18px}}
.coordinate-guide{font-size:14px;color:#526d63;margin:-7px 0 17px}
