:root{--bg:#f6f7f9;--surface:#fff;--surface-2:#eef0f4;--border:#d9dde5;--border-strong:#7c8596;--text:#161a22;--text-muted:#5b6575;--accent:#4f46e5;--accent-hover:#4338ca;--on-accent:#fff;--accent-soft:#eef0ff;--status-planned:#626a77;--status-planned-soft:#f3f4f6;--status-pending:#b45309;--status-pending-soft:#fef3c7;--status-ok:#15803d;--status-ok-soft:#dcfce7;--status-problem:#cc1f1f;--status-problem-soft:#fef1f1;--status-dns:#ae1fc0;--status-dns-soft:#fdf2ff;--mode-unpatch:#fdecec;--mode-archived:#eef1f6;--strand-01-blue:#1f6fd1;--strand-02-orange:#f28c28;--strand-03-green:#2e9e44;--strand-04-brown:#8b5a2b;--strand-05-slate:#708090;--strand-06-white:#f5f5f5;--strand-07-red:#d62828;--strand-08-black:#111;--strand-09-yellow:#f2d21b;--strand-10-violet:#8e44ad;--strand-11-rose:#f4a6b7;--strand-12-aqua:#2ec4c6;--strand-ring:#161a2259;--shadow-pop:0 6px 20px #0f121724;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--radius-sm:4px;--radius-md:6px;--radius-lg:10px;--radius-pill:999px;--control-sm:28px;--control-md:36px;--control-touch:44px;--font-display:"Plus Jakarta Sans", "IBM Plex Sans", system-ui, sans-serif;--font-sans:"IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;--font-mono:"IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#0f1217;--surface:#171b22;--surface-2:#1f2430;--border:#2a3140;--border-strong:#687389;--text:#e6e9ef;--text-muted:#9aa3b2;--accent:#818cf8;--accent-hover:#a5b4fc;--on-accent:#0f1217;--accent-soft:#1e2140;--status-planned:#9ca3af;--status-planned-soft:#232833;--status-pending:#fbbf24;--status-pending-soft:#33240a;--status-ok:#4ade80;--status-ok-soft:#0f2a1a;--status-problem:#f87171;--status-problem-soft:#3a1517;--status-dns:#e879f9;--status-dns-soft:#351a3a;--mode-unpatch:#2a1416;--mode-archived:#161b24;--strand-ring:#e6e9ef73;--shadow-pop:0 6px 20px #0000008c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#0f1217;--surface:#171b22;--surface-2:#1f2430;--border:#2a3140;--border-strong:#687389;--text:#e6e9ef;--text-muted:#9aa3b2;--accent:#818cf8;--accent-hover:#a5b4fc;--on-accent:#0f1217;--accent-soft:#1e2140;--status-planned:#9ca3af;--status-planned-soft:#232833;--status-pending:#fbbf24;--status-pending-soft:#33240a;--status-ok:#4ade80;--status-ok-soft:#0f2a1a;--status-problem:#f87171;--status-problem-soft:#3a1517;--status-dns:#e879f9;--status-dns-soft:#351a3a;--mode-unpatch:#2a1416;--mode-archived:#161b24;--strand-ring:#e6e9ef73;--shadow-pop:0 6px 20px #0000008c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{min-height:100%}body{background:var(--bg);color:var(--text);font:400 14px/20px var(--font-sans);-webkit-font-smoothing:antialiased;margin:0}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}h1,h2,h3{text-wrap:balance;margin:0}p{margin:0}.ic{flex:none;display:block}.sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.mono{font-family:var(--font-mono);font-size:13px}.mono-s{font-family:var(--font-mono);font-size:12.5px}.num{text-align:right;font-variant-numeric:tabular-nums}.muted{color:var(--text-muted)}.small{font-size:12.5px}.strong{font-weight:600}.lbl{font:600 11px/14px var(--font-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}.wrapx{max-width:1320px;padding-inline:var(--space-6);margin:0 auto}.stack{gap:var(--space-4);padding-block:var(--space-6) 96px;flex-direction:column;display:flex}.stack-s{gap:var(--space-3);flex-direction:column;display:flex}.app>.wrapx{padding-block:var(--space-3) 0}.topbar{top:env(safe-area-inset-top,0px);z-index:30;background:var(--surface);border-bottom:1px solid var(--border);position:sticky}.tb-row{align-items:center;gap:var(--space-3);height:60px;padding:0 var(--space-6);max-width:1320px;margin:0 auto;display:flex}.brand{flex:none;align-items:center;gap:8px;display:flex}.brand-name{font:800 17px/1 var(--font-display);letter-spacing:-.01em}.proto-pill{font:600 10.5px/1 var(--font-sans);letter-spacing:.05em;text-transform:uppercase;color:var(--status-pending);background:var(--status-pending-soft);border-radius:var(--radius-sm);padding:4px 6px}.evbtn{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg);cursor:pointer;text-align:left;align-items:center;gap:8px;min-width:0;max-width:250px;height:42px;padding:0 10px;display:flex}.evbtn:hover{border-color:var(--border-strong)}.ev-t{flex-direction:column;min-width:0;display:flex}.ev-acc{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:14px;overflow:hidden}.ev-name{white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:18px;overflow:hidden}.maintabs{flex:none;gap:4px;display:flex}.mtab{border-radius:var(--radius-md);height:38px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;padding:0 14px;font-weight:600}.mtab:hover{background:var(--surface-2);color:var(--text)}.mtab.is-on{background:var(--accent);color:var(--on-accent)}.search{flex:1;justify-content:flex-end;min-width:0;display:flex}.sbox{border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--bg);width:100%;max-width:380px;height:38px;color:var(--text-muted);align-items:center;gap:8px;padding:0 12px;display:flex}.sbox:focus-within{outline:2px solid var(--accent);outline-offset:1px}.sbox input{min-width:0;color:var(--text);background:0 0;border:0;outline:none;flex:1}.avatar{background:var(--accent-soft);width:36px;height:36px;color:var(--accent);font:700 13px/1 var(--font-sans);cursor:pointer;border:0;border-radius:50%;flex:none}.subtabs{padding:0 var(--space-6);scrollbar-width:none;gap:22px;max-width:1320px;margin:0 auto;display:flex;overflow-x:auto}.subtabs::-webkit-scrollbar{display:none}.stab{height:44px;color:var(--text-muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;flex:none;padding:0;font-weight:500}.stab:hover{color:var(--text)}.stab.is-on{color:var(--text);border-bottom-color:var(--accent);font-weight:600}.pop-wrap{position:relative}.pop{z-index:40;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);min-width:280px;max-width:min(92vw,360px);box-shadow:var(--shadow-pop);flex-direction:column;padding:6px;display:flex;position:absolute;top:calc(100% + 6px)}.pop-left{left:0}.pop-right{right:0}.pop-search{width:min(92vw,420px);max-width:none;right:0}.pop-h{font:600 11px/14px var(--font-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);align-items:center;gap:8px;padding:8px 10px 6px;display:flex}.pop-sep{background:var(--border);height:1px;margin:6px 0}.pop-item{border-radius:var(--radius-md);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;width:100%;padding:8px 10px;display:flex}.pop-item:hover,.pop-item.is-on{background:var(--surface-2)}.pi-main{flex-direction:column;flex:1;min-width:0;display:flex}.pi-main small{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:16px;overflow:hidden}.pi-kind{width:74px;font:600 10.5px/1 var(--font-sans);letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted);flex:none}.pop-empty{color:var(--text-muted);padding:12px}.pop-user{width:320px}.um-who{flex-direction:column;padding:8px 10px;display:flex}.um-who small{color:var(--text-muted)}.proto-tag{text-transform:none;letter-spacing:0;color:var(--status-pending);font-weight:500}.um-toggle{cursor:pointer;align-items:center;gap:8px;padding:10px;display:flex}.um-undo{flex-direction:column;gap:4px;max-height:140px;margin:0;padding:0 10px 0 28px;font-size:12.5px;display:flex;overflow:auto}.um-none{color:var(--text-muted);padding:0 10px 6px;font-size:12.5px}.pop-cols{width:260px}.col-opt{cursor:pointer;align-items:center;gap:8px;padding:5px 10px;display:flex}.seg{border-radius:var(--radius-md);background:var(--surface-2);gap:2px;margin:0 6px 6px;padding:3px;display:inline-flex}.seg button{height:30px;color:var(--text-muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:4px;flex:1;padding:0 10px;font-weight:500}.seg button.is-on{background:var(--surface);color:var(--text);box-shadow:0 0 0 1px var(--border);font-weight:600}.seg-in{align-self:flex-start;margin:0}.seg-bays{margin:0}.btn{height:var(--control-md);border-radius:var(--radius-md);cursor:pointer;white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:600;transition:background-color .12s,border-color .12s;display:inline-flex}.btn-sm{height:var(--control-sm);gap:6px;padding:0 10px;font-size:13px}.btn-primary{background:var(--accent);color:var(--on-accent)}.btn-primary:hover{background:var(--accent-hover)}.btn-secondary{background:var(--surface);border-color:var(--border-strong)}.btn-secondary:hover{background:var(--surface-2)}.btn-ghost{background:0 0}.btn-ghost:hover{background:var(--surface-2)}.btn-danger{background:var(--surface);color:var(--status-problem);border-color:var(--status-problem)}.btn-danger:hover{background:var(--status-problem-soft)}.btn:disabled{opacity:.45;cursor:not-allowed}.btnrow{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.linkbtn{color:var(--accent);cursor:pointer;text-align:left;background:0 0;border:0;padding:0}.linkbtn:hover{text-decoration:underline}@media (pointer:coarse){.btn{min-height:var(--control-touch)}.mtab,.stab{min-height:44px}}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.badge{border-radius:var(--radius-sm);height:22px;font:600 12px/16px var(--font-sans);white-space:nowrap;align-items:center;gap:4px;padding:0 8px 0 6px;display:inline-flex}.b-compact{justify-content:center;width:22px;padding:0}.b-planned{color:var(--status-planned);background:var(--status-planned-soft)}.b-pending{color:var(--status-pending);background:var(--status-pending-soft)}.b-ok{color:var(--status-ok);background:var(--status-ok-soft)}.b-problem{color:var(--status-problem);background:var(--status-problem-soft)}.b-off{color:var(--status-planned);box-shadow:inset 0 0 0 1px var(--border)}.b-off .b-text{text-decoration:line-through}.dns{border-radius:var(--radius-pill);height:22px;color:var(--status-dns);background:var(--status-dns-soft);box-shadow:inset 0 0 0 1.5px var(--status-dns);font:600 12px/16px var(--font-sans);white-space:nowrap;align-items:center;gap:5px;padding:0 10px 0 8px;display:inline-flex}.dns-c{font-family:var(--font-mono);padding:0 8px 0 6px}.tag{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);white-space:nowrap;align-items:center;gap:6px;height:24px;padding:0 8px 0 6px;display:inline-flex}.tag-btn{cursor:pointer}.jacket{width:6px;height:14px;box-shadow:inset 0 0 0 1px var(--strand-ring);border-radius:2px}.tnum{font:500 13px/18px var(--font-mono)}.tlink{color:var(--accent)}.strand{align-items:center;gap:5px;display:inline-flex}.strand svg{display:block}.strand-n{font:400 12px/16px var(--font-mono);color:var(--text-muted)}.venue-tag{border-radius:var(--radius-sm);height:22px;font:600 11px/1 var(--font-sans);letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);box-shadow:inset 0 0 0 1px var(--border-strong);align-items:center;padding:0 7px;display:inline-flex}.flags{align-items:center;gap:6px;display:inline-flex}.role{border-radius:var(--radius-sm);height:22px;font:600 11.5px/1 var(--font-sans);background:var(--surface-2);color:var(--text);white-space:nowrap;align-items:center;padding:0 8px;display:inline-flex}.role-trunk{background:var(--accent-soft);color:var(--accent)}.notes{color:var(--text-muted);white-space:normal;max-width:260px}.banner{border-radius:var(--radius-md);align-items:center;gap:12px;padding:10px 16px;font-weight:500;display:flex}.bn-text{flex:1;min-width:0}.bn-act{flex:none}.bn-offline{background:var(--status-pending-soft);box-shadow:inset 0 0 0 1px var(--status-pending)}.bn-offline .ic{color:var(--status-pending)}.bn-unpatch{background:var(--status-problem);color:var(--on-accent);font-weight:600}.bn-unpatch .btn{color:var(--text)}.bn-info,.bn-view{background:var(--accent-soft)}.bn-info .ic,.bn-view .ic{color:var(--accent)}.phead{justify-content:space-between;align-items:flex-end;gap:var(--space-4);flex-wrap:wrap;display:flex}.phead-t{flex-direction:column;gap:4px;min-width:0;max-width:78ch;display:flex}.phead h1{font:700 24px/30px var(--font-display);letter-spacing:-.01em}.phead p{color:var(--text-muted)}.phead-a,.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border-radius:var(--radius-pill);border:1px solid var(--border);background:var(--surface);height:30px;color:var(--text-muted);cursor:pointer;align-items:center;gap:6px;padding:0 12px;font-weight:500;display:inline-flex}.chip:hover{border-color:var(--border-strong);color:var(--text)}.chip.is-on{background:var(--accent-soft);border-color:var(--accent);color:var(--text)}.chip-n{font:500 11.5px/1 var(--font-mono);color:var(--text-muted)}.chip-s{height:26px;font-size:12.5px}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-height:40px;display:flex}.filter{border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);width:min(100%,320px);height:36px;color:var(--text-muted);align-items:center;gap:8px;padding:0 12px;display:flex}.filter:focus-within{outline:2px solid var(--accent);outline-offset:1px}.filter input{min-width:0;color:var(--text);background:0 0;border:0;outline:none;flex:1}.filter.big{width:100%;max-width:560px;height:44px}.bulk{border-radius:var(--radius-md);background:var(--accent-soft);flex-wrap:wrap;align-items:center;gap:6px;padding:4px;display:flex}.bulk-n{padding:0 8px;font-weight:600}.confirm-inline{color:var(--status-problem);align-items:center;gap:6px;padding-left:6px;font-weight:600;display:inline-flex}.tablewrap{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);overflow-x:auto}.tbl{border-collapse:collapse;width:100%}.tbl th{background:var(--surface-2);text-align:left;font:600 11px/14px var(--font-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);border-bottom:1px solid var(--border);white-space:nowrap;padding:9px 12px;position:sticky;top:0}.tbl th.num{text-align:right}.tbl th.ctr,.tbl td.ctr{text-align:center}.th-sort{font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.th-sort:hover{color:var(--text)}.tbl td{border-bottom:1px solid var(--border);white-space:nowrap;vertical-align:middle;padding:9px 12px}.tbl tr:last-child td{border-bottom:0}.tbl tbody tr:hover{background:var(--surface-2)}.tbl .row-sel,.tbl .row-sel:hover{background:var(--accent-soft)}.row-off td{color:var(--text-muted)}.row-click{cursor:pointer}.cbx{width:36px;padding-right:0!important}.cbx input,.check input,.col-opt input,.um-toggle input{width:16px;height:16px;accent-color:var(--accent)}.row-act{text-align:right;width:44px}.pager{color:var(--text-muted);justify-content:flex-end;align-items:center;gap:6px;display:flex}.pager span{margin-right:8px}.empty{border:1px dashed var(--border-strong);border-radius:var(--radius-lg);background:var(--surface);color:var(--text-muted);align-items:flex-start;gap:12px;padding:24px;display:flex}.empty strong{color:var(--text);display:block}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--space-4);min-width:0}.card h2{font:600 16px/22px var(--font-sans)}.card-h{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.grid2{gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.grid3{gap:var(--space-4);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.grid2.top{align-items:start}.plain{margin:0;padding:0;list-style:none}.plain li{border-top:1px solid var(--border);justify-content:space-between;gap:12px;padding:8px 0;display:flex}.plain li:first-child{border-top:0}.form{gap:var(--space-4);border:0;flex-direction:column;min-width:0;margin:0;padding:0;display:flex}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.f-label{font:600 11px/14px var(--font-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}.f-msg{color:var(--text-muted);align-items:center;gap:4px;font-size:12px;line-height:16px;display:flex}.f-err .f-msg{color:var(--status-problem)}.f-err .input{border-color:var(--status-problem)}.input{width:100%;height:var(--control-md);border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);color:var(--text);padding:0 12px}textarea.input{resize:vertical;height:auto;padding:8px 12px}select.input{padding-right:8px}.input:focus{outline:2px solid var(--accent);outline-offset:1px}.input:disabled,fieldset:disabled .input{background:var(--surface-2)}.input.mono{font-family:var(--font-mono);font-size:13px}.input-suf{border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);align-items:center;display:flex}.input-suf .input{border:0}.input-suf span{color:var(--text-muted);font:13px var(--font-mono);padding:0 10px}.total{height:var(--control-md);align-items:center;font-size:15px;font-weight:500;display:flex}.check{cursor:pointer;align-items:center;gap:8px;display:flex}.suggest{border-radius:var(--radius-md);background:var(--surface-2);align-items:flex-start;gap:8px;padding:10px 12px;font-size:13px;display:flex}.suggest .ic{color:var(--accent);margin-top:3px}.swatches{flex-wrap:wrap;gap:8px;display:flex}.swatch{border-radius:var(--radius-md);border:2px solid var(--surface);width:30px;height:30px;box-shadow:0 0 0 1px var(--border-strong);background:var(--sw);cursor:pointer}.swatch.is-on{box-shadow:0 0 0 2px var(--accent)}.swatch.sm{cursor:default;border-width:1px;border-radius:3px;width:14px;height:14px}.swatches.sm{gap:4px}.strand-list>div{flex-wrap:wrap;gap:10px;margin-top:6px;display:flex}.st-item{align-items:center;gap:2px;display:inline-flex}.st-bad{color:var(--status-problem);font-weight:600}@media (pointer:coarse){.input{height:var(--control-touch)}}.drawer-scrim{z-index:50;background:#0f121773;justify-content:flex-end;display:flex;position:fixed;inset:0}.drawer{background:var(--surface);border-left:1px solid var(--border);width:min(100%,560px);height:100%;box-shadow:var(--shadow-pop);flex-direction:column;display:flex}.dr-head{padding:calc(14px + env(safe-area-inset-top,0px)) 20px 14px;border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;display:flex}.dr-head h2{font:700 20px/26px var(--font-display)}.dr-body{flex-direction:column;flex:1;gap:16px;padding:20px;display:flex;overflow-y:auto}.dr-foot{padding:14px 20px calc(14px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--border);justify-content:flex-end;gap:8px;display:flex}.perm ul{flex-direction:column;gap:6px;margin:8px 0 0;padding:0;list-style:none;display:flex}.perm li{align-items:center;gap:8px;display:flex}.perm li.yes .ic{color:var(--status-ok)}.perm li.no{color:var(--text-muted)}.yes-ic{color:var(--status-ok);display:inline-flex}.no-ic{color:var(--text-muted)}.toasts{z-index:60;right:20px;bottom:calc(20px + env(safe-area-inset-bottom,0px));flex-direction:column;gap:8px;width:min(100% - 32px,440px);display:flex;position:fixed}@media (width<=560px){.toasts{right:16px}}.toast{border-radius:var(--radius-md);background:var(--text);color:var(--bg);box-shadow:var(--shadow-pop);align-items:center;gap:10px;padding:10px 10px 10px 14px;font-weight:500;display:flex}.toast>span{flex:1}.t-ok .ic:first-child{color:var(--status-ok-soft)}.t-error .ic:first-child{color:var(--status-problem-soft)}.t-act{color:inherit;cursor:pointer;background:0 0;border:0;padding:4px 6px;font-weight:700;text-decoration:underline}.t-x{color:inherit;opacity:.7;cursor:pointer;background:0 0;border:0;padding:4px;display:inline-flex}.patchscreen{min-height:calc(100vh - 105px);transition:background-color .15s}.patchscreen.mode-unpatch{background:var(--mode-unpatch)}.patchbar{padding:var(--space-4);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);grid-template-columns:1fr auto;align-items:end;gap:8px 16px;display:grid}.pb-fields{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.pb-fields .field{width:150px}.pb-arrow{color:var(--text-muted);padding-bottom:8px;font-size:18px}.pb-tools{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.pb-err{color:var(--status-problem);grid-column:1/-1;align-items:center;gap:6px;font-weight:500;display:flex}.pb-hint{color:var(--text-muted);grid-column:1/-1;font-size:12.5px}.bay-layout{gap:var(--space-4);grid-template-columns:minmax(0,1fr) 340px;align-items:start;display:grid}.bay-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--space-4);flex-direction:column;gap:12px;min-width:0;display:flex}.bay-sum{color:var(--text-muted);flex-wrap:wrap;align-items:baseline;gap:6px 18px;font-size:13px;display:flex}.bay-sum b{color:var(--text);font:600 15px var(--font-mono);margin-right:2px}.bay-sum .s-pend b{color:var(--status-pending)}.bay-sum .s-bad b{color:var(--status-problem)}.bay-side{margin-left:auto;font-size:12px}.bay-scroll{margin:-3px;padding:3px;overflow-x:auto}.bay-grid{grid-template-columns:64px repeat(var(--cols), minmax(52px, 1fr));min-width:calc(64px + var(--cols) * 56px);gap:4px;display:grid}.bay-row{border-radius:var(--radius-sm);background:var(--surface-2);flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;padding:0 8px;display:flex}.br-l{font:700 15px/1 var(--font-display)}.br-c{font-size:11.5px;line-height:14px}.cell{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-2);min-height:48px;color:var(--text-muted);text-align:left;cursor:pointer;flex-direction:column;align-items:flex-start;gap:2px;padding:5px 6px;display:flex;position:relative}.cell:hover{border-color:var(--border-strong)}.c-n{font:500 12px/14px var(--font-mono)}.c-to{font:400 11px/14px var(--font-mono);white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.c-ic{position:absolute;top:4px;right:4px}.c-ok{color:var(--status-ok)}.c-pend{color:var(--status-pending)}.c-bad{color:var(--status-problem)}.c-patched,.c-connected{background:var(--surface);border-color:var(--border-strong);color:var(--text)}.c-connected{border-style:solid}.c-pending{background:var(--surface);border:1.5px dashed var(--status-pending);color:var(--text)}.c-faulty{border:1.5px solid var(--status-problem);color:var(--status-problem);background:repeating-linear-gradient(135deg, var(--status-problem-soft) 0 5px, var(--surface) 5px 10px)}.c-reserved{background:repeating-linear-gradient(135deg, var(--surface-2) 0 5px, var(--surface) 5px 10px)}.c-dark.c-empty{opacity:.55}.cell.is-sel{outline:2px solid var(--accent);outline-offset:1px;background:var(--accent-soft)}.mode-unpatch .c-patched,.mode-unpatch .c-pending{cursor:crosshair}.mode-unpatch .c-patched:hover,.mode-unpatch .c-pending:hover{border-color:var(--status-problem);background:var(--status-problem-soft)}@media (pointer:coarse){.cell{min-height:56px}}.legend{color:var(--text-muted);flex-wrap:wrap;gap:6px 16px;font-size:12px;display:flex}.legend span{align-items:center;gap:6px;display:inline-flex}.lg{border:1px solid var(--border);background:var(--surface-2);border-radius:3px;width:16px;height:12px;display:inline-block}.lg-patched{background:var(--surface);border-color:var(--border-strong)}.lg-pending{background:var(--surface);border:1.5px dashed var(--status-pending)}.lg-faulty{border:1.5px solid var(--status-problem);background:repeating-linear-gradient(135deg, var(--status-problem-soft) 0 3px, var(--surface) 3px 6px)}.lg-reserved{background:repeating-linear-gradient(135deg, var(--surface-2) 0 3px, var(--surface) 3px 6px)}.lg-sel{background:var(--accent-soft);outline:2px solid var(--accent);outline-offset:0;border:0}.side-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--space-4);flex-direction:column;gap:14px;max-height:calc(100vh - 140px);display:flex;position:sticky;top:120px;overflow:auto}.side-h{justify-content:space-between;align-items:center;gap:8px;display:flex}.side-h h2{font:700 18px/24px var(--font-display)}.side-h .mono{font-size:18px}.side-sec{border-top:1px solid var(--border);flex-direction:column;gap:8px;padding-top:12px;display:flex}.side-p{font-size:13px}.endrow{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.big{font-size:15px;font-weight:500}.warn{color:var(--status-problem);align-items:flex-start;gap:6px;font-size:13px;display:flex}.warn .ic{margin-top:3px}.patch-one{align-items:flex-start;gap:8px;display:flex}.patch-one .field{flex:1}.patch-one .btn{margin-top:20px}.plist{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.plist li{justify-content:space-between;align-items:center;gap:8px;display:flex}.hist{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.hist li{border-left:2px solid var(--border);flex-direction:column;padding-left:12px;display:flex}.h-text{font-size:13px}.h-meta{color:var(--text-muted);font-size:12px}.path-scroll{padding-bottom:4px;overflow-x:auto}.path{align-items:stretch;gap:0;min-width:max-content;margin:0;padding:18px 0 0;list-style:none;display:flex}.path>li{border-radius:var(--radius-md);flex-direction:column;gap:6px;min-width:150px;max-width:230px;padding:12px;display:flex;position:relative}.path>li+li{margin-left:28px}.path>li+li:before{content:"";background:var(--border-strong);width:28px;height:2px;position:absolute;top:50%;left:-28px}.p-end{background:var(--surface-2);justify-content:center}.p-cable{border:1px solid var(--border-strong);background:var(--surface)}.p-role{font:600 10.5px/14px var(--font-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);white-space:nowrap;position:absolute;top:-18px;left:0}.r-trunk{border-color:var(--accent);box-shadow:inset 0 3px 0 var(--accent)}.r-trunk .p-role{color:var(--accent)}.p-top{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.p-type{color:var(--text-muted);font-size:12.5px}.p-ft{color:var(--text-muted);white-space:normal}.p-join{border:1.5px dashed var(--border-strong);background:0 0;justify-content:center;min-width:140px}.j-ok{border-style:solid;border-color:var(--border)}.j-pend{border-color:var(--status-pending)}.j-missing{border-color:var(--status-pending);background:var(--status-pending-soft)}.p-missing{border:1.5px dashed var(--status-problem)}.path-chips{gap:6px;display:inline-flex}.path-chip{border-radius:var(--radius-sm);background:var(--surface-2);flex-direction:column;padding:3px 7px;line-height:1.2;display:inline-flex}.path-chip small{color:var(--text-muted);font-size:10.5px}.mile-note{color:var(--text-muted);align-items:flex-start;gap:8px;max-width:90ch;font-size:13px;display:flex}.mile-note .ic{color:var(--accent);margin-top:3px}.mile-note em{color:var(--text);font-style:normal;font-weight:600}.tracebar{flex-wrap:wrap;gap:8px;display:flex}.quick{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.trace-head{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.kpi{flex-wrap:wrap;align-items:baseline;gap:12px;display:flex}.kpi-n{font:800 40px/1 var(--font-display)}.bars{flex-direction:column;gap:10px;max-width:720px;display:flex}.bar-row{grid-template-columns:130px 1fr 54px;align-items:center;gap:12px;display:grid}.bar{background:var(--surface-2);border-radius:5px;height:10px;overflow:hidden}.bar-i{background:var(--status-ok);border-radius:5px;height:100%;display:block}.bar-v{text-align:right}.loc-grid{gap:var(--space-4);grid-template-columns:repeat(auto-fill,minmax(280px,1fr));align-items:start;display:grid}.rack{flex-direction:column;gap:6px;display:flex}.grp{border-radius:var(--radius-md);background:var(--surface-2);align-items:center;gap:10px;padding:10px;display:flex}.grp-t{flex-direction:column;flex:1;min-width:0;display:flex}.grp-t small{color:var(--text-muted)}.gen{flex-wrap:wrap;gap:6px;display:flex}.steps-l{flex-direction:column;gap:4px;margin:0;padding-left:20px;display:flex}@media (width<=1080px){.bay-layout{grid-template-columns:1fr}.side-card{max-height:none;position:static}.brand-name{display:none}}@media (width<=860px){.tb-row{height:auto;padding:8px var(--space-4);flex-wrap:wrap;row-gap:8px}.search{flex-basis:100%;order:5}.sbox{max-width:none}.subtabs{padding:0 var(--space-4);gap:18px}.wrapx{padding-inline:var(--space-4)}.patchbar{grid-template-columns:1fr}.pb-tools{justify-content:flex-start}.grid3{grid-template-columns:1fr 1fr}}@media (width<=560px){.proto-pill{display:none}.evbtn{flex:1;max-width:none}.maintabs{flex-basis:100%;order:4}.mtab{flex:1}.grid2,.grid3{grid-template-columns:1fr}.pb-fields .field{width:calc(50% - 22px)}.bay-side{margin-left:0}.phead h1{font-size:22px}.bar-row{grid-template-columns:96px 1fr 44px}}.brand-btn{cursor:pointer;color:inherit;background:0 0;border:0;padding:0}.sub-title{font:700 15px/1 var(--font-display);flex:none;align-self:center;padding-right:6px}.banners{padding-block:var(--space-3) 0;flex-direction:column;gap:8px;display:flex}.app.is-archived{background:var(--mode-archived);min-height:100vh}.b-arch{color:var(--status-planned);box-shadow:inset 0 0 0 1px var(--border-strong)}.bn-archived{background:var(--mode-archived);box-shadow:inset 0 0 0 1px var(--border-strong)}.dense .tbl td{padding-top:5px;padding-bottom:5px}.dense .cell{min-height:40px}.narrow{max-width:860px}.stack-xs{flex-direction:column;gap:6px;display:flex}.btnrow.end{justify-content:flex-end}.h2{font:700 18px/24px var(--font-display);margin-top:8px}.card.flat{box-shadow:none;background:var(--bg)}.row-act.wide{white-space:nowrap;width:auto}.row-act.wide .btn+.btn{margin-left:6px}.row-bad td{background:var(--status-problem-soft)}.signin{background:var(--bg);place-items:center;min-height:100vh;padding:32px 16px;display:grid}.si-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);width:min(100%,420px);box-shadow:var(--shadow-pop);flex-direction:column;gap:18px;padding:28px;display:flex}.si-brand{align-items:center;gap:12px;display:flex}.si-name{font:800 22px/1.1 var(--font-display)}.si-card h1{font:700 22px/28px var(--font-display)}.si-sso{grid-template-columns:1fr 1fr;gap:8px;display:grid}.si-btn{width:100%;font-weight:500}.si-or{color:var(--text-muted);align-items:center;gap:10px;font-size:12.5px;display:flex}.si-or:before,.si-or:after{content:"";background:var(--border);flex:1;height:1px}.si-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.si-submit{width:100%;height:42px}.si-demo{border-radius:var(--radius-md);background:var(--status-pending-soft);align-items:flex-start;gap:8px;padding:10px 12px;font-size:13px;display:flex}.si-demo .ic{color:var(--status-pending);margin-top:3px}.ev-grid{gap:var(--space-4);grid-template-columns:repeat(auto-fill,minmax(300px,1fr));display:grid}.ev-card{text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);cursor:pointer;color:inherit;flex-direction:column;gap:8px;padding:18px;display:flex}.ev-card:hover{border-color:var(--accent)}.ev-card h2{font:700 20px/26px var(--font-display)}.ev-arch{background:var(--mode-archived)}.ev-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.ev-stats{color:var(--text-muted);flex-wrap:wrap;gap:4px 14px;font-size:13px;display:flex}.ev-stats b{color:var(--text);font-family:var(--font-mono)}.ev-stats .s-pend b{color:var(--status-pending)}.ev-open{color:var(--accent);align-items:center;gap:4px;margin-top:4px;font-weight:600;display:inline-flex}.wiz{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.wiz li{border-radius:var(--radius-pill);background:var(--surface-2);height:32px;color:var(--text-muted);align-items:center;gap:8px;padding:0 12px 0 6px;font-weight:500;display:inline-flex}.wiz li.is-on{background:var(--accent-soft);color:var(--text);font-weight:600}.wiz-n{background:var(--surface);width:22px;height:22px;font:600 12px/1 var(--font-mono);border-radius:50%;place-items:center;display:grid}.wiz li.is-on .wiz-n{background:var(--accent);color:var(--on-accent)}.wiz li.is-done .wiz-n{background:var(--status-ok);color:var(--surface)}.pick{text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);cursor:pointer;width:100%;color:inherit;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.pick:hover{border-color:var(--border-strong)}.pick.is-on{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.pick-r{border:2px solid var(--border-strong);border-radius:50%;flex:none;width:18px;height:18px;margin-top:2px}.pick.is-on .pick-r{border:5px solid var(--accent)}.pick-t{flex-direction:column;gap:2px;display:flex}.pick-t small{color:var(--text-muted);font-size:12.5px}.what{grid-template-columns:110px 1fr;gap:8px 16px;margin:0;display:grid}.what dt{font-weight:600}.what dd{color:var(--text-muted);margin:0}.drawer-wide{width:min(100%,760px)}.chain{counter-reset:ch;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.ch-item{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);grid-template-columns:96px 1fr auto;align-items:center;gap:8px;padding:8px;display:grid}.ch-k{font:600 11px/14px var(--font-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}.ch-fields{align-items:center;gap:6px;min-width:0;display:flex}.ch-fields .input.mono{flex:none;width:76px}.ch-act{gap:2px;display:flex}.map-h{text-transform:none;letter-spacing:0;flex-direction:column;gap:6px;display:flex}.map-h .input{min-width:130px;height:30px;font-weight:400}.row-pick{align-items:center;gap:8px;display:flex}.signin-m{height:var(--control-md);align-items:center;gap:8px;display:flex}.mp-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.mp-item{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.mp-t{flex-direction:column;gap:2px;display:flex}.phone-stage{background:var(--surface-2);flex-direction:column;align-items:center;gap:16px;min-height:100vh;padding:24px 16px;display:flex}.phone-note{text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;display:flex}.phone{background:var(--bg);border:1px solid var(--border-strong);width:390px;max-width:100%;height:780px;max-height:calc(100vh - 110px);box-shadow:var(--shadow-pop);border-radius:28px;flex-direction:column;display:flex;overflow:hidden}.ph-top{background:var(--surface);border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:12px 14px;display:flex}.ph-ev{flex-direction:column;flex:1;min-width:0;display:flex}.ph-ev small{color:var(--text-muted);font-size:11px}.avatar.sm{width:32px;height:32px;font-size:12px}.ph-body{flex:1;overflow-y:auto}.ph-pad{flex-direction:column;gap:12px;padding:16px;display:flex}.ph-h{font:700 22px/28px var(--font-display)}.ph-wide{width:100%;min-height:44px}.ph-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.ph-list button{text-align:left;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);width:100%;color:inherit;cursor:pointer;align-items:center;gap:10px;min-height:56px;padding:12px;display:flex}.ph-li-t{flex-direction:column;flex:1;min-width:0;display:flex}.ph-li-t small{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.ph-tabs{border-top:1px solid var(--border);background:var(--surface);padding-bottom:env(safe-area-inset-bottom,0px);grid-template-columns:1fr 1fr;display:grid}.ph-tabs button{color:var(--text-muted);font:500 12px/1 var(--font-sans);cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:56px;padding:10px 0;display:flex}.ph-tabs button.is-on{color:var(--accent)}.ph-dot{background:var(--status-pending);min-width:18px;height:18px;color:var(--surface);border-radius:9px;place-items:center;padding:0 5px;font-size:11px;display:inline-grid}.ph-cable-h{align-items:center;gap:8px;display:flex}.ph-dl{grid-template-columns:90px 1fr;gap:6px 12px;margin:0;font-size:14px;display:grid}.ph-dl dt{color:var(--text-muted)}.ph-dl dd{margin:0}.seg-big{width:100%;display:flex}.seg-big button{height:44px;font-size:14px}.ph-strands{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.ph-st{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);min-height:44px;color:var(--text);cursor:pointer;justify-content:center;align-items:center;gap:4px;display:flex}.ph-st.is-bad{border-color:var(--status-problem);background:var(--status-problem-soft);color:var(--status-problem)}.ph-path{border-left:2px solid var(--border-strong);flex-direction:column;gap:8px;margin:0;padding:0 0 0 14px;list-style:none;display:flex}.ph-path li{border-radius:var(--radius-md);background:var(--surface);flex-direction:column;padding:6px 10px;display:flex}.ph-path li small{color:var(--text-muted);font-size:11.5px}.ph-path li.is-here{background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.ph-patch{border:1.5px dashed var(--status-pending);border-radius:var(--radius-md);background:var(--surface);justify-content:space-between;align-items:center;gap:10px;padding:12px;display:flex}.ph-patch>div{flex-direction:column;display:flex}.ph-patch small{color:var(--text-muted);font-size:12px}.ph-patch .btn{min-height:44px}@media (width<=560px){.phone-stage{gap:0;padding:0}.phone-note{display:none}.phone{border:0;border-radius:0;width:100%;height:100vh;max-height:none}.si-sso,.ch-item,.what{grid-template-columns:1fr}}.mt-s{margin-top:8px}.err{color:var(--status-problem)}.form-row{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.center{justify-content:center;align-items:center;min-height:100vh;padding:16px;display:flex}.signin{width:100%;max-width:400px}.pos-grid{flex-wrap:wrap;gap:6px;display:flex}.pos-cell{text-align:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-md);min-width:56px;min-height:36px;font:500 13px/1.2 var(--font-mono);justify-content:center;align-items:center;padding:6px 8px;display:inline-flex}.row-lbl{min-width:36px;font:700 14px/36px var(--font-display)}.pos-row{align-items:flex-start;gap:12px;display:flex}a.mtab,a.stab{align-items:center;text-decoration:none;display:inline-flex}a.mtab{justify-content:center}.tb-row{padding-inline:var(--space-6)}
