:root{color-scheme:light;--paper:#f3f0e7;--card:#fcfbf6;--ink:#263a30;--muted:#687369;--line:#d3d7ca;--green:#395d4b;--green-dark:#254437;--green-pale:#e2eadf;--rust:#a66742;--rust-light:#d4a278;--focus:#9a4e2c;--mono:'Cascadia Mono',Consolas,monospace;--serif:'Songti SC',SimSun,Georgia,serif;font-family:'Microsoft YaHei','PingFang SC',sans-serif;color:var(--ink);background:var(--paper);-webkit-text-size-adjust:100%}*{box-sizing:border-box}body{margin:0}h1,h2,p,dl,dd{margin:0}[hidden]{display:none!important}button{font:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,svg [tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.wrap{width:min(1190px,calc(100% - 76px));margin-inline:auto}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip:focus{position:fixed;z-index:5;inset:12px auto auto 12px;background:var(--card);padding:12px;color:var(--ink)}.mast{border-bottom:1px solid var(--line);background:rgba(252,251,246,.48)}.mast-inner{min-height:69px;display:flex;align-items:center;gap:11px}.mast img{width:39px;height:39px}.brand strong,.brand span{display:block}.brand strong{font-size:15px;letter-spacing:.14em}.brand span{font:9px/1.5 var(--mono);letter-spacing:.14em;color:var(--muted)}.mast-inner>p{margin-left:auto;font-size:12px;color:var(--muted);letter-spacing:.08em}.intro{padding:34px 0 21px}.eyebrow{font:600 10px/1.5 var(--mono);letter-spacing:.13em;color:var(--rust)}.intro-line{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:7px}.intro h1{font:700 clamp(31px,4vw,49px)/1.22 var(--serif);letter-spacing:.03em}.intro-line>div:first-child>p{max-width:710px;color:var(--muted);font-size:14px;line-height:1.8;margin-top:9px}.edition{width:102px;height:91px;flex:none;border-left:1px solid #bcc5b7;display:flex;flex-direction:column;justify-content:center;gap:4px;padding-left:16px;color:var(--muted);font-size:10px}.edition b{font:700 23px/1.1 var(--mono);color:var(--green-dark)}.workbench{display:grid;grid-template-columns:minmax(0,1fr) 295px;align-items:stretch;gap:14px}.loom-card{min-width:0;border:1px solid #334f40;border-radius:15px;background:var(--green-dark);color:#f1eee2;padding:18px 21px 13px;box-shadow:0 9px 22px rgba(42,63,49,.09)}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.loom-card .eyebrow{color:#c4cfaf}.panel-head h2,.card h2,.worksheet h2,.notes h2{font:700 22px/1.3 var(--serif);letter-spacing:.025em;margin-top:3px}.legend-mini{display:flex;align-items:center;gap:6px;color:#d9ddcf;font-size:11px;white-space:nowrap}.legend-mini i{display:inline-block;width:15px;border-top:3px solid var(--green-pale);margin-left:4px}.legend-mini .key-weft{border-color:var(--rust-light)}.loom-frame{margin-top:11px;border:1px solid #698070;border-radius:9px;background:#eae9dc;overflow:hidden;box-shadow:inset 0 0 0 5px rgba(248,247,239,.17)}#loom{display:block;width:100%;height:auto;touch-action:manipulation}#loom .board{fill:#f0eee2}#loom .board-edge{fill:none;stroke:#c3cbb9;stroke-width:1.2}#loom .row-number,#loom .col-number{font:11px var(--mono);fill:#687668}#loom .thread-rail{stroke:#c4cbbd;stroke-width:1}.thread-under{stroke:#839486;stroke-width:6;stroke-linecap:round}.thread-weft-gap{stroke:#f6f4eb;stroke-width:11;stroke-linecap:round}.thread-weft-over{stroke:#ca956b;stroke-width:7;stroke-linecap:round}.thread-under-line{stroke:#a27e5e;stroke-width:5;stroke-linecap:round}.thread-warp-gap{stroke:#f6f4eb;stroke-width:11;stroke-linecap:round}.thread-warp-over{stroke:#345b48;stroke-width:7;stroke-linecap:round}.thread-cell-label{font:9px 'Microsoft YaHei','PingFang SC',sans-serif;fill:#526359;text-anchor:middle}.weave-cell{cursor:pointer}.weave-cell .hit{fill:transparent;stroke:transparent;stroke-width:3}.weave-cell:hover .cell-plate{fill:#eee6d3;stroke:#b58e65}.weave-cell:focus .hit{stroke:#a14d2d}.weave-cell[aria-pressed=true] .hit{fill:#b4774b;fill-opacity:.07;stroke:#a7653c;stroke-width:2}.cell-plate{fill:#f5f3e9;stroke:#d8d8cb;stroke-width:1}.loom-foot{display:flex;justify-content:space-between;gap:10px;padding:10px 1px 9px;color:#d3dece;font-size:11px}.loom-foot>p:first-child{display:flex;align-items:center;gap:7px}.loom-foot>p:last-child{color:#b9c7b6}.pick-mark{width:9px;height:9px;display:inline-block;border-radius:50%;background:#d8a06d;box-shadow:0 0 0 3px rgba(216,160,109,.17)}.loom-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid #536c5a;padding-top:9px}.action-set{display:flex;gap:7px;flex-wrap:wrap}.loom-actions button,.worksheet-actions button{min-height:39px;padding:0 11px;border:1px solid #8d9b84;border-radius:6px;background:transparent;color:#f1eee2;font-size:11px;font-weight:650}.loom-actions button:hover:not(:disabled){background:#3b5947}.loom-actions button:disabled{opacity:.48}.loom-actions .quiet{border-color:transparent;color:#d4c39d}.side-panel{display:flex;flex-direction:column;gap:12px}.card{background:var(--card);border:1px solid var(--line);border-radius:13px;padding:16px 16px 14px;min-width:0}.card h2{font-size:19px}.presets{display:grid;gap:6px;margin-top:10px}.presets button{width:100%;min-height:54px;display:flex;align-items:center;text-align:left;gap:11px;background:transparent;border:1px solid #e0e1d6;border-radius:7px;padding:6px 9px;color:var(--ink)}.presets button:hover{background:#f3f3eb;border-color:#aab6a5}.presets button[aria-pressed=true]{background:#eaf0e6;border-color:#8ca28d}.presets b,.presets small{display:block}.presets b{font-size:12px}.presets small{margin-top:3px;font-size:10px;color:var(--muted)}.swatch{width:34px;height:34px;flex:none;border:1px solid #cfd2c2;border-radius:5px;background-color:#f4f2e9;background-image:repeating-linear-gradient(0deg,transparent 0 4px,#bd8a61 4px 6px),repeating-linear-gradient(90deg,transparent 0 4px,#42644f 4px 6px);background-size:12px 12px}.mend-swatch{background-image:linear-gradient(90deg,transparent 0 35%,#a76c49 35% 65%,transparent 65%),repeating-linear-gradient(0deg,transparent 0 4px,#bd8a61 4px 6px),repeating-linear-gradient(90deg,transparent 0 4px,#42644f 4px 6px)}.twill-swatch{background-image:repeating-linear-gradient(135deg,transparent 0 4px,#bd8a61 4px 6px,transparent 6px 9px),repeating-linear-gradient(45deg,transparent 0 6px,#42644f 6px 8px)}.review-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.score{color:var(--green-dark);font:700 27px var(--mono)}.score span{font-size:12px}.review-status{font-size:12px;font-weight:650;margin-top:7px}.counts{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid #e0e1d8;margin-top:11px;padding:9px 0}.counts div{text-align:center;border-left:1px solid #e0e1d8}.counts div:first-child{border:0}.counts dt{font-size:10px;color:var(--muted)}.counts dd{font:700 16px var(--mono);margin-top:4px;color:var(--green-dark)}.issue-box{max-height:91px;overflow:auto;font-size:10px;line-height:1.65;color:#536252;margin-top:7px}.issue-box ul{margin:0;padding-left:17px}.issue-box li+li{margin-top:2px}.issue-box .break-item{color:#914e30}.worksheet{margin-top:14px;border:1px solid #c7cabb;border-radius:13px;padding:16px 20px;background:#ebe7da;display:flex;align-items:center;justify-content:space-between;gap:22px}.worksheet h2{font-size:22px}.worksheet h2 span{margin-left:5px;font:700 14px var(--mono);color:var(--rust)}.worksheet-copy>p:last-child{max-width:620px;color:var(--muted);font-size:12px;line-height:1.7;margin-top:5px}.worksheet-tools{flex:0 0 310px;text-align:right}.worksheet-actions{display:flex;justify-content:flex-end;gap:7px}.worksheet-actions button{background:var(--green-dark);border-color:var(--green-dark);color:#fbf8ef;font-size:11px}.worksheet-actions button:hover:not(:disabled){background:var(--green)}.worksheet-actions button:disabled{color:#60695d;background:#e0dfd3;border-color:#aeb5a7}.worksheet-tools #message{margin-top:6px;min-height:16px;color:#596459;font-size:10px}.notes{padding:13px 2px 19px;color:var(--muted);font-size:12px;line-height:1.8}.notes summary{width:fit-content;padding:3px 0;color:var(--ink);cursor:pointer;font-weight:650}.notes p{margin:5px 0 0}.footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:12px 0 20px;color:var(--muted);font-size:10px}@media(max-width:900px){.wrap{width:calc(100% - 44px)}.workbench{grid-template-columns:minmax(0,1fr) 270px;gap:11px}.loom-card{padding:16px 14px 12px}.card{padding-inline:13px}.worksheet{padding-inline:15px}.worksheet-tools{flex-basis:290px}}@media(max-width:700px){.wrap{width:calc(100% - 30px)}.mast-inner{min-height:60px}.intro{padding:24px 0 17px}.intro-line{align-items:flex-start}.intro-line>div:first-child>p{font-size:13px}.edition{width:77px;height:70px;padding-left:10px}.edition b{font-size:18px}.workbench{grid-template-columns:minmax(0,1fr)}.loom-card{padding:14px 13px 11px}.side-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.presets-card,.review-card{min-width:0}.presets button{gap:6px;padding-inline:6px}.swatch{width:28px;height:28px}.worksheet{align-items:flex-start;flex-direction:column;gap:12px;padding:14px}.worksheet-tools{flex:auto;text-align:left;width:100%}.worksheet-actions{justify-content:flex-start}.footer{flex-direction:column;gap:4px}}@media(max-width:460px){.wrap{width:calc(100% - 24px)}.intro h1{font-size:clamp(27px,7vw,34px)}.intro-line{gap:8px}.intro-line>div:first-child>p{font-size:12px;line-height:1.7}.edition{width:66px;font-size:9px}.edition b{font-size:16px}.mast-inner>p{font-size:10px}.panel-head h2{font-size:19px}.loom-card{padding-inline:9px}.legend-mini{gap:3px;font-size:9px}.legend-mini i{width:12px;margin-left:2px}.loom-foot{font-size:10px}.loom-foot>p:last-child{font-size:9px}.loom-actions button{min-height:37px;padding-inline:7px;font-size:10px}.side-panel{grid-template-columns:minmax(0,1fr)}.presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.presets button{flex-direction:column;align-items:flex-start;justify-content:center;min-height:73px;gap:3px;padding:5px}.presets b{font-size:10px}.presets small{font-size:9px;line-height:1.35}.score{font-size:24px}.worksheet h2{font-size:19px}.worksheet-copy>p:last-child{font-size:11px}.worksheet-actions button{flex:1;padding-inline:6px;font-size:10px}.worksheet-tools #message{font-size:10px}}@media(max-width:335px){.wrap{width:calc(100% - 20px)}.loom-card{padding-inline:7px}.loom-actions{align-items:flex-start}.action-set{gap:4px}.loom-actions button{padding-inline:5px;font-size:9px}.loom-foot>p:last-child{max-width:148px;text-align:right}.panel-head{align-items:flex-start}.legend-mini{padding-top:9px}}
