:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;color:#213d43;background:#f2f6f7;font-synthesis:none;font-size:16px}*{box-sizing:border-box}body{margin:0}button{font:inherit;color:inherit;cursor:pointer;border:1px solid #d5e0e3;background:white;border-radius:9px;min-height:44px;padding:9px 12px;transition:background .15s,box-shadow .15s;touch-action:manipulation}button:hover:not(:disabled){border-color:#0b887c;background:#effaf8}button:focus-visible,[role=button]:focus-visible{outline:3px solid #faad38;outline-offset:3px}button:disabled{cursor:not-allowed;color:#9ba9ad;background:#f4f6f7;border-color:#e4e9eb}button.active{background:#e4f5f1;border-color:#07877c;color:#066b64;box-shadow:inset 0 0 0 1px #07877c}header{max-width:1420px;margin:auto;padding:25px 36px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:13px}.logo{background:#09877c;color:white;font-size:32px;display:grid;place-items:center;width:50px;height:50px;border-radius:14px}h1{font-size:23px;letter-spacing:.04em;margin:0}header p{font-size:13px;margin:5px 0 0;color:#70878c}.edition{font-size:13px;color:#678187;background:#e5edef;padding:8px 14px;border-radius:30px}main{max-width:1420px;margin:0 auto;padding:0 36px 24px;display:grid;grid-template-columns:324px minmax(0,1fr);gap:24px}.controls,.workspace{background:white;border:1px solid #dfe8eb;border-radius:17px}.controls{padding:22px}.controls section+section{border-top:1px solid #e8eef0;margin-top:20px;padding-top:18px}h2{font-size:16px;margin:0 0 14px;font-weight:650;display:flex;align-items:center;gap:9px}h2 b{font-size:12px;width:23px;height:23px;border-radius:7px;display:inline-grid;place-items:center;background:#e6f3f1;color:#087f74}.hint{font-size:12px;line-height:1.65;color:#6c8187;margin:8px 0 10px}.choices{display:flex;gap:7px}.choices button{flex:1;min-width:0;font-size:13px;padding:8px 5px}.shapes button{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:13px}.shapes svg{width:34px;height:34px}.edges button{font-size:14px;padding:8px 0}.controls label{font-size:12px;color:#6c8187;display:block;margin:13px 0 7px}.patterns{display:grid;grid-template-columns:repeat(4,1fr)}.patterns svg{width:48px;height:32px;display:block;margin:auto}.patterns button{font-size:12px}.methods{display:grid;gap:7px}.methods button{text-align:left;font-size:14px}.methods button span{display:inline-block;font-size:20px;width:30px;vertical-align:middle}.workspace{overflow:hidden;align-self:start}.canvasbar{padding:22px 27px 15px;display:flex;justify-content:space-between;align-items:center}.eyebrow{font-size:10px;letter-spacing:.16em;color:#7a9298;font-weight:700}.canvasbar h2{font-size:18px;margin:7px 0 0}.badge{font-size:12px;background:#eff5f6;padding:7px 10px;border-radius:20px;white-space:nowrap}.canvas{position:relative;background-color:#fff;background-image:radial-gradient(#dfe8eb .9px,transparent .9px);background-size:20px 20px;margin:0 20px;border:1px solid #edf1f2;border-radius:12px;height:450px}.canvas.black{background-color:#101719;background-image:radial-gradient(#26363b .9px,transparent .9px)}#drawing{width:100%;height:100%;overflow:visible}.legend{position:absolute;bottom:13px;left:0;right:0;display:flex;justify-content:center;gap:20px;font-size:11px;pointer-events:none;color:#6a8086}.black .legend{color:#c5d6db}.legend span{display:flex;gap:5px;align-items:center}.legend i{width:10px;height:10px;border-radius:3px}.cutkey{background:#efa844}.destkey{background:#3c9fde}.stage{margin:18px 26px 0;display:flex;align-items:center;gap:12px}.stage-number{width:32px;height:32px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;color:white;background:#09877c;font-size:14px}.stage strong{font-size:15px}.stage p{font-size:13px;color:#698187;margin:5px 0 0;line-height:1.6}.destinations{display:flex;flex-wrap:wrap;gap:6px;margin:12px 26px}.destinations button{font-size:12px;border-color:#afd6ef;color:#1779b3;min-height:38px}.toolbar{border-top:1px solid #e7edef;margin:18px 26px 0;padding-top:15px;display:flex;justify-content:space-between;gap:8px}.toolbar>div{display:flex;gap:7px}.toolbar button{font-size:12px;min-height:40px}.reset{border:none;color:#7e8d92;background:transparent}.export{margin:20px 26px 0;padding-top:20px;border-top:1px solid #e7edef;display:flex;justify-content:space-between;gap:16px;align-items:center}.export h2{font-size:14px;margin-bottom:12px}.background-control{display:flex;align-items:center;gap:7px;font-size:12px}.background-control button{font-size:12px;min-height:36px;display:flex;align-items:center;gap:6px}.swatch{width:13px;height:13px;border:1px solid #adbcc1;border-radius:3px}.swatch.white{background:white}.swatch.black{background:black}.export-actions{display:flex;gap:7px;align-items:center}.export-actions button{font-size:13px}.primary{background:#09877c;color:white;border-color:#09877c}.primary:hover:not(:disabled){background:#056c63;color:white}.footnote{margin:19px 26px;font-size:11px;color:#819399}svg .edge-hit{cursor:pointer}svg text{font-family:inherit;user-select:none}.candidate{cursor:pointer}.candidate:hover .candidate-fill,.candidate:focus .candidate-fill{fill:#73c9ff;fill-opacity:.8}.edge-hit:hover{stroke-opacity:.2}dialog{border:1px solid #d5e0e3;border-radius:16px;padding:25px;max-width:420px;width:90%;color:#213d43}dialog::backdrop{background:#16343e66}dialog p{font-size:14px;line-height:1.8}dialog>div{display:flex;justify-content:flex-end;gap:8px}@media(min-width:1200px){.canvas{height:475px}}@media(max-width:1000px){header{padding:22px}main{padding:0 20px 22px;gap:16px;grid-template-columns:290px minmax(0,1fr)}.controls{padding:17px}.canvas{height:400px;margin:0 12px}.canvasbar{padding:20px}.export{align-items:flex-start;flex-direction:column}.export-actions{width:100%}.export-actions button{flex:1}.toolbar{margin-left:16px;margin-right:16px;flex-wrap:wrap}}@media(max-width:700px){header{padding:17px 16px}h1{font-size:19px}header p{font-size:11px}.edition{display:none}main{padding:0 12px 20px;display:flex;flex-direction:column;gap:14px}.controls{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:16px}.controls section+section{margin:0;padding:0;border:0}.controls section:nth-child(n+3){border-top:1px solid #e8eef0;padding-top:14px}.controls h2{font-size:13px;gap:6px}.controls h2 b{width:20px;height:20px}.patterns{grid-template-columns:1fr 1fr}.shapes button{font-size:11px}.methods button{font-size:12px;padding:8px}.methods button span{width:23px}.canvas{height:360px}.workspace{width:100%}.export{flex-direction:row;flex-wrap:wrap}.canvasbar h2{font-size:16px}.stage{margin:16px}.destinations{margin:12px 16px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.tile-color-control{margin-bottom:14px;font-size:12px}.tile-colors{display:flex;flex-wrap:wrap;gap:3px;margin-top:5px}.tile-colors button{display:grid;place-items:center;width:36px;min-height:40px;padding:4px;border-color:transparent;border-radius:50%}.tile-colors button i{display:block;width:23px;height:23px;border-radius:50%;border:1px solid #718a91}.tile-colors button.active{background:#e4f5f1;border-color:#07877c}.export{flex-wrap:wrap}.export-actions{flex-wrap:wrap}.methods{grid-template-columns:1fr 1fr}.methods button{padding:8px;font-size:13px;text-align:center}.methods button span{display:block;margin:auto}.canvas.black{background-color:#000}.legend{transition:opacity .15s}
