:root{color-scheme:dark;--surface-0: #121316;--surface-1: #1a1c21;--surface-2: #21242c;--border-1: #2c2f3a;--border-2: #3a3f4e;--text-primary: #f2f3f7;--text-secondary: #a7abbd;--text-muted: #6b7080;--accent: #3987e5;--status-good: #0ca30c;--status-warn: #fab219;--status-crit: #d03b3b}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--surface-0);color:var(--text-primary);font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button{font:inherit;cursor:pointer}button:disabled{cursor:default}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;height:52px;padding:0 18px;background:var(--surface-1);border-bottom:1px solid var(--border-1)}.topbar-brand{display:flex;align-items:center;gap:12px;min-width:0}.topbar-title{font-weight:600;letter-spacing:.02em}.topbar-right{display:flex;align-items:center;gap:14px}.topbar-user{color:var(--text-secondary);font-size:12.5px;white-space:nowrap}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:14px;background:linear-gradient(135deg,#1c5cab,#3987e5);color:#fff;font-weight:700;font-size:20px;letter-spacing:.03em;-webkit-user-select:none;user-select:none}.brand-mark-sm{width:28px;height:28px;border-radius:8px;font-size:12px}.btn-primary{display:inline-flex;align-items:center;gap:10px;padding:10px 18px;border-radius:8px;border:1px solid var(--border-2);background:var(--surface-2);color:var(--text-primary);font-weight:600;transition:border-color .12s ease,background .12s ease}.btn-primary:hover:enabled{border-color:var(--accent);background:#262b36}.btn-ghost{padding:6px 12px;border-radius:7px;border:1px solid transparent;background:transparent;color:var(--text-secondary);transition:color .12s ease,border-color .12s ease}.btn-ghost:hover{color:var(--text-primary);border-color:var(--border-2)}.btn-back{white-space:nowrap}.signin-page{height:100%;display:flex;align-items:center;justify-content:center;background:radial-gradient(1100px 500px at 50% -10%,#1a2233 0%,transparent 60%),var(--surface-0)}.signin-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:44px 52px;border-radius:16px;background:var(--surface-1);border:1px solid var(--border-1);box-shadow:0 24px 60px #00000073}.brand-title{margin:8px 0 0;font-size:22px;font-weight:700;letter-spacing:.01em}.brand-sub{margin:0 0 18px;color:var(--text-secondary);font-size:13px}.signin-error{max-width:300px;color:var(--status-crit);font-size:12.5px;text-align:center}.signin-note{margin-top:14px;color:var(--text-muted);font-size:11.5px;letter-spacing:.04em}.hub-page{height:100%;display:flex;flex-direction:column}.hub-main{flex:1;display:flex;align-items:center;justify-content:center;background:radial-gradient(900px 420px at 50% 0%,#182031 0%,transparent 65%),var(--surface-0);padding:24px}.hub-tiles{display:flex;gap:26px;flex-wrap:wrap;justify-content:center}.tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:220px;height:190px;border-radius:16px;background:var(--surface-1);border:1px solid var(--border-1);color:var(--text-primary);transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}.tile-icon{color:var(--text-secondary)}.tile-name{font-size:17px;font-weight:650}.tile-desc{color:var(--text-muted);font-size:12.5px}.tile-active:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 16px 40px #143c7859}.tile-active .tile-icon{color:var(--accent)}.tile-inert{opacity:.45}.tile-reserved{border-style:dashed}.infra-page{height:100%;display:flex;flex-direction:column}.infra-body{position:relative;flex:1;min-height:0}.infra-waiting{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--text-secondary);z-index:2;pointer-events:none}.spinner{width:16px;height:16px;border-radius:50%;border:2px solid var(--border-2);border-top-color:var(--accent);animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.live-badge{display:inline-flex;align-items:center;gap:7px;padding:3px 10px;border-radius:999px;font-size:11.5px;letter-spacing:.04em;border:1px solid var(--border-1);color:var(--text-secondary)}.live-dot{width:7px;height:7px;border-radius:50%}.live-badge-on .live-dot{background:var(--status-good);box-shadow:0 0 6px #0ca30ccc;animation:pulse 2.2s ease-in-out infinite}.live-badge-off .live-dot{background:var(--status-warn)}@keyframes pulse{0%,to{opacity:1}50%{opacity:.45}}.status-legend{display:inline-flex;align-items:center;gap:12px;color:var(--text-secondary);font-size:11.5px}.legend-item{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.legend-swatch{width:9px;height:9px;border-radius:3px;display:inline-block}.graph-host{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.graph-svg{display:block}.group-rect-top{fill:#1a1c21bf;stroke:var(--border-1);stroke-width:1.25}.group-label-top{fill:var(--text-secondary);font-size:12px;font-weight:650;letter-spacing:.09em;text-transform:uppercase}.group-rect-lane{fill:#ffffff04;stroke:#ffffff17;stroke-width:1;stroke-dasharray:5 5}.group-label-lane{fill:var(--text-muted);font-size:10.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase}.node{cursor:default}.node-body{fill:var(--surface-2)}.node-label{fill:var(--text-primary);font-size:11.5px;font-weight:600}.node-sub{fill:var(--text-secondary);font-size:10px;font-variant-numeric:tabular-nums}.node-tooltip{position:absolute;z-index:5;min-width:180px;max-width:240px;padding:10px 12px;border-radius:10px;background:#14161bf5;border:1px solid var(--border-2);box-shadow:0 12px 32px #00000080;pointer-events:none}.node-tooltip-title{display:flex;align-items:center;gap:8px;font-weight:650;margin-bottom:7px}.kind-dot{width:9px;height:9px;border-radius:50%;display:inline-block}.node-tooltip table{border-collapse:collapse;width:100%}.tt-key{color:var(--text-muted);font-size:11.5px;padding:1.5px 12px 1.5px 0;white-space:nowrap}.tt-val{color:var(--text-secondary);font-size:11.5px;text-align:right;font-variant-numeric:tabular-nums}@media (max-width: 720px){.status-legend{display:none}}
