:root{color-scheme:dark;font-family:ui-sans-serif,system-ui,sans-serif;background:#0f1419;color:#e7ecf3}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0}a{color:#8cb4ff}button,input,select{font:inherit;border-radius:8px;border:1px solid #2a3644;background:#1a222c;color:inherit;padding:8px 12px}button{cursor:pointer;background:#2563eb;border-color:#2563eb}button:disabled{opacity:.5;cursor:wait}button.secondary{background:#1a222c}.layout{max-width:1100px;margin:0 auto;padding:24px;min-height:100%}.layout:has(.remote-page){max-width:none;height:100dvh;padding:8px 12px;display:flex;flex-direction:column;overflow:hidden}.layout:has(.login-page){display:flex;align-items:center;justify-content:center}.login-page{width:100%;display:flex;justify-content:center}.login-card{width:100%;max-width:360px}.login-card h1{margin:0 0 4px;font-size:24px;text-align:center}.nav{display:flex;gap:16px;margin-bottom:24px}.layout:has(.remote-page) .nav{margin-bottom:8px;flex-shrink:0}.remote-page{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px}.remote-stage{flex:1;min-height:0;display:grid;place-items:center;position:relative}.remote-log{position:absolute;left:8px;bottom:8px;right:auto;max-width:min(72%,560px);max-height:42%;overflow:auto;margin:0;padding:8px 10px;font:11px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;color:#d7ffd7;background:#00000094;border-radius:8px;white-space:pre-wrap;pointer-events:auto}.remote-stage canvas{display:block;width:auto;height:auto;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;background:#000;border-radius:8px;touch-action:none}.card{background:#151b22;border:1px solid #243040;border-radius:12px;padding:16px}.grid{display:grid;gap:12px}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.tier{font-size:12px;padding:2px 8px;border-radius:999px}.READY,.live,.active{background:#14532d}.DEGRADED,.connecting,.checking,.starting,.probing{background:#854d0e}.NOT_READY,.error,.failed{background:#7f1d1d}.OFFLINE,.disconnected,.closed{background:#334155}.err{color:#fca5a5}.hw-page{grid-template-columns:minmax(0,1fr)}.hw-muted{color:#8b9bb0;font-size:13px}.hw-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px 16px}.hw-bad{color:#fca5a5}.hw-line{padding:6px 0;border-bottom:1px solid #243040}.hw-table{font-size:13px;overflow-x:auto}.hw-head,.hw-row{display:grid;grid-template-columns:90px 50px 100px 50px 70px 50px 60px 1fr;gap:8px;padding:3px 0;min-width:560px}.hw-head{color:#8b9bb0;border-bottom:1px solid #243040}.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;margin:8px 0}.tile{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;padding:12px;border-radius:10px;border:1px solid #243040;background:#101820;color:inherit;cursor:pointer}.tile.static{cursor:default}a.tile:hover{outline:2px solid #60a5fa}.tile.neutral{border-color:#243040}.tile.good{border-color:#1f5f3a}.tile.warn{border-color:#8a5a12}.tile.bad{border-color:#8a2323;background:#1a1114}.tile-value{font-size:28px;font-weight:700;line-height:1.1}.tile.bad .tile-value{color:#fca5a5}.tile.warn .tile-value{color:#fcd34d}.tile.good .tile-value{color:#86efac}.tile-title{font-size:13px}.tile-sub{font-size:11px;color:#8b9bb0}.stack{display:flex;height:26px;border-radius:6px;overflow:hidden;margin:6px 0;background:#101820}.seg{text-decoration:none;display:flex;align-items:center;justify-content:center;font-size:12px;color:#fff;min-width:22px}.seg.READY{background:#166534}.seg.DEGRADED{background:#8a5a12}.seg.NOT_READY{background:#7f1d1d}.seg.OFFLINE{background:#374151}.bar{flex:1;min-width:80px;height:10px;background:#101820;border-radius:5px;overflow:hidden}.bar>span{display:block;height:100%;background:#60a5fa}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{font-size:12px;padding:3px 9px;border-radius:999px;border:1px solid #243040;background:#101820;color:inherit;text-decoration:none}.chip.bad{border-color:#8a2323;color:#fca5a5}.attn{padding:6px 0;border-bottom:1px solid #243040}.dl-scroll{overflow-x:auto}table.dl{width:100%;border-collapse:collapse;font-size:14px;min-width:560px}table.dl th,table.dl td{text-align:left;padding:8px 10px;border-bottom:1px solid #243040;vertical-align:top}table.dl th{color:#8b9bb0;font-weight:500;white-space:nowrap}button.th{background:none;border:none;padding:0;color:inherit;font:inherit;cursor:pointer}button.th:hover{color:#fff}a.tile{text-decoration:none}.banner{padding:10px 12px;border-radius:8px;margin-top:8px;font-size:14px}.banner.ok{background:#0f2a1a;border:1px solid #1f5f3a;color:#86efac}.banner.wait{background:#2a2110;border:1px solid #8a5a12;color:#fcd34d}
