/* CyberZenAI interactive demo shell. Shares tokens with index.html / apps.html. */
:root {
  --bg: #F7F4EC; --surface: #FFFDF7; --surface-2: #EFE9D9; --fg: #0B1F1A; --muted: rgba(11,31,26,0.64); --line: rgba(11,31,26,0.12);
  --zen: #1F6B45; --zen-strong: #17573A; --zen-soft: rgba(31,107,69,0.10); --gold: #A9842F; --gold-soft: rgba(201,162,74,0.16);
  --warn: #B4532A; --warn-soft: rgba(180,83,42,0.12); --bad: #B3261E; --bad-soft: rgba(179,38,30,0.10); --info: #3D5A80; --info-soft: rgba(61,90,128,0.12);
  --ink: #060D0A; --ink-2: #0E1C16; --ink-fg: #F7F4EC; --ink-muted: rgba(247,244,236,0.64); --ink-line: rgba(240,215,142,0.16); --ink-gold: #E0C271;
  --on-zen: #FFFFFF;
  --display: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #08110D; --surface: #0E1C16; --surface-2: #15281E; --fg: #F2EEE3; --muted: rgba(242,238,227,0.64); --line: rgba(240,215,142,0.13);
  --zen: #5CC48D; --zen-strong: #7ED3A6; --zen-soft: rgba(92,196,141,0.13); --gold: #E0C271; --gold-soft: rgba(224,194,113,0.14);
  --warn: #E8A06E; --warn-soft: rgba(232,160,110,0.14); --bad: #F08A80; --bad-soft: rgba(240,138,128,0.14); --info: #8FB0DA; --info-soft: rgba(143,176,218,0.14);
  --ink: #030806; --ink-2: #0A1611; --on-zen: #06140D; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #08110D; --surface: #0E1C16; --surface-2: #15281E; --fg: #F2EEE3; --muted: rgba(242,238,227,0.64); --line: rgba(240,215,142,0.13);
  --zen: #5CC48D; --zen-strong: #7ED3A6; --zen-soft: rgba(92,196,141,0.13); --gold: #E0C271; --gold-soft: rgba(224,194,113,0.14);
  --warn: #E8A06E; --warn-soft: rgba(232,160,110,0.14); --bad: #F08A80; --bad-soft: rgba(240,138,128,0.14); --info: #8FB0DA; --info-soft: rgba(143,176,218,0.14);
  --ink: #030806; --ink-2: #0A1611; --on-zen: #06140D; color-scheme: dark; }

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font: 14px/1.55 var(--body); -webkit-font-smoothing: antialiased; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

/* Top bar */
.d-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--ink); color: var(--ink-fg); border-bottom: 1px solid var(--ink-line); }
.d-top-row { display: flex; align-items: center; gap: 12px 20px; padding: 10px clamp(16px, 2.5vw, 24px); flex-wrap: wrap; }
.d-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; }
.d-mark { width: 34px; height: 34px; object-fit: contain; flex: none; }
.d-brand-name span { color: var(--ink-gold); font-weight: 500; }
.d-app-id { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding-left: 16px; border-left: 1px solid var(--ink-line); }
.d-app-icon { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: rgba(92,196,141,0.16); color: #7ED3A6; font: 500 11px var(--mono); flex: none; }
.d-app-id b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-demo-pill { font: 500 10.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #06140D; background: var(--ink-gold); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.d-top-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.d-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; padding: 8px 13px; border-radius: 8px; border: 1px solid var(--ink-gold); background: var(--ink-gold); color: #06140D; text-decoration: none; cursor: pointer; white-space: nowrap; }
.d-btn:hover { background: #F0D78E; }
.d-btn.ghost { background: transparent; color: var(--ink-fg); border-color: var(--ink-line); }
.d-btn.ghost:hover { border-color: var(--ink-gold); color: var(--ink-gold); }
.d-sim-bar { background: var(--ink-2); color: var(--ink-muted); font-size: 12px; padding: 6px clamp(16px, 2.5vw, 24px); border-top: 1px solid var(--ink-line); }
@media (max-width: 720px) { .d-app-id { border-left: 0; padding-left: 0; flex-basis: 100%; order: 3; } .d-brand-name { display: none; } }

/* Shell */
.d-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: calc(100vh - 92px); }
.d-side { background: var(--surface-2); border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.d-side .d-biz { padding: 4px 10px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.d-side .d-biz b { display: block; font-size: 14px; }
.d-side .d-biz small { color: var(--muted); font-size: 12px; }
.d-nav { display: flex; flex-direction: column; gap: 2px; }
.d-nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 7px; text-decoration: none; font-size: 13.5px; color: var(--fg); }
.d-nav a:hover { background: var(--surface); }
.d-nav a[aria-current="page"] { background: var(--surface); color: var(--zen); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.d-count { font-size: 11px; font-weight: 600; min-width: 20px; text-align: center; padding: 1px 6px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-variant-numeric: tabular-nums; }
.d-cta { margin-top: auto; padding: 14px 10px 4px; display: grid; gap: 8px; border-top: 1px solid var(--line); }
.d-cta p { font-size: 12px; color: var(--muted); }
.d-main { padding: clamp(16px, 2.6vw, 30px); min-width: 0; outline: none; }
@media (max-width: 860px) {
  .d-shell { grid-template-columns: minmax(0, 1fr); }
  .d-side { min-width: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 16px; }
  .d-side .d-biz { display: none; }
  .d-nav { flex-direction: row; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
  .d-nav a { white-space: nowrap; flex: none; }
  .d-cta { margin-top: 8px; padding: 10px 0 0; grid-template-columns: 1fr 1fr; }
  .d-cta p { grid-column: 1 / -1; }
}

/* Generic UI */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px 20px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { font: 600 clamp(1.4rem, 2.6vw, 1.9rem)/1.15 var(--display); letter-spacing: -0.01em; }
.page-head p { color: var(--muted); max-width: 64ch; margin-top: 4px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.between { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.stack { display: grid; gap: 12px; align-content: start; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g21 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.g12 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mb { margin-bottom: 16px; }
.mt { margin-top: 16px; }
@media (max-width: 1080px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g21, .g12, .g3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .g2 { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .g4 { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; min-width: 0; display: grid; gap: 12px; align-content: start; }
.panel > h2, .panel-title { font-size: 14.5px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.panel-title small, .panel > h2 small { font-weight: 400; color: var(--muted); font-size: 12px; }
.stat small { display: block; font-size: 12px; color: var(--muted); }
.stat b { font: 600 26px/1.15 var(--display); font-variant-numeric: tabular-nums; }
.stat em { font-style: normal; font-size: 12px; color: var(--zen); margin-left: 6px; font-weight: 600; }
.stat em.down { color: var(--bad); }
.stat em.flat { color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 12px; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--surface-2); color: var(--fg); white-space: nowrap; }
.badge.ok { background: var(--zen-soft); color: var(--zen); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.info { background: var(--info-soft); color: var(--info); }
.badge.gold { background: var(--gold-soft); color: var(--gold); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--fg); }
.btn.pri { background: var(--zen); color: var(--on-zen); border-color: var(--zen); }
.btn.pri:hover { background: var(--zen-strong); border-color: var(--zen-strong); }
.btn.danger { color: var(--bad); }
.btn.sm { padding: 5px 10px; font-size: 12px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-link { background: none; border: 0; padding: 0; color: var(--zen); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; text-align: left; }
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 12px 8px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: var(--zen-soft); }
tr.sel td { background: var(--gold-soft); }
.empty { padding: 28px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; font-size: 13px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar .grow { flex: 1; min-width: 180px; }
.input, .select, .textarea { padding: 8px 11px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); width: 100%; }
.textarea { min-height: 90px; resize: vertical; line-height: 1.5; }
.select { width: auto; }
.field { display: grid; gap: 5px; font-size: 12.5px; font-weight: 600; }
.field .input, .field .select, .field .textarea { font-weight: 400; font-size: 14px; width: 100%; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 12px; }
.field .err { font-weight: 500; color: var(--bad); font-size: 12px; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--bad); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tab { padding: 8px 14px; border: 0; background: none; cursor: pointer; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--zen); font-weight: 600; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { border: 0; background: var(--surface); padding: 7px 12px; cursor: pointer; font-size: 13px; font-weight: 500; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.meter { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--zen); border-radius: 99px; transition: width .4s; }
.meter.warn i { background: var(--warn); }
.meter.bad i { background: var(--bad); }
.list-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.dot.ok { background: var(--zen-soft); color: var(--zen); }
.dot.warn { background: var(--warn-soft); color: var(--warn); }
.dot.bad { background: var(--bad-soft); color: var(--bad); }
.dot.info { background: var(--info-soft); color: var(--info); }
.check-row { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.check-row:last-child { border-bottom: 0; }
.check-row input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--zen); flex: none; }
.check-row.done span { text-decoration: line-through; color: var(--muted); }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 7px 16px; font-size: 13px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 11px; font-size: 12.5px; cursor: pointer; }
.chip:hover { border-color: var(--zen); color: var(--zen); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.note { font-size: 12.5px; color: var(--muted); border-left: 2px solid var(--gold); padding: 4px 0 4px 12px; }
.callout { background: var(--gold-soft); border-radius: 10px; padding: 12px 14px; font-size: 13px; }
.callout.ok { background: var(--zen-soft); }
.callout.bad { background: var(--bad-soft); }
.doc { background: var(--surface-2); border-radius: 10px; padding: 16px; font-family: var(--mono); font-size: 12px; line-height: 1.75; white-space: pre-wrap; overflow-x: auto; }
.prose { font-size: 14px; line-height: 1.65; max-width: 70ch; }
.prose h3 { font-size: 15px; margin: 16px 0 6px; }
.prose p + p { margin-top: 8px; }
.hl { background: var(--gold-soft); border-radius: 4px; padding: 2px 4px; box-shadow: 0 0 0 2px var(--gold-soft); }
mark { background: var(--gold-soft); color: inherit; padding: 0 2px; border-radius: 3px; }

/* Chat */
.chat { display: flex; flex-direction: column; gap: 8px; }
.bubble { padding: 9px 13px; border-radius: 14px; max-width: 86%; font-size: 13.5px; line-height: 1.5; }
.bubble.them { background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.us { background: var(--zen); color: var(--on-zen); align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble .who { display: block; font-size: 10.5px; font-weight: 600; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.bubble .src { display: block; margin-top: 6px; font-size: 11.5px; }
.bubble.us .src button { color: var(--on-zen); }
.chat-scroll { max-height: 420px; overflow-y: auto; padding-right: 4px; }

/* Charts */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .axis { stroke: var(--line); }
.chart .grid-line { stroke: var(--line); stroke-dasharray: 2 4; }
.chart text { fill: var(--muted); font-size: 14px; font-family: var(--body); }
.chart .bar { fill: var(--zen); }
.chart .bar.alt { fill: var(--gold); }
.chart .val { fill: var(--fg); font-weight: 600; font-size: 13px; }
.chart .line { fill: none; stroke: var(--zen); stroke-width: 2.25; }
.chart .area { fill: var(--zen-soft); }
.chart .pt { fill: var(--zen); }
.hbar { display: grid; grid-template-columns: minmax(90px, 30%) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; padding: 4px 0; }
.hbar .track { height: 10px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.hbar .track i { display: block; height: 100%; background: var(--zen); border-radius: 99px; }

/* Kanban */
.kanban { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(210px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.k-col { background: var(--surface-2); border-radius: 10px; padding: 10px; display: grid; gap: 8px; align-content: start; min-height: 120px; }
.k-col h3 { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); display: flex; justify-content: space-between; margin: 2px 4px; }
.k-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px; display: grid; gap: 6px; font-size: 13px; }
.k-card .k-actions { display: flex; gap: 4px; justify-content: space-between; }

/* Calendar */
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-grid .dow { font-size: 11px; text-transform: uppercase; color: var(--muted); font-weight: 600; text-align: center; padding: 4px 0; }
.cal-day { min-height: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 5px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-day.out { opacity: 0.4; }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--gold); }
.cal-day > span { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cal-item { font-size: 11px; border: 0; text-align: left; padding: 3px 5px; border-radius: 4px; background: var(--zen-soft); color: var(--zen); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.cal-item.ig { background: var(--gold-soft); color: var(--gold); }
.cal-item.em { background: var(--info-soft); color: var(--info); }
@media (max-width: 640px) { .cal-day { min-height: 64px; } .cal-item { font-size: 0; padding: 0; height: 6px; } }

/* Modal */
.m-backdrop { position: fixed; inset: 0; background: rgba(3,8,6,0.55); z-index: 60; display: grid; place-items: center; padding: 16px; }
.m-box { background: var(--surface); color: var(--fg); border-radius: 14px; width: min(560px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0,0,0,0.35); border: 1px solid var(--line); }
.m-box.wide { width: min(860px, 100%); }
.m-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.m-head h2 { font: 600 18px/1.25 var(--display); }
.m-x { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 8px; border-radius: 6px; }
.m-body { padding: 18px 20px; overflow-y: auto; display: grid; gap: 14px; }
.m-foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }

/* Toast */
.d-toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 80; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.d-toast .t { background: var(--ink); color: var(--ink-fg); border: 1px solid var(--ink-line); border-radius: 10px; padding: 11px 14px; font-size: 13.5px; box-shadow: 0 14px 40px rgba(0,0,0,0.3); animation: tin .25s ease-out; }
.d-toast .t b { color: var(--ink-gold); }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Demo index */
.d-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.d-index a { text-decoration: none; }
.d-index .panel:hover { border-color: var(--zen); }
.d-index .d-app-icon { background: var(--zen-soft); color: var(--zen); }

/* Progress steps (simulated scans) */
.steps-list { display: grid; gap: 8px; }
.step-line { display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--zen); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Photo tiles (drawn, no images) */
.photo { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 10px; position: relative; overflow: hidden; display: flex; align-items: flex-end; border: 0; padding: 0; cursor: pointer; width: 100%; }
.photo span { position: relative; width: 100%; text-align: left; padding: 8px 10px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.6)); }

.gauge { display: grid; place-items: center; position: relative; width: 150px; height: 150px; margin: 0 auto; max-width: 100%; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 12; }
.gauge .g-bg { stroke: var(--surface-2); }
.gauge .g-fg { stroke: var(--zen); stroke-linecap: round; transition: stroke-dashoffset .5s; }
.gauge .g-fg.warn { stroke: var(--warn); }
.gauge .g-fg.bad { stroke: var(--bad); }
.gauge .g-val { position: absolute; text-align: center; }
.gauge .g-val b { display: block; font: 600 32px/1 var(--display); font-variant-numeric: tabular-nums; }
.gauge .g-val small { color: var(--muted); font-size: 12px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.field .badge { justify-self: start; }
