
:root{--ink:#14252b;--night:#101e28;--card:#f8f7f2;--paper:#f0eee7;--muted:#7a817f;--hair:#d8d9d1;--gold:#d6a656;--red:#b14b54;--white:#fffefa;--shadow:0 12px 44px rgba(13,27,32,.08)}*{box-sizing:border-box}html{scroll-behaviour:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #4ba8be;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}.shell{max-width:1880px;margin:auto;padding:0 32px}.topbar{height:75px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ced1cb}.brand{display:flex;align-items:center;gap:11px}.brandmark{display:flex;align-items:center;justify-content:center;border-radius:9px;width:38px;height:38px;color:#fff;background:#162831;font-size:27px;font-weight:800;letter-spacing:-5px;padding-right:5px}.brandmark span{color:var(--gold)}.brandtext{font:800 15px/1 'Manrope',sans-serif;letter-spacing:-.9px}.brandtext span{color:#ad6b44}.brandtext small{display:block;font-size:7px;letter-spacing:2.3px;margin-top:6px;color:#7b8884}.top-centre{display:flex;align-items:center;gap:16px;letter-spacing:2.7px;color:#687771;font-size:10px;font-weight:700}.mini-rule{width:21px;height:1px;background:#a6aaa4}.top-actions{display:flex;align-items:center;gap:12px}.location-tag{font-size:9px;letter-spacing:1.65px;font-weight:800;margin-right:13px}.location-tag i{display:inline-block;width:3px;height:3px;background:var(--red);border-radius:50%;vertical-align:middle;margin:0 7px}.iconbtn{width:35px;height:35px;border:1px solid #cfd3cd;background:#f8f8f3;border-radius:50%;display:grid;place-items:center;color:#334744;font-weight:800}.iconbtn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.iconbtn.muted svg{opacity:.4}.editorial-bar{height:36px;display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.6px;font-weight:700;color:#87908b;border-bottom:1px solid #dcded8}.editorial-bar b{color:#67726e}.editorial-bar i{color:#bb5b5f;font-style:normal;padding:0 9px}.hero{padding:26px 1px 25px}.hero-eyebrow{display:flex;align-items:center;gap:12px;font-size:9px;font-weight:800;letter-spacing:2.3px;color:#ad5b59}.eyebrow-line{width:29px;height:2px;background:#ad5b59}.hero-main{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.hero h1{font:800 clamp(42px,4.75vw,80px)/.97 'Manrope',Arial,sans-serif;letter-spacing:-4.8px;margin:12px 0 12px;color:#14282b}.hero h1 em{color:var(--gold);font-style:normal;font-weight:400;padding:0 .055em}.title-star{color:#b15e52;font-size:.3em;vertical-align:top;display:inline-block;transform:translate(5px,4px);letter-spacing:0}.hero-subtitle{font-size:12px;letter-spacing:.12px;color:#707b77;margin:0}.hero-subtitle span{color:#bb8365;margin:0 6px}.issue{text-align:right;padding-bottom:2px;display:flex;flex-direction:column;gap:3px}.issue-over,.issue small{font-size:9px;letter-spacing:1.8px;font-weight:800;color:#83908b}.issue strong{font:700 23px 'Manrope',sans-serif;letter-spacing:-1px}.issue strong span{font-weight:300;color:#bb6e5d}.workspace{display:grid;grid-template-columns:minmax(248px,288px) minmax(460px,1fr) minmax(250px,290px);align-items:stretch;gap:15px}.panel{background:var(--card);border:1px solid #e0e1d9;min-width:0}.left-panel{padding:22px 22px 16px}.section-head{display:flex;align-items:center;gap:8px;border-bottom:1px solid #dfe1d8;padding-bottom:16px}.section-number{font-size:10px;font-weight:800;color:#bf785e}.section-head h2{font-size:10px;letter-spacing:1.7px;margin:0;font-weight:800;white-space:nowrap}.section-icon{margin-left:auto;color:#a0a69d;font-size:18px}.brief{padding:17px 14px 14px;background:#eae9df;margin-top:16px;border-left:2px solid var(--gold)}.brief-label{font-size:9px;letter-spacing:1.65px;font-weight:800;color:#a56e46}.brief h3{font-family:'Manrope',sans-serif;font-size:19px;letter-spacing:-.7px;margin:7px 0 9px}.brief p{font-size:11px;line-height:1.68;color:#5b6765;margin:0}.brief p b{color:#243b3c}.brief-goal{display:flex;align-items:start;gap:9px;margin-top:15px;border-top:1px solid #d6d7cd;padding-top:11px}.goal-star{font-size:20px;color:#b27752;line-height:1}.brief-goal span:last-child{font-size:9px;line-height:1.55;letter-spacing:.45px;color:#63706a;font-weight:700}.brief-goal b{color:#a55850}.control-block{margin-top:23px}.control-title{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:1.15px;font-weight:800}.control-title>span{font-size:10px;color:#ba7860}.why{margin-left:auto;width:18px;height:18px;padding:0;border:1px solid #c8d0c9;border-radius:50%;background:transparent;font-size:10px;font-weight:800;color:#62736a}.segmented{display:flex;background:#e8e8e1;border:1px solid #e4e4dc;border-radius:6px;padding:4px;margin-top:11px;gap:4px}.seg{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:34px;border:0;background:transparent;color:#747d77;font-weight:800;font-size:10px;border-radius:4px;white-space:nowrap}.seg.active{background:#fffefa;color:#182e2d;box-shadow:0 2px 7px #0d273012}.seg kbd,.actions kbd{font:700 9px 'DM Sans',sans-serif;letter-spacing:0;color:#9daca5;background:#f0f1ec;border-radius:3px;padding:3px 5px}.control-hint{font-size:10px;line-height:1.55;color:#75817a;margin:9px 0 0;min-height:27px}.swatches{display:flex;justify-content:space-between;gap:5px;margin-top:12px}.swatch{position:relative;width:33px;height:33px;border-radius:50%;border:3px solid var(--card);box-shadow:0 0 0 1px #cdd0c6;transition:transform .2s,box-shadow .2s;flex:0 0 auto}.swatch:hover{transform:translateY(-2px)}.swatch.active{box-shadow:0 0 0 2px #233e3f,0 0 0 5px var(--card)}.swatch.active::after{content:'✓';display:grid;place-items:center;color:white;text-shadow:0 1px 2px #2228;font-size:13px}.chosen-yarn{display:flex;justify-content:space-between;margin-top:14px;font-size:9px;font-weight:700;letter-spacing:1px;color:#8b938a}.chosen-yarn strong{color:#2e4541;letter-spacing:0;font-size:11px}.tension-block{margin-top:23px}.range-info{display:flex;justify-content:space-between;align-items:center;margin:13px 0 3px}.range-info span{font-size:8px;letter-spacing:1px;color:#949d94;font-weight:800}.range-info strong{font-size:20px;font-family:'Manrope',sans-serif}input[type=range]{width:100%;height:5px;accent-color:#b46b52;cursor:pointer;margin:8px 0 2px}.optimum{font-size:8px;letter-spacing:.8px;color:#8c988c;margin-top:9px;font-weight:700;white-space:nowrap}.optimum-line{display:inline-block;width:18px;height:4px;background:#9da888;vertical-align:middle;margin-right:4px}.optimum b{color:#61755b}.actions{display:grid;gap:8px;margin-top:25px}.actions button{min-height:48px;border-radius:4px;font-size:11px;letter-spacing:1.15px;font-weight:800;display:flex;align-items:center;padding:0 13px;gap:10px}.action-primary{background:#132b31;color:#fff;border:1px solid #132b31}.action-primary:hover:not(:disabled){background:#26444b}.action-primary kbd{margin-left:auto;background:#29434a;color:#acbec0}.action-secondary{background:#f8f8f4;color:#26383c;border:1px solid #c9d2c8}.action-secondary:hover:not(:disabled){background:#ebece3}.action-secondary kbd{margin-left:auto}.button-icon{font-size:23px;line-height:1;font-weight:400}.small-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;margin-top:15px}.small-actions button{background:transparent;border:1px solid #dadfd5;padding:10px 2px;border-radius:4px;font-size:15px;color:#53605c}.small-actions button span{font-size:9px;white-space:nowrap;font-weight:700}.small-actions button:hover{background:#eff0e9}.visual-column{display:flex;flex-direction:column;min-width:0}.stage{position:relative;background:#101f28;min-height:465px;flex:1;overflow:hidden}.scene-mount{position:absolute;inset:0;overflow:hidden}.scene-mount canvas{width:100%;height:100%;display:block;touch-action:none;outline:none}.scene-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(9,28,36,.53),transparent 20%,transparent 70%,rgba(9,28,36,.5));z-index:2}.stage-toolbar{position:absolute;z-index:4;top:19px;left:20px;right:20px;display:flex;justify-content:space-between;color:#e5e9e4;align-items:center;font-size:10px;font-weight:800;letter-spacing:1.55px;pointer-events:none}.stage-toolbar>div{display:flex;align-items:center;gap:9px}.stage-toolbar small{font-size:8px;letter-spacing:1.15px;color:#bdc5bf;margin-left:9px;font-weight:700}.live-pip{width:7px;height:7px;background:#98c9ad;box-shadow:0 0 0 4px #98c9ad24;border-radius:50%}.stage-tool{pointer-events:auto;border:1px solid #d9e4dd64;color:#f9fffa;background:#1c343a81;width:33px;height:32px;font-size:19px;border-radius:4px}.stage-tool:hover{background:#395157}.stage-hud{position:absolute;z-index:4;bottom:62px;left:20px;max-width:450px;border-left:2px solid #f2b05f;background:#0a202bba;backdrop-filter:blur(8px);padding:9px 11px;color:#eee9db;font-size:11px;line-height:1.4;pointer-events:none}.scene-caption{display:flex;justify-content:space-between;align-items:center;position:absolute;z-index:4;bottom:17px;left:20px;right:20px;font-size:9px;font-weight:800;letter-spacing:1.3px;color:#e6e6d9;pointer-events:none}.caption-line{display:inline-block;width:27px;background:#e3b96e;height:1px;vertical-align:middle;margin-right:8px}.scene-caption-right{color:#c3cdc9}.scene-caption-right i{font-style:normal;color:#e5b77d;margin:0 3px}.scene-float{position:absolute;z-index:3;color:#e5e7df8a;font-size:9px;font-weight:700;letter-spacing:1.5px;pointer-events:none}.scene-float.top-left{top:75px;left:22px;line-height:1.6}.scene-float.top-left b{color:#f5f0dfb7}.scene-float.bottom-right{bottom:78px;right:17px;text-align:right;font-size:8px}.float-cross{display:block;font-size:20px;margin-bottom:7px}.camera-bar{background:#e6e7de;display:flex;align-items:center;justify-content:space-between;gap:5px;border:1px solid #daddd4;border-top:none;padding:10px 12px}.camera-lead{font-size:9px;letter-spacing:1.5px;font-weight:800;color:#78807a;white-space:nowrap}.camera-lead span{color:#b4775b}.camera-buttons{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}.camera-preset{border:1px solid transparent;background:transparent;color:#8a9089;font-size:10px;padding:7px 10px;border-radius:4px}.camera-preset b{font-size:10px;color:#65736b;margin-left:4px}.camera-preset:hover,.camera-preset.active{background:#fffefa;border-color:#d8ddd4;color:#b06a51}.camera-preset.active b{color:#1b3636}.facts{display:grid;grid-template-columns:1fr 1.2fr 1.45fr;background:#e9eae2;border:1px solid #dadcd3;border-top:0}.facts div{padding:11px 13px;min-width:0;border-right:1px solid #d8dad2}.facts div:last-child{border-right:0}.facts span{display:block;font-size:8px;letter-spacing:1.2px;color:#a1a69d;font-weight:800;margin-bottom:4px}.facts strong{font-size:9px;line-height:1.5;color:#52625d;letter-spacing:.2px}.right-panel{padding:22px 20px 16px}.score-hero{margin-top:16px;display:flex;justify-content:space-between;align-items:center}.score-hero>div:first-child>span{font-size:9px;letter-spacing:1.3px;font-weight:800;color:#a06d53}.score-line{display:flex;align-items:baseline;gap:5px;margin:1px 0 0}.score-line strong{font:800 56px/.95 'Manrope',sans-serif;letter-spacing:-4px;color:#203b3b}.score-line span{font-size:12px;color:#9aa49a;font-weight:700}.score-caption{font-size:10px;color:#859188;line-height:1.4;max-width:156px;margin-top:9px}.score-seal{width:76px;color:#cb8d62;opacity:.85}.score-seal svg{display:block;width:100%}.data-row{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:22px}.data-row>div{border:1px solid #dcded6;background:#efefe8;padding:12px 11px}.data-row span{font-size:8px;letter-spacing:1.2px;font-weight:800;color:#8b978d;display:block}.data-row strong{display:block;margin-top:10px;font-size:23px;line-height:1;font-family:'Manrope',sans-serif;letter-spacing:-1px}.data-row small{font-size:11px;color:#adb5ac;letter-spacing:0}.plan-block{margin-top:22px}.row-label{display:flex;justify-content:space-between;align-items:center;gap:5px}.row-label h3{font-size:10px;letter-spacing:1.13px;margin:0;font-weight:800}.row-label>span{font-size:8px;letter-spacing:1px;color:#9eaaa0;font-weight:800;white-space:nowrap}.plan-intro{font-size:10px;line-height:1.55;color:#829086;margin:7px 0 11px}.sequence-grid{display:grid;grid-template-columns:repeat(9,1fr);gap:4px}.sequence-cell{height:27px;border-radius:2px;position:relative;border:2px solid transparent;outline:none}.sequence-cell.current{border-color:#2b3432;box-shadow:0 0 0 2px white inset}.sequence-cell.current:after{content:'';position:absolute;bottom:-6px;left:calc(50% - 3px);border-left:3px solid transparent;border-right:3px solid transparent;border-bottom:4px solid #182c31;transform:rotate(180deg)}.sequence-cell.done{opacity:.57}.sequence-cell.mistake::before{content:'×';position:absolute;top:1px;right:3px;color:#fff;font-size:14px;font-weight:800;text-shadow:0 1px 2px #000}.sequence-legend{display:flex;gap:20px;margin-top:13px;color:#8a968f;font-size:8px;letter-spacing:.65px;font-weight:800}.sq{display:inline-block;width:10px;height:10px;vertical-align:middle;margin-right:5px}.sq.current{border:2px solid #273a35}.sq.completed{background:#d3d7cd}.woven-block{margin-top:24px}.weave-preview{margin-top:10px;height:117px;border:7px solid #ecece4;background:#e9e8db;box-shadow:inset 0 2px 8px #22342c17;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.weave-preview canvas{width:100%;height:100%;object-fit:fill;display:block}.empty-cloth{text-align:center;color:#b6b8ac}.empty-cloth span{display:block;font-size:27px}.empty-cloth p{font-size:8px;letter-spacing:1.8px;font-weight:800;line-height:1.6}.status-panel{display:flex;align-items:flex-start;gap:11px;background:#e9e9de;border:1px solid #dfe1d6;margin-top:18px;padding:12px 10px;min-height:79px}.status-panel.error{background:#f6e6dd;border-color:#e6c6b4}.status-panel.success{background:#e2ebe2;border-color:#b9d0ba}.status-glyph{font-size:21px;color:#ba7857;line-height:1}.status-panel strong{font-size:11px}.status-panel p{font-size:10px;line-height:1.5;color:#738077;margin:4px 0 0}.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}.result-actions button{border:1px solid #cdd5ca;background:transparent;padding:11px 5px;font-size:9px;letter-spacing:1px;font-weight:800;color:#425b54}.result-actions button:hover{background:#eaece5}.footer{padding:21px 2px 25px;display:flex;justify-content:space-between;gap:20px;align-items:center}.footer>div:first-child{display:flex;align-items:center;gap:12px}.footer-mark{display:grid;place-items:center;width:33px;height:33px;background:#1b3539;color:#f2d3a1;font-size:11px;font-weight:800}.footer>div:first-child>span:last-child{font-size:8px;color:#9b9f96;letter-spacing:.6px;line-height:1.7}.footer b{color:#788278;font-weight:800}.footer-links{display:flex;gap:26px;align-items:center}.footer-links button{border:0;background:transparent;color:#9a624f;font-size:9px;letter-spacing:1px;font-weight:800}.footer-links span{color:#a2a59b;font-size:8px;letter-spacing:1px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#132f35;color:#f4f2e8;padding:11px 17px;font-size:12px;border-radius:5px;opacity:0;pointer-events:none;transition:transform .23s,opacity .23s;z-index:30;box-shadow:0 7px 30px #0004;text-align:center;max-width:92vw}.toast.visible{opacity:1;transform:translate(-50%,0)}.info-modal{width:min(580px,calc(100vw - 30px));max-height:min(92vh,800px);border:1px solid #d4d8cf;border-radius:3px;padding:0;background:#f7f7ef;color:#1b3538;box-shadow:0 30px 100px #0619197a}.info-modal::backdrop{background:#071b22b9;backdrop-filter:blur(4px)}.modal-head{padding:17px 24px;background:#1c3439;color:#f4f1e7;display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:800;letter-spacing:1.9px}.modal-head b{color:#e4b46d;font-weight:700}.modal-close{border:1px solid #879a98;border-radius:50%;background:transparent;color:#fff;width:27px;height:27px;font-size:19px;line-height:1}.info-modal #modalContent{padding:21px 26px 6px;line-height:1.6;overflow-y:auto;max-height:65vh}.info-modal h2{font:800 28px/1.1 'Manrope';letter-spacing:-1.4px;margin:4px 0 17px}.info-modal h3{font-size:11px;letter-spacing:1px;color:#ac7853;margin:18px 0 5px}.info-modal p,.info-modal li{font-size:12px;line-height:1.75;color:#5b6966}.info-modal a{text-decoration:underline;text-underline-offset:3px;color:#945f4f}.info-modal ul{padding-left:21px}.info-modal small{font-size:10px;color:#83918c}.modal-done{margin:16px 26px 22px;padding:12px 18px;background:#203b3d;color:#fff;font-size:10px;letter-spacing:1.1px;border:none;font-weight:800}.stage:fullscreen{width:100vw;height:100vh;min-height:100vh}.stage:fullscreen .scene-mount{height:100%}
@media(min-width:1550px){.workspace{grid-template-columns:minmax(280px,315px) minmax(520px,1fr) minmax(285px,320px)}.stage{min-height:540px}.left-panel,.right-panel{padding-left:25px;padding-right:25px}.brief p{font-size:12px}.hero h1{font-size:76px}}
@media(max-width:1180px){.shell{padding:0 18px}.workspace{grid-template-columns:252px minmax(350px,1fr) 245px;gap:10px}.left-panel,.right-panel{padding:16px 13px}.hero h1{font-size:51px}.stage{min-height:470px}.camera-bar{flex-wrap:wrap}.camera-buttons{width:100%;justify-content:space-between}.camera-preset{padding:5px 7px;font-size:9px}.camera-preset b{font-size:9px}.facts{grid-template-columns:1fr 1fr}.facts div:last-child{grid-column:1/-1;border-top:1px solid #d8dad2}.swatch{height:29px;width:29px}}
@media(max-width:920px){.shell{padding:0 16px}.top-centre{display:none}.workspace{grid-template-columns:minmax(235px,36%) 1fr;gap:10px}.left-panel{grid-column:1;grid-row:1 / span 2}.visual-column{grid-column:2;grid-row:1}.right-panel{grid-column:2;grid-row:2}.stage{min-height:410px}.hero{padding:20px 0}.hero h1{font-size:50px}.right-panel{display:grid;grid-template-columns:1fr 1fr;gap:10px}.right-panel>.section-head{grid-column:1/-1}.right-panel .score-hero,.right-panel .data-row,.right-panel .plan-block,.right-panel .woven-block,.right-panel .status-panel,.right-panel .result-actions{margin-top:0}.right-panel .score-hero{grid-column:1}.right-panel .data-row{grid-column:2}.right-panel .plan-block,.right-panel .woven-block{grid-column:1/-1}.right-panel .status-panel{grid-column:1}.right-panel .result-actions{grid-column:2;align-content:center}.weave-preview{height:115px}}
@media(max-width:650px){.shell{padding:0 11px}.topbar{height:59px}.brandmark{height:34px;width:34px}.brandtext{font-size:12px}.brandtext small{font-size:6px}.location-tag{font-size:8px;letter-spacing:.5px;margin-right:3px}.top-actions{gap:7px}.iconbtn{width:30px;height:30px}.editorial-bar{font-size:8px;letter-spacing:.45px;height:32px}.editorial-bar span:first-child{display:none}.hero{padding:18px 2px}.hero h1{font-size:clamp(36px,9.7vw,55px);letter-spacing:-3px;margin:11px 0}.hero-subtitle{font-size:11px;line-height:1.5;max-width:310px}.hero-eyebrow{font-size:8px}.issue{display:none}.workspace{grid-template-columns:1fr;gap:10px}.visual-column{grid-column:1;grid-row:1}.left-panel{grid-column:1;grid-row:2}.right-panel{grid-column:1;grid-row:3}.stage{min-height:350px}.scene-caption{font-size:8px;left:12px;right:12px}.scene-caption-right{display:none}.stage-hud{bottom:53px;left:12px;right:12px;font-size:10px}.stage-toolbar{top:13px;left:12px;right:12px;font-size:9px}.scene-float.top-left{top:64px;left:12px}.scene-float.bottom-right{display:none}.camera-bar{padding:7px}.camera-lead{font-size:8px}.camera-buttons{flex-wrap:nowrap;justify-content:flex-end;gap:2px}.camera-preset{padding:6px 5px;font-size:8px}.camera-preset b{display:none}.camera-lead{width:auto}.facts span{font-size:7px}.facts strong{font-size:8px}.left-panel,.right-panel{padding:16px}.left-panel .control-block{margin-top:18px}.left-panel .brief{margin-top:12px}.right-panel{display:block}.right-panel .data-row,.right-panel .plan-block,.right-panel .woven-block,.right-panel .status-panel,.right-panel .result-actions{margin-top:16px}.swatches{max-width:340px}.swatch{width:35px;height:35px}.footer{padding:17px 0;align-items:start;flex-direction:column;gap:9px}.footer-links{width:100%;justify-content:space-between}.section-head{padding-bottom:10px}}
@media(max-width:370px){.editorial-bar span:last-child{font-size:7px}.location-tag{display:none}.stage{min-height:320px}.hero h1{font-size:37px}.camera-lead{display:none}.camera-buttons{width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behaviour:auto!important}}
