:root {
  color-scheme: light;
  --surface-0: #f4f3f0;
  --surface-1: #fcfcfb;
  --surface-2: #efeeea;
  --line: #dedcd6;
  --line-soft: #e9e7e2;
  --text-primary: #0b0b0b;
  --text-secondary: #52514e;
  --text-muted: #7a7873;
  --series-1: #2a78d6;
  --series-2: #eb6834;
  --series-3: #1baf7a;
  --series-4: #eda100;
  --series-5: #e87ba4;
  --good: #0ca30c;
  --warning: #fab219;
  --serious: #ec835a;
  --critical: #d03b3b;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.04);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --surface-0: #131312;
    --surface-1: #1a1a19;
    --surface-2: #232322;
    --line: #34342f;
    --line-soft: #2a2a26;
    --text-primary: #ffffff;
    --text-secondary: #c3c2b7;
    --text-muted: #93928a;
    --series-1: #3987e5;
    --series-2: #d95926;
    --series-3: #199e70;
    --series-4: #c98500;
    --series-5: #d55181;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --surface-0: #131312;
  --surface-1: #1a1a19;
  --surface-2: #232322;
  --line: #34342f;
  --line-soft: #2a2a26;
  --text-primary: #ffffff;
  --text-secondary: #c3c2b7;
  --text-muted: #93928a;
  --series-1: #3987e5;
  --series-2: #d95926;
  --series-3: #199e70;
  --series-4: #c98500;
  --series-5: #d55181;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--surface-0);
  color: var(--text-primary);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
h1 { font-size: 17px; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 13px; margin: 0 0 10px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--text-secondary); }
p { margin: 0; }
a { color: var(--series-1); }

.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: var(--surface-1);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mark { width: 26px; height: 26px; border-radius: 7px; flex: none;
  background-image: linear-gradient(140deg, var(--series-1), var(--series-3)); }
.sub { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-actions { display: flex; gap: 8px; flex: none; }
.btn {
  font: inherit; font-size: 13px; color: var(--text-secondary);
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 12px; cursor: pointer; text-decoration: none;
}
.btn:hover { color: var(--text-primary); border-color: var(--text-muted); }
.btn.icon { padding: 7px 10px; }

body.auth-required .tabs,
body.auth-required main,
body.auth-required .foot { display: none; }
.auth-gate {
  min-height: calc(100vh - 54px);
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.auth-gate[hidden] { display: none; }
.auth-card {
  width: min(430px, 100%);
  padding: 30px;
  text-align: center;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.auth-card h2 { margin: 12px 0 7px; font-size: 17px; color: var(--text-primary); text-transform: none; }
.auth-card > p { color: var(--text-secondary); margin-bottom: 20px; }
.privacy-link { display: inline-block; margin-top: 16px; color: var(--text-muted); font-size: 12px; }
.legal-page { min-height: 100vh; background: var(--surface-0); color: var(--text-primary); }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 48px 18px 72px; }
.legal-wrap .card { padding: clamp(20px, 4vw, 42px); }
.legal-wrap h1 { margin: 0 0 8px; font-size: clamp(28px, 5vw, 42px); }
.legal-wrap h2 { margin: 28px 0 8px; font-size: 18px; }
.legal-wrap p, .legal-wrap li { color: var(--text-secondary); line-height: 1.65; }
.legal-wrap ul { padding-left: 20px; }
.legal-back { display: inline-block; margin-bottom: 18px; color: var(--text-secondary); }
.google-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #4285f4;
  background: #fff;
  font-weight: 700;
  font-size: 20px;
}
.auth-primary { display: block; width: 100%; margin: 0 0 8px !important; padding: 10px 14px; }
.auth-card > .btn:not(.auth-primary) { width: 100%; margin-bottom: 8px; }
.recovery { margin-top: 18px; text-align: left; color: var(--text-secondary); }
.recovery summary { cursor: pointer; font-size: 13px; }
.recovery form { margin-top: 12px; }
.recovery label { display: block; margin-bottom: 5px; font-size: 12px; }
.recovery-row { display: flex; gap: 8px; }
.recovery-row input {
  min-width: 0;
  flex: 1;
  padding: 8px 10px;
  color: var(--text-primary);
  background: var(--surface-0);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tabs {
  position: sticky; top: 51px; z-index: 20;
  display: flex; gap: 4px; padding: 8px 12px; overflow-x: auto;
  background: var(--surface-0); border-bottom: 1px solid var(--line-soft);
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  font: inherit; font-size: 13.5px; white-space: nowrap;
  background: transparent; color: var(--text-secondary);
  border: 1px solid transparent; border-radius: 999px; padding: 7px 14px; cursor: pointer;
}
.tab[aria-selected='true'] { background: var(--surface-1); color: var(--text-primary); border-color: var(--line); font-weight: 600; }

main { padding: 14px; max-width: 1500px; margin: 0 auto; }
.panel { display: flex; flex-direction: column; gap: 14px; }
.panel[hidden] { display: none; }
.card { background: var(--surface-1); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.hint { font-size: 12.5px; color: var(--text-muted); margin: -4px 0 12px; }
.grid-2 { display: grid; gap: 14px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.kpis { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .kpis { grid-template-columns: repeat(6, 1fr); } }
.kpi { background: var(--surface-1); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; box-shadow: var(--shadow); }
.kpi .label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.kpi .value { font-size: 26px; font-weight: 650; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .value.sm { font-size: 19px; }
.kpi .delta { font-size: 12px; margin-top: 3px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.kpi .delta.up { color: var(--critical); }
.kpi .delta.down { color: var(--good); }
.kpi.alarm { border-color: var(--critical); }

.banner { border-radius: 12px; padding: 12px 14px; font-size: 13.5px; border: 1px solid; display: flex; gap: 10px; align-items: flex-start; }
.banner.info { border-color: var(--line); background: var(--surface-1); color: var(--text-secondary); }
.banner.warn { border-color: var(--warning); background: var(--surface-1); }
.banner.bad { border-color: var(--critical); background: var(--surface-1); }
.banner b { color: var(--text-primary); }

.row { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.row:last-child { border-bottom: 0; padding-bottom: 0; }
.row:first-child { padding-top: 0; }
.row .dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex: none; }
.row .body { min-width: 0; flex: 1; }
.row .title { font-size: 13.5px; font-weight: 600; }
.row .meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; word-break: break-word; }
.row .meta b { color: var(--text-secondary); font-weight: 600; }

.pill { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-secondary); background: var(--surface-2); white-space: nowrap; }
.pill.good { color: var(--good); border-color: var(--good); }
.pill.warn { color: var(--serious); border-color: var(--serious); }
.pill.bad { color: var(--critical); border-color: var(--critical); }

.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.empty { padding: 16px 6px; text-align: center; color: var(--text-muted); font-size: 13px; }
.empty b { display: block; color: var(--text-secondary); font-size: 14px; margin-bottom: 5px; }
.tip { position: absolute; pointer-events: none; opacity: 0; transition: opacity .1s; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: 12px; box-shadow: var(--shadow); white-space: nowrap; z-index: 5; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--text-secondary); }
.filters select { font: inherit; font-size: 13px; background: var(--surface-1); color: var(--text-primary); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.count { color: var(--text-muted); font-size: 12.5px; margin-left: auto; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.segbtn { font: inherit; font-size: 12.5px; background: var(--surface-1); color: var(--text-secondary); border: 0; border-right: 1px solid var(--line); padding: 7px 12px; cursor: pointer; }
.segbtn:last-child { border-right: 0; }
.segbtn[aria-pressed='true'] { background: var(--series-1); color: #fff; font-weight: 600; }

/* One project per row. A masonry layout made the portfolio jump between columns
   and hid its reading order; these rows keep every project aligned and scannable. */
.board { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pcard { position: relative; display: grid; grid-template-columns: minmax(210px, .75fr) minmax(0, 2fr) auto; gap: 12px 20px; align-items: start; width: 100%; margin: 0; background: var(--surface-1); border: 1px solid var(--line); border-left: 4px solid var(--text-muted); border-radius: 12px; padding: 14px; box-shadow: var(--shadow); }
/* Venture information pop-up: invisible until the pointer rests on the card
   (or the card takes focus, which a tap gives it on a phone). No icons, no
   underlines - the card itself is the trigger. pointer-events none so the
   card's own tap-to-preview keeps working underneath it. */
.pcard .pinfo { display: none; position: absolute; left: 10px; right: 10px; top: 8px; z-index: 40; background: #0b2545; color: #e8eef6; border-radius: 12px; padding: 14px 16px; box-shadow: 0 14px 34px rgba(0, 0, 0, .38); pointer-events: none; line-height: 1.5; }
.pcard:hover .pinfo, .pcard:focus .pinfo, .pcard:focus-within .pinfo { display: block; }
.pinfo-t { font-weight: 700; font-size: 13px; letter-spacing: .02em; color: #7fd1cf; margin-bottom: 6px; text-transform: uppercase; }
.pinfo-b { font-size: 12.5px; }
.project-summary, .project-work { min-width: 0; }
.pcard h3 { font-size: 15px; margin: 0 0 8px; letter-spacing: -.01em; }
.pcard .toprow { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.pcard .bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin: 10px 0 6px; }
.pcard .bar i { display: block; height: 100%; border-radius: 999px; }
.pcard dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; font-size: 12.5px; }
.pcard dt { color: var(--text-muted); }
.pcard dd { margin: 0; color: var(--text-secondary); }
.pcard .links { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pcard .links a { font-size: 12px; }
.pcard .project-links { align-items: flex-start; justify-content: flex-end; margin-top: 0; white-space: nowrap; }
.pcard .kids { grid-column: 1 / -1; }
@media (max-width: 880px) {
  .pcard { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pcard .project-links { justify-content: flex-start; }
  .pcard .kids { grid-column: 1; }
}
.warn-card { border-color: var(--warning); }

.frames { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; justify-content: center; }
.device { background: var(--surface-1); border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: var(--shadow); }
.device .cap { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; display: flex; justify-content: space-between; gap: 10px; }
.device .screen { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; position: relative; }
.device iframe { border: 0; display: block; transform-origin: 0 0; background: #fff; }
.device .blocked { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; text-align: center; background: var(--surface-2); color: var(--text-secondary); font-size: 12.5px; }

.foot { padding: 20px 16px 34px; text-align: center; font-size: 12px; color: var(--text-muted); }

/* ---------------------------------------------------------- effort bars */
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 14px; font-size: 12px; color: var(--text-secondary); }
.legend .lg { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: block; }

.ebar { margin: 0 0 14px; }
.ebar:last-of-type { margin-bottom: 0; }
.ehead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 5px; }
.ename { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.escore { font-size: 13.5px; font-variant-numeric: tabular-nums; flex: none; color: var(--text-secondary); }
.etrack { height: 14px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.efill { height: 100%; display: flex; gap: 2px; }
.efill i { display: block; height: 100%; min-width: 2px; }
.esub { font-size: 11.5px; color: var(--text-muted); margin-top: 5px; }

/* ================================================================
   Dimau's Ops Room additions
   ================================================================ */

/* Tab badge: how many standing instructions are open */
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px;
  margin-left: 7px; padding: 0 5px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: var(--series-2); color: #fff; vertical-align: 1px; }
.badge[hidden] { display: none; }

/* ---------------------------------------- original / revised link buttons */
.verbtns { display: flex; gap: 8px; margin: 12px 0 4px; flex-wrap: wrap; }
.vbtn { flex: 1 1 0; min-width: 104px; display: flex; flex-direction: column; gap: 1px;
  padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface-2); text-decoration: none; color: var(--text-secondary);
  font: inherit; cursor: pointer; text-align: left; }
.vbtn b { font-size: 12.5px; font-weight: 650; color: var(--text-primary); }
.vbtn span { font-size: 10.5px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Live / Revised chooses the source shown in all three previews below. */
.station-controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: flex-start; margin: 8px 0 10px; }
.station-controls .seg { margin: 0; }
.station-rule { display: flex; gap: 6px 10px; flex-wrap: wrap; align-items: baseline;
  margin: 2px 0 12px; padding: 10px 12px; border: 1px solid var(--series-1);
  border-radius: 10px; background: var(--surface-2); color: var(--text-secondary);
  font-size: 12.5px; line-height: 1.45; }
.station-rule > b { color: var(--series-1); white-space: nowrap; }
.station-rule span { flex: 1 1 520px; }
.station .frames { width: 100%; }
.station .device { max-width: 100%; }
/* One view at a time (5 Sep 2026): the Desktop / Phone buttons decide which
   pane is on screen; the other is not built at all. */
.station-views.show-desktop .preview-pane-mobile,
.station-views.show-mobile .preview-pane-desktop { display: none; }
.station-views.show-desktop, .station-views.show-mobile { grid-template-columns: minmax(0, 1fr) !important; }
.station-views.show-mobile .preview-pane-mobile { width: 100%; max-width: 480px; margin: 0 auto; }
.station-views { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.station-main { display: block; }
.station-main .device { width: 100%; }
.station-secondary { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.preview-pane { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.preview-pane-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.preview-pane h3 { margin: 0 0 2px; font-size: 14px; letter-spacing: -.01em; }
.preview-pane p { color: var(--text-muted); font-size: 12px; }
.station-phone { justify-content: center; overflow: hidden; }
.station-phone .device { width: max-content; }
.station-phone .screen { border-radius: 24px; }

.shared-link-shell { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: var(--surface-1); border: 1px solid var(--line); }
.shared-link-card { display: block; overflow: hidden; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-1); box-shadow: var(--shadow); }
.shared-link-card:hover { border-color: var(--series-1); }
.shared-link-visual { min-height: 190px; display: flex; align-items: center; justify-content: center; padding: 24px; background: linear-gradient(135deg, var(--series-1), var(--series-3)); color: #fff; text-align: center; }
.shared-link-card.has-image .shared-link-visual { padding: 0; background: #0b1f3a; }
.shared-link-visual img { display: block; width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.shared-link-copy strong { display: block; font-size: 15px; line-height: 1.25; margin-bottom: 4px; }
.shared-link-copy span { display: block; font-size: 12.5px; color: var(--text-secondary); line-height: 1.35; }
.shared-link-copy .shared-link-domain { margin-top: 8px; font-size: 11.5px; color: var(--text-muted); text-transform: lowercase; }
.shared-link-warn { margin: 8px 0 0; padding: 8px 12px; border-radius: 9px; font-size: 12.5px; color: var(--critical); background: color-mix(in srgb, var(--critical) 12%, transparent); }
.shared-link-mark { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.shared-link-mark b { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.55); border-radius: 16px; background: rgba(255,255,255,.14); font-size: 23px; letter-spacing: -.04em; }
.shared-link-mark span { max-width: 360px; font-size: 18px; font-weight: 700; line-height: 1.2; }
.shared-link-copy { display: flex; flex-direction: column; gap: 3px; padding: 13px 14px 14px; }
.shared-link-domain { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.shared-link-copy strong { color: var(--text-primary); font-size: 14px; }
.shared-link-copy span:not(.shared-link-domain) { color: var(--text-secondary); font-size: 12px; }
.shared-link-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-muted) !important; }
.shared-link-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.shared-link-actions .btn { font-size: 12px; padding: 6px 11px; }
.preview-pane-share .shared-link-shell { max-width: 640px; padding: 10px; }
.preview-pane-share .shared-link-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
.preview-pane-share .shared-link-visual { min-height: 0; height: 112px; padding: 10px; }
.preview-pane-share .shared-link-visual img { min-height: 0; height: 112px; object-fit: contain; }
.preview-pane-share .shared-link-copy { min-width: 0; justify-content: center; padding: 10px 12px; overflow-wrap: anywhere; }
.preview-pane-share .shared-link-copy strong,
.preview-pane-share .shared-link-copy span:not(.shared-link-domain) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.preview-pane-share .shared-link-copy .shared-link-domain { margin-top: 4px; }
.preview-pane-share .shared-link-mark { gap: 4px; }
.preview-pane-share .shared-link-mark b { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
.preview-pane-share .shared-link-mark span { font-size: 12px; }
@media (min-width: 900px) {
  .station-views { grid-template-columns: minmax(0, 1fr) minmax(260px, .34fr); align-items: start; }
}
@media (max-width: 620px) {
  .station-rule { align-items: flex-start; }
  .station-controls .seg { width: 100%; }
  .station-controls .segbtn { flex: 1 1 0; }
  .station-main .device, .station-phone .device { padding: 7px; }
  .preview-pane { padding: 11px; }
  .station-views { margin-top: 10px; padding-top: 10px; }
  .station-secondary { margin-top: 10px; }
  .shared-link-shell { padding: 10px; }
  .shared-link-visual { min-height: 150px; padding: 18px; }
  .preview-pane-share .shared-link-card { grid-template-columns: 80px minmax(0, 1fr); }
  .preview-pane-share .shared-link-visual,
  .preview-pane-share .shared-link-visual img { height: 96px; }
  .filters .count { flex-basis: 100%; margin-left: 0; }
}

/* Share-ready links under the preview and on venture rows */
.share-row { flex-basis: 100%; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.share { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 0; color: #fff; background: linear-gradient(135deg, #2a78d6 0%, #3b8ff0 55%, #1baf7a 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 6px 16px rgba(42,120,214,.32), inset 0 1px 0 rgba(255,255,255,.28);
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .01em; cursor: pointer; line-height: 1; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease; }
.share svg { flex: none; width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.share:hover { transform: translateY(-1px); filter: saturate(1.12); box-shadow: 0 2px 4px rgba(0,0,0,.14), 0 10px 22px rgba(42,120,214,.42), inset 0 1px 0 rgba(255,255,255,.3); }
.share:active { transform: translateY(0) scale(.98); }
.share:focus-visible { outline: 3px solid color-mix(in srgb, var(--series-1) 45%, transparent); outline-offset: 2px; }
.share.said { background: linear-gradient(135deg, #0ca30c, #1baf7a); box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 6px 16px rgba(12,163,12,.35); }
.share.said svg { display: none; }
.share.said::before { content: '\2713'; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.22); font-size: 14px; font-weight: 800; }
.share.sm { width: 30px; height: 30px; padding: 0; justify-content: center; border-radius: 50%; margin-left: 6px; vertical-align: middle; }
.share.sm svg { width: 30px; height: 30px; padding: 7px; background: transparent; box-shadow: none; }
.share.sm span { display: none; }
.share.sm.said::before { width: 30px; height: 30px; background: transparent; }
.share-tip { position: absolute; z-index: 9999; padding: 8px 12px; border-radius: 10px; background: var(--good, #2e8b57); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,.35); white-space: nowrap; max-width: 90vw; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.vbtn.orig { border-color: var(--text-muted); }
.vbtn.orig:hover { border-color: var(--text-primary); }
.vbtn.rev { border-color: var(--series-1); }
.vbtn.rev b { color: var(--series-1); }
.vbtn.rev:hover { background: var(--series-1); }
.vbtn.rev:hover b, .vbtn.rev:hover span { color: #fff; }
.vbtn.cmp { border-style: dashed; }
.vbtn.cmp:hover { border-style: solid; border-color: var(--series-3); }
.vbtn.empty-btn { opacity: .55; cursor: default; }
.vbtn.empty-btn b { color: var(--text-muted); }

/* ------------------------------------------- folded-in strands on a card */
.pcard.main { border-left-width: 5px; }
.pmeta { font-size: 11.5px; color: var(--text-muted); }
.pnote { font-size: 12px; color: var(--text-muted); margin-top: 10px; border-top: 1px solid var(--line-soft); padding-top: 9px; }
.pill.sm { font-size: 10.5px; padding: 2px 7px; }
.kids { margin-top: 2px; border-top: 1px solid var(--line); padding-top: 10px; }
.kids-head { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 8px; }
.kid { display: grid; grid-template-columns: minmax(160px, .8fr) minmax(140px, .6fr) minmax(260px, 2fr) auto; gap: 8px 16px; align-items: center; border-top: 1px solid var(--line-soft); padding: 9px 0; }
.kids-head + .kid { border-top: 0; padding-top: 0; }
.kid:last-child { margin-bottom: 0; }
.kid-name { font-size: 13px; font-weight: 600; }
.kid-meta { font-size: 11px; color: var(--text-muted); }
.kid-next { min-width: 0; font-size: 12px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kid-state { justify-self: end; }
.included-line, .parked-line { grid-template-columns: 160px minmax(0, 1fr); color: var(--text-secondary); font-size: 12px; }
.included-line { color: var(--good); }
.kid-label { color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
@media (max-width: 880px) {
  .kid { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; }
  .kid-name { grid-column: 1; }
  .kid-state { grid-column: 2; grid-row: 1; }
  .kid-meta, .kid-next { grid-column: 1 / -1; }
  .kid-next { white-space: normal; }
  .included-line, .parked-line { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------- collapsible sections */
.rest-toggle { display: flex; align-items: center; gap: 8px; width: 100%;
  font: inherit; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
  color: var(--text-secondary); background: none; border: 0; padding: 0; margin: 0 0 4px; cursor: pointer; }
.rest-toggle:hover { color: var(--text-primary); }
.chev { color: var(--text-muted); }
.rest-card .board { margin-top: 12px; }

/* -------------------------------------------------------- message board */
.post-card { border-color: var(--series-1); }
.post-card textarea { width: 100%; font: inherit; font-size: 14px; line-height: 1.5;
  background: var(--surface-0); color: var(--text-primary);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; resize: vertical; }
.post-card textarea:focus { outline: 2px solid var(--series-1); outline-offset: -1px; border-color: var(--series-1); }
.post-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 10px; font-size: 13px; color: var(--text-secondary); }
.post-row select { font: inherit; font-size: 13px; background: var(--surface-1); color: var(--text-primary); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.chk { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.btn.primary { background: var(--series-1); color: #fff; border-color: var(--series-1); font-weight: 600; margin-left: auto; }
.btn.primary:hover { filter: brightness(1.08); color: #fff; }
.post-note { font-size: 12.5px; color: var(--text-muted); margin-top: 9px; min-height: 17px; }
.post-note.good { color: var(--good); }
.post-note.bad { color: var(--critical); }

.drow { display: flex; gap: 10px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.drow:last-child { border-bottom: 0; padding-bottom: 0; }
.drow:first-child { padding-top: 0; }
.drow.done { opacity: .62; }
.drow .dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex: none; }
.drow .body { min-width: 0; flex: 1; }
.dhead { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: 11px; margin-bottom: 6px; }
.tagp, .tagu, .tags { border-radius: 999px; padding: 2px 8px; font-weight: 650; letter-spacing: .02em; }
.tagp { background: var(--surface-2); color: var(--text-secondary); border: 1px solid var(--line); }
.tagu { background: var(--critical); color: #fff; }
.tags { background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--line); }
.dwhen { color: var(--text-muted); margin-left: auto; font-size: 11.5px; }
.dbody { font-size: 14px; line-height: 1.55; color: var(--text-primary); white-space: normal; }
.replies { margin-top: 10px; border-left: 2px solid var(--line); padding-left: 11px; display: flex; flex-direction: column; gap: 9px; }
.reply b { font-size: 12px; }
.reply span { font-size: 11px; color: var(--text-muted); margin-left: 6px; }
.reply p { font-size: 12.5px; color: var(--text-secondary); margin-top: 2px; }
.dacts { margin-top: 9px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.linkbtn { font: inherit; font-size: 12px; background: none; border: 0; padding: 0; color: var(--series-1); cursor: pointer; text-decoration: underline; }
.linkbtn:hover { filter: brightness(1.15); }
.dclosed { font-size: 11.5px; color: var(--text-muted); }

/* ------------------------------------------------- analysis on one screen */
.screen-note { margin: 0; }
.mini-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 620px)  { .mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mini-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1320px) { .mini-grid { grid-template-columns: repeat(4, 1fr); } }
.card.mini { padding: 12px 13px; }
.card.mini h2 { font-size: 11.5px; margin: 0 0 4px; }
.card.mini .hint { font-size: 11px; margin: 0 0 8px; line-height: 1.35; min-height: 30px; }
.chart.small { min-height: 118px; }
.chart.small .empty { padding: 10px 4px; font-size: 11.5px; }
.chart.small .empty b { font-size: 12.5px; }

.minibars { display: flex; flex-direction: column; gap: 9px; }
.mb { display: grid; grid-template-columns: minmax(52px, 34%) 1fr auto; gap: 8px; align-items: center; }
.mbl { font-size: 11.5px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbt { height: 9px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.mbt i { display: block; height: 100%; border-radius: 0 4px 4px 0; }
.mbv { font-size: 11.5px; font-variant-numeric: tabular-nums; color: var(--text-primary); }

/* ================================================================
   Command Room, AI Room and Work
   ================================================================ */
.badge.quiet { background: var(--text-muted); }
.readonly-note { align-items: flex-start; }
.readonly-note b { color: var(--text-primary); }
.card-head.split { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-head.split .hint { margin-bottom: 8px; }
.agent-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 700px) { .agent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1150px) { .agent-grid { grid-template-columns: repeat(3, 1fr); } }
.agent-state { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; align-items: center;
  padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); }
.agent-state > div { min-width: 0; display: flex; flex-direction: column; }
.agent-state > div b { font-size: 13px; }
.agent-state > div span { font-size: 11px; color: var(--text-muted); text-transform: capitalize; }
.agent-ready { font-size: 11px; font-weight: 650; white-space: nowrap; }
.agent-state.connected { border-color: var(--good); }
.agent-state.connected .agent-ready { color: var(--good); }
.agent-state.recent .agent-ready { color: var(--warning); }
.agent-state.missing .agent-ready { color: var(--critical); }
@media (max-width: 520px) {
  .card-head.split { flex-direction: column; }
  .agent-state { grid-template-columns: auto minmax(0, 1fr); }
  .agent-ready { grid-column: 2; }
}

.chat-card { padding-bottom: 10px; }
.chat { display: flex; flex-direction: column; gap: 12px; max-height: 62vh; overflow-y: auto; padding-right: 4px; }
.msg { display: flex; gap: 10px; align-items: flex-start; }
.who { width: 30px; height: 30px; border-radius: 9px; flex: none; display: flex; align-items: center;
  justify-content: center; font-size: 12px; font-weight: 700; color: #fff; }
.msg-body { min-width: 0; flex: 1; }
.msg-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.msg-name { font-size: 13px; font-weight: 650; }
.msg-prov { font-size: 10.5px; color: var(--text-muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 6px; }
.msg-when { font-size: 11px; color: var(--text-muted); margin-left: auto; }
.msg-text { font-size: 14px; line-height: 1.55; margin-top: 3px; white-space: pre-wrap; word-break: break-word; }
.msg-text blockquote, .quoted { border-left: 3px solid var(--line); padding-left: 10px; color: var(--text-secondary); margin: 6px 0; }
.msg.mine .msg-name { color: var(--series-1); }
.msg.pulled { background: var(--surface-2); border-radius: 10px; padding: 9px 10px; }
.msg-acts { margin-top: 5px; display: flex; gap: 12px; flex-wrap: wrap; }
.msg-tag { font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.chat-empty { padding: 26px 10px; text-align: center; color: var(--text-muted); font-size: 13px; }

.leaserow { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.leaserow:last-child { border-bottom: 0; padding-bottom: 0; }
.leaserow:first-child { padding-top: 0; }
.lease-what { font-size: 13.5px; font-weight: 600; }
.lease-meta { font-size: 11.5px; color: var(--text-muted); grid-column: 1 / -1; }
.lease-meta code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px;
  background: var(--surface-2); border-radius: 4px; padding: 1px 5px; }
.fence { font-size: 11px; font-weight: 700; color: #fff; background: var(--series-1);
  border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.fence.lapsing { background: var(--warning); color: #1a1a19; }

.taskrow { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.taskrow:last-child { border-bottom: 0; padding-bottom: 0; }
.taskrow:first-child { padding-top: 0; }
.task-top { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.task-title { font-size: 13.5px; font-weight: 600; }
.task-meta { font-size: 11.5px; color: var(--text-muted); margin-top: 3px; }
.task-detail { font-size: 12.5px; color: var(--text-secondary); margin-top: 5px; }

.artrow { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.artrow:last-child { border-bottom: 0; padding-bottom: 0; }
.artrow:first-child { padding-top: 0; }
.art-top { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; }
.art-name { font-size: 13.5px; font-weight: 600; }
.trace { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.trace span, .trace a { font-size: 11px; border: 1px solid var(--line); border-radius: 7px;
  padding: 3px 7px; color: var(--text-secondary); background: var(--surface-2); text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.trace a:hover { border-color: var(--series-1); color: var(--series-1); }
.trace .lbl { font-family: inherit; color: var(--text-muted); background: none; border: 0; padding: 3px 0; }

.ledrow { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline;
  padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-size: 12.5px; }
.ledrow:last-child { border-bottom: 0; }
.led-act { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px;
  color: var(--text-muted); white-space: nowrap; }
.led-when { font-size: 11px; color: var(--text-muted); white-space: nowrap; }

#st-continuity{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:12px} #st-continuity p{margin:10px 0;overflow-wrap:anywhere} #st-continuity summary{cursor:pointer;padding:10px 0} #st-continuity ul{padding-left:22px} .continuity-status strong{font-size:1.1rem}

/* Version record (5 Sep 2026): live / candidate / approved, measured not typed. */
.version-record{margin:12px 0}
.vr{border:1px solid var(--line);border-left:5px solid var(--warning);border-radius:12px;padding:12px 14px;background:var(--surface-1);color:var(--text-primary)}
.vr code{color:var(--text-primary);background:var(--surface-2);padding:1px 6px;border-radius:6px}
.vr-state,.vr-competing li{color:var(--text-primary)}
.vr.vr-ok{border-left-color:var(--good,#2e8b57)}
.vr.vr-bad{border-left-color:var(--critical,#c0392b)}
.vr.vr-none{border-left-color:var(--muted,#9a968f)}
.vr-grid{display:flex;flex-wrap:wrap;gap:10px 22px}
.vr-cell{display:flex;flex-direction:column;gap:2px;min-width:160px}
.vr-k{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)}
.vr-cell code{font-size:1.05rem;font-weight:700}
.vr-s{font-size:.82rem;color:var(--text-muted)}
.vr-state{margin-top:10px;font-size:.95rem}
.vr-competing{margin:8px 0 0;padding-left:18px;color:var(--critical,#c0392b);font-size:.85rem}
.vr-competing span{color:var(--text-muted)}
.vr-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px}
.preview-status{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0}
.preview-status p{margin:4px 0 0;font-size:.85rem;overflow-wrap:anywhere}
.preview-actions,.preview-choices{display:flex;flex-wrap:wrap;gap:8px}
.preview-actions .btn{min-height:44px;white-space:normal}
.station-history{margin-top:16px;padding:12px;border:1px solid var(--line);border-radius:10px}
.station-history>summary{cursor:pointer}
.checklist-toggle{min-height:44px;margin-top:16px;width:100%;text-align:left}
.ops-self-view{padding:24px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.ops-self-view h3,.ops-self-view p{width:100%;margin:0}
.ops-self-view .btn,.preview-fallback{min-height:44px;white-space:normal}
.preview-fallback{display:inline-flex;margin:12px}
.private-share-note{padding:12px;color:var(--text-muted)}
#board-list{scroll-margin-top:130px}
#st-deployment-checklist[hidden]{display:none}
.station-history>summary{min-height:24px;padding:6px 0;font-weight:600}
@media(max-width:600px){.preview-status{align-items:stretch;flex-direction:column}.preview-actions .btn{flex:1;text-align:center}}
.vr-note{font-size:.85rem;color:var(--text-muted)}
.vr-release-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.vr-release-step{display:flex;flex-direction:column;gap:12px;min-width:0;padding:16px;border:1px solid #94a3b8;border-radius:12px;background:var(--surface-1);color:var(--text-primary)}
.vr-release-step h3{display:flex;align-items:center;gap:8px;margin:0;font-size:1rem}
.vr-release-step h3 span{display:inline-grid;place-items:center;flex-shrink:0;width:26px;height:26px;border:1px solid currentColor;border-radius:50%;font-size:.85rem}
.vr-release-step p{margin:0;font-size:.85rem;line-height:1.5;overflow-wrap:anywhere}
.vr-release-step .vr-step-note{font-size:.8rem;color:var(--text-muted)}
.vr-release-live{border:2px solid #b7791f}
.btn.vr-approve,.btn.vr-publish{width:100%;min-height:48px;margin-top:auto;padding:12px 16px;border:2px solid;border-radius:8px;font-size:.95rem;font-weight:750;line-height:1.35;white-space:normal;overflow-wrap:anywhere;text-align:center;box-shadow:none;animation:none}
.btn.vr-approve{background:#eff6ff;color:#174279;border-color:#245e99}
.btn.vr-approve:hover:not(:disabled){background:#dbeafe;color:#174279}
.btn.vr-publish{background:#fbbf24;color:#302000;border-color:#956300}
.btn.vr-publish:hover:not(:disabled){background:#f59e0b;color:#302000}
.btn.vr-approve:disabled,.btn.vr-publish:disabled{opacity:.6;cursor:not-allowed}
.btn.vr-approve:focus-visible,.btn.vr-publish:focus-visible{outline:3px solid var(--text-primary);outline-offset:3px}
@media (max-width:600px){.vr-release-steps{grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){.vr-cell{min-width:45%}}

.revision-queue{margin-bottom:20px}.revision-queue h2{font-size:18px;margin-bottom:4px}.revision-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.revision-shortcut{display:grid;gap:3px;text-align:left;white-space:normal;max-width:100%;min-width:0}.revision-shortcut span{font-size:12px;overflow-wrap:anywhere}.revision-queue summary{cursor:pointer;padding:8px 0}
.deployment-checklist{margin:16px 0;padding:16px;border:1px solid #bbb;border-radius:12px}.deployment-item{padding:10px 0;border-bottom:1px solid #ddd}.deployment-item form{display:grid;gap:8px}.deployment-item label{display:grid;gap:4px}.deployment-item input,.deployment-item textarea,.deployment-item select{width:100%;max-width:100%;box-sizing:border-box;font:inherit;padding:8px}.deployment-item summary{cursor:pointer}.deployment-checklist code{overflow-wrap:anywhere}

#st-trial-results{padding:16px;border:1px solid #bbb;border-radius:12px;margin:16px 0}#st-trial-results td,#st-trial-results th{padding:8px;text-align:left;border-bottom:1px solid #ddd}#st-trial-results form,#st-trial-results label{display:grid;gap:8px}#st-trial-results textarea,#st-trial-results select{font:inherit;max-width:100%;padding:8px}


/* Dimau metric design v1 — owner reference, 20 September 2026.
   Presentation only: amounts, scales, data sources and semantic statuses remain intact.
   Scoped to measured results; no network, storage or third-party dependencies. */
@media screen {
:is(.kpi,.card:has(.chart),.card:has(.minibars)){
 --metric-accent:#58d9f5;--metric-glow:#174565;
 --ink:#f2f6ff;--ink-soft:#bdcce0;--muted:#afbed4;--line:#2b3b54;
 --text-primary:#f2f6ff;--text-secondary:#c8d5e8;--text-muted:#afbed4;
 --surface-1:#101929;--surface-2:#19253a;--line-soft:#27354b;
 --paper:#101929;--paper2:#172338;--ink2:#c8d5e8;--ink3:#afbed4;
 --card:#101929;--green-dd:#eff7ff;--green-l:#70d9ed;
 color:#f2f6ff;color-scheme:dark;min-width:0;
 background:radial-gradient(ellipse at 100% 0,var(--metric-glow),transparent 75%),linear-gradient(145deg,#111b2c,#0a101e);
 border:1px solid #2b3b54;border-top-color:#45627c;border-radius:18px;
 box-shadow:0 12px 32px -18px #02061799,inset 0 1px 0 #ffffff06;
}
:is(.kpi,.card:has(.chart),.card:has(.minibars)):nth-child(3n+2){--metric-accent:#bca2ff;--metric-glow:#302947}
:is(.kpi,.card:has(.chart),.card:has(.minibars)):nth-child(3n){--metric-accent:#66e3ca;--metric-glow:#143d3d}
:is(.kpi .value){color:#f2f6ff;font-variant-numeric:tabular-nums lining-nums;letter-spacing:-.025em;font-weight:750;overflow-wrap:anywhere;line-height:1.2}
:is(.kpi .label,.kpi .delta){color:#afbed4;line-height:1.5;letter-spacing:.01em;text-transform:none}
:is(.kpi,.card:has(.chart),.card:has(.minibars)):focus-visible,:is(.kpi,.card:has(.chart),.card:has(.minibars)) :focus-visible{outline:3px solid #78e3ff;outline-offset:4px}

 .kpi{padding:19px 16px;border-top:2px solid var(--metric-accent)}.kpi .value{font-size:clamp(27px,2.5vw,36px);margin:10px 0 5px}.kpi .value.sm{font-size:24px}
 .kpi{--good:#7de2af;--critical:#ff91a5}.kpi .delta.up{color:var(--critical)}.kpi .delta.down{color:var(--good)}.kpi.alarm{border-color:#ff91a5}
 .card:has(.chart),.card:has(.minibars){--series-1:#58d9f5;--series-2:#bd9cff;--series-3:#79e5bd;--series-4:#ffd595;--series-5:#f191c8}
 .chart text{fill:#afbed4}.chart svg line:not([stroke-dasharray]){stroke:#293950}
 .chart svg path[fill="none"]{stroke-width:2.5}.chart circle[data-i]:focus-visible{stroke:#fff;stroke-width:2;outline:none}
 .mbt{background:#25334a}.mbt i{border-radius:8px}
 @media(max-width:450px){.kpis{gap:10px}.kpi{padding:16px 12px}.kpi .value{font-size:28px}}

}
@media (prefers-reduced-motion:reduce){:is(.kpi,.card:has(.chart),.card:has(.minibars)),:is(.kpi,.card:has(.chart),.card:has(.minibars)) *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
