:root{
  --navy:#0b1020;
  --navy2:#141c2d;
  --ink:#101828;
  --muted:#667085;
  --line:#e4e7ec;
  --soft:#f5f7fa;
  --brand:#ff8b00;
  --gov:#2457a6;
  --opp:#00a88f;
  --arab:#8b5cf6;
  --totalopp:#00a88f;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,"Noto Sans Hebrew",sans-serif;color:var(--ink);background:#fff;line-height:1.5}
a{text-decoration:none;color:inherit}
.wrap{width:min(1120px,calc(100% - 32px));margin:auto}

.topbar{position:sticky;top:0;z-index:20;background:rgba(11,16,32,.96);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.07)}
.nav{height:66px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;gap:8px;align-items:baseline;color:#fff;font-weight:800;font-size:22px}
.brand b{color:var(--brand);font-size:30px}
nav{display:flex;gap:22px;color:#c7ceda;font-size:14px;font-weight:700}
nav a:hover{color:#fff}

.hero{padding:28px 0 70px;color:#fff;background:radial-gradient(circle at 12% 0%,rgba(255,139,0,.13),transparent 30%),radial-gradient(circle at 82% 0%,rgba(111,159,242,.08),transparent 28%),var(--navy)}
.countdown-line{display:flex;align-items:center;gap:9px;width:max-content;max-width:100%;padding:9px 13px;border:1px solid rgba(255,255,255,.10);border-radius:999px;background:rgba(255,255,255,.045);font-size:13px;color:#aab2c0;margin:0 0 42px}
.countdown-line strong{color:#fff}
.live-dot{width:8px;height:8px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 4px rgba(255,139,0,.10)}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:52px;align-items:center}
.kicker{font-size:13px;font-weight:800;color:var(--brand);margin-bottom:11px}
.kicker.dark{color:#8b5e24}
h1{font-size:clamp(42px,6vw,72px);line-height:1.04;letter-spacing:-2px;margin:0 0 20px}
h1 em{font-style:normal;color:var(--brand)}
.lead{font-size:19px;color:#c6cbd5;max-width:720px;margin:0 0 20px}
.update{font-size:13px;color:#7f899b}

.bloc-card{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.12);border-radius:24px;padding:24px;box-shadow:0 30px 80px rgba(0,0,0,.18)}
.smalltitle{font-size:13px;font-weight:700;color:#aab1bf;margin-bottom:18px}
.blocs.two{display:grid;grid-template-columns:1fr 1.2fr;gap:10px}
.bloc{padding:19px 11px;border-radius:15px;text-align:center;border:1px solid rgba(255,255,255,.07)}
.gov-card{background:rgba(36,87,166,.18)}
.opp-card{background:rgba(0,168,143,.16)}
.blocs strong{display:block;font-size:48px;line-height:1}
.gov-card strong{color:#9fc2ff}
.opp-card strong{color:#72e3d1}
.blocs span{display:block;font-size:13px;color:#e1e4e9;margin-top:8px}
.blocs small{display:block;color:#8f98a8;font-size:10px;margin-top:6px}
.bar{height:10px;border-radius:999px;overflow:hidden;display:flex;margin-top:22px;background:#222b40}
.bar i{display:block;height:100%}
.gov{width:40.833%;background:var(--gov)}
.opp-zionist{width:48.333%;background:var(--opp)}
.opp-arab{width:10.833%;background:var(--arab)}
.bar-legend,.chart-legend{display:flex;gap:14px;flex-wrap:wrap;color:#8f98a8;font-size:10px;margin-top:10px}
.legend-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-left:5px}
.govdot{background:var(--gov)}
.zionist{background:var(--opp)}
.arab{background:var(--arab)}
.totalopp{background:var(--totalopp)}
.majority{text-align:center;font-size:12px;color:#8f98a8;margin-top:11px}

.section{padding:72px 0}
.soft{background:var(--soft)}
.chart-section{background:#fbfcfe}
.trends-section{background:#fff}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}
h2{font-size:clamp(30px,4vw,44px);line-height:1.1;letter-spacing:-1px;margin:0}
.scenario{padding:9px 13px;background:#fff3e6;border:1px solid #ffd4a8;color:#8b5e24;border-radius:999px;font-size:12px}
.muted{color:var(--muted);font-size:13px;margin:0}

.trends-card{
  border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,#ffffff,#fbfcff);
  padding:22px;box-shadow:0 8px 26px rgba(16,24,40,.04)
}
.trend-range{padding:8px 12px;border:1px solid #ffd6a8;background:#fff7ee;border-radius:999px;color:#8b5e24;font-size:12px;font-weight:700}
.trends-top{display:flex;justify-content:space-between;gap:22px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.trends-legend{margin-top:0;font-size:12px;color:#475467}
.majority-swatch{display:inline-block;width:18px;border-top:2px dashed var(--brand);vertical-align:middle;margin-left:6px}
.trend-summary{display:flex;gap:10px;flex-wrap:wrap}
.trend-summary>div{min-width:155px;border:1px solid #e4e7ec;border-radius:13px;padding:10px 12px;background:#fff}
.trend-summary small{display:block;color:#667085;font-size:10px;margin-bottom:2px}
.trend-summary strong{font-size:19px;color:#344054}
.trend-summary .model-now{border-color:#ffd6a8;background:#fff7ee}
.trend-summary .model-now strong{color:#b86100}
.bloc-trend-chart{width:100%;overflow-x:auto;margin-top:4px}
.bloc-trend-chart svg{width:100%;height:auto;display:block;min-width:820px}
.line-axis{stroke:#d0d5dd;stroke-width:1}
.line-grid{stroke:#eaecf0;stroke-width:1}
.line-threshold{stroke:var(--brand);stroke-width:1.6;stroke-dasharray:6 6}
.line-series{fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.line-point{stroke:#fff;stroke-width:2}
.axis-text{font-size:12px;fill:#667085;font-family:Arial,"Noto Sans Hebrew",sans-serif}
.axis-text.small{font-size:10.5px}
.end-label{font-size:13px;font-weight:800;font-family:Arial,"Noto Sans Hebrew",sans-serif}
.event-line{stroke:#cbd5e1;stroke-width:1;stroke-dasharray:3 5}
.event-text{font-size:9px;fill:#7a8493;font-family:Arial,"Noto Sans Hebrew",sans-serif}
.trend-method-note{margin-top:15px;padding:13px 15px;border-radius:14px;background:#f8fafc;color:#667085;font-size:12px;line-height:1.65;border:1px solid #e8ecf1}
.trend-method-note strong{color:#344054}
.trend-method-note em{font-style:normal;font-weight:700;color:#475467}
.trend-sources{display:block;margin-top:5px}
.trend-sources a{color:#9b5600;font-weight:700;text-decoration:underline;text-underline-offset:2px}

.party-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.party{min-height:148px;border:1px solid var(--line);border-radius:18px;padding:16px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 8px 26px rgba(16,24,40,.04);position:relative;overflow:hidden}
.party::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--party-color,#cbd5e1)}
.party-head{display:flex;align-items:flex-start;gap:10px}
.party-logo{width:54px;height:20px;display:block;flex:0 0 auto}
.party .rank{font-size:11px;color:#98a2b3;font-weight:800}
.party .name{font-size:16px;font-weight:800;line-height:1.2;margin-top:2px}
.party .meta{font-size:12px;color:var(--muted);margin-top:4px}
.party .seats{font-size:40px;font-weight:800;line-height:1;margin-top:18px}
.party .seats small{font-size:11px;color:var(--muted);font-weight:700;margin-right:4px}

.threshold-box{margin-top:24px;border:1px solid #e7dcc8;background:#fffaf2;border-radius:18px;padding:18px}
.threshold-title{font-weight:800;color:#644a1c;margin-bottom:12px}
.threshold-list{display:flex;flex-wrap:wrap;gap:9px}
.threshold-item{background:#fff;border:1px solid #eadbbf;border-radius:999px;padding:7px 10px;color:#624a20;font-size:13px;font-weight:700;display:flex;align-items:center;gap:6px}
.threshold-item small{font-weight:400;color:#88704b}
.threshold-box p{font-size:12px;color:#87714e;margin:12px 0 0}

.mandate-chart{display:grid;gap:11px}
.chart-row{display:grid;grid-template-columns:185px 1fr 42px;gap:12px;align-items:center}
.chart-label{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700}
.chart-logo{width:44px;height:18px;display:block;flex:0 0 auto}
.track{height:30px;background:#edf0f4;border-radius:8px;overflow:hidden}
.fill{height:100%;min-width:4px;border-radius:8px}
.chart-value{font-size:18px;font-weight:800}

.tablebox{overflow-x:auto;border:1px solid #dfe3e8;border-radius:16px;background:#fff}
.tablebox.wide table{min-width:1320px}
.tablebox table{width:100%;border-collapse:collapse}
th,td{text-align:right;padding:14px 15px;border-bottom:1px solid #edf0f3;white-space:nowrap}
th{font-size:11px;color:#667085;background:#fbfcfd}
td{font-size:14px}
tbody tr:last-child td{border-bottom:0}
.sticky-col{position:sticky;right:0;background:#fff;z-index:2}
thead .sticky-col{background:#fbfcfd;z-index:3}
.table-logo{width:52px;height:20px;display:block;margin:auto}
.pill{display:inline-block;padding:4px 8px;border-radius:999px;background:#fff3e6;color:#8b5e24;font-size:11px;font-weight:800}
.next{margin-top:17px;padding:15px;border:1px dashed #c7ccd4;border-radius:14px;background:#fff9;display:flex;justify-content:space-between;gap:20px}
.next div{display:flex;gap:10px;align-items:baseline}
.next span,.next p{font-size:12px;color:var(--muted);margin:0}

.methods{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:30px}
.methods article{border-top:3px solid var(--brand);padding-top:14px}
.methods span{font-size:11px;color:#98a2b3;font-weight:800}
.methods h3,.weights-card h3,.assumptions h3{font-size:19px;margin:7px 0}
.methods p,.assumptions p{margin:0;color:var(--muted);font-size:14px}
.weights-card{margin-top:40px;padding:23px;border-radius:20px;background:var(--navy);color:#fff;display:grid;grid-template-columns:.75fr 1.25fr;gap:30px}
.weights-card p{color:#99a2b2;font-size:12px;margin:4px 0 0}
.weight-row{display:grid;grid-template-columns:120px 1fr 42px;gap:10px;align-items:center;margin:9px 0;font-size:12px}
.weightbar{height:8px;border-radius:999px;background:#263049;overflow:hidden}
.weightbar i{display:block;height:100%;background:var(--brand);border-radius:inherit}
.assumptions{margin-top:20px;border:1px solid var(--line);border-radius:16px;padding:20px}

footer{background:#070b15;color:#fff;padding:27px 0}
.foot{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#8e97a6}
.footer-brand,.footer-right{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.foot b{color:#fff}
.foot a{color:var(--brand);font-weight:700}
.foot a:hover{text-decoration:underline}

@media(max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:34px}
  .party-grid{grid-template-columns:repeat(2,1fr)}
  .methods{grid-template-columns:1fr}
  .weights-card{grid-template-columns:1fr}
  .section-head{align-items:flex-start;flex-direction:column}
  .scenario{border-radius:12px}
  .chart-row{grid-template-columns:140px 1fr 36px}
}
@media(max-width:600px){
  nav{display:none}
  .hero{padding-top:22px}
  .countdown-line{margin-bottom:30px}
  .blocs strong{font-size:38px}
  .party-grid{grid-template-columns:1fr 1fr}
  .next{flex-direction:column;gap:7px}
  .foot{flex-direction:column}
  .weight-row{grid-template-columns:95px 1fr 38px}
  .chart-row{grid-template-columns:110px 1fr 32px}
  .chart-label{font-size:12px}
  .party-logo,.table-logo,.chart-logo{max-width:100%}
  .trends-top{flex-direction:column}
}

@media(max-width:600px){
  .trend-summary{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .trend-summary>div{min-width:0}
  .trend-method-note{font-size:11px}
}

/* V8 refinements */
.end-label-bg{
  fill:#ffffff;
  stroke:#e4e7ec;
  stroke-width:1;
  rx:7;
  ry:7;
}
.end-label{
  font-size:12px;
  font-weight:800;
  font-family:Arial,"Noto Sans Hebrew",sans-serif;
}
.line-threshold{
  stroke:#ff8b00;
  stroke-width:1.8;
  stroke-dasharray:6 6;
}
.threshold-label{
  fill:#ff8b00;
  font-weight:800;
}
.trend-summary{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.trend-summary .summary-card{
  border:1px solid #e4e7ec;
  background:#fff;
  border-radius:14px;
  padding:12px 14px;
  min-width:185px;
}
.trend-summary .summary-card.brand{
  border-color:#ffd0a0;
  background:#fff8ef;
}
.trend-summary .summary-label{
  color:#667085;
  font-size:11px;
  margin-bottom:5px;
}
.trend-summary .summary-values{
  font-size:19px;
  font-weight:800;
}
.trend-summary .summary-values .govv{color:#2457A6}
.trend-summary .summary-values .oppv{color:#00A88F}


/* V9 — historical election comparison */
.history-section{
  background:#f8fafc;
  border-top:1px solid #eef1f5;
}
.history-intro{
  max-width:900px;
  color:#667085;
  font-size:14px;
  margin:-8px 0 24px;
}
.history-intro p{margin:0}
.history-table-wrap{
  overflow-x:auto;
  border:1px solid #dfe3e8;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 26px rgba(16,24,40,.035);
}
.history-table{
  width:100%;
  min-width:940px;
  border-collapse:collapse;
}
.history-table th{
  background:#fbfcfd;
  color:#667085;
  font-size:12px;
  padding:14px 16px;
  text-align:right;
}
.history-table td{
  padding:16px;
  border-top:1px solid #edf0f3;
  vertical-align:middle;
}
.history-election{
  font-weight:800;
  min-width:120px;
}
.history-main{
  display:block;
  font-size:17px;
  font-weight:800;
  color:#101828;
  direction:ltr;
  text-align:right;
}
.history-sub{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  color:#667085;
  font-size:11px;
  margin-top:4px;
}
.history-pct{
  display:inline-flex;
  align-items:center;
  padding:3px 7px;
  border-radius:999px;
  font-weight:800;
}
.history-pct.gov-h{background:#eaf1fb;color:#2457A6}
.history-pct.out-h{background:#e8f8f5;color:#008c78}
.history-pct.arab-h{background:#f0ebff;color:#7556c7}
.history-pct.waste-h{background:#fff3e6;color:#a65a00}
.history-bars{
  margin-top:22px;
  display:grid;
  gap:13px;
}
.history-bar-row{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:14px;
  align-items:center;
}
.history-bar-label{
  font-size:12px;
  font-weight:700;
  color:#475467;
}
.history-stacked{
  display:flex;
  height:18px;
  border-radius:999px;
  overflow:hidden;
  background:#eef1f5;
}
.history-stacked span{display:block;height:100%}
.h-gov{background:#2457A6}
.h-out{background:#00A88F}
.h-waste{background:#ffb65a}
.history-bar-legend{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color:#667085;
  font-size:11px;
  margin-top:10px;
}
.history-bar-legend i{
  display:inline-block;
  width:9px;height:9px;border-radius:50%;margin-left:5px;
}
.history-insight{
  margin-top:24px;
  display:grid;
  grid-template-columns:110px 1fr;
  gap:18px;
  align-items:center;
  padding:20px;
  background:#0b1020;
  color:#fff;
  border-radius:18px;
}
.insight-number{
  font-size:38px;
  font-weight:900;
  color:#ff8b00;
  direction:ltr;
  text-align:center;
}
.history-insight strong{font-size:16px}
.history-insight p{margin:5px 0 0;color:#aeb6c4;font-size:13px}
.history-source{
  color:#98a2b3;
  font-size:11px;
  margin:12px 0 0;
}
@media(max-width:600px){
  .history-insight{grid-template-columns:1fr}
  .insight-number{text-align:right}
  .history-bar-row{grid-template-columns:95px 1fr}
}

/* V10 — brand order */
.brand{flex-direction:row-reverse;}

/* V12 */
.polls-note{
  margin:12px 2px 0;
  color:#667085;
  font-size:11px;
}


/* V14 */
.weighted-index{
  margin-top:12px;padding-top:10px;border-top:1px solid #eaecf0;color:#667085;font-size:10px
}
.weighted-index span{display:block}
.weighted-index strong{display:block;color:#101828;font-size:18px;line-height:1.1;margin:2px 0 5px}
.weighted-index small{display:block;color:#98a2b3;font-size:9px;margin-top:5px}
.weighted-meter{height:4px;background:#eaecf0;border-radius:99px;overflow:hidden;max-width:105px}
.weighted-meter span{height:100%;display:block;background:var(--party-color);border-radius:99px}
.arab-index strong{font-size:12px;color:#6941c6}

.weighted-note{
  margin:16px 0 20px;padding:14px 16px;border:1px solid #eaecf0;background:#fcfcfd;border-radius:14px;
  display:flex;gap:8px;flex-direction:column;font-size:12px;color:#667085
}
.weighted-note strong{color:#344054;font-size:13px}

.threshold-model-block{margin-top:24px;padding:22px;border:1px solid #e4e7ec;border-radius:20px;background:#fff}
.threshold-model-title{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:16px}
.threshold-model-title h3{margin:0 0 5px;font-size:22px}
.threshold-model-title p{margin:0;color:#667085;font-size:12px;max-width:720px}
.threshold-badge{white-space:nowrap;border:1px solid rgba(255,139,0,.35);background:rgba(255,139,0,.08);color:#9a5c00;padding:8px 12px;border-radius:999px;font-size:11px;font-weight:800}
.threshold-model-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.threshold-party{border:1px solid #eaecf0;border-radius:14px;padding:12px 13px;background:#fcfcfd}
.threshold-party-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.threshold-party-head strong{display:block;font-size:13px}
.threshold-party-head small{display:block;color:#98a2b3;font-size:9px;margin-top:2px}
.threshold-pct{font-weight:900;font-size:19px;color:#101828}
.threshold-track{height:7px;border-radius:99px;background:#eaecf0;margin-top:9px;position:relative;overflow:hidden}
.threshold-track span{height:100%;display:block;background:var(--brand);border-radius:99px}
.threshold-track i{position:absolute;right:0;top:-2px;width:2px;height:11px;background:#b54708}
.threshold-status{font-size:9px;color:#667085;margin-top:5px}

.trends-live-section{background:#f8fafc}
.trends-grid{display:grid;grid-template-columns:.72fr .72fr 1.56fr;gap:14px}
.trend-signal-card{border-radius:20px;padding:22px;background:linear-gradient(145deg,#0b1020,#17233e);color:#fff;min-height:220px}
.trend-signal-card.secondary{background:linear-gradient(145deg,#17233e,#26375d)}
.trend-signal-top span{display:block;color:#ffb253;font-size:10px;font-weight:800;margin-bottom:8px}
.trend-signal-top strong{font-size:21px}
.trend-signal-number{font-size:44px;font-weight:900;margin-top:25px;line-height:1}
.trend-signal-caption{font-size:12px;color:#cbd5e1;margin-top:4px}
.trend-signal-change{color:#6ce0c2;font-size:13px;font-weight:900;margin-top:14px}
.trend-explainer{border:1px solid #e4e7ec;border-radius:20px;padding:24px;background:#fff}
.trend-explainer h3{margin:0 0 10px;font-size:20px}
.trend-explainer p{margin:0 0 10px;color:#475467;font-size:14px}
.trend-source-note{font-size:11px!important;color:#98a2b3!important}
.trends-link{display:inline-block;margin-top:8px;color:#9a5c00;font-size:12px;font-weight:800}

@media(max-width:760px){
  .threshold-model-title{flex-direction:column}
  .threshold-model-grid{grid-template-columns:1fr}
  .trends-grid{grid-template-columns:1fr}
}


/* V15 — aggregated outputs only */
.aggregation-status{
  margin-top:30px;
  border:1px solid #dfe3e8;
  border-radius:17px;
  padding:17px 19px;
  background:#fbfcfd;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.aggregation-status>div{min-width:170px}
.aggregation-kicker{display:block;color:#98a2b3;font-size:10px;font-weight:800;margin-bottom:3px}
.aggregation-status strong{font-size:17px;color:#344054}
.aggregation-status p{margin:0;color:#667085;font-size:12px;max-width:650px}
.threshold-no-estimate{
  margin:13px 0 0;
  padding-top:12px;
  border-top:1px solid #eaecf0;
  color:#667085;
  font-size:11px;
}
.threshold-no-estimate strong{color:#344054}
.signal-policy{background:#fbfcfd}
@media(max-width:760px){
  .aggregation-status{align-items:flex-start;flex-direction:column;gap:8px}
}


/* V16 — demographic correction + current trends */
.demographic-correction{
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin:14px 0 10px;
  padding:14px 16px;
  border:1px solid rgba(255,139,0,.28);
  background:rgba(255,139,0,.055);
  border-radius:15px;
}
.demographic-badge{
  flex:0 0 auto;
  padding:6px 9px;
  border-radius:999px;
  background:#ff8b00;
  color:#fff;
  font-size:10px;
  font-weight:900;
  white-space:nowrap;
}
.demographic-correction strong{
  display:block;
  font-size:12px;
  color:#344054;
  margin-bottom:3px;
}
.demographic-correction span{
  display:block;
  font-size:10.5px;
  line-height:1.55;
  color:#667085;
}

.weight-source{
  min-width:210px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.weight-source span{font-weight:700}
.weight-source em{
  font-style:normal;
  color:#667085;
  font-size:11px;
  white-space:nowrap;
}

.trends-snapshot{
  margin-top:24px;
  border:1px solid #e4e7ec;
  background:#fff;
  border-radius:19px;
  padding:20px;
}
.trends-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
  margin-bottom:14px;
}
.trends-kicker{
  display:block;
  color:#9a5c00;
  font-size:10px;
  font-weight:900;
  margin-bottom:3px;
}
.trends-head h3{margin:0;font-size:20px}
.trends-time{font-size:10px;color:#98a2b3;white-space:nowrap}
.trends-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.trend-mini{
  border:1px solid #eaecf0;
  background:#fcfcfd;
  border-radius:14px;
  padding:13px;
}
.trend-mini strong{display:block;font-size:12px;color:#344054}
.trend-mini b{display:block;font-size:24px;color:#101828;margin:7px 0 2px}
.trend-mini span{display:block;font-size:10px;color:#027a48;font-weight:800}
.trend-mini small{display:block;font-size:9px;color:#98a2b3;margin-top:4px}
.trends-foot{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  border-top:1px solid #eaecf0;
  margin-top:13px;
  padding-top:12px;
}
.trends-foot p{margin:0;font-size:10.5px;color:#667085}
.trends-foot a{font-size:11px;font-weight:800;color:#9a5c00;white-space:nowrap}

@media(max-width:760px){
  .demographic-correction{flex-direction:column}
  .weight-source{min-width:0;width:100%}
  .trends-head,.trends-foot{flex-direction:column;align-items:flex-start}
  .trends-cards{grid-template-columns:1fr}
}


/* V17 — Winter central scenario */
.winter-scenario{
  border-color:rgba(51,65,85,.25);
  background:#f8fafc;
  color:#334155;
}
.winter-assumption{
  margin:14px 0 10px;
  padding:13px 15px;
  border:1px solid #cbd5e1;
  border-radius:15px;
  background:#f8fafc;
}
.winter-assumption strong{
  display:block;
  color:#1e293b;
  font-size:12px;
  margin-bottom:3px;
}
.winter-assumption span{
  display:block;
  color:#64748b;
  font-size:10.5px;
  line-height:1.55;
}
.trends-status-card{
  display:flex;
  gap:14px;
  align-items:flex-start;
  border:1px solid #e4e7ec;
  background:#fcfcfd;
  border-radius:14px;
  padding:14px;
}
.trends-status-icon{
  width:36px;height:36px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:#eef2f6;color:#475467;font-size:22px;font-weight:900;
  flex:0 0 auto;
}
.trends-status-card strong{display:block;font-size:13px;color:#344054;margin-bottom:4px}
.trends-status-card p{margin:0;color:#667085;font-size:11px;line-height:1.55}


/* V18 — Tatika methodology note */
.tatika-note{
  border-color:#d0d5dd;
  background:#f9fafb;
}
.tatika-note strong{
  color:#344054;
}


/* V19 — Lazar update note */
.lazar-note{
  border-color:#d8dee8;
  background:#fbfcfe;
}
.lazar-note strong{
  color:#1f2937;
}


/* V20 — raw data, weighted Winter and live Google Trends */
.raw-data-note{
  display:flex;
  gap:14px;
  align-items:flex-start;
  margin:20px 0 0;
  padding:15px 17px;
  border:1px solid #d7e3f4;
  background:#f7faff;
  border-radius:16px;
}
.raw-data-badge{
  flex:0 0 auto;
  padding:6px 9px;
  border-radius:999px;
  background:#2457a6;
  color:#fff;
  font-size:10px;
  font-weight:900;
}
.raw-data-note strong{display:block;font-size:12px;color:#344054;margin-bottom:3px}
.raw-data-note span{display:block;font-size:10.5px;line-height:1.6;color:#667085}

.filber-note{
  border-color:#e4e7ec;
  background:#fcfcfd;
}
.filber-note strong{color:#344054}

.live-trends{overflow:hidden}
.trends-explainer{
  margin:0 0 14px;
  padding:11px 13px;
  border-radius:12px;
  background:#f8fafc;
  color:#667085;
  font-size:11px;
  line-height:1.6;
}
.trends-explainer strong{color:#344054}
.trends-embed-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
.trends-embed-card{
  border:1px solid #e4e7ec;
  border-radius:15px;
  overflow:hidden;
  background:#fff;
}
.trends-embed-title{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  padding:11px 13px;
  border-bottom:1px solid #eaecf0;
  background:#fcfcfd;
}
.trends-embed-title strong{font-size:12px;color:#344054}
.trends-embed-title a{font-size:10px;font-weight:800;color:#9a5c00;white-space:nowrap}
.trends-embed-card iframe{
  display:block;
  width:100%;
  height:330px;
  border:0;
  background:#fff;
}

@media(max-width:760px){
  .raw-data-note{flex-direction:column}
  .trends-embed-title{align-items:flex-start;flex-direction:column}
  .trends-embed-card iframe{height:360px}
}


/* V21 */
.bloc-risk-note{
  margin:16px 0 18px;padding:13px 15px;border-radius:14px;background:#fff8ee;
  border:1px solid #f4d39e;display:flex;gap:10px 16px;align-items:baseline;flex-wrap:wrap
}
.bloc-risk-note strong{color:#7a4900;font-size:12px}
.bloc-risk-note span{font-size:10.5px;line-height:1.55;color:#667085}

.youth-correction{
  display:flex;gap:14px;align-items:flex-start;margin:18px 0;padding:15px 17px;
  border:1px solid #fed7aa;background:#fffaf5;border-radius:16px
}
.youth-badge{
  flex:0 0 auto;padding:6px 9px;border-radius:999px;background:#f97316;color:#fff;
  font-size:10px;font-weight:900
}
.youth-correction strong{display:block;font-size:12px;color:#7c2d12;margin-bottom:4px}
.youth-correction span{display:block;font-size:10.5px;line-height:1.65;color:#667085}
.youth-correction small{display:block;margin-top:7px;font-size:9.5px;color:#98a2b3}
.youth-correction a{color:#9a5c00;text-decoration:none;font-weight:800}

.party-adjustment{
  margin-top:7px;display:inline-block;padding:4px 7px;border-radius:999px;background:#fff7ed;
  border:1px solid #fed7aa;color:#9a3412;font-size:8.5px;font-weight:850
}

.trends-model-status{
  display:grid;grid-template-columns:190px 1fr;gap:14px;margin:0 0 14px;padding:13px 14px;
  border:1px solid #e4e7ec;background:#fcfcfd;border-radius:14px
}
.trends-model-status>div{display:flex;flex-direction:column;gap:3px}
.trends-model-status strong{font-size:11.5px;color:#344054}
.trends-model-status span{font-size:9.5px;color:#667085}
.trends-model-status p{margin:0;font-size:10.5px;line-height:1.6;color:#667085}

@media(max-width:760px){
  .youth-correction{flex-direction:column}
  .trends-model-status{grid-template-columns:1fr}
}
