:root {
  --bg: #08090a;
  --panel: #0f1011;
  --surface: #15171a;
  --surface-raised: #1b1d21;
  --surface-hover: #22242a;
  --ink: #f7f8f8;
  --secondary: #d0d6e0;
  --muted: #8a8f98;
  --quiet: #747b86;
  --border: rgba(255,255,255,.08);
  --border-subtle: rgba(255,255,255,.05);
  --accent: #7170ff;
  --accent-deep: #5e6ad2;
  --accent-hover: #828fff;
  --green: #27c780;
  --amber: #e2a84b;
  --red: #ee6677;
  --blue: #61a7ff;
  --sidebar: 246px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv01", "ss03";
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); }
body { min-height: 100vh; overflow-x: hidden; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.is-hidden { display: none !important; }
.mobile-only { display: none !important; }

/* Brand */
.brand-lockup { display: flex; align-items: center; gap: 11px; min-height: 42px; }
.brand-lockup > div { display: flex; flex-direction: column; gap: 2px; }
.brand-lockup strong { font-size: 14px; letter-spacing: .18em; font-weight: 600; }
.brand-lockup small { color: var(--quiet); font-family: "JetBrains Mono", monospace; font-size: 8px; letter-spacing: .12em; }
.brand-mark { width: 29px; height: 29px; position: relative; display: inline-grid; place-items: center; transform: rotate(30deg); }
.brand-mark span { position: absolute; width: 18px; height: 18px; border: 1px solid var(--accent); border-radius: 3px; }
.brand-mark span:nth-child(2) { width: 13px; height: 13px; opacity: .6; }
.brand-mark span:nth-child(3) { width: 7px; height: 7px; background: var(--accent); box-shadow: 0 0 16px rgba(113,112,255,.7); }

/* Login */
.login-screen { display: grid; grid-template-columns: minmax(420px, .86fr) 1.14fr; min-height: 100vh; }
.login-panel { padding: clamp(32px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--border-subtle); background: var(--panel); }
.brand-lockup--login { position: absolute; top: 42px; }
.login-copy { max-width: 470px; margin-bottom: 36px; }
.eyebrow { color: var(--quiet); font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 500; letter-spacing: .14em; margin: 0 0 9px; }
.login-copy h1, .hero-row h1, .section-heading h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.02; letter-spacing: -1.1px; font-weight: 500; margin: 0; }
.login-copy > p:last-child, .section-heading p, .hero-subtitle { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 600px; }
.login-panel .stack-form { max-width: 440px; }
.security-strip { margin-top: 30px; color: var(--quiet); font-size: 11px; display: flex; align-items: center; gap: 8px; }
.login-visual { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(113,112,255,.10), transparent 35%), linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: auto, 44px 44px, 44px 44px; display: grid; place-items: center; }
.login-visual::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 150px rgba(0,0,0,.7); }
.orbital-grid { width: min(56vw, 570px); aspect-ratio: 1; position: relative; z-index: 1; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.orbit--a { inset: 10%; }
.orbit--b { inset: 25%; border-style: dashed; animation: spin 26s linear infinite; }
.orbit--c { inset: 39%; box-shadow: 0 0 60px rgba(113,112,255,.13); }
.core { width: 78px; height: 78px; border-radius: 24px; background: var(--accent-deep); display: grid; place-items: center; font-size: 26px; font-weight: 600; box-shadow: 0 0 70px rgba(113,112,255,.34); }
.node { position: absolute; width: 41px; height: 41px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); border-radius: 50%; color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 11px; }
.node--1 { left: 13%; top: 48%; }.node--2 { right: 14%; top: 23%; }.node--3 { right: 19%; bottom: 19%; }.node--4 { left: 28%; top: 16%; }
.visual-caption { position: absolute; bottom: 8%; left: 8%; z-index: 2; display: flex; flex-direction: column; gap: 10px; }
.visual-caption span { color: var(--quiet); font: 10px "JetBrains Mono", monospace; letter-spacing: .16em; }
.visual-caption strong { font-size: 22px; font-weight: 400; line-height: 1.25; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Forms */
.stack-form { display: flex; flex-direction: column; gap: 17px; }
.stack-form label { color: var(--muted); font-size: 12px; display: flex; flex-direction: column; gap: 7px; }
input, textarea, select { width: 100%; color: var(--ink); background: rgba(255,255,255,.025); border: 1px solid var(--border); border-radius: 7px; padding: 11px 12px; outline: none; transition: border-color .16s, background .16s, box-shadow .16s; }
textarea { resize: vertical; min-height: 88px; }
input:focus, textarea:focus, select:focus { border-color: rgba(113,112,255,.72); background: rgba(255,255,255,.04); box-shadow: 0 0 0 3px rgba(113,112,255,.10); }
select { cursor: pointer; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compact-form { gap: 14px; }
.form-error { min-height: 16px; color: var(--red); font-size: 12px; margin: 0; }
.button { border: 1px solid var(--border); border-radius: 7px; background: rgba(255,255,255,.035); padding: 10px 14px; font-size: 12px; font-weight: 500; cursor: pointer; transition: .16s ease; min-height: 38px; }
.button:hover { background: rgba(255,255,255,.065); transform: translateY(-1px); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.button--primary { background: var(--accent-deep); border-color: var(--accent); color: white; }
.button--primary:hover { background: var(--accent); }
.button--ghost { background: transparent; }
.button--danger { color: var(--red); border-color: rgba(238,102,119,.3); }
.button--wide { width: 100%; }
.text-button { color: var(--muted); background: none; border: 0; font-size: 11px; cursor: pointer; }
.text-button:hover { color: var(--ink); }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border-radius: 8px; border: 1px solid var(--border); background: rgba(255,255,255,.025); cursor: pointer; }

/* Shell */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); padding: 18px 14px; border-right: 1px solid var(--border-subtle); background: #0b0c0e; display: flex; flex-direction: column; z-index: 20; }
.sidebar .brand-lockup { padding: 0 9px 16px; border-bottom: 1px solid var(--border-subtle); }
.primary-nav { display: flex; flex-direction: column; gap: 3px; padding: 18px 0; }
.nav-item { border: 0; background: transparent; border-radius: 7px; min-height: 42px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; color: var(--muted); text-align: left; padding: 0 10px; cursor: pointer; font-size: 12px; }
.nav-item:hover { background: rgba(255,255,255,.035); color: var(--secondary); }
.nav-item.is-active { background: rgba(113,112,255,.10); color: var(--ink); }
.nav-glyph { color: var(--quiet); font: 10px "JetBrains Mono", monospace; }
.nav-item.is-active .nav-glyph { color: var(--accent-hover); }
.nav-item b { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: rgba(255,255,255,.06); display: grid; place-items: center; font-size: 9px; font-weight: 500; }
.sidebar-footer { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.runtime-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; border: 1px solid var(--border-subtle); background: rgba(255,255,255,.02); padding: 10px; border-radius: 8px; }
.runtime-card div { display: flex; flex-direction: column; gap: 3px; }
.runtime-card strong { font-size: 11px; font-weight: 500; }
.runtime-card small { font-size: 10px; color: var(--quiet); }
.runtime-state { font: 8px "JetBrains Mono", monospace; color: var(--green); }
.status-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--quiet); box-shadow: 0 0 0 3px rgba(255,255,255,.025); }
.status-dot--ok { background: var(--green); box-shadow: 0 0 9px rgba(39,199,128,.5); }
.status-dot--warn { background: var(--amber); box-shadow: 0 0 9px rgba(226,168,75,.4); }
.status-dot--error { background: var(--red); }
.workspace { grid-column: 2; min-width: 0; }
.topbar { height: 74px; position: sticky; top: 0; z-index: 12; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 4vw, 48px); border-bottom: 1px solid var(--border-subtle); background: rgba(8,9,10,.91); backdrop-filter: blur(18px); }
.topbar-left { display: flex; gap: 12px; align-items: center; }
.topbar h2 { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -.2px; }
.topbar .eyebrow { margin-bottom: 4px; font-size: 8px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.system-health { height: 38px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; padding: 0 12px; border-right: 1px solid var(--border); }
.tenant-switcher { min-width: 185px; display: flex; flex-direction: column; gap: 2px; }
.tenant-switcher span { color: var(--quiet); font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.tenant-switcher select { border: 0; background: transparent; padding: 0; color: var(--secondary); font-size: 11px; }
.views { padding: clamp(24px, 4vw, 46px); max-width: 1600px; margin: 0 auto; }
.view { display: none; }
.view.is-active { display: block; animation: viewIn .18s ease-out; }
@keyframes viewIn { from { opacity: .4; transform: translateY(3px); } }
.hero-row, .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.hero-row h1, .section-heading h1 { font-size: clamp(28px, 3vw, 40px); }
.section-heading p, .hero-subtitle { margin: 9px 0 0; }

/* Data panels */
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }
.metric-card { min-height: 122px; padding: 17px; border: 1px solid var(--border-subtle); border-radius: 9px; background: rgba(255,255,255,.018); position: relative; overflow: hidden; }
.metric-card::after { content: ""; width: 90px; height: 90px; position: absolute; right: -35px; bottom: -55px; border: 1px solid rgba(113,112,255,.13); border-radius: 50%; }
.metric-label { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }
.metric-value { display: block; margin-top: 23px; font: 500 31px "JetBrains Mono", monospace; letter-spacing: -1.2px; }
.metric-foot { color: var(--quiet); font-size: 10px; }
.dashboard-grid { display: grid; gap: 12px; }
.dashboard-grid--wide { grid-template-columns: minmax(0,1.55fr) minmax(280px,.72fr); }
.panel { border: 1px solid var(--border-subtle); border-radius: 9px; background: rgba(255,255,255,.018); overflow: hidden; }
.panel-header { min-height: 67px; padding: 14px 17px; border-bottom: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-header h3 { margin: 0; font-size: 14px; font-weight: 500; }
.panel-header .eyebrow { margin-bottom: 5px; font-size: 8px; }
.form-panel { height: fit-content; }
.form-panel form { padding: 18px; }
.split-layout { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.4fr); gap: 12px; align-items: start; }
.data-list { display: flex; flex-direction: column; }
.data-row { min-height: 62px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 12px 17px; border-bottom: 1px solid var(--border-subtle); }
.data-row:last-child { border-bottom: 0; }
.data-row:hover { background: rgba(255,255,255,.018); }
.data-primary { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.data-primary strong { font-size: 12px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.data-primary small { color: var(--quiet); font-size: 10px; line-height: 1.5; }
.data-meta { display: flex; align-items: center; gap: 7px; }
.pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 999px; padding: 4px 8px; color: var(--muted); font-size: 9px; white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; }
.pill--ok { color: var(--green); border-color: rgba(39,199,128,.24); background: rgba(39,199,128,.05); }
.pill--warn { color: var(--amber); border-color: rgba(226,168,75,.26); background: rgba(226,168,75,.05); }
.pill--error { color: var(--red); border-color: rgba(238,102,119,.25); background: rgba(238,102,119,.05); }
.pill--accent { color: var(--accent-hover); border-color: rgba(113,112,255,.25); background: rgba(113,112,255,.06); }
.count-label { font: 10px "JetBrains Mono", monospace; color: var(--quiet); }
.empty-state { padding: 36px 18px; color: var(--quiet); text-align: center; font-size: 11px; }
.adapter-list { padding: 7px 0; }
.adapter-row { padding: 12px 16px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.adapter-symbol { width: 29px; height: 29px; border-radius: 7px; display: grid; place-items: center; background: rgba(255,255,255,.04); color: var(--secondary); font: 10px "JetBrains Mono", monospace; }
.adapter-row strong { display: block; font-size: 11px; font-weight: 500; }
.adapter-row small { color: var(--quiet); font-size: 10px; }
.fleet-summary { min-width: 104px; padding: 11px 14px; border: 1px solid var(--border-subtle); border-radius: 9px; background: rgba(255,255,255,.018); text-align: right; }
.fleet-summary strong { display: block; color: var(--secondary); font: 22px "JetBrains Mono", monospace; }
.fleet-summary span { color: var(--quiet); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.fleet-controls { display: grid; grid-template-columns: minmax(220px,1fr) 190px auto; gap: 10px; align-items: end; margin: -10px 0 18px; padding: 12px; border: 1px solid var(--border-subtle); border-radius: 9px; background: rgba(255,255,255,.012); }
.fleet-controls label { display: grid; gap: 5px; }
.fleet-controls label > span { color: var(--quiet); font: 8px "JetBrains Mono", monospace; letter-spacing: .1em; }
.fleet-controls input, .fleet-controls select { min-height: 36px; }
.fleet-controls .count-label { padding: 0 5px 10px; text-align: right; }
.agent-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.agent-card { min-height: 255px; padding: 17px; border: 1px solid var(--border-subtle); border-radius: 9px; background: rgba(255,255,255,.018); display: flex; flex-direction: column; }
.agent-card header { display: flex; justify-content: space-between; align-items: center; }
.agent-avatar { width: 38px; height: 38px; border: 1px solid rgba(113,112,255,.25); background: rgba(113,112,255,.10); color: var(--accent-hover); display: grid; place-items: center; border-radius: 11px; font-weight: 600; }
.agent-card h3 { font-size: 13px; margin: 15px 0 5px; font-weight: 500; }
.agent-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.agent-card .agent-role { color: var(--secondary); }
.agent-card .agent-specialty { margin-top: 10px; color: var(--quiet); }
.agent-source-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 11px; }
.agent-alias { color: var(--quiet); font-size: 9px; }
.agent-capabilities { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0; }
.agent-capabilities span { padding: 3px 6px; border: 1px solid var(--border-subtle); border-radius: 5px; color: var(--muted); font-size: 8px; }
.agent-card footer { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; color: var(--quiet); font: 9px "JetBrains Mono", monospace; }
.agent-card footer span:last-child { max-width: 58%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.approval-list { display: flex; flex-direction: column; }
.approval-card { padding: 18px; border-bottom: 1px solid var(--border-subtle); display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center; }
.approval-card:last-child { border-bottom: 0; }
.approval-card h3 { font-size: 13px; margin: 8px 0; font-weight: 500; }
.approval-card code { display: block; max-width: 610px; color: var(--quiet); font: 9px/1.6 "JetBrains Mono", monospace; overflow-wrap: anywhere; }
.approval-actions { display: flex; gap: 7px; }
.inline-legend { display: flex; gap: 14px; color: var(--quiet); font-size: 10px; }
.inline-legend span { display: flex; align-items: center; gap: 6px; }

/* Terminal */
.terminal-panel { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #070809; box-shadow: inset 0 0 40px rgba(0,0,0,.25); }
.terminal-panel > header { min-height: 43px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--border-subtle); background: var(--panel); color: var(--quiet); font: 9px "JetBrains Mono", monospace; }
.terminal-panel > header > span:last-child { text-align: right; color: var(--green); }
.terminal-light { width: 8px; height: 8px; display: inline-block; border-radius: 50%; margin-right: 5px; }.terminal-light--red { background: #f06c75; }.terminal-light--yellow { background: #d9a84f; }.terminal-light--green { background: #4abf7a; }
.terminal-output { min-height: 430px; max-height: 58vh; overflow: auto; padding: 18px; color: #b9c0cb; font: 12px/1.7 "JetBrains Mono", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.terminal-output p { margin: 0 0 12px; }
.terminal-command { color: var(--accent-hover); }.terminal-error { color: var(--red); }.terminal-muted { color: var(--quiet); }
.terminal-input-row { height: 54px; border-top: 1px solid var(--border-subtle); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 0 14px; font: 12px "JetBrains Mono", monospace; }
.terminal-input-row > span { color: var(--green); }
.terminal-input-row input { border: 0; background: transparent; box-shadow: none; font: inherit; padding: 0; }
.terminal-input-row button { border: 0; background: transparent; color: var(--quiet); font: 9px "JetBrains Mono", monospace; cursor: pointer; }

/* Audit, dialog, toast */
.verification-card { min-height: 72px; border: 1px solid var(--border-subtle); border-radius: 9px; background: rgba(255,255,255,.018); margin-bottom: 12px; padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.verification-card strong { font-size: 12px; font-weight: 500; }.verification-card small { color: var(--quiet); font: 9px "JetBrains Mono", monospace; }
.audit-list { max-height: 650px; overflow: auto; }
.audit-row { display: grid; grid-template-columns: 72px minmax(0,1fr) 160px; gap: 15px; padding: 13px 17px; border-bottom: 1px solid var(--border-subtle); align-items: center; }
.audit-row:last-child { border: 0; }
.audit-row time { color: var(--quiet); font: 9px "JetBrains Mono", monospace; }
.audit-row strong { display: block; font-size: 11px; font-weight: 500; }.audit-row small { color: var(--quiet); font-size: 9px; }
.audit-hash { color: var(--quiet); font: 8px "JetBrains Mono", monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dialog { width: min(470px, calc(100vw - 28px)); color: var(--ink); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0; box-shadow: 0 24px 90px rgba(0,0,0,.7); }
.dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(3px); }
.dialog form { padding: 20px; }
.dialog header { display: flex; justify-content: space-between; align-items: flex-start; }
.dialog h3 { margin: 0; font-size: 17px; font-weight: 500; }
.dialog p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
.toast-region { position: fixed; top: 18px; right: 18px; z-index: 100; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.sidebar-backdrop { display: none; }
.toast { min-width: 260px; max-width: 420px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-raised); color: var(--secondary); box-shadow: 0 12px 40px rgba(0,0,0,.45); font-size: 11px; animation: toastIn .2s ease; }
.toast--error { border-color: rgba(238,102,119,.35); color: #ffadb7; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 1050px) {
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-grid--wide, .split-layout { grid-template-columns: 1fr; }
  .form-panel { order: 0; }
  .agent-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 780px) {
  .mobile-only { display: grid !important; }
  .app-shell { grid-template-columns: 1fr; }
  .workspace { grid-column: 1; }
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 20px 0 70px rgba(0,0,0,.6); }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar-backdrop.is-visible { display: block; position: fixed; inset: 0; z-index: 19; border: 0; background: rgba(0,0,0,.62); backdrop-filter: blur(2px); }
  .topbar { padding: 0 14px; }
  .system-health, .tenant-switcher span { display: none; }
  .tenant-switcher { min-width: 130px; }
  .views { padding: 24px 14px 40px; }
  .login-screen { grid-template-columns: 1fr; }
  .login-panel { border: 0; padding: 90px 26px 36px; }
  .brand-lockup--login { top: 24px; }
  .login-visual { display: none; }
  .agent-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fleet-controls { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .fleet-controls .count-label { grid-column: 1 / -1; padding: 0 3px; }
  .audit-row { grid-template-columns: 60px minmax(0,1fr); }.audit-hash { display: none; }
}
@media (max-width: 560px) {
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-card { min-height: 105px; padding: 13px; }
  .metric-value { margin-top: 18px; font-size: 25px; }
  .hero-row, .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .form-grid, .agent-grid { grid-template-columns: 1fr; }
  .fleet-summary { width: 100%; text-align: left; }
  .fleet-controls { grid-template-columns: 1fr; }
  .fleet-controls .count-label { grid-column: auto; }
  .approval-card { grid-template-columns: 1fr; }
  .approval-actions { flex-wrap: wrap; }
  .topbar .eyebrow { display: none; }
  .topbar h2 { font-size: 14px; }
  .topbar-actions { gap: 6px; }
  .tenant-switcher { min-width: 112px; }
  .tenant-switcher select { font-size: 10px; }
  .toast-region { top: 10px; right: 10px; left: 10px; }
  .toast { min-width: 0; width: 100%; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
