:root {
  color-scheme: dark;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #f3effa;
  background: #08070c;
  --bg: #08070c;
  --sidebar: #0c0a11;
  --surface: #121018;
  --surface-2: #18151f;
  --surface-hover: #1d1926;
  --line: rgba(255, 255, 255, .085);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #f5f1fb;
  --muted: #8e8799;
  --muted-2: #686270;
  --purple: #b784ff;
  --purple-strong: #9d6cf0;
  --cyan: #62c9ff;
  --green: #65dfa7;
  --amber: #f3bd68;
  --red: #f07f91;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .26);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; background: var(--bg); }
body { min-width: 320px; }
button, input, select { font: inherit; }
button { color: inherit; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

.overline { margin: 0 0 8px; color: var(--purple); font: 750 9px/1.2 ui-monospace, "Cascadia Code", monospace; letter-spacing: .2em; }
.primary-button, .secondary-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 9px; padding: 0 16px; border-radius: 11px; font-weight: 720; font-size: 13px; transition: .18s ease; }
.primary-button { color: #140d1d; border: 1px solid #c895ff; background: linear-gradient(135deg, #c695ff, #8c74ed); box-shadow: 0 10px 26px rgba(158, 101, 233, .22); }
.primary-button:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 13px 32px rgba(158, 101, 233, .3); }
.secondary-button { color: #cbc4d4; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .035); }
.secondary-button:hover { color: #fff; background: rgba(255, 255, 255, .07); }

/* Login */
.login-screen { display: grid; min-height: 100vh; grid-template-columns: minmax(400px, 1.08fr) minmax(420px, .92fr); background: #09080d; }
.login-visual { position: relative; display: flex; min-height: 100vh; overflow: hidden; flex-direction: column; justify-content: space-between; padding: 42px 54px; border-right: 1px solid var(--line); background: radial-gradient(circle at 70% 44%, rgba(115, 66, 164, .26), transparent 26rem), radial-gradient(circle at 20% 90%, rgba(38, 87, 127, .16), transparent 25rem), linear-gradient(145deg, #100c17, #08070c 66%); }
.login-visual::before { position: absolute; inset: 0; opacity: .26; background-image: linear-gradient(rgba(255, 255, 255, .026) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, transparent 1px); background-size: 48px 48px; content: ""; mask-image: linear-gradient(120deg, #000, transparent 72%); }
.login-brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; font-size: 25px; font-weight: 780; letter-spacing: -.045em; }
.login-brand img { width: 60px; height: 36px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(132, 104, 255, .25)); }
.login-brand span { color: transparent; background: linear-gradient(100deg, #b98cff, #68c9ff); background-clip: text; }
.login-message { position: relative; z-index: 2; max-width: 670px; margin: auto 0; }
.login-message h1 { margin: 0; font-size: clamp(50px, 6vw, 84px); line-height: 1.01; letter-spacing: -.065em; }
.login-message > p:last-child { max-width: 520px; margin: 25px 0 0; color: #aca3b6; font-size: 16px; line-height: 1.8; }
.login-foot { position: relative; z-index: 2; color: #5f5868; font: 700 9px/1 ui-monospace, monospace; letter-spacing: .18em; }
.signal-orbit { position: absolute; right: -80px; bottom: 14%; width: 310px; height: 310px; border: 1px solid rgba(183, 132, 255, .11); border-radius: 50%; animation: drift 8s ease-in-out infinite; }
.signal-orbit::before, .signal-orbit::after { position: absolute; border: 1px solid rgba(98, 201, 255, .08); border-radius: 50%; content: ""; }
.signal-orbit::before { inset: 47px; }
.signal-orbit::after { inset: 95px; background: radial-gradient(circle, rgba(183, 132, 255, .14), transparent 68%); }
.signal-orbit span { position: absolute; top: 50%; left: 50%; z-index: 2; color: #d9c5f6; font: 650 16px/1 ui-monospace, monospace; transform: translate(-50%, -50%); }
.signal-orbit i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.signal-orbit i:nth-child(1) { top: 47px; left: 67px; }.signal-orbit i:nth-child(2) { top: 150px; left: -3px; background: var(--purple); }.signal-orbit i:nth-child(3) { right: 23px; bottom: 72px; background: var(--green); }
@keyframes drift { 50% { transform: translateY(-14px) rotate(4deg); } }
.login-panel { display: flex; align-items: center; justify-content: center; padding: 48px; background: radial-gradient(circle at 50% 48%, rgba(133, 92, 177, .07), transparent 20rem); }
.login-card { width: min(380px, 100%); }
.login-card h2 { margin: 0; font-size: 35px; letter-spacing: -.045em; }
.form-intro { margin: 12px 0 34px; color: var(--muted); font-size: 13px; }
.login-card label, .modal label { display: grid; gap: 9px; margin-bottom: 18px; color: #aaa2b5; font-size: 12px; font-weight: 650; }
.login-card input, .modal input, .search-field input { width: 100%; color: var(--text); border: 1px solid var(--line-strong); border-radius: 11px; outline: none; background: #100e15; transition: .18s ease; }
.login-card input { height: 48px; padding: 0 14px; }
.login-card input:hover, .modal input:hover { border-color: rgba(183, 132, 255, .38); }
.login-card input:focus, .modal input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(183, 132, 255, .1); }
.login-button { width: 100%; min-height: 48px; justify-content: space-between; margin-top: 5px; padding: 0 17px; }
.login-button b { font-size: 20px; font-weight: 400; }
.form-error { min-height: 18px; margin: -4px 0 8px; color: var(--red); font-size: 12px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 18px 0 0; color: #615a69; font-size: 10px; }
.secure-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(101, 223, 167, .45); }
.mobile-brand { display: none; }

/* Shell and navigation */
.app-shell { display: grid; min-height: 100vh; grid-template-columns: 244px minmax(0, 1fr); }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; display: flex; width: 244px; flex-direction: column; padding: 25px 17px 17px; border-right: 1px solid var(--line); background: linear-gradient(180deg, #0e0b13, #0a090e); }
.sidebar-brand { display: flex; align-items: center; gap: 8px; padding: 0 7px 25px; border-bottom: 1px solid var(--line); }
.sidebar-brand img { width: 49px; height: 31px; object-fit: contain; }
.sidebar-brand > span { display: grid; gap: 3px; }
.sidebar-brand strong { color: transparent; background: linear-gradient(100deg, #bd92ff, #67c6fa); background-clip: text; font-size: 20px; letter-spacing: -.04em; }
.sidebar-brand small { color: #625a6c; font: 700 7px/1 ui-monospace, monospace; letter-spacing: .16em; }
.primary-nav { padding: 17px 0; }
.primary-nav p { margin: 17px 10px 8px; color: #534d5a; font: 750 8px/1 ui-monospace, monospace; letter-spacing: .18em; }
.nav-item { display: flex; width: 100%; min-height: 43px; align-items: center; gap: 11px; margin: 3px 0; padding: 0 12px; color: #8e8798; border: 1px solid transparent; border-radius: 10px; background: transparent; font-size: 12px; text-align: left; transition: .16s ease; }
.nav-item:hover { color: #d8d1e1; background: rgba(255, 255, 255, .03); }
.nav-item.active { color: #f7f2fd; border-color: rgba(183, 132, 255, .16); background: linear-gradient(105deg, rgba(144, 93, 204, .19), rgba(88, 83, 170, .07)); box-shadow: inset 2px 0 var(--purple); }
.nav-icon { display: inline-flex; width: 20px; align-items: center; justify-content: center; color: #a98ad2; font: 700 18px/1 ui-monospace, monospace; }
.sidebar-status { margin-top: auto; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .025); }
.status-line { display: flex; align-items: center; gap: 8px; font-size: 11px; }.status-line strong { font-weight: 680; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.status-dot.ready { background: var(--green); box-shadow: 0 0 10px rgba(101, 223, 167, .45); }.status-dot.busy { background: var(--cyan); box-shadow: 0 0 10px rgba(98, 201, 255, .45); }.status-dot.offline { background: var(--red); }
.sidebar-status > small { display: block; margin: 6px 0 12px 15px; color: var(--muted-2); font-size: 9px; }
.mini-queue { display: flex; gap: 6px; }.mini-queue span { flex: 1; padding: 6px; color: #777080; border-radius: 6px; background: rgba(255, 255, 255, .035); font-size: 8px; text-align: center; }
.profile-button { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; width: 100%; margin-top: 10px; padding: 9px; color: inherit; border: 0; border-radius: 10px; background: transparent; text-align: left; }
.profile-button:hover { background: rgba(255, 255, 255, .04); }.profile-button > span:not(.avatar) { display: grid; gap: 2px; }.profile-button strong { font-size: 11px; }.profile-button small { color: var(--muted-2); font-size: 9px; }.profile-button b { color: #5e5866; font-size: 13px; }
.avatar { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; color: #21162d; border-radius: 9px; background: linear-gradient(135deg, #c899ff, #6abde7); font-size: 10px; font-weight: 800; }
.workspace { min-width: 0; grid-column: 2; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; min-height: 80px; align-items: center; justify-content: space-between; gap: 24px; padding: 15px 32px; border-bottom: 1px solid var(--line); background: rgba(8, 7, 12, .86); backdrop-filter: blur(18px); }
.breadcrumb { margin: 0 0 5px; color: #57515f; font: 700 8px/1 ui-monospace, monospace; letter-spacing: .14em; }.breadcrumb span { color: #887898; }
.topbar h1 { margin: 0; font-size: 17px; letter-spacing: -.025em; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.live-pill, .auto-refresh { display: inline-flex; align-items: center; gap: 7px; color: #82d8aa; font: 750 8px/1 ui-monospace, monospace; letter-spacing: .14em; }.live-pill i, .auto-refresh i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(101, 223, 167, .4); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.updated-at { color: var(--muted-2); font-size: 9px; }
.icon-button, .mobile-menu { width: 34px; height: 34px; color: #aaa2b4; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, .03); }
.icon-button:hover { color: #fff; background: rgba(255, 255, 255, .07); }.mobile-menu { display: none; }

/* Content */
.content { width: min(1520px, 100%); margin: auto; padding: 32px; }
.view { display: none; }.view.active { display: block; animation: reveal .22s ease; }
@keyframes reveal { from { opacity: 0; transform: translateY(4px); } }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 24px; }
.section-heading h2 { margin: 0; font-size: 30px; letter-spacing: -.045em; }.section-heading > div > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.hero-heading { margin-bottom: 27px; }.hero-heading h2 { font-size: 34px; }
select { min-height: 38px; padding: 0 33px 0 12px; color: #bbb3c5; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.kpi-grid.compact { margin-bottom: 12px; }
.kpi-card { position: relative; min-height: 134px; overflow: hidden; padding: 19px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)); }
.kpi-card::after { position: absolute; top: -50px; right: -45px; width: 130px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(183, 132, 255, .09), transparent 70%); content: ""; }
.kpi-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }.kpi-glyph { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; color: #ae8bd9; border: 1px solid rgba(183, 132, 255, .18); border-radius: 7px; background: rgba(183, 132, 255, .07); font: 700 12px/1 ui-monospace, monospace; }
.kpi-value { margin-top: 21px; font-size: 29px; font-weight: 750; letter-spacing: -.045em; }.kpi-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; color: #696271; font-size: 9px; }.kpi-accent { color: var(--green); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(260px, .68fr); gap: 12px; }.dashboard-grid.equal { grid-template-columns: repeat(2, minmax(0, 1fr)); }.span-2 { grid-column: span 2; }
.panel { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .017)); box-shadow: 0 1px rgba(255, 255, 255, .02) inset; }
.panel-heading { display: flex; min-height: 40px; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 16px; }.panel-heading h3 { margin: 0; font-size: 15px; letter-spacing: -.02em; }
.legend { display: flex; gap: 13px; color: var(--muted); font-size: 8px; }.legend span { display: flex; align-items: center; gap: 5px; }.legend i { width: 6px; height: 6px; border-radius: 50%; }.legend .purple { background: var(--purple); }.legend .cyan { background: var(--cyan); }
.chart-wrap { position: relative; height: 260px; }.chart-wrap.small { height: 230px; }.chart-wrap canvas { width: 100%; height: 100%; }.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #635c6b; font-size: 11px; }
.text-button { padding: 4px; color: #8f79a9; border: 0; background: transparent; font-size: 9px; }.text-button:hover { color: #c89cff; }
.health-badge { padding: 6px 9px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; background: rgba(255, 255, 255, .025); font: 700 8px/1 ui-monospace, monospace; text-transform: uppercase; }.health-badge.ready { color: var(--green); border-color: rgba(101, 223, 167, .22); background: rgba(101, 223, 167, .06); }.health-badge.busy { color: var(--cyan); border-color: rgba(98, 201, 255, .22); }.health-badge.offline { color: var(--red); border-color: rgba(240, 127, 145, .22); }
.gateway-hero { display: flex; align-items: baseline; gap: 7px; padding: 14px 0 19px; border-bottom: 1px solid var(--line); }.gateway-hero strong { font-size: 37px; letter-spacing: -.06em; }.gateway-hero span { color: var(--muted); font-size: 10px; }
.detail-list { display: grid; gap: 10px; margin-top: 15px; }.detail-row { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }.detail-row strong { color: #d9d2e2; font-size: 11px; font-weight: 640; }
.meter { overflow: hidden; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .06); }.meter > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple-strong), var(--cyan)); box-shadow: 0 0 12px rgba(183, 132, 255, .24); }
.gpu-snapshot .gpu-name { display: block; overflow: hidden; margin-bottom: 18px; color: #d8d0e1; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.gpu-big { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }.gpu-big strong { font-size: 31px; letter-spacing: -.05em; }.gpu-big span { color: var(--muted); font-size: 9px; }
.gpu-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 17px; }.gpu-meta div { padding: 9px; border-radius: 8px; background: rgba(255, 255, 255, .025); }.gpu-meta small, .gpu-meta strong { display: block; }.gpu-meta small { color: #655f6d; font-size: 8px; }.gpu-meta strong { margin-top: 4px; font-size: 10px; }
.empty-state { display: grid; min-height: 170px; place-items: center; color: #615b68; font-size: 11px; text-align: center; }

/* Tables and management */
.table-panel { margin-top: 12px; }.table-wrap { width: 100%; overflow-x: auto; } table { width: 100%; border-collapse: collapse; } th { padding: 10px 12px; color: #605968; border-bottom: 1px solid var(--line); font: 700 8px/1 ui-monospace, monospace; letter-spacing: .08em; text-align: left; text-transform: uppercase; white-space: nowrap; } td { padding: 13px 12px; color: #a9a1b3; border-bottom: 1px solid rgba(255, 255, 255, .045); font-size: 10px; white-space: nowrap; } tbody tr:last-child td { border-bottom: 0; } tbody tr:hover td { background: rgba(255, 255, 255, .018); } td strong { color: #e5dfea; font-weight: 650; }.tenant-identity { display: grid; gap: 3px; }.tenant-identity small { color: #655e6c; font: 8px/1 ui-monospace, monospace; }
.status-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; color: var(--green); border-radius: 99px; background: rgba(101, 223, 167, .07); font-size: 8px; }.status-tag::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ""; }.status-tag.disabled { color: #817986; background: rgba(255, 255, 255, .04); }.status-code { color: var(--green); }.status-code.error { color: var(--red); }
.tenant-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -2px 0 14px; }.tenant-toolbar > span { color: var(--muted-2); font-size: 9px; }.search-field { display: flex; width: min(330px, 100%); height: 38px; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, .02); }.search-field span { color: #625b6a; }.search-field input { height: 100%; padding: 0; border: 0; background: transparent; font-size: 10px; }.search-field input:focus { outline: 0; }.row-actions { display: flex; justify-content: flex-end; gap: 6px; }.row-action { padding: 6px 8px; color: #8f8799; border: 1px solid var(--line); border-radius: 7px; background: rgba(255, 255, 255, .02); font-size: 8px; }.row-action:hover { color: #fff; border-color: rgba(183, 132, 255, .3); }.row-action.warn:hover { color: var(--amber); border-color: rgba(243, 189, 104, .3); }

/* Compute */
.compute-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }.gpu-card { padding: 22px; border: 1px solid rgba(183, 132, 255, .16); border-radius: var(--radius); background: radial-gradient(circle at 90% 10%, rgba(112, 79, 161, .13), transparent 14rem), linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .018)); }.gpu-card-head { display: flex; justify-content: space-between; gap: 16px; }.gpu-card-head h3 { margin: 0; font-size: 17px; }.gpu-card-head p { margin: 5px 0 0; color: #645d6c; font: 8px/1 ui-monospace, monospace; }.temperature { color: var(--green); font-size: 22px; font-weight: 730; }.gpu-gauges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 25px; }.gauge-heading { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--muted); font-size: 9px; }.gauge-heading strong { color: #e3dce9; }.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }.resource-tile { padding: 12px; border: 1px solid rgba(255, 255, 255, .05); border-radius: 9px; background: rgba(255, 255, 255, .02); }.resource-tile small { display: block; color: #665f6e; font-size: 8px; }.resource-tile strong { display: block; overflow: hidden; margin-top: 6px; color: #ddd6e5; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.queue-visual { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 22px 0; }.queue-node { padding: 15px; border: 1px solid var(--line); border-radius: 10px; text-align: center; }.queue-node strong, .queue-node small { display: block; }.queue-node strong { font-size: 23px; }.queue-node small { margin-top: 4px; color: var(--muted); font-size: 8px; }.queue-arrow { color: #5f5668; }.runtime-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }.runtime-metric { padding: 14px; border-radius: 9px; background: rgba(255, 255, 255, .025); }.runtime-metric small { display: block; color: #655e6d; font-size: 8px; }.runtime-metric strong { display: block; margin-top: 7px; color: #e0d9e8; font-size: 15px; }

/* Modal and feedback */
.modal { width: min(650px, calc(100% - 32px)); color: var(--text); border: 1px solid var(--line-strong); border-radius: 17px; background: #121017; box-shadow: 0 28px 100px rgba(0, 0, 0, .65); }.modal::backdrop { background: rgba(3, 2, 5, .72); backdrop-filter: blur(6px); }.modal form { padding: 4px; }.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 27px; }.modal-heading h2 { margin: 0; font-size: 24px; letter-spacing: -.04em; }.close-button { width: 32px; height: 32px; color: #88808f; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .03); font-size: 21px; }.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }.modal input { height: 42px; padding: 0 12px; }.form-section { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }.form-section h3 { margin: 0 0 15px; font-size: 12px; }.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }.key-modal { width: min(560px, calc(100% - 32px)); padding: 25px; }.key-modal > p { color: var(--muted); font-size: 11px; }.key-value { display: flex; align-items: center; gap: 8px; margin: 20px 0; padding: 9px 9px 9px 13px; border: 1px solid rgba(183, 132, 255, .22); border-radius: 10px; background: #09080d; }.key-value code { flex: 1; min-width: 0; overflow: hidden; color: #d8c6ec; font: 10px/1.5 ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }.key-value button { padding: 8px 11px; color: #b795dc; border: 1px solid var(--line); border-radius: 7px; background: rgba(255, 255, 255, .04); font-size: 9px; }.full-button { width: 100%; }.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: grid; gap: 8px; }.toast { min-width: 260px; padding: 13px 15px; color: #dcd5e4; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(21, 18, 27, .96); box-shadow: var(--shadow); font-size: 10px; animation: toast-in .2s ease; }.toast.error { border-color: rgba(240, 127, 145, .28); color: #f5b0bb; }@keyframes toast-in { from { opacity: 0; transform: translateY(7px); } }

@media (max-width: 1180px) { .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.dashboard-grid > .service-panel, .dashboard-grid > .panel:last-child { grid-column: auto; }.runtime-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .login-screen { grid-template-columns: 1fr; }.login-visual { display: none; }.login-panel { min-height: 100vh; }.mobile-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 50px; color: transparent; background: linear-gradient(100deg, #bd92ff, #67c6fa); background-clip: text; font-size: 23px; font-weight: 750; }.mobile-brand img { width: 48px; }.app-shell { display: block; }.workspace { grid-column: auto; }.sidebar { transform: translateX(-100%); transition: .2s ease; }.sidebar.open { transform: translateX(0); }.sidebar-backdrop { position: fixed; inset: 0; z-index: 29; background: rgba(0, 0, 0, .62); }.mobile-menu { display: inline-grid; place-items: center; }.topbar { justify-content: flex-start; }.topbar-actions { margin-left: auto; }.content { padding: 24px; } }
@media (max-width: 680px) { .topbar { min-height: 69px; padding: 12px 16px; }.topbar .breadcrumb, .updated-at, .live-pill { display: none; }.topbar h1 { font-size: 15px; }.content { padding: 20px 14px 30px; }.section-heading { align-items: flex-start; flex-direction: column; }.hero-heading h2, .section-heading h2 { font-size: 27px; }.kpi-grid, .dashboard-grid, .dashboard-grid.equal, .compute-grid { grid-template-columns: 1fr; }.span-2 { grid-column: auto; }.kpi-card { min-height: 118px; }.chart-wrap { height: 220px; }.field-grid, .gpu-gauges { grid-template-columns: 1fr; }.runtime-grid { grid-template-columns: repeat(2, 1fr); }.tenant-toolbar { align-items: flex-start; flex-direction: column; }.search-field { width: 100%; }.modal { padding: 18px; }.limits-grid { grid-template-columns: repeat(2, 1fr); }.toast-region { right: 12px; bottom: 12px; left: 12px; }.toast { min-width: 0; }.auto-refresh { align-self: flex-start; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
