:root{color-scheme:light dark;--bg: #0f1419;--bg-elevated: #1a222c;--bg-soft: #243040;--border: #2f3d4d;--text: #e8eef5;--muted: #9aabbc;--accent: #3d8bfd;--accent-hover: #5a9dff;--danger: #f87171;--online: #34d399;--offline: #94a3b8;--radius: 10px;--font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.45}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}code,.mono{font-family:var(--mono);font-size:.92em}.muted{color:var(--muted)}.small{font-size:.85em}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.centered{min-height:100%;display:grid;place-items:center}.auth-page{min-height:100%;display:grid;place-items:center;padding:2rem;background:radial-gradient(ellipse at top,#1b2a40 0%,transparent 55%),var(--bg)}.auth-card{width:min(420px,100%);background:var(--bg-elevated);border:1px solid var(--border);border-radius:calc(var(--radius) + 4px);padding:1.75rem;display:flex;flex-direction:column;gap:.9rem}.auth-card h1{margin:0;font-size:1.5rem}.hint{margin:0;font-size:.85rem}.app-shell{display:grid;grid-template-columns:240px 1fr;min-height:100%}.sidebar{background:var(--bg-elevated);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:1.25rem 1rem;gap:1.25rem}.brand{display:flex;flex-direction:column;gap:.15rem;padding:0 .4rem}.brand-mark{font-weight:700;letter-spacing:.04em}.brand-sub{color:var(--muted);font-size:.8rem}.nav{display:flex;flex-direction:column;gap:.25rem;flex:1}.nav-link{color:var(--text);padding:.55rem .7rem;border-radius:8px;text-decoration:none}.nav-link:hover{background:var(--bg-soft);text-decoration:none}.nav-link.active{background:color-mix(in srgb,var(--accent) 22%,transparent);color:#dbeaff}.sidebar-foot{display:flex;flex-direction:column;gap:.6rem;border-top:1px solid var(--border);padding-top:1rem}.mock-pill{align-self:flex-start;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;background:#422006;color:#fdba74;border:1px solid #9a3412;border-radius:999px;padding:.15rem .55rem}.user-name{font-weight:600;font-size:.95rem}.user-email{font-size:.8rem}.main{padding:1.5rem 1.75rem 2.5rem;overflow:auto}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.25rem}.page-header h1{margin:.15rem 0 .35rem;font-size:1.65rem}.header-meta{display:flex;gap:.75rem;align-items:center}.back-link{font-size:.9rem}.toolbar{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem}.field{display:flex;flex-direction:column;gap:.35rem;font-size:.9rem}.field.inline{min-width:160px}.field.inline input[type=search]{min-width:260px}input,select,button{font:inherit}input,select{background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:.55rem .7rem}input:focus,select:focus{outline:2px solid color-mix(in srgb,var(--accent) 55%,transparent);border-color:var(--accent)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;border:1px solid var(--border);background:var(--bg-soft);color:var(--text);border-radius:8px;padding:.55rem .9rem;cursor:pointer;text-decoration:none}.btn:hover{filter:brightness(1.08);text-decoration:none}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--accent);border-color:transparent;color:#fff;font-weight:600}.btn-primary:hover{background:var(--accent-hover)}.btn-ghost{background:transparent}.action-row{display:flex;flex-wrap:wrap;gap:.5rem}.error-banner{background:color-mix(in srgb,var(--danger) 18%,transparent);border:1px solid color-mix(in srgb,var(--danger) 45%,transparent);color:#fecaca;padding:.7rem .85rem;border-radius:8px;margin-bottom:.75rem}.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg-elevated)}.data-table{width:100%;border-collapse:collapse;font-size:.95rem}.data-table th,.data-table td{text-align:left;padding:.75rem .9rem;border-bottom:1px solid var(--border);vertical-align:top}.data-table th{color:var(--muted);font-weight:600;font-size:.8rem;text-transform:uppercase;letter-spacing:.03em;background:color-mix(in srgb,var(--bg-soft) 55%,transparent)}.data-table tr:last-child td{border-bottom:none}.data-table.compact th,.data-table.compact td{padding:.55rem .75rem}.table-link{font-weight:600;color:var(--text)}.table-link:hover{color:var(--accent)}.badge{display:inline-flex;align-items:center;gap:.35rem;border-radius:999px;padding:.15rem .55rem;font-size:.78rem;font-weight:600}.badge:before{content:"";width:.45rem;height:.45rem;border-radius:50%;background:currentColor}.badge-online{background:color-mix(in srgb,var(--online) 18%,transparent);color:var(--online)}.badge-offline,.badge-unknown{background:color-mix(in srgb,var(--offline) 18%,transparent);color:var(--offline)}.tag-row{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.3rem}.tag{display:inline-block;background:var(--bg-soft);border:1px solid var(--border);border-radius:999px;padding:.05rem .45rem;font-size:.72rem;color:var(--muted);margin-right:.25rem}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.card{background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.15rem}.card h2{margin:0 0 .85rem;font-size:1.05rem}.span-2{grid-column:span 2}.kv{display:grid;grid-template-columns:140px 1fr;gap:.45rem .75rem;margin:0}.kv dt{color:var(--muted);font-size:.88rem}.kv dd{margin:0}.action-code{background:var(--bg-soft);padding:.1rem .35rem;border-radius:4px}.placeholder-card ul{margin:.75rem 0 0;padding-left:1.2rem}.empty{color:var(--muted);padding:1.5rem 0}@media (max-width: 900px){.app-shell{grid-template-columns:1fr}.sidebar{border-right:none;border-bottom:1px solid var(--border)}.nav{flex-direction:row;flex-wrap:wrap}.detail-grid,.span-2{grid-template-columns:1fr;grid-column:auto}}.backoff-banner{background:color-mix(in srgb,#fbbf24 18%,transparent);border:1px solid color-mix(in srgb,#fbbf24 45%,transparent);color:#fde68a;padding:.7rem .85rem;border-radius:8px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;display:grid;place-items:center;z-index:50;padding:1rem}.modal-card{width:min(440px,100%);background:var(--bg-elevated);border:1px solid var(--border);border-radius:calc(var(--radius) + 2px);padding:1.25rem;display:flex;flex-direction:column;gap:.75rem}.nav-disabled{opacity:.65}.break-glass-badge{display:inline-block;margin-left:.45rem;vertical-align:middle;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;background:#7f1d1d;color:#fecaca;border:1px solid #b91c1c;border-radius:999px;padding:.1rem .45rem}.badge-path{display:inline-flex;align-items:center;gap:.25rem;padding:.15rem .55rem;border-radius:999px;font-size:.78rem;font-weight:600;background:var(--bg-soft);border:1px solid var(--border)}.badge-direct{color:var(--online);border-color:#1f6b4a}.badge-relay-udp{color:#93c5fd;border-color:#1e3a5f}.badge-relay-tcp{color:#fbbf24;border-color:#5b4a1e}.badge-down{color:#f87171;border-color:#5b1e1e}.badge-unknown{color:var(--muted);border-color:#2a3340}.badge-up{color:var(--online);border-color:#1f6b4a}.badge-relay-udp{color:#fbbf24}.badge-relay-tcp{color:#fb923c}.badge-down,.badge-unknown{color:var(--muted)}.screen-viewer{display:flex;flex-direction:column;gap:.5rem}.screen-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.screen-stats{display:flex;gap:.75rem;font-family:var(--mono);font-size:.8rem;color:var(--muted)}.screen-canvas{width:100%;max-height:70vh;background:#000;border-radius:var(--radius);border:1px solid var(--border);outline:none}.screen-canvas:focus{border-color:var(--accent)}.error-banner{color:var(--danger);margin:0}.badge-enroll{font-size:.75rem;padding:.1rem .45rem;border-radius:999px;border:1px solid var(--border)}.badge-enroll-pending{color:#fbbf24}.badge-enroll-active{color:var(--online)}.badge-enroll-revoked{color:var(--danger)}.badge-enroll-replaced{color:var(--muted)}.plain-list{list-style:none;padding:0;margin:.5rem 0 0}.plain-list li{padding:.25rem 0;border-bottom:1px solid var(--border, #2a3340)}.shell-terminal-wrap{margin-top:1rem}.shell-terminal{border:1px solid var(--border, #2a3340);border-radius:8px;overflow:hidden;padding:4px;background:#0b1220}.shell-status{margin-bottom:.5rem;display:flex;gap:.75rem;align-items:center}/**
 * Copyright (c) 2014 The xterm.js authors. All rights reserved.
 * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
 * https://github.com/chjj/term.js
 * @license MIT
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * Originally forked from (with the author's permission):
 *   Fabrice Bellard's javascript vt100 for jslinux:
 *   http://bellard.org/jslinux/
 *   Copyright (c) 2011 Fabrice Bellard
 *   The original design remains. The terminal itself
 *   has been extended to include xterm CSI codes, among
 *   other features.
 */.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{font-family:monospace;-webkit-user-select:text;user-select:text;white-space:pre}.xterm .xterm-accessibility-tree>div{transform-origin:left;width:fit-content}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.xterm .xterm-scrollable-element>.scrollbar{cursor:default}.xterm .xterm-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.xterm .xterm-scrollable-element>.visible{opacity:1;background:#0000;transition:opacity .1s linear;z-index:11}.xterm .xterm-scrollable-element>.invisible{opacity:0;pointer-events:none}.xterm .xterm-scrollable-element>.invisible.fade{transition:opacity .8s linear}.xterm .xterm-scrollable-element>.shadow{position:absolute;display:none}.xterm .xterm-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow, #000) 0 6px 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.xterm .xterm-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}
