/* ─────────────────────────────────────────────────────────────────
   VOLIA / OPS — dashboard styles
   OLED-true black, red Stage accent, dense Bloomberg-clean layout.
   No external fonts. Pure CSS. ~9 KB.
   ───────────────────────────────────────────────────────────────── */

@property --pulse {
  syntax: '<percentage>';
  initial-value: 0%;
  inherits: false;
}
@property --eq-num {
  syntax: '<number>';
  initial-value: 0;
  inherits: true;
}
@property --spark-shift {
  syntax: '<number>';
  initial-value: 0;
  inherits: true;
}

:root {
  color-scheme: dark;

  --bg:          oklch(0% 0 0);
  --surface-0:   oklch(4% 0 0);
  --surface-1:   oklch(7% 0 0);
  --surface-2:   oklch(11% 0 0);
  --surface-3:   oklch(15% 0 0);

  --fg:          oklch(98% 0 0);
  --fg-mute:     oklch(70% 0 0);
  --fg-faint:    oklch(45% 0 0);
  --fg-dim:      oklch(28% 0 0);

  --accent:      oklch(60% 0.24 25);
  --accent-hi:   oklch(68% 0.26 25);
  --accent-lo:   oklch(50% 0.22 25);
  --accent-soft: oklch(60% 0.24 25 / 0.18);
  --accent-glow: oklch(60% 0.24 25 / 0.55);

  --win:         oklch(74% 0.18 145);
  --loss:        oklch(60% 0.24 25);
  --warn:        oklch(80% 0.18 80);

  --border:      oklch(18% 0 0);
  --border-hi:   oklch(28% 0 0);
  --border-acc:  oklch(40% 0.10 25);

  --grid-line:   oklch(15% 0 0);

  --mono:        ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
  --display:     -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  --text:        -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 38.2%, 1.103 43.7%, 1.064 53.6%, 1 62.4%, 0.973 67.4%, 0.969 73%, 0.991 86.4%, 1);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  overscroll-behavior-y: none;
  letter-spacing: -0.005em;
}

body {
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 80vw 40vh at 50% -10%, var(--accent-soft) 0%, transparent 60%),
    radial-gradient(ellipse 60vw 30vh at 90% 110%, oklch(60% 0.24 25 / 0.06) 0%, transparent 60%),
    var(--bg);
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.display { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
.upper { text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; color: var(--fg-faint); }
.dim { color: var(--fg-mute); }
.faint { color: var(--fg-faint); }
.hi { color: var(--fg); }
.acc { color: var(--accent); }
.win { color: var(--win); }
.loss { color: var(--loss); }
.warn { color: var(--warn); }

/* ─── LAYOUT ─── */

.app {
  max-width: 1480px;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  container-type: inline-size;
}

@media (max-width: 720px) {
  .app { padding: 12px; gap: 10px; }
  body { font-size: 13px; }
}

/* ─── TOPBAR ─── */

.topbar {
  grid-column: span 12;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  background: var(--surface-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: sticky; top: 8px; z-index: 10;
  backdrop-filter: blur(20px);
  background: oklch(4% 0 0 / 0.85);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 16px;
}
.brand .mark {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--accent);
  border-radius: 5px;
  box-shadow: 0 0 22px var(--accent-glow);
}
.brand .mark::after {
  content: ''; width: 8px; height: 8px; background: var(--bg); border-radius: 1px;
}
.brand .slash { color: var(--accent); margin: 0 4px; }

.eq {
  text-align: right;
  font-family: var(--display);
}
.eq .num {
  font-size: clamp(28px, 4.4cqi, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
  transition: color 200ms var(--ease-out), text-shadow 400ms var(--ease-out);
  text-shadow: 0 0 24px transparent;
}
.eq.up .num   { color: var(--win);  text-shadow: 0 0 24px oklch(74% 0.18 145 / 0.4); }
.eq.down .num { color: var(--loss); text-shadow: 0 0 24px oklch(60% 0.24 25 / 0.5); }
.eq .lbl { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-faint); margin-top: 2px; }

.clock {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-mute);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
}
.clock::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--win);
  box-shadow: 0 0 0 0 oklch(74% 0.18 145 / 0.5);
  animation: pulse-dot 1.6s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 oklch(74% 0.18 145 / 0.6); }
  70%  { box-shadow: 0 0 0 6px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.kbd {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 6px;
  background: var(--surface-1);
  border: 1px solid var(--border-hi);
  border-bottom-width: 2px;
  border-radius: 4px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
  cursor: pointer;
}
button.kbd:hover { color: var(--fg); border-color: var(--accent); }
button.kbd.active {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

/* ─── SECTION HEADER ─── */

.section {
  background: var(--surface-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  position: relative;
  scroll-margin-top: 90px;
  view-transition-name: none;
}

.section h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-faint);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.section h2::before {
  content: ''; width: 4px; height: 12px; background: var(--accent); border-radius: 2px;
}

/* sections: column spans */
#bots-section       { grid-column: span 12; }
#trades-section     { grid-column: span 7;  }
#fingerprint-section{ grid-column: span 5;  }
#kill-section       { grid-column: span 5;  }
#decisions-section  { grid-column: span 7;  }
#log-section        { grid-column: span 12; }
#footer-section     { grid-column: span 12; }

@media (max-width: 1080px) {
  #trades-section, #fingerprint-section, #kill-section, #decisions-section { grid-column: span 12; }
}

/* ─── BOT GRID ─── */

.bot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.bot-card {
  position: relative;
  padding: 14px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto auto;
  gap: 4px 10px;
  transition: border-color 180ms var(--ease-out), background 180ms var(--ease-out), transform 220ms var(--ease-out);
  view-transition-name: var(--vt-name, none);
  overflow: hidden;
}
.bot-card::before {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(180deg, transparent 0%, var(--accent-soft) 100%);
  border-radius: var(--r-md);
  opacity: 0;
  transition: opacity 220ms var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.bot-card > * { position: relative; z-index: 1; }
.bot-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-1px);
  background: var(--surface-2);
}
.bot-card:hover::before { opacity: 1; }

.bot-card .name { font-weight: 600; font-size: 13px; letter-spacing: -0.01em; }
.bot-card .host { font-size: 10px; color: var(--fg-faint); font-family: var(--mono); margin-top: 1px; }

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  border-radius: var(--r-pill);
  border: 1px solid currentColor;
  align-self: start;
}
.pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill.live   { color: var(--win); }
.pill.live::before { animation: pulse-dot 1.6s infinite; }
.pill.paper  { color: var(--warn); }
.pill.dead   { color: var(--fg-faint); }
.pill.dormant{ color: var(--fg-faint); }

.bot-card .balance {
  grid-column: 1 / -1;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 4px;
  line-height: 1;
}
.bot-card .balance .ccy { font-size: 13px; color: var(--fg-faint); margin-right: 3px; }

.bot-card .stats-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
}
.bot-card .stats-row .k { color: var(--fg-faint); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 2px; }

.bot-card .spark {
  grid-column: 1 / -1;
  height: 36px; width: 100%;
  margin-top: 6px;
}

.bot-card .footer {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; margin-top: 4px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: var(--fg-faint);
  font-family: var(--mono);
}

.kill-switch {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border);
}
.kill-switch.armed   { color: var(--win); border-color: oklch(74% 0.18 145 / 0.4); }
.kill-switch.tripped { color: var(--loss); border-color: var(--accent); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.4; } }

/* ─── TRADE TAPE ─── */

.tape {
  display: flex; flex-direction: column;
  gap: 0;
  max-height: 320px;
  overflow-y: auto;
  margin: -4px;
  padding: 4px;
}
.tape-row {
  display: grid;
  grid-template-columns: 60px 1fr 70px 80px 50px;
  gap: 10px;
  align-items: center;
  padding: 7px 8px;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
  transition: background 140ms var(--ease-out);
  position: relative;
}
.tape-row:hover { background: var(--surface-1); }
.tape-row.win::before, .tape-row.loss::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
}
.tape-row.win::before  { background: var(--win); }
.tape-row.loss::before { background: var(--loss); }
.tape-row.flash {
  animation: tape-flash 1.6s var(--ease-out);
}
@keyframes tape-flash {
  0%   { background: var(--accent-soft); }
  100% { background: transparent; }
}
.tape-row .ts  { color: var(--fg-faint); font-size: 11px; }
.tape-row .sym { font-weight: 600; }
.tape-row .px  { text-align: right; color: var(--fg-mute); }
.tape-row .pnl { text-align: right; font-weight: 600; }
.tape-row .pill-mini {
  font-size: 9px; padding: 1px 5px; border-radius: var(--r-pill);
  text-align: center; letter-spacing: 0.08em;
}
.tape-row.win .pill-mini  { background: oklch(74% 0.18 145 / 0.16); color: var(--win); }
.tape-row.loss .pill-mini { background: oklch(60% 0.24 25 / 0.16); color: var(--loss); }
.tape-row.open .pill-mini { background: var(--surface-2); color: var(--fg-mute); }

.tape-detail {
  padding: 8px 12px 10px 16px;
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--fg-mute);
  font-family: var(--mono);
  display: none;
}
.tape-row.expanded + .tape-detail { display: block; }

/* ─── FINGERPRINT CHART ─── */

.fp-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  background: var(--surface-1);
  border-radius: var(--r-md);
  overflow: hidden;
}
.fp-canvas {
  width: 100%; height: 100%;
  display: block;
}
.fp-legend {
  position: absolute; bottom: 8px; right: 10px;
  display: flex; gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.06em;
}
.fp-legend .dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.fp-axis {
  position: absolute;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--fg-faint);
  letter-spacing: 0.06em;
}
.fp-axis.x { bottom: 6px; left: 12px; }
.fp-axis.y { top: 8px; left: 8px; transform-origin: 0 0; }

/* ─── KILL LIST TICKER ─── */

.kill-feed {
  height: 280px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.kill-track {
  display: flex; flex-direction: column; gap: 8px;
  animation: kill-scroll var(--kill-dur, 60s) linear infinite;
  will-change: transform;
}
@keyframes kill-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.kill-row {
  padding: 10px 12px;
  border-left: 2px solid var(--accent);
  background: var(--surface-1);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 12px;
  color: var(--fg-mute);
  font-family: var(--mono);
  display: flex; align-items: center; gap: 10px;
}
.kill-row::before {
  content: '✕'; color: var(--accent); font-weight: 700; font-size: 14px;
}
.kill-feed:hover .kill-track { animation-play-state: paused; }

/* ─── DECISIONS ─── */

.decisions {
  display: flex; flex-direction: column; gap: 10px;
  max-height: 320px; overflow-y: auto;
}
.decision-card {
  padding: 12px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  position: relative;
}
.decision-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent);
  border-radius: 2px 0 0 2px;
}
.decision-card .title { font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.decision-card .body  { font-size: 12px; color: var(--fg-mute); margin-bottom: 8px; line-height: 1.5; }
.decision-card .opts  { display: flex; flex-wrap: wrap; gap: 6px; }
.decision-card .opts button {
  font-family: var(--mono); font-size: 10px;
  padding: 5px 10px;
  background: var(--surface-2);
  color: var(--fg-mute);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: border-color 140ms var(--ease-out), color 140ms var(--ease-out);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.decision-card .opts button:hover { border-color: var(--accent); color: var(--accent); }

/* ─── SYSTEM LOG ─── */

.log {
  font-family: var(--mono);
  font-size: 11px;
  height: 240px;
  overflow-y: auto;
  background: var(--surface-1);
  border-radius: var(--r-md);
  padding: 8px 12px;
}
.log-row {
  padding: 3px 0;
  display: grid;
  grid-template-columns: 80px 60px 100px 1fr;
  gap: 10px;
  border-bottom: 1px dashed var(--border);
  color: var(--fg-mute);
}
.log-row:last-child { border-bottom: none; }
.log-row .lvl {
  display: inline-block;
  text-align: center;
  padding: 0 4px;
  border-radius: 3px;
  font-size: 9px;
  letter-spacing: 0.1em;
}
.log-row .lvl.INFO  { color: var(--fg-faint); }
.log-row .lvl.WARN  { color: var(--warn); }
.log-row .lvl.ERROR { color: var(--loss); background: oklch(60% 0.24 25 / 0.1); }
.log-row .lvl.WIN   { color: var(--win); }
.log-row .lvl.LOSS  { color: var(--loss); }
.log-row .src       { color: var(--accent); }
.log-row .ts        { color: var(--fg-faint); }

/* ─── FOOTER ─── */

.foot {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-faint);
  padding: 16px;
  border-top: 1px solid var(--border);
  background: transparent;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.foot a { color: var(--accent); }

/* ─── HELP MODAL ─── */

.modal-back {
  position: fixed; inset: 0;
  background: oklch(0% 0 0 / 0.7);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  animation: fade-in 180ms var(--ease-out);
}
.modal-back.open { display: grid; }
.modal {
  background: var(--surface-0);
  border: 1px solid var(--border-acc);
  border-radius: var(--r-lg);
  padding: 24px;
  max-width: 520px;
  width: 100%;
  font-family: var(--text);
  box-shadow: 0 20px 80px oklch(0% 0 0 / 0.6), 0 0 0 1px var(--accent-soft);
  animation: pop-in 320ms var(--ease-spring);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in  { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.modal h3 { font-family: var(--display); font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.modal table { width: 100%; font-family: var(--mono); font-size: 12px; }
.modal td { padding: 5px 0; vertical-align: top; }
.modal td.k { width: 44px; }

/* ─── SKELETON / EMPTY ─── */

.skel {
  display: block;
  background: linear-gradient(90deg, var(--surface-1) 0%, var(--surface-2) 50%, var(--surface-1) 100%);
  background-size: 800px 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: var(--r-sm);
  height: 14px;
}
.skel.tall { height: 60px; }
.skel.tint { background: linear-gradient(90deg, oklch(7% 0 0) 0%, oklch(20% 0.05 25) 50%, oklch(7% 0 0) 100%); background-size: 800px 100%; }
@keyframes shimmer {
  from { background-position: -400px 0; }
  to   { background-position: 400px 0; }
}
.empty {
  padding: 30px 20px;
  text-align: center;
  color: var(--fg-faint);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ─── SCROLL-DRIVEN REVEALS ─── */

@supports (animation-timeline: view()) {
  .section {
    animation: section-enter linear both;
    animation-timeline: view(block);
    animation-range: cover 0% cover 22%;
  }
  .topbar { animation: none; }
  @keyframes section-enter {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ─── REDUCED MOTION ─── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── SKIP LINK (a11y) ─── */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  border-radius: var(--r-sm);
  z-index: 1000;
  text-transform: uppercase;
  font-weight: 700;
}
.skip-link:focus {
  left: 12px;
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

/* ─── NOISE OVERLAY (2%, AAA detail #15-ish) ─── */

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.02;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) {
  .noise { display: none; }
}

/* ─── MERCURY INSET-RING ELEVATION (v2 polish) ─── */

.section,
.bot-card,
.decision-card {
  box-shadow: inset 0 0 0 1px oklch(60% 0.24 25 / 0.04);
}
.section:hover {
  box-shadow: inset 0 0 0 1px oklch(60% 0.24 25 / 0.06);
}
.bot-card:hover {
  box-shadow: inset 0 0 0 1px oklch(60% 0.24 25 / 0.18),
              0 12px 40px oklch(60% 0.24 25 / 0.06);
}

/* ─── 0.4s spring transitions on signature interactions ─── */

.bot-card { transition: border-color 400ms var(--ease-spring), background 400ms var(--ease-spring), transform 400ms var(--ease-spring), box-shadow 400ms var(--ease-spring); }
.tape-row { transition: background 400ms var(--ease-spring); }

/* ─── ANTHROPIC ASYMMETRIC RADIUS (signature on the brand mark) ─── */

.brand .mark {
  border-radius: 5px 5px 1px 5px; /* one snipped corner — terminal feel */
}

/* ─── PRINT ─── */

@media print {
  body { background: #fff; color: #000; }
  .topbar { position: static; background: #fff; border-color: #ccc; }
  .section { background: #fff; border: 1px solid #ccc; page-break-inside: avoid; box-shadow: none; }
  .pill, .kill-switch { border: 1px solid #888; color: #000; }
  .kbd, .clock, .modal-back, .skel { display: none !important; }
  .bot-card { border: 1px solid #ccc; background: #fff; }
  .bot-card .balance, .eq .num { color: #000; text-shadow: none; }
  .upper, .dim, .faint { color: #555; }
  .acc, .win, .loss, .warn { color: #000; }
  .fp-wrap { background: #fff; border: 1px solid #ccc; }
  .kill-track { animation: none; transform: none; }
  .log { max-height: none; height: auto; }
  .tape { max-height: none; height: auto; }
}
