@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.static{position:static}.m-6{margin:calc(var(--spacing) * 6)}.block{display:block}.contents{display:contents}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#edf2f7;--foreground:#172b45;--surface:#fff;--surface-elevated:#f3f6fb;--border:#adbed2;--border-subtle:#cbd7e5;--muted:#455b76;--subtle:#526986;--primary:#215bba;--primary-tint:#e4edff;--primary-border:#799fdc;--button:#245fc9;--button-hover:#184dae;--on-primary:#fff;--control:#f4f7fc;--control-hover:#e7eef9;--success:#14613f;--success-tint:#e6f6ed;--success-border:#80b49a;--warning:#795008;--warning-tint:#fff4de;--warning-border:#b79049;--danger:#a72b45;--danger-tint:#fcebf0;--danger-border:#c58090;--focus:#2459ac;--shadow:#163b6818;--glow:#245fc914;--grid-dot:#cbd5df;--map-background:#f4f7fa;--map-surface:#fff;--map-foreground:#273c55;--map-muted:#50657d;--map-border:#c2cfdf;--inactive-graph:#72849c;--junction-fill:#e5ecf4;--junction-dot:#647e9d;--route:#2563eb;--route-strong:#174cb9;--route-tint:#e1ecff;--route-glow:#2563eb26;--exit-fill:#e5f7ef;--exit-strong-fill:#d7f3e5;--map-success:#14724d;--map-success-border:#409a76;--exit-glow:#20a26c20;--map-danger:#ac2c44;--map-danger-fill:#fde9ed;--map-danger-border:#c65d72;--map-danger-muted:#cf8590;--danger-glow:#cb506422;--map-halo:#f4f7fa}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#0b1423;--foreground:#f0f4fb;--surface:#142136;--surface-elevated:#192a42;--border:#4e6684;--border-subtle:#31455f;--muted:#b1c1d7;--subtle:#a1b4ce;--primary:#9fc1ff;--primary-tint:#213959;--primary-border:#648bc3;--button:#2864d7;--button-hover:#1f55c0;--on-primary:#fff;--control:#1a2b43;--control-hover:#263e5c;--success:#8ce9bd;--success-tint:#183e32;--success-border:#4b8d6c;--warning:#f4cb88;--warning-tint:#3b2e1c;--warning-border:#ac8140;--danger:#ffb1c1;--danger-tint:#492637;--danger-border:#b26a7d;--focus:#9dbaff;--shadow:#0003;--glow:#76a6ff15}*{box-sizing:border-box}body{background:var(--background);color:var(--foreground);-webkit-font-smoothing:antialiased;margin:0;font-family:Arial,Helvetica,sans-serif;font-size:14px}button,select{font:inherit}button{cursor:pointer}button:disabled,select:disabled{cursor:not-allowed;opacity:.55}button,a,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:4px}a{color:inherit;text-decoration:none}svg{flex-shrink:0}.app-shell{background:var(--background);min-height:100vh}.app-header{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:24px;min-height:92px;padding:20px 4.2%;display:flex}.brand{letter-spacing:-1.1px;align-items:center;gap:12px;font-size:25px;font-weight:750;display:flex}.brand-mark{width:44px;height:48px;color:var(--primary);background:var(--primary-tint);border:1px solid var(--border);border-radius:13px;place-items:center;display:grid}.brand-accent{color:var(--primary)}.brand small{color:var(--muted);letter-spacing:2.1px;margin-top:5px;font-size:8px;font-weight:500;display:block}.header-center{color:var(--muted);letter-spacing:1.7px;align-items:center;gap:9px;font-size:10px;display:flex}.live-dot{background:var(--success);border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.header-actions{align-items:center;gap:22px;display:flex}.local-badge{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:flex}.import-button{background:var(--button);color:var(--on-primary);border:1px solid var(--button);box-shadow:0 3px 15px var(--shadow);border-radius:8px;justify-content:center;align-items:center;gap:9px;padding:12px 18px;font-size:12px;font-weight:600;transition:background .15s;display:flex}.import-button:hover{background:var(--button-hover)}.main-content{width:min(1500px,91.6%);margin:0 auto}.page-heading{justify-content:space-between;align-items:center;gap:24px;padding:38px 0 30px;display:flex}.eyebrow{letter-spacing:1.7px;color:var(--muted);font-size:10px;font-weight:700}.heading-eyebrow{color:var(--primary);align-items:center;gap:9px;margin-bottom:12px;display:flex}.heading-eyebrow>span{background:var(--primary);width:15px;height:2px}h1{letter-spacing:-1.2px;margin:0;font-size:clamp(25px,2.45vw,37px);font-weight:600;line-height:1.2}h1>span{color:var(--muted);font-weight:400}.page-heading p{color:var(--muted);margin:12px 0 0;font-size:12px;line-height:1.6}.workspace-badge{border:1px solid var(--border);color:var(--foreground);white-space:nowrap;border-radius:7px;padding:11px 16px;font-size:11px}.workspace-badge .live-dot{margin-right:8px}.workspace-badge small{letter-spacing:1.3px;color:var(--muted);margin:6px 0 0 14px;font-size:8px;display:block}.mobile-break{display:none}.workspace-grid{grid-template-columns:minmax(0,1fr) 320px;align-items:stretch;gap:20px;display:grid}.map-panel{background:var(--map-background);min-width:0;box-shadow:0 12px 35px var(--shadow);border-radius:12px;flex-direction:column;display:flex;overflow:hidden}.map-toolbar{color:var(--map-foreground);background:var(--map-surface);border-bottom:1px solid var(--map-border);justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;display:flex}.building-title{align-items:center;gap:12px;min-width:0;display:flex}.building-title>div{min-width:0}.building-icon{border:1px solid var(--map-border);width:40px;height:40px;color:var(--map-muted);background:var(--map-background);border-radius:10px;place-items:center;display:grid}.building-title h2{overflow-wrap:anywhere;margin:0 0 5px;font-size:15px;font-weight:700}.source-file{color:var(--map-muted);overflow-wrap:anywhere;align-items:center;gap:5px;font-size:10px;display:flex}.map-mode{color:var(--map-muted);letter-spacing:1px;flex-shrink:0;align-items:center;gap:7px;font-size:9px;display:flex}.map-mode .live-dot{background:var(--map-success)}.map-canvas{background:linear-gradient(120deg, var(--map-background), var(--map-background));flex:1;align-items:center;min-height:390px;display:flex;position:relative}.building-svg{width:100%;min-width:0;height:auto;display:block}.canvas-label{letter-spacing:1.5px;color:var(--map-muted);pointer-events:none;font-size:8px;font-weight:600;position:absolute;top:18px;left:24px}.canvas-label span{color:var(--map-muted);margin:0 6px}.corridor-line{stroke:var(--inactive-graph);stroke-width:5px;stroke-linecap:round}.map-edge.active .corridor-line{stroke:var(--route);stroke-width:6px}.route-underlay{stroke:var(--route);stroke-width:18px;opacity:.1;stroke-linecap:round}.map-edge.unavailable .corridor-line{stroke:var(--map-danger-muted);stroke-dasharray:8 8;stroke-width:4px}.cost-label rect{fill:var(--map-surface);stroke:var(--map-border);stroke-width:1px}.cost-label text{fill:var(--map-muted);font-size:13px;font-weight:700}.cost-label.active rect{fill:var(--route);stroke:var(--route)}.cost-label.active text{fill:var(--on-primary)}.cost-label.unavailable rect{fill:var(--map-danger-fill);stroke:var(--map-danger-border)}.cost-label.unavailable text{fill:var(--map-danger)}.node-shape{fill:var(--map-surface);stroke:var(--inactive-graph);stroke-width:2px}.node-symbol{fill:none;stroke:var(--map-muted);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.junction .node-shape{fill:var(--junction-fill);stroke:var(--inactive-graph)}.junction-center{fill:var(--junction-dot)}.exit .node-shape{fill:var(--exit-fill);stroke:var(--map-success-border)}.exit .node-symbol{stroke:var(--map-success)}.node-label{fill:var(--map-foreground);paint-order:stroke;stroke:var(--map-halo);stroke-width:5px;stroke-linejoin:round;font-size:16px;font-weight:650}.node-caption{fill:var(--map-muted);letter-spacing:1px;paint-order:stroke;stroke:var(--map-halo);stroke-width:3px;font-size:9px;font-weight:600}.exit .node-caption{fill:var(--map-success)}.node-halo{fill:var(--route-glow);stroke:var(--route-glow);stroke-width:1px}.selected .node-shape{fill:var(--route);stroke:var(--route-strong)}.selected .node-symbol{stroke:var(--on-primary)}.selected .junction-center{fill:var(--on-primary)}.selected .node-caption,.selected .node-label{fill:var(--route-strong)}.on-route.junction:not(.selected) .node-shape{fill:var(--route-tint);stroke:var(--route)}.on-route.junction:not(.selected) .junction-center{fill:var(--route)}.destination .node-halo{fill:var(--exit-glow);stroke:var(--exit-glow)}.destination .node-shape{fill:var(--exit-strong-fill);stroke:var(--map-success);stroke-width:3px}.unavailable .node-shape{fill:var(--map-danger-fill);stroke:var(--map-danger-border)}.unavailable .node-symbol{stroke:var(--map-danger)}.unavailable .node-caption{fill:var(--map-danger)}.map-node.selectable{cursor:pointer;outline:none}.map-node.selectable:hover .node-shape{stroke:var(--route);stroke-width:3px}.map-node.selectable:focus-visible .node-shape{stroke:var(--route-strong);stroke-width:5px;stroke-dasharray:4 2}.map-footer{background:var(--map-surface);border-top:1px solid var(--map-border);color:var(--map-muted);justify-content:space-between;align-items:center;gap:12px;padding:16px 22px;font-size:10px;display:flex}.map-footer>span{align-items:center;gap:7px;display:flex}.selection-dot{background:var(--route);border-radius:50%;width:6px;height:6px}.map-footer>div{flex-wrap:wrap;gap:14px;display:flex}.map-footer .exit-count{color:var(--map-success)}.route-panel{background:var(--surface);border:1px solid var(--border-subtle);border-radius:12px;min-width:0;padding:24px}.panel-heading{justify-content:space-between;align-items:center;display:flex}.step-number{color:var(--subtle);border:1px solid var(--border);border-radius:4px;padding:4px 6px;font-size:9px}.route-panel h2{letter-spacing:-.6px;margin:15px 0 8px;font-size:23px;font-weight:600}.panel-intro{color:var(--muted);margin:0;font-size:11px;line-height:1.75}.start-control{margin-top:25px}.start-control label{color:var(--foreground);align-items:center;gap:7px;margin-bottom:10px;font-size:11px;font-weight:600;display:flex}.start-control label svg{color:var(--muted)}.start-control select{border:1px solid var(--border);background:var(--control);width:100%;color:var(--foreground);text-overflow:ellipsis;cursor:pointer;border-radius:7px;padding:12px 9px;font-size:11px}.start-control p{color:var(--muted);margin:9px 0 20px;font-size:10px}.route-result{border:1px solid var(--border);background:var(--surface-elevated);border-radius:9px;overflow:hidden}.result-status{border-bottom:1px solid var(--border);color:var(--muted);align-items:center;gap:7px;padding:12px 14px;font-size:11px;display:flex}.has-route .result-status{color:var(--success);background:var(--success-tint);border-color:var(--success-border)}.no-route .result-status{color:var(--warning);background:var(--warning-tint)}.destination-summary{padding:17px 16px 19px}.metric-label{color:var(--muted);letter-spacing:1.3px;font-size:8px;font-weight:600}.destination-summary>div{justify-content:space-between;align-items:center;gap:12px;margin:8px 0 4px;display:flex}.destination-summary h3{overflow-wrap:anywhere;margin:0;font-size:17px;font-weight:600}.destination-icon{color:var(--success)}.destination-id{color:var(--muted);overflow-wrap:anywhere;font-size:10px}.route-metrics{border-top:1px solid var(--border);grid-template-columns:1fr 1fr;padding:16px 0;display:grid}.route-metrics>div{flex-direction:column;min-width:0;padding:0 16px;display:flex}.route-metrics>div+div{border-left:1px solid var(--border)}.route-metrics strong{overflow-wrap:anywhere;margin:8px 0 5px;font-size:27px;font-weight:500;line-height:1}.route-metrics>div>span:last-child{color:var(--muted);font-size:9px}.empty-route{color:var(--subtle);padding:25px 19px}.empty-route p{color:var(--muted);margin:10px 0 0;font-size:11px;line-height:1.7}.legend{margin-top:24px}.legend h3{color:var(--foreground);margin:0 0 13px;font-size:11px;font-weight:600}.legend ul{grid-template-columns:1fr 1fr;gap:12px 8px;margin:0;padding:0;list-style:none;display:grid}.legend li{color:var(--muted);align-items:center;gap:8px;font-size:10px;display:flex}.legend li:last-child{grid-column:1/-1}.legend-symbol{border:1.5px solid var(--muted);background:var(--primary-tint);border-radius:3px;flex-shrink:0;width:12px;height:12px;display:inline-block}.legend-symbol.junction{background:var(--primary-tint);border-radius:50%}.legend-symbol.exit{border-color:var(--success);background:var(--success-tint)}.legend-symbol.active{background:var(--primary);border:0;height:3px}.legend-symbol.blocked{background:var(--danger-tint);border-color:var(--danger);position:relative}.legend-symbol.blocked:after{content:"";background:var(--danger);width:10px;height:1px;position:absolute;top:4px;left:0;transform:rotate(-45deg)}.panel-note{color:var(--muted);border-top:1px solid var(--border-subtle);gap:8px;margin-top:23px;padding-top:17px;font-size:9px;line-height:1.65;display:flex}.panel-note svg{margin-top:2px}.route-sequence{border:1px solid var(--border-subtle);background:var(--surface);border-radius:10px;align-items:center;gap:26px;min-width:0;margin-top:20px;padding:21px 24px;display:flex}.sequence-heading{flex-shrink:0;align-items:center;gap:13px;display:flex}.sequence-icon{width:36px;height:36px;color:var(--primary);background:var(--primary-tint);border:1px solid var(--primary-border);border-radius:8px;place-items:center;display:grid}.sequence-heading .eyebrow{color:var(--foreground);font-size:9px}.sequence-heading p{color:var(--muted);margin:6px 0 0;font-size:10px}.sequence-nodes{flex-wrap:wrap;flex:1;align-items:center;gap:8px;min-width:0;display:flex}.sequence-step{align-items:center;gap:8px;min-width:0;max-width:100%;display:flex}.sequence-step>svg{color:var(--subtle)}.sequence-node{border:1px solid var(--border);color:var(--foreground);overflow-wrap:anywhere;border-radius:5px;min-width:0;padding:7px 10px;font-size:11px}.sequence-node.first{color:var(--primary);border-color:var(--primary-border);background:var(--primary-tint)}.sequence-node.last{color:var(--success);border-color:var(--success-border);background:var(--success-tint)}.sequence-placeholder{color:var(--muted);font-size:11px}.sequence-cost{color:var(--foreground);border-left:1px solid var(--border-subtle);text-align:right;overflow-wrap:anywhere;max-width:180px;padding-left:22px;font-size:25px}.sequence-cost small{color:var(--muted);letter-spacing:1px;margin-top:5px;font-size:8px;display:block}.app-footer{color:var(--muted);justify-content:space-between;gap:16px;margin:24px 0 25px;font-size:9px;display:flex}.app-footer>span:last-child{align-items:center;gap:7px;display:flex}.app-footer .live-dot{width:4px;height:4px}.footer-divider{color:var(--subtle);padding:0 8px}.import-errors{border:1px solid var(--warning-border);background:var(--warning-tint);color:var(--warning);border-radius:9px;align-items:flex-start;gap:12px;margin-bottom:20px;padding:18px;display:flex}.import-errors>div{flex:1;min-width:0}.import-errors h2{margin:0 0 6px;font-size:14px;font-weight:600}.import-errors p,.import-errors li{overflow-wrap:anywhere;font-size:12px;line-height:1.6}.import-errors p{color:var(--warning);margin:0}.import-errors ul{max-height:190px;margin:10px 0 0;padding-left:18px;overflow:auto}.dismiss-button{color:var(--warning);background:0 0;border:0;padding:3px}.map-empty{text-align:center;width:100%;min-height:430px;color:var(--map-muted);flex-direction:column;justify-content:center;align-items:center;padding:40px;display:flex}.map-empty h3{color:var(--map-foreground);margin:18px 0 8px;font-size:20px}.map-empty p{font-size:12px;line-height:1.7}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (min-width:1600px){.map-canvas{min-height:620px}}@media (max-width:1100px){.workspace-grid{grid-template-columns:minmax(0,1fr) 290px;gap:16px}.route-panel{padding:20px}.map-footer{flex-direction:column;align-items:flex-start}.header-center{display:none}.map-canvas{min-height:360px}.route-sequence{gap:18px}}@media (max-width:800px){.workspace-grid{grid-template-columns:minmax(0,1fr)}.main-content{width:92%}.app-header{min-height:80px;padding:18px 4%}.local-badge{display:none}.page-heading{padding:28px 0 24px}.workspace-badge{display:none}.route-panel{padding:24px}.route-panel .panel-intro{max-width:400px}.route-metrics{padding:20px 0}.route-metrics strong{font-size:30px}.legend ul{flex-wrap:wrap;gap:16px 24px;display:flex}.route-sequence{flex-wrap:wrap;align-items:flex-start}.sequence-heading{flex-basis:100%}.sequence-cost{margin-left:auto}.map-canvas{min-height:0}.map-footer{flex-flow:wrap}}@media (max-width:480px){.brand{gap:8px;font-size:21px}.brand-mark{border-radius:10px;width:35px;height:40px}.brand small{letter-spacing:1.5px;font-size:6px}.header-actions{gap:0}.import-button{gap:6px;padding:10px;font-size:10px}.mobile-break{display:block}h1{font-size:28px;line-height:1.3}.page-heading p{max-width:270px;font-size:11px}.map-toolbar{gap:8px;padding:16px}.building-title{gap:8px}.building-title h2{font-size:13px}.building-icon{width:34px;height:34px}.map-mode{letter-spacing:.6px;gap:4px;font-size:7px}.canvas-label{font-size:6px;top:10px;left:14px}.map-footer{gap:10px;padding:14px;font-size:9px}.map-footer>div{gap:12px}.route-sequence{gap:16px;padding:19px}.sequence-nodes{flex-basis:100%}.sequence-cost{border:none;padding-left:0}.app-footer{flex-direction:column;gap:10px}.node-label{font-size:23px}.node-caption{letter-spacing:.5px;font-size:13px}.cost-label text{font-size:17px}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.reset-button{border:1px solid var(--border);background:var(--control);color:var(--foreground);border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-size:11px;font-weight:600;transition:background .15s,border-color .15s;display:inline-flex}.reset-button:hover{background:var(--control-hover);border-color:var(--primary-border)}.hazard-controls{background:var(--surface);border:1px solid var(--border-subtle);border-radius:12px;min-width:0;margin-top:20px;padding:24px}.hazard-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;display:flex}.hazard-heading .eyebrow{color:var(--warning);align-items:center;gap:8px;font-size:9px;display:flex}.hazard-heading h2{letter-spacing:-.4px;margin:10px 0 8px;font-size:20px;font-weight:600}.hazard-heading p{color:var(--muted);margin:0;font-size:11px;line-height:1.7}.hazard-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.hazard-group{border:1px solid var(--border-subtle);background:var(--surface-elevated);border-radius:9px;min-width:0;overflow:hidden}.hazard-group-heading{border-bottom:1px solid var(--border-subtle);color:var(--muted);align-items:center;gap:9px;padding:16px 13px;display:flex}.hazard-group-heading>div{flex:1;min-width:0}.hazard-group-heading h3{color:var(--foreground);margin:0 0 5px;font-size:12px;font-weight:600}.hazard-group-heading p{color:var(--muted);margin:0;font-size:9px}.hazard-count{color:var(--muted);background:var(--control);border:1px solid var(--border-subtle);border-radius:4px;flex-shrink:0;padding:4px 6px;font-size:8px}.hazard-count.nonzero{color:var(--danger);border-color:var(--danger-border);background:var(--danger-tint)}.hazard-list{scrollbar-width:thin;scrollbar-color:var(--border) var(--surface-elevated);max-height:235px;margin:0;padding:6px;list-style:none;overflow-y:auto}.hazard-list li+li{margin-top:3px}.hazard-toggle{text-align:left;width:100%;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:9px;padding:10px 8px;transition:background .15s,border-color .15s;display:flex}.hazard-toggle:hover{border-color:var(--border);background:var(--control-hover)}.hazard-toggle.is-active,.hazard-toggle.is-active:hover{background:var(--danger-tint);border-color:var(--danger-border)}.hazard-item-text{flex:1;min-width:0}.hazard-item-text strong{color:var(--foreground);overflow-wrap:anywhere;font-size:11px;font-weight:500;line-height:1.5;display:block}.hazard-item-text small{color:var(--muted);overflow-wrap:anywhere;margin-top:3px;font-size:9px;display:block}.hazard-item-icon{color:var(--muted);place-items:center;display:grid}.is-active .hazard-item-icon,.is-active .hazard-state{color:var(--danger)}.hazard-state{color:var(--muted);flex-shrink:0;align-items:center;gap:7px;font-size:8px;display:flex}.toggle-track{background:var(--control);border:1px solid var(--border);border-radius:20px;width:27px;height:15px;position:relative}.toggle-track>span{background:var(--muted);border-radius:50%;width:9px;height:9px;transition:left .15s,background .15s;position:absolute;top:2px;left:2px}.is-active .toggle-track{background:var(--danger-border);border-color:var(--danger-border)}.is-active .toggle-track>span{background:var(--danger);left:14px}.map-edge.blocked-edge .corridor-line{stroke:var(--map-danger);stroke-width:5px;stroke-dasharray:6 6}.map-node.unavailable.selected .node-halo{fill:var(--danger-glow);stroke:var(--map-danger);stroke-dasharray:5 4}@media (max-width:1100px){.hazard-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.hazard-group:last-child{grid-column:1/-1}.header-actions{gap:12px}}@media (max-width:800px){.hazard-groups{grid-template-columns:minmax(0,1fr)}.hazard-controls{padding:22px}.hazard-heading{align-items:flex-start}}@media (max-width:480px){.hazard-controls{padding:18px}.hazard-heading{flex-wrap:wrap;gap:14px}.hazard-heading h2{font-size:18px}.header-actions{gap:7px}.header-reset{gap:4px;padding:10px 7px;font-size:10px}.brand{gap:6px;font-size:18px}.brand-mark{width:30px;height:35px}.brand small{letter-spacing:1px;font-size:5px}.map-node.room .node-shape,.map-node.exit .node-shape{x:-58px;y:-33px;width:116px;height:66px}.map-node.junction .node-shape{r:28px}.node-symbol{transform:scale(1.25)}.node-label{font-size:27px}.node-caption{font-size:15px}.cost-label text{font-size:21px}}body{font-family:Segoe UI,Nirmala UI,Vrinda,Arial,sans-serif}.language-switcher{border:1px solid var(--border);background:var(--control);border-radius:8px;flex-shrink:0;gap:3px;padding:3px;display:inline-flex}.language-switcher button{min-height:36px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:5px;padding:8px 10px;font-size:12px;transition:background .15s,color .15s}.language-switcher button.is-selected{color:var(--foreground);background:var(--control-hover);border-color:var(--border)}.language-switcher button:hover{color:var(--map-surface);background:var(--control-hover)}.app-header{gap:18px}.header-center{margin-left:auto;margin-right:auto}.import-button,.reset-button{min-height:44px;font-size:12px}.start-control select{min-height:46px;font-size:12px}.hazard-toggle{min-height:52px}.hazard-item-text strong,.result-status{font-size:12px}.hazard-item-text small,.hazard-group-heading p,.panel-note,.hazard-state,.hazard-count{font-size:10px}.panel-intro,.start-control p,.empty-route p{font-size:12px;line-height:1.75}.toggle-track{width:30px;height:18px}.toggle-track>span{width:12px;height:12px}.is-active .toggle-track>span{left:15px}.route-result.has-route{border-color:var(--success-border);box-shadow:0 0 18px var(--glow)}.node-label{stroke-width:6px}.node-caption{stroke-width:4px}.dismiss-button{place-items:center;min-width:40px;min-height:40px;display:grid}html[lang=bn] .eyebrow,html[lang=bn] .metric-label,html[lang=bn] .node-caption,html[lang=bn] .brand small{letter-spacing:.2px}html[lang=bn] .eyebrow,html[lang=bn] .metric-label{font-size:11px}html[lang=bn] .brand small{font-size:10px}html[lang=bn] .route-panel h2{line-height:1.5}html[lang=bn] .hazard-state{font-size:11px}@media (max-width:1200px){.header-center,.local-badge{display:none}.language-switcher{margin-left:auto}.hazard-group-heading{flex-wrap:wrap}.hazard-count{margin-left:auto}}@media (max-width:600px){.app-header{grid-template-columns:minmax(0,1fr) auto;gap:14px 10px;padding:16px 4%;display:grid}.brand{gap:8px;font-size:21px}.brand-mark{width:35px;height:40px}.brand small{letter-spacing:1px;font-size:6px}.language-switcher{margin-left:0}.language-switcher button{padding:6px 8px;font-size:11px}.header-actions{grid-column:1/-1;justify-content:flex-end;gap:10px}.header-reset{padding:10px 15px;font-size:12px}.import-button{padding:10px 16px;font-size:12px}.page-heading{padding-top:24px}.route-sequence{gap:16px}.sequence-node{padding:8px 10px;font-size:12px}.legend li{font-size:11px}.map-footer{font-size:10px}.hazard-heading h2{line-height:1.5}.hazard-group-heading p{font-size:11px}.hazard-list{max-height:285px}html[lang=bn] h1{letter-spacing:-.3px;line-height:1.55}html[lang=bn] .brand small{font-size:8px}}@media (max-width:350px){.brand{gap:6px;font-size:18px}.brand-mark{width:30px;height:36px}.brand small{font-size:5px}html[lang=bn] .brand small{font-size:7px}.language-switcher button{padding:6px}.hazard-toggle{gap:7px;padding:10px 6px}.hazard-state{gap:5px;font-size:9px}}.theme-switcher{border:1px solid var(--border);background:var(--control);border-radius:8px;gap:2px;padding:3px;display:flex}.language-switcher button.is-selected,.language-switcher button:hover{color:var(--foreground)}.theme-switcher button{width:40px;height:40px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:5px;place-items:center;display:grid}.theme-switcher button[aria-pressed=true]{color:var(--primary);background:var(--primary-tint);border-color:var(--primary-border)}.theme-switcher button:hover{background:var(--control-hover)}.language-switcher button{min-height:40px}.map-grid-dot{fill:var(--grid-dot)}.node-hit-area{fill:#0000;pointer-events:all}.map-node.selectable{touch-action:manipulation}.hazard-toggle{transition:background-color .18s,border-color .18s}.hazard-group-heading,.hazard-heading>div,.sequence-heading,.page-heading>div{min-width:0}.hazard-heading h2,.sequence-heading p,h1{overflow-wrap:anywhere}.failure-page{padding-top:64px}.failure-page p{color:var(--muted);margin:20px 0}@media (max-width:1400px){.header-center,.local-badge{display:none}}@media (max-width:900px){.app-header{grid-template-columns:minmax(0,1fr) auto;gap:14px 10px;display:grid}.language-switcher{justify-self:end;margin-left:0}.theme-switcher{justify-self:start}.header-actions{grid-column:2;justify-content:flex-end;gap:8px}}@media (max-width:600px){.header-actions{grid-column:2}.theme-switcher button{width:32px;height:40px}.header-reset{padding:10px 9px}.import-button{gap:6px;padding:10px}.hazard-group-heading{flex-wrap:wrap}}@media (max-width:350px){.header-actions{gap:6px}.header-reset,.import-button{padding:10px 7px;font-size:11px}.theme-switcher button{width:28px}}@media (max-width:480px){.brand{grid-column:1/-1;font-size:23px}.brand small,html[lang=bn] .brand small{letter-spacing:.5px;font-size:9px}.language-switcher{grid-area:2/1;justify-self:start}.theme-switcher{grid-area:2/2;justify-self:end}.theme-switcher button{width:40px}.header-actions{grid-area:3/1/auto/-1}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}
