/* חדר החדשות · dashboard styles. The same language as the Telegram cards: warm paper, newspaper type,
   one vivid colour per section, and the multi-coloured brand stripe. Dark is an option, not the default. */
@font-face { font-family: "Heebo"; src: url("fonts/Heebo.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Frank Ruhl Libre"; src: url("fonts/FrankRuhlLibre.ttf") format("truetype"); font-weight: 300 900; font-display: swap; }
:root {
  color-scheme: light;
  --page: #FFF7EC;
  --surface: #FFFFFF;
  --surface-solid: #FFFFFF;
  --surface-2: #F7F1E7;
  --line: rgba(22, 20, 31, 0.09);
  --line-2: rgba(22, 20, 31, 0.18);
  --ink: #16141F;
  --ink-2: #3C3950;
  --muted: #6E6A7C;
  --accent: #2F5BFF;
  --accent-wash: rgba(47, 91, 255, 0.10);
  --up: #0E9F6E;
  --down: #E5484D;
  --flat: #8A8799;
  --tile: #F1EADF;
  --amber: #F59F00;
  --breaking: #FF3B30;
  --glow-1: transparent; --glow-2: transparent; --glow-3: transparent;
  --shadow: 0 1px 2px rgba(22, 20, 31, 0.04), 0 10px 26px rgba(22, 20, 31, 0.07);
  --radius: 20px;
  --gutter: 16px;
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Frank Ruhl Libre", "Heebo", serif;
  /* section colours (the same set as the cards) */
  --a-front: #FF3B30; --a-board: #2F5BFF; --a-weather: #F7A600; --a-lab: #7B5CFF; --a-mine: #0E9F6E;
  --a-chart: #1C7ED6; --a-moved: #FF4D6D; --a-river: #00A99D; --a-chain: #FF7A1A; --a-week: #7B5CFF;
  --a-mags: #FF4FA3; --a-alerts: #E5484D; --a-ed: #2F5BFF;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #12111A;
  --surface: #1C1A27;
  --surface-solid: #1C1A27;
  --surface-2: #24222F;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #F6F3EE;
  --ink-2: #CFCAD9;
  --muted: #9B96AB;
  --accent: #6F8BFF;
  --accent-wash: rgba(111, 139, 255, 0.16);
  --up: #34D399;
  --down: #FB7185;
  --flat: #8A8799;
  --tile: #2A2836;
  --amber: #FBBF24;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 30px rgba(0, 0, 0, 0.35);
}
/* Colour-blind friendly polarity: blue up, red down (arrows and signs stay in every mode). */
:root[data-cvd="on"] { --up: #2a78d6; --down: #e34948; }
:root[data-theme="dark"][data-cvd="on"] { --up: #4da3ff; --down: #ff7a59; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
.num, .tnum { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--muted); }
.muted { color: var(--muted); }
.ink2 { color: var(--ink-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------- top bar --- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in oklab, var(--page) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; gap: 12px; padding: 12px var(--gutter) 8px; max-width: 1180px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand svg { flex: none; }
.brand h1 { font-family: var(--display); font-size: 30px; font-weight: 900; margin: 0; letter-spacing: -0.01em; line-height: 1; }
.brand h1 em { font-style: normal; color: var(--breaking); }
.stripe { display: flex; height: 6px; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); gap: 0; }
.stripe i { flex: 1; } .stripe i:first-child { border-radius: 0 3px 3px 0; } .stripe i:last-child { border-radius: 3px 0 0 3px; }
.brand .sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .spacer { flex: 1; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.live.on i { background: var(--up); box-shadow: 0 0 0 0 color-mix(in oklab, var(--up) 60%, transparent); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--up) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 7px transparent; } }
.icon-btn {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; flex: none;
}
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn[aria-pressed="true"] { background: var(--accent-wash); border-color: var(--accent); }
.nav { display: flex; gap: 6px; overflow-x: auto; padding: 0 var(--gutter) 10px; max-width: 1180px; margin: 0 auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  flex: none; text-decoration: none; font-size: 13px; color: var(--ink-2);
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
}
.nav a:hover { color: var(--ink); border-color: var(--line-2); }
.nav a { font-weight: 700; }
.nav a.on { color: #fff; border-color: transparent; background: var(--ink); }

.banner { max-width: 1180px; margin: 12px auto 0; padding: 0 var(--gutter); }
.banner div {
  border: 1px solid color-mix(in oklab, var(--amber) 45%, var(--line)); background: color-mix(in oklab, var(--amber) 10%, var(--surface));
  border-radius: 12px; padding: 9px 12px; font-size: 13px;
}

/* --------------------------------------------------------------- layout --- */
main { max-width: 1180px; margin: 0 auto; padding: 16px var(--gutter) 40px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  main { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .span-12 { grid-column: span 12; } .span-8 { grid-column: span 8; } .span-7 { grid-column: span 7; }
  .span-6 { grid-column: span 6; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; }
}
.card {
  --acc: var(--accent);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 16px 16px; min-width: 0; position: relative; overflow: hidden;
  animation: rise .5s cubic-bezier(.2, .7, .2, 1) both;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--acc); }
#front { --acc: var(--a-front); } #board { --acc: var(--a-board); }
#weather { --acc: var(--a-weather); } #lab { --acc: var(--a-lab); } #mine { --acc: var(--a-mine); }
#chart { --acc: var(--a-chart); } #moved { --acc: var(--a-moved); } #river { --acc: var(--a-river); }
#chain { --acc: var(--a-chain); } #week { --acc: var(--a-week); } #mags { --acc: var(--a-mags); }
#alerts-card { --acc: var(--a-alerts); } #editions { --acc: var(--a-ed); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.card-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.card-h h2 { font-family: var(--display); font-size: 24px; font-weight: 900; margin: 0; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 8px; }
.card-h h2 .ic { display: none; }
.card-h h2::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--acc); flex: none; }
.card-h .hint { font-size: 12.5px; color: var(--muted); }
.card-h .end { margin-inline-start: auto; display: flex; gap: 6px; align-items: center; }
.src { font-size: 11.5px; color: var(--muted); margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.src::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
.chip-btn {
  font-size: 12px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  cursor: pointer; color: var(--ink-2);
}
.chip-btn[aria-pressed="true"] { color: var(--ink); background: var(--accent-wash); border-color: var(--accent); }
.empty { color: var(--muted); font-size: 13.5px; padding: 18px 0; text-align: center; }

/* ------------------------------------------------------------ weather --- */
.weather { display: grid; gap: 16px; grid-template-columns: 1fr; overflow: hidden; }
@media (min-width: 640px) { .weather { grid-template-columns: 220px 1fr; align-items: center; } }
.w-hero { display: flex; align-items: center; gap: 14px; }
.w-icon { width: 96px; height: 96px; flex: none; }
.w-score { font-family: var(--font); font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  background: linear-gradient(180deg, var(--ink), color-mix(in oklab, var(--a-weather) 60%, var(--ink)));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-label { font-size: 18px; font-weight: 600; margin-top: 4px; }
.w-verdict { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.w-gauge { margin-top: 10px; height: 6px; border-radius: 99px; position: relative;
  background: linear-gradient(90deg, var(--down), color-mix(in oklab, var(--down) 40%, var(--amber)) 30%, var(--amber) 55%, var(--up)); direction: ltr; }
.w-gauge i { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--ink);
  border: 3px solid var(--surface); transform: translate(-50%, -50%); transition: left .8s cubic-bezier(.2,.7,.2,1); }
.w-comp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 1000px) { .w-comp { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wc { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; min-width: 0; }
.wc .l { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc .s { font-size: 10.5px; color: var(--muted); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc .v { font-size: 16px; font-weight: 600; margin-top: 2px; white-space: nowrap; }
.wc .bar { height: 4px; border-radius: 99px; background: var(--line); margin-top: 8px; overflow: hidden; direction: ltr; }
.wc .bar b { display: block; height: 100%; border-radius: 99px; }

/* weather icon motion (only when the viewer allows motion) */
.sun-rays { transform-origin: 48px 44px; animation: spin 40s linear infinite; }
.cloud-a { animation: drift 9s ease-in-out infinite alternate; }
.cloud-b { animation: drift 12s ease-in-out infinite alternate-reverse; }
.drop { animation: fall 1.4s linear infinite; }
.bolt { animation: flash 3.6s steps(1) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateX(-3px); } to { transform: translateX(4px); } }
@keyframes fall { from { transform: translateY(-6px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(14px); opacity: 0; } }
@keyframes flash { 0%, 88%, 100% { opacity: 0; } 90%, 94% { opacity: 1; } }

/* ------------------------------------------------------------ indices --- */
.idx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .idx { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ix { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface-2); min-width: 0; cursor: pointer; text-align: start; }
.ix:hover { border-color: var(--line-2); }
.ix .n { font-size: 12.5px; color: var(--ink-2); }
.ix .p { font-size: 18px; font-weight: 600; margin-top: 2px; }
.ix svg { display: block; width: 100%; height: 30px; margin-top: 6px; }

/* ------------------------------------------------------------ heatmap --- */
.heat { position: relative; width: 100%; height: 320px; direction: ltr; }
@media (min-width: 900px) { .heat { height: 360px; } }
.tile {
  position: absolute; border-radius: 10px; padding: 8px 9px; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between; text-align: right; direction: rtl;
  color: #fff; transition: transform .15s, filter .15s; border: 0;
}
.tile:hover { filter: brightness(1.08); }
.tile:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.tile .sym { font-weight: 700; font-size: 15px; letter-spacing: .01em; }
.tile .pc { font-weight: 600; font-size: 14px; white-space: nowrap; }
.tile .sg { font-size: 11.5px; opacity: .85; }
.tile .nw { position: absolute; top: 7px; left: 8px; font-size: 11px; background: rgba(0,0,0,.28); border-radius: 99px; padding: 1px 7px; }
.tile.small .sg, .tile.small .nw { display: none; }
.tile.tiny { padding: 5px 6px; }
.tile.tiny .pc { font-size: 11px; } .tile.tiny .sym { font-size: 12px; }
.tile.micro .pc { display: none; }
.tile.light-ink { color: var(--ink); }
.legend-ramp { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); margin-top: 10px; direction: ltr; justify-content: flex-end; }
.legend-ramp span.r { width: 140px; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--down), var(--tile), var(--up)); }

/* ------------------------------------------------------------- chart --- */
.chart-wrap { position: relative; }
.chart { width: 100%; height: 240px; display: block; direction: ltr; touch-action: pan-y; }
.sym-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; scrollbar-width: thin; }
.sym-row button { flex: none; }
.tip {
  position: absolute; pointer-events: none; background: var(--surface-2); border: 1px solid var(--line-2);
  border-radius: 10px; padding: 7px 10px; font-size: 12.5px; box-shadow: var(--shadow); white-space: nowrap; z-index: 3;
  opacity: 0; transition: opacity .12s; direction: rtl;
}
.tip.on { opacity: 1; }
.pin-card { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface-2); font-size: 13.5px; }
.pin-card a { text-decoration: none; font-weight: 600; }
.pin-card a:hover { text-decoration: underline; }

/* ---------------------------------------------------------- waterfall --- */
.wf-row { display: grid; grid-template-columns: 92px 1fr 64px; gap: 8px; align-items: center; height: 28px; font-size: 13px; }
.wf-row .lb { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.wf-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; height: 36px; font-weight: 700; }
.wf-row.total .lb { color: var(--ink); }
.wf-track { position: relative; height: 18px; direction: ltr; }
.wf-track .zero { position: absolute; top: -5px; bottom: -5px; width: 1px; background: var(--line-2); }
.wf-track b { position: absolute; top: 0; height: 18px; border-radius: 4px; }
.wf-track .link { position: absolute; top: 18px; height: 10px; width: 1px; background: var(--line-2); }
.wf-row .vl { text-align: left; font-size: 12.5px; }
.mega { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mega span { font-size: 12px; border: 1px solid var(--line); border-radius: 99px; padding: 2px 9px; background: var(--surface-2); }

/* -------------------------------------------------------------- river --- */
.river { width: 100%; display: block; direction: ltr; overflow: visible; }
.river .stream { cursor: pointer; transition: opacity .2s; }
.river:hover .stream { opacity: .45; }
.river .stream:hover { opacity: 1; }
.river text { font-family: var(--font); }
.river-list { margin-top: 10px; display: grid; gap: 6px; }
.river-list a { display: flex; gap: 8px; text-decoration: none; font-size: 13px; align-items: baseline; }
.river-list a:hover .t { text-decoration: underline; }
.river-list .sc { flex: none; font-size: 11.5px; border-radius: 6px; padding: 0 6px; background: var(--surface-2); border: 1px solid var(--line); }

/* -------------------------------------------------------------- chain --- */
.chains { display: grid; gap: 12px; }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chain:last-child { border-bottom: 0; padding-bottom: 0; }
.chain .node.ev { flex: 1 1 100%; }
@media (min-width: 720px) { .chain { flex-wrap: nowrap; } .chain .node.ev { flex: 1.8 1 0; } }
.node { border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px; padding: 8px 11px; min-width: 0; font-size: 13px; }
.node.ev { flex: 1.8; }
.node.ev a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.node .k { font-size: 11px; color: var(--muted); display: block; }
.node .v { font-weight: 600; }
.arrow { color: var(--muted); text-align: center; font-size: 14px; flex: none; }
.arrow::before { content: "←"; }
.chain .ev + .arrow { display: none; }
@media (min-width: 720px) { .chain .ev + .arrow { display: block; } }
.holds { display: flex; flex-wrap: wrap; gap: 5px; }
.holds span { font-size: 12px; border-radius: 8px; padding: 2px 7px; background: var(--surface); border: 1px solid var(--line); }

/* -------------------------------------------------------------- train --- */
.train { position: relative; padding-inline-start: 26px; }
.train::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 8px; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--accent) var(--done, 0%), var(--line) var(--done, 0%)); }
.station { position: relative; padding: 0 0 14px; }
.station:last-child { padding-bottom: 0; }
.station .dot { position: absolute; inset-inline-start: -24px; top: 4px; width: 15px; height: 15px; border-radius: 50%;
  border: 3px solid var(--line-2); background: var(--surface); }
.station.past .dot { background: var(--accent); border-color: var(--accent); }
.station.today .dot { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-wash); }
.station.closed .dot { border-style: dashed; }
.station .d { font-weight: 600; font-size: 14px; }
.station .d small { font-weight: 400; color: var(--muted); margin-inline-start: 6px; }
.station ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.station li { font-size: 13px; display: flex; gap: 6px; align-items: baseline; }
.station li .t { color: var(--muted); font-size: 12px; min-width: 42px; }
.tag-mine { font-size: 10.5px; padding: 0 6px; border-radius: 6px; background: var(--accent-wash); color: var(--ink); }

/* --------------------------------------------------------------- mags --- */
.mags { display: grid; gap: 12px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 640px) { .mags { grid-template-columns: 240px 1fr; } }
.mags svg { width: 100%; max-width: 260px; height: auto; margin: 0 auto; display: block; direction: ltr; }
.mags .say { font-size: 14px; }
.mags .say b { font-weight: 700; }

/* ------------------------------------------------------- alerts / editions --- */
.alerts { display: grid; gap: 10px; }
.al { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface-2); font-size: 13.5px; }
.al .h { font-weight: 600; }
.al .m { color: var(--ink-2); margin-top: 3px; }
.al .t { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.edition { white-space: pre-wrap; font-size: 14px; line-height: 1.65; margin-top: 12px; max-height: 520px; overflow: auto;
  border-top: 1px solid var(--line); padding-top: 12px; }
.edition a { color: var(--accent); }

/* ------------------------------------------------------------- tables --- */
details.tbl { margin-top: 10px; font-size: 12.5px; }
details.tbl summary { cursor: pointer; color: var(--muted); }
details.tbl table { width: 100%; border-collapse: collapse; margin-top: 6px; }
details.tbl th, details.tbl td { text-align: start; padding: 4px 6px; border-bottom: 1px solid var(--line); }
details.tbl td.n { text-align: left; font-variant-numeric: tabular-nums; direction: ltr; }

footer { max-width: 1180px; margin: 0 auto; padding: 8px var(--gutter) 40px; color: var(--muted); font-size: 12px; display: grid; gap: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
@media (forced-colors: active) {
  .tile, .wf-track b { forced-color-adjust: none; border: 1px solid CanvasText; }
}


/* ------------------------------------------------------------ headline ticker --- */
.ticker { max-width: 1180px; margin: 10px auto 0; padding: 0 var(--gutter); }
.ticker-in { display: flex; align-items: center; gap: 10px; overflow: hidden; border-radius: 12px; border: 1px solid var(--line);
  background: linear-gradient(90deg, color-mix(in oklab, var(--a-alerts) 18%, var(--surface-solid)), var(--surface-solid) 40%); }
.ticker .live-tag { flex: none; font-family: var(--font); font-weight: 900; font-size: 12.5px; padding: 8px 14px; color: #fff;
  background: var(--breaking); position: relative; z-index: 2; box-shadow: 8px 0 12px -4px var(--surface-solid); }
/* the headlines scroll inside their own clipped lane, so they never pass over the label */
.ticker .lane { flex: 1; min-width: 0; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker .track { display: flex; gap: 28px; white-space: nowrap; animation: marquee 60s linear infinite; padding-inline-end: 28px; width: max-content; }
.ticker-in:hover .track { animation-play-state: paused; }
.ticker a { text-decoration: none; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.ticker a:hover { color: var(--ink); }
.ticker a b { color: var(--breaking); margin-inline-end: 6px; font-variant-numeric: tabular-nums; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ------------------------------------------------------------ setup lab --- */
.lab-meta { font-size: 12.5px; color: var(--muted); }
.lab-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .lab-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pick { border-radius: 16px; padding: 14px; position: relative; overflow: hidden; min-width: 0;
  background: linear-gradient(160deg, color-mix(in oklab, var(--pc, var(--a-lab)) 16%, var(--surface-solid)), var(--surface-solid) 55%);
  border: 1px solid color-mix(in oklab, var(--pc, var(--a-lab)) 35%, var(--line)); }
.pick-h { display: flex; align-items: center; gap: 10px; }
.pick .rank { font-family: var(--font); font-weight: 800; font-size: 13px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--a-lab), var(--a-mags)); flex: none; }
.pick .sym { font-family: var(--font); font-size: 24px; font-weight: 800; letter-spacing: .01em; line-height: 1; }
.pick .px { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }
.pick .ring { margin-inline-start: auto; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font-size: 11.5px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.chip.setup { color: #fff; border: 0; background: linear-gradient(90deg, var(--pc, var(--a-lab)), color-mix(in oklab, var(--pc, var(--a-lab)) 55%, var(--a-mags))); font-weight: 600; }
.chip.new { color: var(--page); background: var(--a-week); border: 0; font-weight: 700; }
.chip.warn { color: var(--amber); border-color: color-mix(in oklab, var(--amber) 50%, transparent); }
.candles { width: 100%; height: 190px; display: block; margin-top: 10px; direction: ltr; }
.levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.levels div { border-radius: 10px; padding: 6px 8px; background: var(--surface-2); border: 1px solid var(--line); min-width: 0; }
.levels .k { font-size: 10.5px; color: var(--muted); display: block; }
.levels .v { font-size: 14px; font-weight: 700; }
.levels .trig .v { color: var(--a-chart); } .levels .stop .v { color: var(--down); } .levels .tgt .v { color: var(--up); }
.thesis { font-size: 13.5px; line-height: 1.6; margin-top: 10px; }
.cv { font-size: 12.5px; margin-top: 6px; display: grid; gap: 3px; color: var(--ink-2); }
.cv b { color: var(--ink); }
.linkline { font-size: 12.5px; margin-top: 8px; color: var(--ink-2); }
.bd { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-top: 10px; }
.bd div { font-size: 10px; color: var(--muted); text-align: center; }
.bd i { display: block; height: 5px; border-radius: 99px; background: var(--line); overflow: hidden; margin-bottom: 3px; direction: ltr; }
.bd i b { display: block; height: 100%; background: linear-gradient(90deg, var(--a-lab), var(--a-mags)); border-radius: 99px; }
.lab-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 6px; scrollbar-width: thin; }
.mini { flex: none; border: 1px solid var(--line); border-radius: 12px; padding: 7px 10px; background: var(--surface-2); font-size: 12.5px; }
.mini b { font-family: var(--font); font-size: 14px; }
.holdings { display: grid; gap: 6px; margin-top: 6px; }
.hold { display: grid; grid-template-columns: 58px 1fr auto; gap: 8px; align-items: center; font-size: 12.5px; padding: 6px 8px;
  border-radius: 10px; background: var(--surface-2); }
.hold .s { font-family: var(--font); font-weight: 700; }
.dots { display: flex; gap: 3px; direction: ltr; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.dots i.on { background: var(--up); }
.track-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.track-strip div { border-radius: 12px; padding: 8px 12px; border: 1px solid var(--line); background: var(--surface-2); min-width: 92px; }
.track-strip .k { font-size: 11px; color: var(--muted); display: block; }
.track-strip .v { font-family: var(--font); font-size: 18px; font-weight: 700; }
.sub-h { font-family: var(--display); font-size: 14px; font-weight: 700; margin: 16px 0 6px; color: var(--ink-2); }
.disclaimer { font-size: 11.5px; color: var(--muted); margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }

[hidden] { display: none !important; }

/* --------------------------------------------------------------- front --- */
#front { padding: 18px; }
.front { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .front { grid-template-columns: 1.5fr 1fr; } .more-h { grid-column: span 2; } }
.front a { text-decoration: none; color: inherit; }
.lead { display: block; border-radius: 18px; overflow: hidden; position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.lead .pic, .lead .pic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lead-txt { position: absolute; inset: auto 0 0 0; padding: 22px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.45) 40%); color: #fff; }
.kicker { display: inline-block; background: #fff; border-radius: 999px; padding: 3px 12px; font-weight: 900; font-size: 13px; }
.lead h3 { font-family: var(--display); font-size: clamp(24px, 3.2vw, 38px); font-weight: 900; line-height: 1.12; margin: 10px 0 6px; text-wrap: balance; }
.by { font-size: 12.5px; opacity: .85; }
.seconds { display: grid; gap: 10px; }
.second { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; background: var(--surface-2); border-radius: 16px; padding: 8px; }
.second .thumb { height: 74px; border-radius: 12px; overflow: hidden; }
.second .thumb svg { width: 100%; height: 100%; display: block; }
.second h4 { font-family: var(--display); font-size: 17px; font-weight: 900; line-height: 1.2; margin: 4px 0 2px; }
.second .by { color: var(--muted); opacity: 1; }
.tag { display: inline-block; color: #fff; border-radius: 999px; padding: 1px 9px; font-size: 11.5px; font-weight: 800; }
.more-h { border-top: 2px solid var(--ink); padding-top: 10px; }
.more-h ul { margin: 6px 0 0; padding: 0 18px 0 0; columns: 2 320px; column-gap: 28px; }
.more-h li { margin: 0 0 6px; break-inside: avoid; font-weight: 600; }
.more-h li a:hover { text-decoration: underline; }
.more-h .by { color: var(--muted); }

/* --------------------------------------------------------------- board --- */
.bcols { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .bcols { grid-template-columns: 1.3fr 1fr 1fr; } }
.bgroup { background: var(--surface-2); border-radius: 16px; padding: 10px 14px; }
.bh { margin-bottom: 6px; } .bh b { color: #fff; border-radius: 7px; padding: 2px 10px; font-size: 13px; font-weight: 900; }
.brow { display: grid; grid-template-columns: 1fr 84px 92px 70px; align-items: center; gap: 6px; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.brow:last-child { border-bottom: 0; }
.bn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn small { color: var(--muted); font-weight: 600; font-size: 11px; margin-inline-start: 8px; }
.bl { text-align: left; color: var(--ink-2); font-weight: 600; } .bc { text-align: left; } .bs svg { width: 70px; height: 24px; display: block; }
.btiles { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.btile { border-radius: 14px; padding: 9px 12px; color: #fff; display: grid; grid-template-columns: 1fr auto; align-items: center; }
.btile b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btile small { grid-row: 2; font-size: 11px; opacity: .85; font-weight: 700; }
.btile span { grid-row: 1 / span 2; grid-column: 2; font-weight: 900; font-size: 15px; }
.btile .num, .btile span { color: #fff; }

.pick .explain { font-size: 13.5px; color: var(--ink-2); background: var(--surface-2); border-radius: 12px; padding: 8px 10px; margin: 8px 0; }
.pick .explain b { color: var(--a-lab); }
.pick .stats { font-size: 12.5px; color: var(--ink-2); display: grid; gap: 4px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line-2); }
.pick .stats b { color: var(--ink); }
.chip.sector { background: var(--ink); color: #fff; border-color: transparent; }
@media (max-width: 640px) {
  .lead { aspect-ratio: auto; background: var(--ink); }
  .lead .pic { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; }
  .lead .pic svg { position: absolute; }
  .lead-txt { position: static; background: var(--ink); padding: 14px 16px 16px; }
  .lead h3 { font-size: 24px; }
  .second { grid-template-columns: 104px 1fr; }
  .brow { grid-template-columns: 1fr 70px 84px; }
  .brow .bs { display: none; }
  .bn small { display: none; }
}

/* pictures: a chart, or two free-licence pictures split by a torn edge (the same markup as the cards) */
.picwrap { width: 100%; height: 100%; }
.picwrap > svg { width: 100%; height: 100%; display: block; }
.duo { position: relative; width: 100%; height: 100%; overflow: hidden; background: #16141F; }
.duo .half { position: absolute; inset: 0; }
.duo .slot { position: absolute; top: 0; bottom: 0; width: 57%; }
.duo .slot.r { right: 0; } .duo .slot.l { left: 0; }
.duo .slot > svg, .duo .slot > img { width: 100%; height: 100%; display: block; }
.duo img.photo { object-fit: cover; object-position: 50% 22%; }
.duo .logo-bg { width: 100%; height: 100%; display: grid; place-items: center; background: #fff; }
.duo img.logo { width: 64%; height: 64%; object-fit: contain; }
.duo .tear { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 0 5px rgba(0,0,0,.35)); }
.duo .nm { position: absolute; top: 6%; background: rgba(22,20,31,.82); color: #fff; font-weight: 800; font-size: 12px;
  padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.duo .nm.a { right: 4%; } .duo .nm.b { left: 4%; }
.duo .credit { position: absolute; left: 2%; bottom: 2%; font-size: 9px; color: rgba(255,255,255,.85); background: rgba(0,0,0,.35);
  padding: 1px 5px; border-radius: 4px; direction: ltr; max-width: 70%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lead .duo .nm { font-size: 14px; } .lead .duo .credit { font-size: 10.5px; }
.second .thumb .duo .nm, .second .thumb .duo .credit { display: none; }
/* side stories: a bigger picture, the topic colour as a frame */
.second { grid-template-columns: 150px 1fr; border-inline-start: 5px solid var(--sc, transparent); }
.second .thumb { height: 92px; }

/* ========================================================== professional layer ===
   Inspired by FT / Bloomberg / Koyfin: colour belongs to the data, structure is thin rules and type. */
:root { --radius: 12px; --shadow: none; --up: #0A8F5A; --down: #D6334A; --ink-rule: #16141F; }
:root[data-theme="dark"] { --up: #3CCB8A; --down: #FF6B7D; --ink-rule: #F6F3EE; }
body { font-size: 15.5px; }
.card { border: 1px solid var(--line); box-shadow: none; padding: 18px 18px 16px; animation: none; }
.card::before { height: 3px; background: var(--ink-rule); }
.card-h { border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 14px; }
.card-h h2 { font-size: 22px; }
.card-h h2::before { width: 8px; height: 8px; border-radius: 2px; }
.card-h .hint { font-size: 12.5px; }
.nav a { border: 0; background: none; border-radius: 0; padding: 6px 10px; font-weight: 700; color: var(--ink-2); }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.nav a.on { background: none; color: var(--ink); box-shadow: inset 0 -3px 0 var(--breaking); }
.chip, .chip.setup, .chip.new { background: none !important; border: 1px solid var(--line-2) !important; color: var(--ink-2) !important; }
.num { font-feature-settings: "tnum" 1; }

/* glossary terms */
.term { border-bottom: 1px dotted currentColor; cursor: help; position: relative; outline: none; }
.term:hover::after, .term:focus::after {
  content: attr(data-tip); position: absolute; z-index: 30; bottom: calc(100% + 8px); right: 50%; transform: translateX(50%);
  width: max-content; max-width: 260px; white-space: normal; background: var(--ink); color: var(--page); font-size: 12.5px; font-weight: 500;
  line-height: 1.45; padding: 8px 10px; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.2); text-align: right; }

/* board */
.bgrid { display: grid; gap: 16px 28px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .bgrid { grid-template-columns: 1fr 1fr; } }
.btable { display: grid; align-content: start; }
.bthead, .brow2 { display: grid; grid-template-columns: minmax(0, 1.4fr) 88px 84px 92px 128px; gap: 10px; align-items: center; }
@media (max-width: 640px) { .bthead, .brow2 { grid-template-columns: minmax(0, 1fr) 80px 80px; } .hide-s { display: none; } }
.bthead { font-size: 11.5px; color: var(--muted); font-weight: 700; padding: 0 2px 6px; border-bottom: 2px solid var(--ink-rule); }
.bthead span:first-child { color: var(--ink); font-size: 13px; font-weight: 900; }
.brow2 { width: 100%; text-align: right; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 8px 2px; cursor: pointer; font: inherit; color: inherit; }
.brow2:disabled { cursor: default; }
.brow2:not(:disabled):hover { background: var(--surface-2); }
.brow2[aria-expanded="true"] { background: var(--surface-2); }
.brow2 .bn { display: flex; gap: 8px; align-items: baseline; min-width: 0; white-space: nowrap; overflow: hidden; }
.brow2 .bn small { color: var(--muted); font-size: 11px; font-weight: 600; }
.brow2 .bl { text-align: left; font-weight: 600; } .brow2 .bc { text-align: left; font-weight: 700; }
.brow2 .b3 { display: flex; gap: 6px; align-items: center; justify-content: flex-end; font-size: 12px; }
.brow2 .b3 svg { width: 70px; height: 22px; }
.rng { position: relative; height: 4px; background: var(--line-2); border-radius: 2px; direction: ltr; }
.rng i { position: absolute; top: -4px; width: 3px; height: 12px; background: var(--ink); border-radius: 2px; transform: translateX(-50%); }
.bdetail { padding: 6px 0 12px; border-bottom: 1px solid var(--line); }
.lc { position: relative; }
.lc svg { width: 100%; display: block; touch-action: pan-y; }
.lc .lc-axis { font-size: 10.5px; fill: var(--muted); font-family: var(--font); }
.lc-tip { position: absolute; top: 4px; right: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px;
  font-size: 12.5px; opacity: 0; transition: opacity .15s; pointer-events: none; }
.lc-tip.on { opacity: 1; }
.bh2 { margin: 20px 0 8px; font-weight: 900; font-size: 13px; padding-bottom: 6px; border-bottom: 2px solid var(--ink-rule); }
.tmap { position: relative; width: 100%; border-radius: 6px; overflow: hidden; background: var(--page); }
.tm { position: absolute; border: 1px solid var(--page); color: #16141F; padding: 8px 10px; text-align: right; display: grid; align-content: start; gap: 2px;
  cursor: pointer; font: inherit; overflow: hidden; }
.tm b { font-size: 14px; font-weight: 800; line-height: 1.15; } .tm span { font-size: 15px; font-weight: 900; }
.tm.small b { font-size: 11.5px; } .tm.small span { font-size: 12px; }
.tm.on, .tm:hover, .tm:focus-visible { outline: 3px solid var(--ink-rule); outline-offset: -3px; z-index: 2; }
.tinfo { font-size: 13.5px; padding: 10px 2px 0; display: flex; flex-wrap: wrap; gap: 4px; align-items: baseline; }

/* front */
.front a.lead, .second { box-shadow: none; }
.second { background: none; border-radius: 0; padding: 0 0 10px; border-bottom: 1px solid var(--line); border-inline-start: 0; }
.second .thumb { border-radius: 8px; }
.tag { background: none !important; color: var(--sc, var(--ink-2)); padding: 0; font-size: 12px; letter-spacing: .02em; }
.second .tag { color: var(--sc); }
.more-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.tchips { display: flex; flex-wrap: wrap; gap: 6px; }
.tchips button { font: inherit; font-size: 12.5px; font-weight: 700; border: 1px solid var(--line-2); background: none; border-radius: 999px; padding: 3px 11px; cursor: pointer; color: var(--ink-2); }
.tchips button[aria-pressed="true"] { background: var(--ink); color: var(--page); border-color: var(--ink); }
.more-h ul { list-style: none; padding: 0; }
.more-h li { display: flex; gap: 8px; align-items: baseline; }
.more-h li .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; transform: translateY(-2px); }

/* pictures: single photo with a market inset (same markup as the cards) */
.duo .half.full > * { width: 100%; height: 100%; display: block; }
.duo .inset { position: absolute; left: 3%; top: 7%; border-radius: 10px; padding: 6px 9px; color: #fff; display: grid; gap: 1px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); font-size: 13px; }
.duo .inset b, .duo .inset .num { font-weight: 900; direction: ltr; } .duo .inset svg { width: 90px; height: auto; }
.second .thumb .duo .inset { display: none; }

/* lab */
.lab-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .lab-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .lab-grid { grid-template-columns: repeat(3, 1fr); } }
.pick2 { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 10px; min-width: 0; background: var(--surface); }
.pick2 header { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; }
.pick2 .rank { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--page); display: grid; place-items: center; font-weight: 900; font-size: 13px; }
.pick2 .sym { font-size: 24px; font-weight: 900; letter-spacing: .01em; direction: ltr; }
.pick2 .idrow { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.pick2 .co { color: var(--muted); font-size: 13px; }
.pick2 .meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.pick2 .meta .sec { font-weight: 800; color: var(--ink); }
.pick2 .px { text-align: left; display: grid; justify-items: end; } .pick2 .px b { font-size: 18px; }
.pick2 .plain { margin: 0; font-size: 14px; line-height: 1.55; } .pick2 .plain b { font-weight: 800; }
.pick2 .status { margin: 0; font-size: 13px; color: var(--ink-2); background: var(--surface-2); border-radius: 8px; padding: 6px 10px; }
.ladder { position: relative; height: 64px; margin: 18px 6px 6px; }
.ladder::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: var(--line-2); }
.ladder .seg { position: absolute; top: 28px; height: 6px; border-radius: 3px; }
.ladder .seg.risk { background: color-mix(in oklab, var(--down) 55%, transparent); }
.ladder .seg.reward { background: color-mix(in oklab, var(--up) 55%, transparent); }
.ladder .mk { position: absolute; transform: translateX(-50%); display: grid; justify-items: center; font-size: 11px; line-height: 1.15; white-space: nowrap; }
.ladder .mk::after { content: ""; position: absolute; left: 50%; width: 2px; height: 12px; background: var(--ink); transform: translateX(-50%); }
.ladder .mk.hi { top: -14px; } .ladder .mk.hi::after { top: 39px; }
.ladder .mk.lo { top: 38px; } .ladder .mk.lo::after { top: -12px; }
.ladder .mk em { font-style: normal; color: var(--muted); font-weight: 700; } .ladder .mk b { font-size: 12px; }
.ladder .mk.now b { background: var(--ink); color: var(--page); border-radius: 4px; padding: 0 4px; }
.ladder .mk.down em { color: var(--down); } .ladder .mk.up em { color: var(--up); } .ladder .mk.trig em { color: var(--accent); }
.pick2 .candles { width: 100%; height: 180px; display: block; }
.ptabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); }
.ptabs button { font: inherit; font-size: 13px; font-weight: 700; border: 0; background: none; padding: 6px 10px; cursor: pointer; color: var(--muted); }
.ptabs button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.ptab-body { padding-top: 10px; font-size: 13.5px; line-height: 1.55; }
.why2 p { margin: 0 0 6px; } .why2 .cv { display: grid; gap: 4px; color: var(--ink-2); }
.cons2 .seg { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin-bottom: 6px; }
.pick2 .stats { border: 0; padding: 0; margin: 0; }
.pick2 .linkline { font-size: 12.5px; color: var(--muted); }
.disclaimer { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 14px; }

/* light sector map; no colour stripe above the navigation */
.top .stripe { display: none; }
:root[data-theme="dark"] .tm { color: #16141F; }
.tm.on, .tm:hover, .tm:focus-visible { outline-color: #16141F; }

/* the lead story: the picture, then the headline under it (as in a financial paper) */
.lead { aspect-ratio: auto; background: none; color: var(--ink); }
.lead .pic { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }
.lead .pic svg { position: absolute; }
.lead-txt { position: static; background: none; color: var(--ink); padding: 12px 2px 0; }
.lead .kicker { background: none; padding: 0; color: var(--breaking); }
.lead h3 { margin: 6px 0 4px; }
.lead .by { color: var(--muted); opacity: 1; }
@media (max-width: 640px) { .lead-txt { background: none; padding: 10px 0 0; } }


/* ================================================================ newsroom v3 ===
   A financial-terminal paper (Bloomberg / FT / TradingView): calm off-white, hairline rules, ink type,
   colour only for data (green up, red down) and crimson only for what is live or breaking.
   UI type: IBM Plex Sans Hebrew. Headlines: Frank Ruhl Libre. Numbers: tabular, left-to-right. */
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("fonts/plex-hebrew-400.woff2") format("woff2"); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("fonts/plex-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("fonts/plex-hebrew-500.woff2") format("woff2"); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("fonts/plex-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("fonts/plex-hebrew-600.woff2") format("woff2"); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("fonts/plex-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 700; font-display: swap; src: url("fonts/plex-hebrew-700.woff2") format("woff2"); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: "Plex"; font-weight: 700; font-display: swap; src: url("fonts/plex-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  --page: #FAF8F5; --surface: #FFFFFF; --surface-solid: #FFFFFF; --surface-2: #F3F0EA;
  --line: #E7E2D9; --line-2: #D3CCBF; --ink: #111318; --ink-2: #3A3F4B; --muted: #5F6470; --ink-rule: #111318;
  --accent: #1F4FD1; --accent-wash: rgba(31, 79, 209, .08); --breaking: #C8102E;
  --up: #0B8A5B; --down: #C8323F; --up-wash: #E3F4EC; --down-wash: #FBE7E9;
  --font: "Plex", "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Frank Ruhl Libre", "Plex", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --lift: 0 1px 2px rgba(17, 19, 24, .05), 0 8px 24px rgba(17, 19, 24, .08);
}
:root[data-theme="dark"] {
  --page: #131722; --surface: #1E222D; --surface-solid: #1E222D; --surface-2: #252A36;
  --line: #2A2E39; --line-2: #3A3F4C; --ink: #E8EAED; --ink-2: #C3C7CF; --muted: #8D93A0; --ink-rule: #E8EAED;
  --accent: #5B8DEF; --accent-wash: rgba(91, 141, 239, .14); --breaking: #FF4D5E;
  --up: #22AB94; --down: #F23645; --up-wash: rgba(34, 171, 148, .14); --down-wash: rgba(242, 54, 69, .14);
  --lift: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 10px 28px rgba(0, 0, 0, .45);
}
:root[data-cvd="on"] { --up: #2a78d6; --down: #e34948; }
body { font-family: var(--font); font-size: 15.5px; line-height: 1.55; letter-spacing: 0; }
.num, .tnum, time { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; direction: ltr; unicode-bidi: isolate; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in oklab, var(--accent) 22%, transparent); }

/* header: masthead, clocks, market status */
.top { background: color-mix(in oklab, var(--page) 90%, transparent); border-bottom: 1px solid var(--line); }
.top-row { padding: 10px var(--gutter) 6px; gap: 14px; }
.brand h1 { font-size: 28px; letter-spacing: -.015em; }
.brand h1 em { color: var(--breaking); }
.brand .sub { font-size: 12px; }
.clocks { display: flex; gap: 14px; align-items: center; padding-inline-end: 4px; }
.clk { display: grid; line-height: 1.1; text-align: center; }
.clk small { font-size: 10.5px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.clk b { font-size: 14px; font-weight: 700; color: var(--ink); }
.live { font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); gap: 7px; }
.live i { width: 8px; height: 8px; }
.live.open { color: var(--up); border-color: color-mix(in oklab, var(--up) 35%, var(--line)); }
.live.open i { background: var(--up); animation: ping 2s infinite; }
.live.pre i, .live.post i { background: #D99A00; }
.live.closed i { background: var(--muted); }
.icon-btn { border-radius: 8px; background: var(--surface); transition: border-color .15s, background .15s; }
.nav { gap: 2px; padding-bottom: 6px; }
.nav a { font-size: 13.5px; font-weight: 600; padding: 6px 10px; transition: color .15s, box-shadow .2s var(--ease); }
.nav a.on { box-shadow: inset 0 -2px 0 var(--breaking); }

/* the index tape */
.tape { border-bottom: 1px solid var(--line); background: var(--surface); }
.tape-in { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.tape-in::-webkit-scrollbar { display: none; }
.tq { flex: none; display: grid; grid-template-columns: auto auto; gap: 0 10px; align-items: baseline; padding: 8px 16px;
  border-inline-start: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .15s; min-width: 128px; }
.tq:first-child { border-inline-start: 0; padding-inline-start: 0; }
.tq:hover { background: var(--surface-2); }
.tq .tn { grid-column: 1 / span 2; font-size: 11.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.tq .tp { font-size: 15px; font-weight: 700; color: var(--ink); }
.tq .tc { font-size: 12.5px; font-weight: 700; }
.tq.skel { height: 46px; width: 128px; margin: 6px 8px; border: 0; border-radius: 6px; }
.flash-up { animation: flashUp 1.6s var(--ease); } .flash-down { animation: flashDown 1.6s var(--ease); }
@keyframes flashUp { 0%, 30% { background: var(--up-wash); } 100% { background: transparent; } }
@keyframes flashDown { 0%, 30% { background: var(--down-wash); } 100% { background: transparent; } }

/* skeletons while loading */
.skel { background: linear-gradient(90deg, var(--surface-2) 25%, color-mix(in oklab, var(--surface-2) 40%, var(--surface)) 50%, var(--surface-2) 75%);
  background-size: 300% 100%; animation: shimmer 1.4s infinite linear; border-radius: 8px; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.sk-lead { aspect-ratio: 16 / 9; } .sk-col { display: grid; gap: 12px; align-content: start; } .sk-row { height: 92px; }

/* cards: hairlines, a thin ink rule on top, quiet section heads */
main { gap: 18px; padding-top: 18px; }
.card { border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.card::before { height: 2px; background: var(--ink-rule); }
.card-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.card-h h2 { font-family: var(--display); font-size: 23px; font-weight: 900; letter-spacing: -.01em; }
.card-h h2::before { display: none; }
.card-h .hint { color: var(--muted); }
.src { color: var(--muted); }

/* front page: lead · four more · the latest */
.front { gap: 22px; }
@media (min-width: 900px) { .front { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
@media (min-width: 1180px) { .front { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .82fr); } .more-h { grid-column: 1 / -1; } }
@media (min-width: 900px) and (max-width: 1179px) { .latest { grid-column: 1 / -1; } .latest ol { columns: 2 300px; column-gap: 28px; } }
.lead .pic, .second .thumb { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.lead:hover .pic { transform: translateY(-2px); box-shadow: var(--lift); }
.lead h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.12; letter-spacing: -.012em; transition: color .15s; }
.lead:hover h3, .second:hover h4 { color: var(--accent); }
.lead .kicker { font-family: var(--font); font-size: 12.5px; font-weight: 700; letter-spacing: .03em; }
.second { grid-template-columns: 132px minmax(0, 1fr); gap: 14px; padding: 0 0 12px; }
.second .thumb { height: 84px; border-radius: 6px; }
.second:hover .thumb { transform: scale(1.02); }
.second h4 { font-size: 17.5px; line-height: 1.25; transition: color .15s; }
.tag { font-family: var(--font); font-weight: 700; }
.latest { border-inline-start: 1px solid var(--line); padding-inline-start: 18px; min-width: 0; }
@media (max-width: 1179px) { .latest { border-inline-start: 0; padding-inline-start: 0; border-top: 2px solid var(--ink-rule); padding-top: 10px; } }
.latest-h { display: flex; align-items: center; gap: 8px; font-size: 13px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.latest-h b { font-weight: 700; letter-spacing: .02em; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--breaking); animation: pingRed 2s infinite; }
@keyframes pingRed { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--breaking) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 7px transparent; } }
.latest ol { list-style: none; margin: 0; padding: 0; }
.latest li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.latest time { font-size: 12.5px; font-weight: 700; color: var(--muted); padding-top: 1px; }
.latest li.fresh time { color: var(--breaking); }
.latest a { text-decoration: none; color: var(--ink); font-size: 14px; line-height: 1.4; font-weight: 500; }
.latest a:hover .lt { text-decoration: underline; text-underline-offset: 3px; }
.latest .ltag { display: block; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.more-h { border-top: 2px solid var(--ink-rule); }
.more-h li a { transition: color .15s; } .more-h li a:hover { color: var(--accent); }
.tchips button { transition: background .15s, color .15s, border-color .15s; }
.tchips button:hover { border-color: var(--ink-2); color: var(--ink); }

/* breaking headlines ticker: calm, crimson label */
.ticker-in { border-radius: 6px; background: var(--surface); }
.ticker .live-tag { background: var(--breaking); font-weight: 700; }
.ticker a b { color: var(--breaking); }

/* tables and rows: hover feedback, smooth expand */
.brow2 { transition: background .12s; }
.bdetail { animation: open .28s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.bthead { border-bottom-color: var(--ink-rule); }
.tm { transition: filter .15s; } .tm:hover { filter: brightness(.97) saturate(1.1); }

/* lab cards */
.pick2 { border-radius: 10px; transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s; }
.pick2:hover { box-shadow: var(--lift); transform: translateY(-2px); border-color: var(--line-2); }
.pick2 .sym { font-family: var(--font); font-weight: 700; }
.ptabs button { transition: color .15s, box-shadow .2s; }

/* sections fade in as they enter */
.card { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* mobile: a bottom tab bar within thumb reach */
.tabbar { display: none; }
@media (max-width: 760px) {
  .clocks { display: none; }
  .nav { display: none; }
  html { scroll-padding-top: 120px; }
  .brand h1 { font-size: 24px; }
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; inset: auto 0 0 0; z-index: 30;
    background: color-mix(in oklab, var(--surface) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; padding: 4px 0; }
  .tabbar a[hidden] { display: none; }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a.on { color: var(--ink); } .tabbar a.on svg { stroke: var(--breaking); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .tq { min-width: 112px; padding: 7px 12px; } .tq .tp { font-size: 14px; }
  .second { grid-template-columns: 108px minmax(0, 1fr); } .second .thumb { height: 72px; } .second h4 { font-size: 16px; }
  .card { padding: 14px 14px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker .track { animation: none; }
}

.brand h1 { white-space: nowrap; }
@media (min-width: 1180px) {
  .second { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
  .second .thumb { height: 68px; }
  .second h4 { font-size: 16.5px; }
}
@media (max-width: 760px) { .brand .sub { max-width: 46vw; } .live { padding: 3px 8px; font-size: 11.5px; } }

/* sector panel: a side sheet on desktop, a bottom sheet on the phone */
.bh-hint { font-weight: 500; font-size: 12px; }
.spanel { border: 1px solid var(--line); border-radius: 12px; padding: 0; width: min(560px, 94vw); max-height: 86vh; background: var(--surface);
  color: var(--ink); box-shadow: 0 24px 60px rgba(17, 19, 24, .25); overflow: hidden; display: none; flex-direction: column; }
.spanel[open] { display: flex; animation: sheetIn .28s var(--ease); }
.spanel::backdrop { background: rgba(17, 19, 24, .35); backdrop-filter: blur(2px); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.sp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 18px 10px; border-bottom: 1px solid var(--line); }
.sp-head h3 { font-family: var(--display); font-size: 24px; margin: 0; }
.sp-meta { font-size: 13px; margin-top: 2px; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.sp-breadth { padding: 10px 18px 4px; font-size: 13px; display: grid; gap: 6px; }
.sp-bb { display: flex; height: 6px; border-radius: 3px; overflow: hidden; gap: 2px; }
.sp-bb i.up { background: var(--up); } .sp-bb i.down { background: var(--down); } .sp-bb i.flat { background: var(--line-2); }
.sp-sort { display: flex; gap: 6px; padding: 8px 18px; flex-wrap: wrap; }
.sp-sort button { font: inherit; font-size: 12.5px; font-weight: 600; border: 1px solid var(--line-2); background: none; color: var(--ink-2);
  border-radius: 999px; padding: 3px 11px; cursor: pointer; transition: background .15s, color .15s; }
.sp-sort button[aria-pressed="true"] { background: var(--ink); color: var(--page); border-color: var(--ink); }
.sp-list { overflow-y: auto; padding: 0 18px 6px; overscroll-behavior: contain; }
.sp-grp { font-size: 11.5px; font-weight: 700; color: var(--muted); padding: 12px 0 4px; border-bottom: 2px solid var(--ink-rule); letter-spacing: .02em; }
.sp-row { display: grid; grid-template-columns: minmax(0, 1fr) 60px 84px 104px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sp-row:hover { background: var(--surface-2); }
.sp-id { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; align-items: baseline; min-width: 0; }
.sp-id b { font-size: 14.5px; }
.sp-id small { grid-column: 1 / -1; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-lab { font-size: 10.5px; font-weight: 700; color: var(--accent); text-decoration: none; border: 1px solid currentColor; border-radius: 4px; padding: 0 5px; justify-self: start; }
.sp-mini { width: 60px; height: 20px; display: block; }
.sp-px { text-align: left; font-weight: 600; }
.sp-chg { display: grid; justify-items: end; gap: 3px; font-size: 13px; font-weight: 700; }
.sp-bar { height: 3px; border-radius: 2px; justify-self: end; min-width: 2px; }
.sp-bar.up { background: var(--up); } .sp-bar.down { background: var(--down); } .sp-bar.flat { background: var(--line-2); }
.sp-foot { font-size: 11.5px; color: var(--muted); padding: 10px 18px 14px; border-top: 1px solid var(--line); }
@media (min-width: 761px) { .spanel { margin: auto 24px auto auto; height: 86vh; } }
@media (max-width: 760px) {
  .spanel { width: 100vw; max-width: 100vw; margin: auto 0 0 0; border-radius: 16px 16px 0 0; max-height: 88vh; padding-bottom: env(safe-area-inset-bottom); }
  @keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .sp-row { grid-template-columns: minmax(0, 1fr) 72px 88px; } .sp-row .sp-mini { display: none; }
}

/* the lab scenario as three plain sentences, the professional word as a small tag */
.scn2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.scn2 li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; font-size: 14px; line-height: 1.5;
  padding: 7px 10px; border-radius: 8px; background: var(--surface-2); }
.scn2 .ic { font-size: 14px; }
.scn2 .scn-up { box-shadow: inset -3px 0 0 var(--a-chart); } .scn2 .scn-down { box-shadow: inset -3px 0 0 var(--down); }
.scn2 .scn-tgt { box-shadow: inset -3px 0 0 var(--up); }
.scn2 .num { margin-inline-start: 4px; }
.scn-tag { font-size: 11px; font-weight: 700; color: var(--muted); border: 1px solid var(--line-2); border-radius: 4px; padding: 0 6px; white-space: nowrap; }

/* the lab scorecard */
.score2 { margin-top: 18px; }
.kpis { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 8px 0 12px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; background: var(--surface); }
.kpi .k { font-size: 12px; color: var(--muted); font-weight: 600; }
.kpi b { font-size: 24px; font-weight: 700; justify-self: start; }
.kpi small { font-size: 11.5px; color: var(--muted); }
.kpi.up b { color: var(--up); } .kpi.down b { color: var(--down); }
.trk { display: grid; font-size: 13.5px; }
.trk-h, .trk-r { display: grid; grid-template-columns: 56px minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.4fr) 64px; gap: 10px; align-items: center; padding: 7px 2px; border-bottom: 1px solid var(--line); }
.trk-h { font-size: 11.5px; color: var(--muted); font-weight: 700; border-bottom: 2px solid var(--ink-rule); }
.trk-r small { display: block; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk-r > span:last-child { text-align: left; font-weight: 700; }
.pill { font-style: normal; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.pill.win { background: var(--up-wash); color: var(--up); } .pill.loss { background: var(--down-wash); color: var(--down); }
.pill.open { background: var(--accent-wash); color: var(--accent); } .pill.wait, .pill.flat { background: var(--surface-2); color: var(--ink-2); }
@media (max-width: 640px) { .trk-h, .trk-r { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.2fr) 56px; } .trk-h span:nth-child(3), .trk-r > span:nth-child(3) { display: none; } }

/* the status page */
.status-page main { display: block; }
.status-page .back { text-decoration: none; font-weight: 600; color: var(--accent); }
.status-page .home { text-decoration: none; color: inherit; }
.runs { display: grid; font-size: 13.5px; }
.run { display: grid; grid-template-columns: 14px 110px minmax(0, 1fr) 64px minmax(0, 1.4fr); gap: 10px; align-items: center; padding: 7px 2px; border-bottom: 1px solid var(--line); }
.run .dot { width: 9px; height: 9px; border-radius: 50%; } .run .dot.ok { background: var(--up); } .run .dot.bad { background: var(--down); }
@media (max-width: 640px) { .run { grid-template-columns: 12px 92px minmax(0, 1fr) 52px; } .run > span:last-child { display: none; } }
#foot a { color: inherit; }

/* stock card (inside the same sheet as the sector panel) */
.sp-row { cursor: pointer; } .sp-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.sp-vs, .sp-vol { font-size: 10.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.sp-vol { color: #B26A00; } .sp-vol .num { font-weight: 800; }
.sc-back { font: inherit; font-size: 12.5px; font-weight: 600; background: none; border: 0; color: var(--accent); padding: 0 0 4px; cursor: pointer; }
.sc-name { font-family: var(--font); font-size: 14px; color: var(--muted); font-weight: 500; }
.sc-body { overflow-y: auto; padding: 12px 18px; display: grid; gap: 14px; overscroll-behavior: contain; }
.sc-facts { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.sc-f { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: grid; gap: 3px; }
.sc-f .k { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.sc-f b { font-size: 19px; justify-self: start; } .sc-f b.hot { color: #B26A00; }
.sc-f small { font-size: 11.5px; color: var(--muted); }
.sc-range { position: relative; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--down-wash), var(--surface-2), var(--up-wash)); margin: 8px 0 4px; border: 1px solid var(--line); }
.sc-range i { position: absolute; top: -5px; width: 3px; height: 14px; background: var(--ink); border-radius: 2px; transform: translateX(-50%); }
.sc-h { font-size: 12px; font-weight: 700; color: var(--muted); border-bottom: 2px solid var(--ink-rule); padding-bottom: 4px; margin-bottom: 6px; }
.sc-lab p, .sc-news p { margin: 0; font-size: 14px; line-height: 1.55; }
.sc-news ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; }
.sc-news a, .sc-lab a, .sp-foot a { color: var(--accent); text-decoration: none; } .sc-news a:hover { text-decoration: underline; }
.spanel footer.sp-foot { max-width: none; margin: 0; width: 100%; text-align: start; }
