/* ---------------------------------------------------------------- tokens */
:root {
  color-scheme: light;
  --page: #f9f9f7;
  --surface: #fcfcfb;
  --surface-2: #f1f0ec;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --muted: #898781;
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --border: rgba(11, 11, 11, 0.1);
  --series-1: #2a78d6;
  --series-2: #eb6834;
  --series-3: #1baf7a;
  --up: #0ca30c;
  --down: #d03b3b;
  --up-text: #006300;
  --down-text: #c42f2f;
  --warning: #fab219;
  --serious: #ec835a;
  --focus: #2a78d6;
  --radius: 6px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0d0d0d;
  --surface: #1a1a19;
  --surface-2: #232321;
  --ink: #f0efec;
  --ink-2: #c3c2b7;
  --muted: #898781;
  --grid: #2c2c2a;
  --axis: #383835;
  --border: rgba(255, 255, 255, 0.1);
  --series-1: #3987e5;
  --series-2: #d95926;
  --series-3: #199e70;
  --up: #0ca30c;
  --down: #d03b3b;
  --up-text: #0ca30c;
  --down-text: #e66767;
  --focus: #3987e5;
}

/* ---------------------------------------------------------------- base */
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--page);
  color: var(--ink);
  font: 13px/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-weight: 600; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.up { color: var(--up-text); }
.down { color: var(--down-text); }
.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------------------------------------------------------- top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 52px;
  padding: 0 20px;
  background: var(--page);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.brand svg { display: block; }
.brand .slash { color: var(--muted); font-weight: 400; margin: 0 1px; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.tag-paper { color: var(--warning); }
.tag-live { color: var(--down); }
.status-group { display: flex; align-items: center; gap: 22px; min-width: 0; flex: 1; }
.stat-inline { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.stat-inline .value { display: inline-flex; align-items: center; gap: 6px; }
.stat-inline .detail { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.good { background: var(--up); }
.dot.warn { background: var(--warning); }
.dot.bad { background: var(--down); }
.actions { display: flex; gap: 8px; margin-left: auto; }

.btn {
  height: 28px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-2); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn-danger { color: var(--down-text); border-color: color-mix(in srgb, var(--down) 45%, transparent); }
.btn-danger:hover { background: color-mix(in srgb, var(--down) 10%, transparent); }
.btn-solid-danger { background: var(--down); border-color: var(--down); color: #fff; }
.btn-solid-danger:hover { background: color-mix(in srgb, var(--down) 88%, #000); }
.btn-icon { width: 28px; padding: 0; display: grid; place-items: center; }

/* ---------------------------------------------------------------- layout */
main { padding: 16px 20px 28px; max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.kpi { padding: 14px 16px 13px; border-left: 1px solid var(--border); min-width: 0; }
.kpi:first-child { border-left: 0; }
.kpi .value { margin-top: 6px; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.kpi .sub { margin-top: 3px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------------------------------------------------------- profit hero */
.hero { padding: 16px 20px 6px; }
.hero-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.seg {
  display: inline-flex; padding: 2px; gap: 2px; border-radius: 7px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.seg button {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px; border: 0; border-radius: 5px; background: transparent;
  color: var(--ink-2); font-weight: 500; cursor: pointer;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--border); }
.seg-quiet { background: transparent; border-color: transparent; }
.seg-quiet button { height: 26px; padding: 0 10px; font-size: 12px; font-variant-numeric: tabular-nums; }
.seg-quiet button[aria-selected="true"] { background: var(--surface-2); box-shadow: none; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--up); }
.hero-main { margin-top: 18px; }
.hero-value {
  margin-top: 4px; font-size: 44px; font-weight: 600; line-height: 1.05; letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.hero-change { margin-top: 6px; color: var(--ink-2); font-size: 13px; }
.hero-chart { position: relative; height: 240px; margin: 10px -10px 0; }
.hero-chart .empty { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center;
  padding: 0 24px; color: var(--muted); pointer-events: none; }
.hero-stats {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 6px -20px 0;
  border-top: 1px solid var(--border);
}
.hero-stats > div { padding: 12px 20px 12px; border-left: 1px solid var(--border); min-width: 0; }
.hero-stats > div:first-child { border-left: 0; }
.hero-stats dt { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.hero-stats dd { margin: 4px 0 0; font-size: 16px; font-weight: 600; white-space: nowrap; }

.hero-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 10px; font-size: 12.5px; color: var(--ink-2); }
.hero-legend b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; margin-left: 2px; }
.hero-legend .key i { width: 14px; height: 2px; border-radius: 1px; display: inline-block; }
.key-bot { background: var(--up); }
.key-bench { background: var(--series-1); }
.verdict-chip { font-size: 12px; padding: 2px 8px; border-radius: 4px; border: 1px solid var(--border); color: var(--ink-2); }
.verdict-chip.up { color: var(--up-text); border-color: color-mix(in srgb, var(--up) 40%, transparent); }
.verdict-chip.down { color: var(--down-text); border-color: color-mix(in srgb, var(--down) 40%, transparent); }

/* ---------------------------------------------------------------- profit calendar */
.grid-cal { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; }
.cal-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.cal-month { min-width: 108px; text-align: center; font-weight: 600; font-size: 13px; }
.cal-head, .cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 0 12px; }
.cal-head { padding-top: 10px; padding-bottom: 6px; }
.cal-head span { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: center; }
.cal-day {
  --tint: 0;
  display: grid; align-content: space-between; min-height: 58px; padding: 6px 8px; border-radius: 5px;
  border: 1px solid var(--border); background: var(--surface); font-variant-numeric: tabular-nums;
}
.cal-day .d { font-size: 11px; color: var(--muted); }
.cal-day .v { font-size: 12.5px; font-weight: 600; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-day .n { font-size: 10.5px; color: var(--muted); text-align: right; }
.cal-day.up { background: color-mix(in srgb, var(--up) calc(var(--tint) * 30%), var(--surface)); }
.cal-day.down { background: color-mix(in srgb, var(--down) calc(var(--tint) * 30%), var(--surface)); }
.cal-day.up .v { color: var(--up-text); }
.cal-day.down .v { color: var(--down-text); }
.cal-day.flat .v, .cal-day.future .v { color: var(--muted); font-weight: 400; }
.cal-day.today { border-color: var(--ink-2); }
.cal-day.future { opacity: 0.45; }
.cal-day.pad { visibility: hidden; }
.cal-foot { margin: 0; padding: 10px 14px 12px; color: var(--ink-2); font-size: 12.5px; }

.banner.banner-neutral { border-color: var(--border); background: var(--surface); }
.banner-actions { display: flex; gap: 8px; }
.btn-primary-sm { background: var(--ink); color: var(--page); border-color: var(--ink); font-weight: 600; }
.btn-primary-sm:hover { background: var(--ink-2); }
.push-body { padding: 12px 14px 14px; display: grid; gap: 10px; }
.push-body p { margin: 0; color: var(--ink-2); max-width: 640px; }
.push-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.push-actions:empty { display: none; }

.footer-only { display: none; }

.grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 16px; }
.side { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 16px; min-height: 0; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
}
.card-head h2 { font-size: 13px; }
.card-head .meta { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.empty { padding: 22px 14px; color: var(--muted); }

/* ---------------------------------------------------------------- price chart */
.symbols { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-left: 8px; min-width: 0; }
.symbols::-webkit-scrollbar { display: none; }
.sym {
  height: 26px;
  padding: 0 9px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}
.sym:hover { background: var(--surface-2); color: var(--ink); }
.sym[aria-pressed="true"] { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.sym .chg { margin-left: 5px; font-size: 11.5px; font-variant-numeric: tabular-nums; }

.legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  padding: 10px 14px 0;
  font-size: 12px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  min-height: 28px;
}
.legend .sym-name { color: var(--ink); font-weight: 600; }
.legend .ohlc span { margin-right: 10px; }
.legend .ohlc b { font-weight: 500; color: var(--muted); margin-right: 3px; }
.key { display: inline-flex; align-items: center; gap: 6px; }
.key i { width: 14px; height: 2px; border-radius: 1px; display: inline-block; }
.chart-card .chart { flex: 1 1 auto; }
.chart { position: relative; min-height: 430px; }
.chart-sm { min-height: 240px; }
.chart-canvas { position: absolute; inset: 4px 4px 0; }
.chart .empty { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; pointer-events: none; }

/* ---------------------------------------------------------------- positions */
.pos { padding: 12px 14px; border-top: 1px solid var(--border); display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.pos:first-child { border-top: 0; }
.pos-top { display: flex; align-items: baseline; gap: 10px; }
.pos-sym { font-weight: 600; font-size: 14px; }
.pos-strat { flex: 1 1 auto; min-width: 0; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pos-pnl { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pos-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; color: var(--ink-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.range { position: relative; height: 18px; }
.range .track { position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--grid); border-radius: 1px; }
.range .entry { position: absolute; top: 4px; width: 1px; height: 10px; background: var(--muted); }
.range .now { position: absolute; top: 4px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ink); border: 2px solid var(--surface); }

/* ---------------------------------------------------------------- decisions feed */
.feed-card { min-height: 0; }
.feed { list-style: none; margin: 0; padding: 0; overflow-y: auto; max-height: 440px; }
.feed li { padding: 11px 14px; border-top: 1px solid var(--border); display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; }
.feed li:first-child { border-top: 0; }
.feed-top { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.feed-top .time { color: var(--muted); font-size: 12px; width: 38px; }
.feed-top .sym { padding: 0; height: auto; font-weight: 600; color: var(--ink); cursor: default; }
.act { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; }
.act-buy { color: var(--up-text); }
.act-skip { color: var(--muted); }
.outcome { margin-left: auto; font-size: 11px; color: var(--muted); border: 1px solid var(--border); border-radius: 3px; padding: 0 6px; line-height: 18px; white-space: nowrap; }
.outcome.executed { color: var(--ink); border-color: var(--ink-2); }
.feed .why { color: var(--ink-2); }
.feed .sigs { font-size: 12px; color: var(--muted); }
.conf { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-2); }
.conf-bar { width: 36px; height: 3px; background: var(--grid); border-radius: 2px; overflow: hidden; }
.conf-bar i { display: block; height: 100%; background: var(--ink-2); }

/* ---------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; }
/* Data tables only. The chart library lays out its canvases with its own <table>, so never style bare td/th. */
.table-wrap table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table-wrap th {
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table-wrap td { padding: 8px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:hover td { background: var(--surface-2); }
.table-wrap th.r, .table-wrap td.r { text-align: right; }
.table-wrap td .sub { display: block; color: var(--muted); font-size: 11.5px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.badge.trusted::before { background: var(--up); }
.badge.benched::before { background: var(--down); }
.scroll-y { max-height: 420px; overflow-y: auto; }
.badge.passed::before { background: var(--up); }
.badge.failed::before { background: var(--down); }
.table-wrap tr.active td:first-child { box-shadow: inset 2px 0 0 var(--up); }
.checklist { list-style: none; margin: 0; padding: 4px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checklist li { display: grid; grid-template-columns: 18px 1fr; gap: 2px 8px; padding: 10px 14px; }
.checklist .mark { grid-row: span 2; font-weight: 700; line-height: 1.3; }
.checklist .ok .mark { color: var(--up-text); }
.checklist .no .mark { color: var(--muted); }
.checklist .detail { color: var(--muted); font-size: 12px; }
@media (max-width: 1180px) { .checklist { grid-template-columns: minmax(0, 1fr); } }
.verdict { margin: 0; padding: 12px 14px; border-top: 1px solid var(--border); color: var(--ink-2); }
.verdict .muted { display: block; margin-top: 4px; font-size: 12px; }

/* ---------------------------------------------------------------- activity log */
.log { list-style: none; margin: 0; padding: 4px 0; overflow-y: auto; max-height: 420px; font-size: 12.5px; }
.log li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 5px 14px; }
.log .time { color: var(--muted); font-variant-numeric: tabular-nums; }
.log .msg { color: var(--ink-2); overflow-wrap: anywhere; }
.log .trade .msg { color: var(--ink); }
.log .error .msg { color: var(--down-text); }
.log .warn .msg { color: var(--serious); }

/* ---------------------------------------------------------------- demo banner + footer + dialog */
.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--warning) 40%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--warning) 6%, var(--surface));
  color: var(--ink-2);
}
.banner p { margin: 0; flex: 1 1 420px; }
.banner strong { color: var(--ink); font-weight: 600; }
.banner details { flex: 0 1 auto; }
.banner details[open] { flex-basis: 100%; }
.banner summary { cursor: pointer; color: var(--ink); white-space: nowrap; }
.banner ol { margin: 10px 0 2px; padding-left: 20px; display: grid; gap: 6px; max-width: 760px; }
.banner code { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); padding: 1px 5px; border-radius: 3px; color: var(--ink); }
.banner a { color: var(--ink); }

.foot { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 12px; padding: 0 2px; }
.foot .credit { margin-left: auto; }
.foot a { color: var(--ink-2); }

dialog {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 20px;
  width: min(420px, calc(100vw - 32px));
}
dialog::backdrop { background: rgba(0, 0, 0, 0.5); }
dialog h3 { font-size: 15px; margin-bottom: 8px; }
dialog p { margin: 0 0 18px; color: var(--ink-2); }
dialog .row { display: flex; justify-content: flex-end; gap: 8px; }

/* ---------------------------------------------------------------- sign-in */
.login-body { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login { width: min(360px, 100%); padding: 24px; gap: 14px; }
.login h1 { font-size: 18px; }
.login label { display: grid; gap: 6px; font-size: 12px; color: var(--ink-2); }
.login input {
  height: 36px; padding: 0 10px; border: 1px solid var(--border); border-radius: 4px;
  background: var(--page); color: var(--ink); font: 14px var(--font);
}
.login input:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; }
.btn-primary { height: 36px; background: var(--ink); color: var(--page); border-color: var(--ink); font-weight: 600; }
.btn-primary:hover { background: var(--ink-2); }
.login-error { margin: 0; padding: 8px 10px; border-radius: 4px; color: var(--down-text);
  background: color-mix(in srgb, var(--down) 10%, transparent); }
.login-note { margin: 0; color: var(--muted); font-size: 12px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .grid-main, .grid-2, .grid-3, .grid-cal { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { padding-bottom: env(safe-area-inset-bottom); }
  .topbar {
    height: auto; flex-wrap: wrap; gap: 8px 10px;
    padding: max(10px, env(safe-area-inset-top)) 16px 10px;
  }
  .actions { gap: 6px; }
  .btn { height: 34px; padding: 0 11px; font-size: 13px; }
  .btn-icon { width: 34px; padding: 0; }
  .header-only { display: none; }
  .footer-only { display: flex; gap: 8px; flex-basis: 100%; margin-top: 4px; }
  .footer-only [hidden] { display: none; }
  .status-group { order: 3; flex-basis: 100%; flex-wrap: wrap; gap: 4px 16px; }
  .stat-inline .detail { display: none; }
  main { padding: 12px 12px 28px; gap: 12px; }

  .hero { padding: 14px 16px 4px; }
  .hero-top { gap: 8px; }
  .hero-top .seg-quiet { margin-left: -6px; }
  .hero-main { margin-top: 14px; }
  .hero-value { font-size: 38px; }
  .hero-chart { height: 200px; margin: 8px -12px 0; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 4px -16px 0; }
  .hero-stats > div { padding: 10px 16px; }
  .hero-stats > div:nth-child(4) { border-left: 0; }
  .hero-stats > div:nth-child(n + 4) { border-top: 1px solid var(--border); }
  .hero-stats dd { font-size: 15px; }

  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi { padding: 12px 16px; }
  .kpi .value { font-size: 19px; }
  .kpi:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--border); }

  .card-head { padding: 0 12px; }
  .chart { min-height: 300px; }
  .legend .ohlc { display: none; }
  .hide-sm { display: none; }
  .cal-head, .cal { padding: 0 8px; gap: 3px; }
  .cal-day { min-height: 52px; padding: 5px 6px; }
  .cal-day .v { font-size: 11.5px; }
  .cal-day .n { display: none; }
  .table-wrap td:first-child { white-space: normal; min-width: 104px; }
  .card-head { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; row-gap: 2px; }
  .card-head .meta { margin-left: 0; flex-basis: 100%; white-space: normal; }
  .card-head .symbols { margin-left: 0; flex-basis: 100%; }
  .table-wrap td, .table-wrap th { padding-left: 10px; padding-right: 10px; }
  .table-wrap th { letter-spacing: 0.03em; }
  .pos, .feed li { padding-left: 12px; padding-right: 12px; }
  .foot { padding: 0 4px; }
  .foot .credit { margin-left: 0; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
