.cw{--cw-floor:color-mix(in srgb, var(--ink) 27%, var(--surface));--cw-floor-on:color-mix(in srgb, var(--ink) 35%, var(--surface));--cw-floor-report:color-mix(in srgb, var(--report) 28%, var(--cw-floor));--cw-face-x:color-mix(in srgb, var(--ink) 56%, var(--surface));--cw-face-y:color-mix(in srgb, var(--ink) 44%, var(--surface));--cw-top:color-mix(in srgb, var(--ink) 94%, var(--surface));--cw-dark:color-mix(in srgb, var(--bg) 82%, var(--ink));background:var(--surface);flex:1;min-height:0;position:relative;overflow:hidden}.cw svg{touch-action:var(--hand-ta,pan-y);display:block;position:absolute;inset:0}.cw[data-press] svg{cursor:crosshair}.cw text{font-family:var(--f-data)}.cw-slab{fill:var(--cw-floor)}.cw-floor{fill:var(--cw-floor);stroke:none;transition:fill .2s ease-out}.cw-floor[data-report]{fill:var(--cw-floor-report)}.cw-floor[data-on]:not([data-report]),.cw-riser-floor{fill:var(--cw-floor-on)}.cw-tread path{stroke:color-mix(in srgb, var(--bg) 55%, transparent);stroke-width:1.2px}.cw-ruler path{stroke:color-mix(in srgb, var(--ink) 45%, transparent);stroke-width:1px;fill:none}.cw-gridline path{stroke:color-mix(in srgb, var(--bg) 40%, transparent);stroke-width:1px;stroke-dasharray:4 4;fill:none}.cw-wall{fill:var(--cw-face-x);stroke:var(--cw-face-x);stroke-width:.6px;stroke-linejoin:round}.cw-wall[data-dir=y]{fill:var(--cw-face-y);stroke:var(--cw-face-y)}.cw-top{fill:var(--cw-top);stroke:var(--cw-top);stroke-width:.6px;stroke-linejoin:round}.cw-pane path{fill:color-mix(in srgb, var(--ink) 30%, transparent);stroke:var(--ink);stroke-width:1.3px;stroke-linejoin:round}.cw-pane .cw-mullion{fill:none;stroke-width:1px}.cw-pane[data-on] path{fill:color-mix(in srgb, var(--ink) 55%, transparent);stroke-width:2px}.cw-leaf{fill:var(--cw-dark);stroke:color-mix(in srgb, var(--ink) 85%, transparent);stroke-width:1.3px;stroke-linejoin:round}.cw-leaf[data-ext]{stroke:var(--ink);stroke-width:2px}.cw-arc{fill:none;stroke:color-mix(in srgb, var(--ink) 80%, transparent);stroke-width:1.3px;stroke-dasharray:4 3}.cw-arc[data-ext]{stroke:var(--ink);stroke-width:1.8px}.cw-leaf[data-on],.cw-arc[data-on]{stroke:var(--ink);stroke-width:2.4px}.cw-hatch-line{stroke:var(--haz);stroke-width:2px}.cw-hatch-line-out{stroke:color-mix(in srgb, var(--haz) 45%, transparent);stroke-width:1.2px}.cw-view-fill{fill:url(#cw-hatch);stroke:none}.cw-view>g:last-child .cw-view-edge{fill:color-mix(in srgb, var(--haz) 22%, transparent);stroke:var(--haz);stroke-width:2px;stroke-dasharray:6 4}.cw-view-out .cw-view-fill{fill:url(#cw-hatch-out)}.cw-view-out .cw-view-edge{fill:color-mix(in srgb, var(--haz) 5%, transparent);stroke:color-mix(in srgb, var(--haz) 55%, transparent);stroke-width:1.2px;stroke-dasharray:3 5}.cw-view[data-on]>g:last-child .cw-view-edge{stroke-width:3px}.cw-view-word text{fill:var(--haz);font-family:var(--f-sign);text-transform:uppercase;letter-spacing:.08em;paint-order:stroke;stroke:var(--bg);stroke-width:4px;stroke-linejoin:round;font-weight:800}.cw-trail{fill:none;stroke:color-mix(in srgb, var(--report) 70%, transparent);stroke-width:1.5px;stroke-dasharray:3 5}.cw-old circle{fill:var(--bg);stroke:color-mix(in srgb, var(--report) 75%, transparent);stroke-width:1.5px}.cw-old text{fill:var(--ink);font-size:11px;font-weight:700}.cw-post circle{fill:var(--bg);stroke:var(--ink);stroke-width:1.6px}.cw-post .cw-post-dot{fill:var(--ink);stroke:none}.cw-mark path{fill:var(--bg);stroke:var(--ink);stroke-width:2px;stroke-linejoin:round}.cw-mark text{fill:var(--ink);font-size:15px;font-weight:700}.cw-lead{fill:none;stroke:color-mix(in srgb, var(--ink) 80%, transparent);stroke-width:1px}.cw-lead-last{stroke:var(--report);stroke-width:1.5px}.cw-room text{fill:var(--ink);font-family:var(--f-sign);text-transform:uppercase;letter-spacing:.05em;paint-order:stroke;stroke:var(--cw-floor);stroke-width:4px;stroke-linejoin:round;font-weight:800}.cw-room-report text{stroke:var(--cw-floor-report)}.cw-win text{fill:var(--ink);paint-order:stroke;stroke:var(--surface);stroke-width:4px;stroke-linejoin:round;font-weight:700}.cw-grid text{fill:var(--dim);font-weight:700}.cw-side text{fill:var(--dim);font-family:var(--f-sign);text-transform:uppercase;letter-spacing:.14em;paint-order:stroke;stroke:var(--surface);stroke-width:4px;font-weight:800}.cw-pt text{fill:var(--ink);paint-order:stroke;stroke:var(--surface);stroke-width:4px;stroke-linejoin:round}.cw-door rect{fill:var(--bg);stroke:var(--ink);stroke-width:1.4px}.cw-door text{fill:var(--ink);font-family:var(--f-sign);text-transform:uppercase;letter-spacing:.05em;font-weight:800}.cw-door[data-on] rect{fill:var(--ink)}.cw-door[data-on] text{fill:var(--bg)}.cw-last rect{fill:var(--report);stroke:none}.cw-last text{fill:var(--bg);font-family:var(--f-sign);text-transform:uppercase;letter-spacing:.04em;font-weight:800}.cw-last[data-old] rect{fill:var(--dim)}.cw-lead-last[data-old]{stroke:var(--dim)}.cw-here[data-old] .cw-dot{fill:var(--dim)}.cw-here .cw-dot{fill:var(--report);stroke:var(--bg);stroke-width:2px}.cw-here .cw-core{fill:var(--bg)}.cw-pulse{fill:none;stroke:var(--report);stroke-width:2px;transform-box:fill-box;transform-origin:50%;animation:2.4s cubic-bezier(.16,1,.3,1) infinite cw-pulse}@keyframes cw-pulse{0%{opacity:.9;transform:scale(.6)}to{opacity:0;transform:scale(2.2)}}@media (prefers-reduced-motion:reduce){.cw-pulse{opacity:.5;animation:none}}.cw-pressed{fill:none;stroke:var(--ink);stroke-width:2px}.cw-seg{min-height:44px;padding:0 var(--s3);font:inherit;font-family:var(--f-sign);text-transform:uppercase;letter-spacing:.06em;color:var(--dim);background:var(--bg);border:1px solid var(--line);cursor:pointer;touch-action:manipulation;font-size:.95rem;font-weight:800}.cw-seg+.cw-seg{border-left:0}.cw-seg:first-child{border-radius:var(--r) 0 0 var(--r)}.cw-seg:last-child{border-radius:0 var(--r) var(--r) 0}.cw-seg:hover{color:var(--ink)}.cw-seg[aria-pressed=true]{background:var(--ink);color:var(--bg);border-color:var(--ink)}.cw-seg:focus-visible{outline-offset:2px;position:relative}.cw-key{gap:var(--s1) var(--s4);font-size:var(--t-data);color:var(--dim);flex-wrap:wrap;padding-left:48px;list-style:none;display:flex}.cw-key li{align-items:center;gap:var(--s2);display:inline-flex}.cw-key-sw{flex:none;width:20px;height:20px;overflow:visible}.cw-key-sw .cw-view-key{fill:color-mix(in srgb, var(--haz) 22%, transparent);stroke:var(--haz);stroke-width:1.5px;stroke-dasharray:3 2}.cw-area{fill:color-mix(in srgb, var(--ink) 8%, transparent);stroke:var(--ink);stroke-width:1.2px;stroke-dasharray:5 4}.cw-route-case{fill:none;stroke:var(--bg);stroke-width:7px;stroke-linecap:round;stroke-linejoin:round}.cw-route-line{fill:none;stroke:var(--ink);stroke-width:3.5px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 1;stroke-dashoffset:1px;animation:1.4s cubic-bezier(.16,1,.3,1) forwards cw-draw}@keyframes cw-draw{to{stroke-dashoffset:0}}@media (prefers-reduced-motion:reduce){.cw-route-line{stroke-dashoffset:0;animation:none}}.cw-route-word rect{fill:var(--bg);stroke:var(--ink);stroke-width:1.2px}.cw-route-word text{fill:var(--ink);font-weight:700}.cw-door-seen rect{stroke:var(--haz);stroke-width:2.4px}.cw-arrive{fill:none;stroke:var(--report);stroke-width:3px;transform-box:fill-box;transform-origin:50%;opacity:0;animation:1.1s cubic-bezier(.16,1,.3,1) cw-arrive}@keyframes cw-arrive{0%{opacity:1;transform:scale(.8)}to{opacity:0;transform:scale(3.4)}}@media (prefers-reduced-motion:reduce){.cw-arrive{display:none}}.cw-dot-letter{fill:var(--bg);font-family:var(--f-sign);font-weight:800}.cw-still{stroke-dashoffset:0;animation:none}.cw-feat{color:var(--ink)}.cw-feat rect{fill:var(--bg);stroke:color-mix(in srgb, var(--ink) 50%, transparent);stroke-width:1px}.cw-feat[data-on] rect{stroke:var(--ink);stroke-width:2px}.cw-key-sw .cw-feat rect{stroke:none}.cw{touch-action:var(--hand-ta,pan-y)}.cw svg{cursor:grab;touch-action:var(--hand-ta,pan-y)}.cw svg:active{cursor:grabbing}.cw-reset{left:64px;bottom:var(--s2);z-index:1;border-radius:var(--r);position:absolute}.cw-reset:hover{border-color:var(--ink)}.cw-centre{fill:none;stroke:var(--ink);stroke-width:1.5px;opacity:.7;pointer-events:none}.cw svg:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.hand-hint{z-index:3;max-width:calc(100% - 2 * var(--gutter));padding:var(--s2) var(--s4);background:var(--ink);color:var(--bg);font-family:var(--f-sign);text-transform:uppercase;letter-spacing:.04em;text-align:center;border-radius:var(--r);pointer-events:none;opacity:0;font-size:1.15rem;font-weight:800;transition:opacity .15s ease-out;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.hand-hint[data-on]{opacity:1}@media (prefers-reduced-motion:reduce){.hand-hint{transition:none}}
