:root{
  --navy:#203766; --navy-2:#162E5F; --navy-3:#314672;
  --gold:#F0B945; --wheat:#F8D348; --amber:#CE9338; --cta:#F4B43E; --cta-hover:#D99C2B; --cta-ink:#203766;
  --bg:#F5F6F8; --surface:#FFFFFF; --surface-2:#F4F4F4; --line:#E3E7EF; --line-2:#D3D9E6;
  --ink:#203766; --ink-2:#49536E; --muted:#5E6A85; --faint:#8A93A8;
  --up:#2E7D32; --down:#B3163F; --flat:#5E6A85;
  --wheat-bg:#FBF3DF; --navy-bg:#EAF0FA;
  --hero-bg:#203766; --hero-ink:#FFFFFF; --hero-muted:rgba(255,255,255,.78);
  --r-ctl:4px; --r-card:8px; --r-panel:14px;
  --shadow:0 12px 28px rgba(32,55,102,.14);
  --c1:#203766; --c2:#CE9338; --c3:#2E7D32; --c4:#B3163F;
  --font:'Open Sans','Segoe UI',system-ui,-apple-system,sans-serif;
  --fs:16px; --amber-text:#8A5A14;
  color-scheme:light;
}
html.dark{
  --bg:#0E1A33; --surface:#152446; --surface-2:#1B2C54; --line:#26386A; --line-2:#33477D;
  --ink:#EEF2FA; --ink-2:#C9D2E6; --muted:#9EABC8; --faint:#7C8AAD;
  --up:#7FD898; --down:#FF9DB0; --flat:#9EABC8; --wheat-bg:#3A321B; --navy-bg:#1B2C54;
  --hero-bg:#0B1734; --amber-text:#F8D348; --c1:#8FB2F0; --c2:#F0B945; --c3:#7FD898; --c4:#FF9DB0; --shadow:0 12px 28px rgba(0,0,0,.4); color-scheme:dark;
}
html.hc{ --ink:#000; --ink-2:#111; --muted:#222; --line:#666; --line-2:#444; --up:#005A00; --down:#9A0026; }
html.dark.hc{ --ink:#fff; --ink-2:#fff; --muted:#E5E9F5; --line:#AAB; --up:#9CF5B0; --down:#FFB8C6; }
html.ul a{ text-decoration:underline !important; }
html{ font-size:var(--fs); scroll-padding-top:90px; }
*,*::before,*::after{ box-sizing:border-box; }
body{ margin:0; font-family:var(--font); color:var(--ink); background:var(--bg); line-height:1.55; -webkit-font-smoothing:antialiased; }
a{ color:inherit; text-decoration:none; } a:hover{ text-decoration:underline; }
p a,.prose a,.lnk{ color:var(--navy-3); text-decoration:underline; text-decoration-color:var(--gold); text-underline-offset:3px; }
html.dark p a,html.dark .prose a,html.dark .lnk{ color:var(--wheat); }
:focus-visible{ outline:3px solid var(--gold); outline-offset:2px; }
h1,h2,h3,h4{ line-height:1.15; margin:0 0 .45em; letter-spacing:-.01em; }
h1{ font-size:clamp(1.9rem,3.8vw,2.9rem); font-weight:800; font-stretch:88%; }
h2{ font-size:clamp(1.35rem,2.3vw,1.75rem); font-weight:780; font-stretch:92%; }
h3{ font-size:1.08rem; font-weight:720; }
p{ margin:0 0 .9em; }
.num{ font-variant-numeric:tabular-nums; }
.wrap{ width:min(1200px,100% - 40px); margin-inline:auto; }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.skip{ position:absolute; left:-999px; top:8px; background:var(--gold); color:var(--navy); padding:8px 14px; z-index:100; font-weight:700; border-radius:var(--r-ctl); }
.skip:focus{ left:12px; }
.muted{ color:var(--muted); } .small{ font-size:.86rem; } .xs{ font-size:.78rem; }
.mt0{ margin-top:0; }

/* paski */
.testbar{ background:var(--wheat-bg); border-bottom:1px solid var(--line); font-size:.84rem; }
.testbar .wrap{ display:flex; gap:14px; align-items:center; padding:6px 0; }
.testbar button{ margin-left:auto; border:1.5px solid var(--ink); background:transparent; color:var(--ink); border-radius:var(--r-ctl); padding:2px 12px; font:inherit; font-weight:700; cursor:pointer; }
.fxbar{ background:var(--navy-2); color:#C9D4EC; font-size:.8rem; }
.fxbar .wrap{ display:flex; gap:22px; align-items:center; height:30px; overflow:hidden; white-space:nowrap; }
.fxbar b{ color:#fff; font-weight:700; }
.fxbar a{ margin-left:auto; color:var(--wheat); }

/* naglowek */
.top{ position:sticky; top:0; z-index:50; background:var(--surface); border-bottom:1px solid var(--line); }
.top .wrap{ display:flex; align-items:center; gap:18px; height:66px; }
.brand{ display:flex; align-items:center; gap:9px; flex-shrink:0; }
.brand img.s{ height:34px; } .brand img.n{ height:15px; margin-top:6px; }
.brand .pl{ font-weight:800; font-size:.72rem; background:var(--navy); color:var(--wheat); border-radius:3px; padding:1px 5px; margin-top:6px; letter-spacing:.02em; }
html.dark .brand .pl{ background:var(--gold); color:var(--navy); }
.brand:hover{ text-decoration:none; }
.mainnav{ display:flex; gap:2px; }
.mainnav > .ni{ position:relative; }
.mainnav .nl{ display:block; padding:8px 11px; border-radius:var(--r-ctl); font-weight:640; font-size:.94rem; color:var(--ink-2); }
.mainnav .nl:hover{ background:var(--surface-2); text-decoration:none; color:var(--ink); }
.mainnav .nl.on{ color:var(--ink); box-shadow:inset 0 -3px 0 var(--gold); }
.mm{ display:none; position:absolute; top:calc(100% + 6px); left:0; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-panel); box-shadow:var(--shadow); padding:18px; width:640px; z-index:60; }
.ni:hover .mm,.ni:focus-within .mm{ display:grid; grid-template-columns:1.2fr 1fr; gap:18px; }
.mm h4{ font-size:.8rem; color:var(--muted); font-weight:700; margin:0 0 8px; }
.mm a{ display:block; padding:5px 8px; border-radius:var(--r-ctl); font-size:.92rem; }
.mm a:hover{ background:var(--surface-2); text-decoration:none; }
.mm a span{ display:block; font-size:.78rem; color:var(--muted); }
.mm .two{ columns:2; column-gap:8px; }
.tools{ margin-left:auto; display:flex; gap:8px; align-items:center; }
.searchbtn{ display:flex; align-items:center; gap:10px; border:1.5px solid var(--line-2); background:var(--surface); border-radius:var(--r-ctl); padding:7px 10px 7px 12px; color:var(--muted); font:inherit; font-size:.9rem; cursor:pointer; min-width:190px; }
.searchbtn kbd{ margin-left:auto; font:inherit; font-size:.72rem; border:1px solid var(--line-2); border-radius:3px; padding:0 5px; }
.sel{ border:1.5px solid var(--line-2); background:var(--surface); color:var(--ink); border-radius:var(--r-ctl); padding:7px 8px; font:inherit; font-size:.88rem; font-weight:650; cursor:pointer; }
.ibtn{ width:38px; height:38px; display:grid; place-items:center; border:1.5px solid var(--line-2); background:var(--surface); color:var(--ink); border-radius:var(--r-ctl); cursor:pointer; }
.ibtn svg{ width:18px; height:18px; }
.burger{ display:none; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius:var(--r-ctl); padding:11px 20px; font:inherit; font-weight:750; font-size:.92rem; border:2px solid transparent; white-space:nowrap; line-height:1.1; cursor:pointer; }
.btn:hover{ text-decoration:none; }
.btn-p{ background:var(--cta); color:var(--cta-ink); } .btn-p:hover{ background:var(--cta-hover); }
.btn-o{ border-color:var(--ink); color:var(--ink); background:transparent; } .btn-o:hover{ background:var(--surface-2); }
.btn-w{ border-color:rgba(255,255,255,.6); color:#fff; background:transparent; } .btn-w:hover{ background:rgba(255,255,255,.1); }
.btn-s{ padding:7px 13px; font-size:.84rem; }

/* hero */
.hero{ background:var(--hero-bg); color:var(--hero-ink); position:relative; overflow:hidden; }
.hero .wm{ position:absolute; right:-70px; top:-60px; height:560px; opacity:.06; pointer-events:none; }
.hero-in{ position:relative; display:grid; grid-template-columns:1fr 1.05fr; gap:48px; padding:52px 0 56px; align-items:start; }
.hero h1{ color:#fff; max-width:15ch; font-size:clamp(2.1rem,4.4vw,3.4rem); }
.hero .lead{ color:var(--hero-muted); font-size:1.08rem; max-width:50ch; margin:16px 0 24px; }
.ask{ background:#fff; border-radius:var(--r-panel); padding:7px; display:flex; gap:8px; align-items:center; box-shadow:0 16px 40px rgba(0,0,0,.25); max-width:560px; position:relative; }
.ask input{ flex:1; border:0; font:inherit; font-size:1.02rem; padding:10px 12px; color:#203766; background:transparent; min-width:0; }
.ask input:focus{ outline:none; }
.ask:focus-within{ outline:3px solid var(--gold); }
.chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.chip{ border:1.5px solid rgba(255,255,255,.35); color:#fff; background:transparent; border-radius:20px; padding:4px 12px; font-size:.84rem; font-weight:600; }
.chip:hover{ background:rgba(255,255,255,.1); text-decoration:none; }
.suggest{ position:absolute; left:0; right:0; top:calc(100% + 6px); background:var(--surface); color:var(--ink); border-radius:var(--r-card); box-shadow:var(--shadow); z-index:20; overflow:hidden; }
.suggest a{ display:flex; justify-content:space-between; gap:12px; padding:9px 14px; border-bottom:1px solid var(--line); }
.suggest a:hover,.suggest a.on{ background:var(--navy-bg); text-decoration:none; }

/* tablica cen (sygnatura) */
.board{ background:var(--surface); color:var(--ink); border-radius:var(--r-panel); box-shadow:0 22px 50px rgba(0,0,0,.28); overflow:hidden; }
.board-h{ display:flex; justify-content:space-between; align-items:baseline; padding:16px 20px 6px; }
.board-h h2{ font-size:1.1rem; margin:0; }
.tabs{ display:flex; gap:4px; padding:4px 14px 0; border-bottom:1px solid var(--line); overflow-x:auto; }
.tabs button{ border:0; background:transparent; font:inherit; font-size:.88rem; font-weight:650; color:var(--muted); padding:9px 10px; cursor:pointer; border-bottom:3px solid transparent; white-space:nowrap; }
.tabs button[aria-selected=true]{ color:var(--ink); border-bottom-color:var(--gold); }
.brow{ display:grid; grid-template-columns:1.25fr 1.2fr .8fr 1.3fr; gap:12px; align-items:center; padding:11px 20px; border-bottom:1px solid var(--line); }
.brow:hover{ background:var(--navy-bg); text-decoration:none; }
.brow .pn{ font-weight:700; }
.brow .pv{ font-weight:800; font-size:1.25rem; font-stretch:80%; text-align:right; white-space:nowrap; }
.brow .pv small{ font-size:.72rem; font-weight:650; color:var(--muted); font-stretch:100%; }
.board-f{ display:flex; justify-content:space-between; gap:12px; padding:11px 20px; font-size:.78rem; color:var(--muted); }
.board-f a{ font-weight:700; color:var(--ink); }
.ch{ font-weight:750; font-size:.88rem; white-space:nowrap; } .ch.up{ color:var(--up); } .ch.dn{ color:var(--down); } .ch.fl{ color:var(--flat); }
.ch.up::before{ content:'▲ '; font-size:.7em; } .ch.dn::before{ content:'▼ '; font-size:.7em; }
.rb{ position:relative; height:14px; }
.rb .tr{ position:absolute; left:0; right:0; top:6px; height:2px; background:var(--line); border-radius:2px; }
.rb .bd{ position:absolute; top:3px; height:8px; background:var(--navy-bg); border:1.5px solid var(--navy-3); border-radius:5px; }
html.dark .rb .bd{ border-color:var(--muted); }
.rb .md{ position:absolute; top:0; width:3px; height:14px; background:var(--gold); border-radius:2px; transform:translateX(-1px); }

/* sekcje */
.sec{ padding:52px 0; } .sec.alt{ background:var(--surface); border-block:1px solid var(--line); }
.sec-h{ display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:22px; flex-wrap:wrap; }
.sec-h p{ margin:0; color:var(--muted); max-width:62ch; }
.grid{ display:grid; gap:16px; } .g2{ grid-template-columns:repeat(2,1fr); } .g3{ grid-template-columns:repeat(3,1fr); } .g4{ grid-template-columns:repeat(4,1fr); } .g5{ grid-template-columns:repeat(5,1fr); }
.card{ background:var(--surface); border:1.5px solid var(--line); border-radius:var(--r-card); padding:18px; }
a.card{ display:block; transition:box-shadow .2s; } a.card:hover{ text-decoration:none; box-shadow:var(--shadow); border-color:var(--line-2); }
.card h3{ margin-bottom:6px; }
.grp b{ display:block; font-size:1.05rem; } .grp span{ display:block; font-size:.84rem; color:var(--muted); margin-top:3px; } .grp em{ font-style:normal; font-size:.8rem; color:var(--amber-text); font-weight:700; display:block; margin-top:10px; }
.kpis{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; background:var(--surface); border:1.5px solid var(--line); border-radius:var(--r-card); }
.kpis > div{ padding:16px 18px; border-right:1px solid var(--line); } .kpis > div:last-child{ border-right:0; }
.kpis dt{ font-size:.8rem; color:var(--muted); font-weight:650; } .kpis dd{ margin:3px 0 0; font-weight:800; font-size:1.5rem; font-stretch:82%; line-height:1.15; }
.kpis dd small{ font-size:.78rem; font-weight:600; color:var(--muted); font-stretch:100%; display:block; }
.kpis.big > div:first-child dd{ font-size:2.6rem; }

/* tabele */
.tw{ overflow-x:auto; background:var(--surface); border:1.5px solid var(--line); border-radius:var(--r-card); }
table.t{ width:100%; border-collapse:collapse; font-size:.92rem; }
.t th{ text-align:left; font-size:.78rem; color:var(--muted); font-weight:700; padding:10px 12px; border-bottom:1.5px solid var(--line); white-space:nowrap; background:var(--surface); position:sticky; top:0; }
.t th button{ all:unset; cursor:pointer; } .t th button:focus-visible{ outline:2px solid var(--gold); }
.t th[aria-sort=ascending] button::after{ content:' ▲'; } .t th[aria-sort=descending] button::after{ content:' ▼'; }
.t td{ padding:9px 12px; border-bottom:1px solid var(--line); vertical-align:middle; }
.t tr:last-child td{ border-bottom:0; } .t tbody tr:hover{ background:var(--navy-bg); }
.t .r{ text-align:right; white-space:nowrap; } .t .b{ font-weight:750; }
.t td a{ font-weight:650; }
.iso{ display:inline-grid; place-items:center; min-width:26px; height:18px; font-size:.68rem; font-weight:800; border-radius:3px; background:var(--navy-bg); color:var(--ink); margin-right:7px; padding:0 3px; }

/* filtry */
.fbar{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:16px; }
.fchip{ border:1.5px solid var(--line-2); background:var(--surface); color:var(--ink-2); border-radius:20px; padding:5px 13px; font:inherit; font-size:.86rem; font-weight:650; cursor:pointer; }
.fchip[aria-pressed=true],a.fchip.on{ background:var(--navy); border-color:var(--navy); color:#fff; }
html.dark .fchip[aria-pressed=true],html.dark a.fchip.on{ background:var(--gold); border-color:var(--gold); color:var(--navy); }
a.fchip:hover{ text-decoration:none; border-color:var(--ink); }
.inp{ border:1.5px solid var(--line-2); background:var(--surface); color:var(--ink); border-radius:var(--r-ctl); padding:8px 11px; font:inherit; font-size:.92rem; }
.inp:focus{ outline:2px solid var(--gold); border-color:var(--gold); }

/* strona produktu */
.crumbs{ font-size:.82rem; color:var(--muted); padding:18px 0 0; } .crumbs a{ color:var(--ink-2); } .crumbs span{ margin:0 6px; }
.phead{ padding:12px 0 22px; }
.phead .lead{ font-size:1.05rem; color:var(--ink-2); max-width:72ch; }
.layout{ display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:28px; align-items:start; }
.aside{ position:sticky; top:84px; display:grid; gap:14px; }
.box{ background:var(--surface); border:1.5px solid var(--line); border-radius:var(--r-card); padding:18px; }
.box h2,.box h3{ font-size:1.02rem; }
.box.navy{ background:var(--navy); color:#fff; border-color:var(--navy); } .box.navy p{ color:var(--hero-muted); }
.box.wheat{ background:var(--wheat-bg); border-color:transparent; }
.blk{ margin-top:30px; } .blk > h2{ margin-bottom:12px; }
.note{ font-size:.8rem; color:var(--muted); margin-top:8px; }
.tag{ display:inline-block; font-size:.74rem; font-weight:700; padding:2px 8px; border-radius:12px; background:var(--navy-bg); color:var(--ink); }
.tag.w{ background:var(--wheat-bg); color:var(--amber-text); }
.demo{ display:inline-block; font-size:.72rem; font-weight:700; color:var(--amber-text); background:var(--wheat-bg); border-radius:3px; padding:1px 6px; }

/* pas krajow (sygnatura strony produktu) */
.strip{ position:relative; height:132px; margin:8px 4px 0; }
.strip .axis{ position:absolute; left:0; right:0; top:64px; height:4px; background:var(--line); border-radius:3px; }
.strip .band{ position:absolute; top:52px; height:28px; background:var(--navy-bg); border:1.5px dashed var(--navy-3); border-radius:6px; }
html.dark .strip .band{ border-color:var(--muted); }
.strip .med{ position:absolute; top:40px; width:4px; height:52px; background:var(--gold); border-radius:2px; transform:translateX(-2px); }
.strip .medl{ position:absolute; top:100px; transform:translateX(-50%); font-size:.76rem; font-weight:800; white-space:nowrap; color:var(--amber-text); }
.strip .dot{ position:absolute; width:12px; height:12px; border-radius:50%; background:var(--navy); border:2px solid var(--surface); top:60px; transform:translate(-6px,0); cursor:default; }
html.dark .strip .dot{ background:var(--c1); }
.strip .dl{ position:absolute; font-size:.66rem; font-weight:800; transform:translateX(-50%); color:var(--ink-2); white-space:nowrap; }
.strip .you{ position:absolute; top:30px; width:0; height:72px; border-left:3px solid var(--down); }
.strip .youl{ position:absolute; top:10px; transform:translateX(-50%); font-size:.74rem; font-weight:800; color:var(--down); white-space:nowrap; }
.strip-legend{ display:flex; flex-wrap:wrap; gap:16px; font-size:.78rem; color:var(--muted); margin-top:4px; }
.strip-legend i{ display:inline-block; width:12px; height:12px; vertical-align:-2px; margin-right:5px; border-radius:3px; }

/* wykresy */
.chart{ position:relative; background:var(--surface); border:1.5px solid var(--line); border-radius:var(--r-card); padding:14px 14px 6px; }
.chart svg{ display:block; width:100%; height:auto; overflow:visible; }
.chart .ax{ font-size:11px; fill:var(--muted); }
.chart .gl{ stroke:var(--line); stroke-width:1; }
.chart .ln{ fill:none; stroke-width:2.4; stroke-linejoin:round; stroke-linecap:round; }
.chart .ar{ opacity:.12; }
.chart .cur{ stroke:var(--ink-2); stroke-dasharray:3 3; }
.chart .tip{ position:absolute; pointer-events:none; background:var(--navy); color:#fff; font-size:.8rem; padding:6px 9px; border-radius:6px; white-space:nowrap; transform:translate(-50%,-110%); display:none; z-index:5; box-shadow:var(--shadow); }
.chart .tip b{ color:var(--wheat); }
.legend{ display:flex; flex-wrap:wrap; gap:14px; font-size:.8rem; color:var(--ink-2); padding:2px 4px 8px; }
.legend i{ display:inline-block; width:14px; height:3px; vertical-align:middle; margin-right:6px; border-radius:2px; }

/* artykuly */
.alist{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.acard{ display:flex; flex-direction:column; background:var(--surface); border:1.5px solid var(--line); border-radius:var(--r-card); padding:18px; }
.acard:hover{ text-decoration:none; box-shadow:var(--shadow); }
.acard .meta{ font-size:.78rem; color:var(--muted); display:flex; gap:10px; margin-bottom:8px; }
.acard h3{ font-size:1.02rem; line-height:1.3; }
.acard p{ font-size:.88rem; color:var(--ink-2); margin:0; }
.prose{ font-size:1.05rem; line-height:1.72; max-width:68ch; }
.prose h2{ font-size:1.35rem; margin:1.5em 0 .5em; } .prose h3{ font-size:1.12rem; margin:1.3em 0 .4em; }
.prose ul{ padding-left:1.2em; } .prose li{ margin:.3em 0; }
.prose u{ text-decoration:none; }
.pager{ display:flex; gap:6px; flex-wrap:wrap; margin-top:24px; }
.pager a{ min-width:36px; text-align:center; padding:6px 10px; border:1.5px solid var(--line-2); border-radius:var(--r-ctl); font-weight:650; background:var(--surface); }
.pager a.on{ background:var(--navy); color:#fff; border-color:var(--navy); }

/* formularze */
.form{ display:grid; gap:14px; }
.form label{ display:grid; gap:5px; font-size:.86rem; font-weight:650; }
.form .row{ display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:12px; }
.form .chk{ display:flex; gap:9px; align-items:flex-start; font-weight:500; }
.ok{ background:#E7F4EA; color:#1E5C24; border-radius:var(--r-card); padding:14px 16px; font-weight:650; }
html.dark .ok{ background:#1E3B2A; color:#B9F0C7; }
.result{ background:var(--navy-bg); border-radius:var(--r-card); padding:16px; }
.result b.big{ font-size:1.8rem; font-weight:800; font-stretch:82%; display:block; }

/* pasek CTA */
.cta{ background:var(--navy); color:#fff; border-radius:var(--r-panel); padding:30px; display:grid; grid-template-columns:1.4fr 1fr; gap:24px; align-items:center; }
.cta h2{ color:#fff; } .cta p{ color:var(--hero-muted); margin:0; }
.cta .acts{ display:flex; gap:12px; justify-content:flex-end; flex-wrap:wrap; }

/* stopka */
footer.foot{ background:var(--hero-bg); color:var(--hero-muted); margin-top:60px; padding:46px 0 24px; font-size:.9rem; }
footer .cols{ display:grid; grid-template-columns:1.5fr repeat(4,1fr); gap:28px; }
footer h4{ color:#fff; font-size:.92rem; margin-bottom:10px; }
footer ul{ list-style:none; padding:0; margin:0; display:grid; gap:6px; }
footer a:hover{ color:#fff; }
footer .legal{ border-top:1px solid rgba(255,255,255,.14); margin-top:30px; padding-top:18px; display:flex; flex-wrap:wrap; gap:16px; font-size:.8rem; }
footer .legal button{ all:unset; cursor:pointer; } footer .legal button:hover{ color:#fff; }

/* nakladki */
.ovl{ position:fixed; inset:0; background:rgba(14,26,51,.55); z-index:90; display:none; }
.ovl.open{ display:block; }
.modal{ position:fixed; left:50%; top:10vh; transform:translateX(-50%); width:min(640px,94vw); background:var(--surface); border-radius:var(--r-panel); box-shadow:var(--shadow); z-index:91; display:none; overflow:hidden; }
.modal.open{ display:block; }
.modal .mh{ display:flex; gap:10px; align-items:center; padding:12px 14px; border-bottom:1px solid var(--line); }
.modal .mh input{ flex:1; border:0; font:inherit; font-size:1.05rem; background:transparent; color:var(--ink); padding:6px; }
.modal .mh input:focus{ outline:none; }
.sres{ max-height:60vh; overflow:auto; }
.sres h4{ font-size:.76rem; color:var(--muted); margin:0; padding:10px 16px 4px; }
.sres a{ display:flex; justify-content:space-between; gap:12px; padding:8px 16px; }
.sres a.on,.sres a:hover{ background:var(--navy-bg); text-decoration:none; }
.sres .empty{ padding:18px 16px; color:var(--muted); }
.drawer{ position:fixed; top:0; right:0; bottom:0; width:min(380px,92vw); background:var(--surface); z-index:91; box-shadow:var(--shadow); padding:22px; transform:translateX(105%); transition:transform .22s; overflow:auto; }
.drawer.open{ transform:none; }
.drawer h2{ font-size:1.2rem; }
.opt{ display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); font-size:.92rem; }
.seg{ display:inline-flex; border:1.5px solid var(--line-2); border-radius:var(--r-ctl); overflow:hidden; }
.seg button{ border:0; background:transparent; color:var(--ink); padding:6px 10px; font:inherit; font-size:.84rem; font-weight:650; cursor:pointer; }
.seg button[aria-pressed=true]{ background:var(--navy); color:#fff; }
html.dark .seg button[aria-pressed=true]{ background:var(--gold); color:var(--navy); }
.cookies{ position:fixed; left:16px; bottom:16px; width:min(440px,calc(100vw - 32px)); background:var(--surface); border:1.5px solid var(--line); border-radius:var(--r-panel); box-shadow:var(--shadow); padding:18px; z-index:80; display:none; font-size:.88rem; }
.cookies.open{ display:block; }
.cookies .acts{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.toast{ position:fixed; left:50%; bottom:24px; transform:translateX(-50%); background:var(--navy); color:#fff; padding:10px 16px; border-radius:var(--r-ctl); z-index:95; font-size:.9rem; display:none; }
.code{ font-family:ui-monospace,Menlo,Consolas,monospace; font-size:.8rem; background:var(--surface-2); border:1px solid var(--line); border-radius:var(--r-ctl); padding:10px; white-space:pre-wrap; word-break:break-all; }
.widget{ border:1.5px solid var(--line); border-radius:var(--r-card); padding:12px 14px; max-width:300px; background:var(--surface); }
.widget b{ font-size:1.4rem; font-stretch:82%; display:block; }
.faq details{ border-bottom:1px solid var(--line); padding:12px 0; }
.faq summary{ font-weight:700; cursor:pointer; }
.faq details p{ margin:8px 0 0; color:var(--ink-2); }

@media (max-width:1080px){
  .searchbtn{ min-width:0; } .searchbtn span,.searchbtn kbd{ display:none; }
  .mainnav .nl{ padding:8px 8px; font-size:.9rem; }
}
@media (max-width:920px){
  .hero-in,.layout,.cta{ grid-template-columns:minmax(0,1fr) !important; } .aside{ position:static; } .hero-in{ padding:34px 0 40px; gap:30px; }
  .g4,.g5{ grid-template-columns:repeat(2,1fr); } .g3,.alist{ grid-template-columns:repeat(2,1fr); }
  .kpis{ grid-template-columns:repeat(2,1fr); } .kpis > div:nth-child(2){ border-right:0; } .kpis > div:nth-child(-n+2){ border-bottom:1px solid var(--line); }
  footer .cols{ grid-template-columns:1fr 1fr; }
  .burger{ display:grid; }
  .mainnav{ display:none; position:absolute; top:66px; left:0; right:0; background:var(--surface); border-bottom:1px solid var(--line); flex-direction:column; padding:10px 20px 16px; box-shadow:var(--shadow); }
  .mainnav.open{ display:flex; } .mm{ display:none !important; }
  .cta .acts{ justify-content:flex-start; }
}
@media (max-width:600px){
  .g2,.g3,.g4,.g5,.alist{ grid-template-columns:1fr; }
  .brow{ grid-template-columns:1.2fr 1fr .9fr; } .brow .rb{ display:none; }
  .top .sel{ display:none; } .ask{ flex-wrap:wrap; } .ask input{ flex-basis:100%; } .ask .btn{ width:100%; }
  .phead h1{ font-size:1.8rem; } .board-f{ flex-direction:column; } .fxbar a{ display:none; } .fxbar .wrap > span:nth-child(n+3){ display:none; }
  .kpis.big > div:first-child dd{ font-size:2rem; }
  .chart .ax{ font-size:19px; } .chart{ padding:10px 6px 4px; }
}
@media (prefers-reduced-motion:reduce){ *{ transition:none !important; animation:none !important; } }
@media print{ .top,.testbar,.fxbar,footer,.aside,.cookies,.ibtn{ display:none !important; } body{ background:#fff; } .layout{ grid-template-columns:1fr; } }

/* ===== WordPress ===== */
body.admin-bar .top{ top:32px; }
@media (max-width:782px){ body.admin-bar .top{ top:46px; } }
.screen-reader-text{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.prose img{ max-width:100%; height:auto; border-radius:var(--r-card); }
.prose figure{ margin:1.2em 0; } .prose table{ border-collapse:collapse; width:100%; } .prose td,.prose th{ border:1px solid var(--line); padding:6px 8px; }
.prose strong{ font-weight:700; }
.alignleft{ float:left; margin:0 1em 1em 0; } .alignright{ float:right; margin:0 0 1em 1em; } .aligncenter{ display:block; margin:0 auto; }
.wp-pager{ display:flex; gap:6px; flex-wrap:wrap; margin-top:24px; } .wp-pager .page-numbers{ min-width:36px; text-align:center; padding:6px 10px; border:1.5px solid var(--line-2); border-radius:var(--r-ctl); font-weight:650; background:var(--surface); } .wp-pager .current{ background:var(--navy); color:#fff; border-color:var(--navy); }
.prevbar{ background:var(--navy-3); color:#fff; font-size:.84rem; } .prevbar .wrap{ display:flex; gap:14px; align-items:center; padding:6px 0; flex-wrap:wrap; } .prevbar a{ color:var(--wheat); text-decoration:underline; }
