:root{
  --bg:#F3F4F8; --surface:#FFFFFF; --ink:#18203A; --ink-2:#3A4260; --muted:#626A82; --line:#DADDE8;
  --accent:#2C3DBE; --accent-ink:#FFFFFF; --accent-soft:#E4E7FB; --mark:#F6CE5A; --mark-ink:#18203A;
  --warn:#FFF2B8; --warn-ink:#4A3A00; --ok:#1D7A4F;
  --t-kariera:#DCE2FF; --t-praca:#D3EEE2; --t-liderka:#EEDCF2; --t-firma:#FFE4C7; --t-finanse:#E0EFCB; --t-mama:#F9DADB; --t-prawa:#E1E4EC; --t-glowa:#D5ECF3; --t-inne:#ECECEC;
  --d-kariera:#3E50C8; --d-praca:#1F8A5E; --d-liderka:#8A3BA0; --d-firma:#C0661A; --d-finanse:#5C8A1E; --d-mama:#B8394A; --d-prawa:#4F5B78; --d-glowa:#1F7F9C; --d-inne:#777;
  --r-s:6px; --r-m:12px; --r-l:22px;
  --f-ui:"Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-read:"Newsreader", Georgia, "Times New Roman", serif;
  --fs:1;
  color-scheme:light;
  box-sizing:border-box; padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0F1426; --surface:#171E36; --ink:#E9EBF4; --ink-2:#C7CBDD; --muted:#A0A7C0; --line:#2B3455;
    --accent:#9AA8FF; --accent-ink:#0F1426; --accent-soft:#232C52; --mark:#B8932E; --mark-ink:#0F1426;
    --warn:#3A3212; --warn-ink:#F5E3A0; --ok:#6FD3A3;
    --t-kariera:#232C55; --t-praca:#173A31; --t-liderka:#36234A; --t-firma:#40301C; --t-finanse:#2A3A1C; --t-mama:#45232A; --t-prawa:#262C3E; --t-glowa:#163742; --t-inne:#2A2A2A;
    --d-kariera:#A7B3FF; --d-praca:#72D3A9; --d-liderka:#D7A2E8; --d-firma:#F5B171; --d-finanse:#B5DB7C; --d-mama:#F29AA6; --d-prawa:#B4BCD4; --d-glowa:#7CCDE6; --d-inne:#bbb;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#0F1426; --surface:#171E36; --ink:#E9EBF4; --ink-2:#C7CBDD; --muted:#A0A7C0; --line:#2B3455;
  --accent:#9AA8FF; --accent-ink:#0F1426; --accent-soft:#232C52; --mark:#B8932E; --mark-ink:#0F1426;
  --warn:#3A3212; --warn-ink:#F5E3A0; --ok:#6FD3A3;
  --t-kariera:#232C55; --t-praca:#173A31; --t-liderka:#36234A; --t-firma:#40301C; --t-finanse:#2A3A1C; --t-mama:#45232A; --t-prawa:#262C3E; --t-glowa:#163742; --t-inne:#2A2A2A;
  --d-kariera:#A7B3FF; --d-praca:#72D3A9; --d-liderka:#D7A2E8; --d-firma:#F5B171; --d-finanse:#B5DB7C; --d-mama:#F29AA6; --d-prawa:#B4BCD4; --d-glowa:#7CCDE6; --d-inne:#bbb;
  color-scheme:dark;
}
:root[data-contrast="high"]{ --ink:#000; --ink-2:#000; --muted:#222; --line:#000; --accent:#0018A8; --bg:#fff; --surface:#fff; }
:root[data-theme="dark"][data-contrast="high"]{ --ink:#fff; --ink-2:#fff; --muted:#eee; --line:#fff; --accent:#C8D0FF; --bg:#000; --surface:#000; }
:root[data-links="underline"] a{ text-decoration:underline !important; text-underline-offset:3px; }
*,*::before,*::after{ box-sizing:inherit; }
html{ height:100%; scroll-padding-top:calc(env(safe-area-inset-top,0px) + 80px); font-size:calc(100% * var(--fs)); }
body{ margin:0; background:var(--bg); color:var(--ink); font-family:var(--f-ui); font-size:1rem; line-height:1.55; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
body::before{ content:""; position:fixed; inset:0 0 auto; height:env(safe-area-inset-top,0px); z-index:60; background:var(--surface); }
img,svg{ max-width:100%; }
a{ color:inherit; text-decoration:none; }
a:hover{ color:var(--accent); }
:focus-visible{ outline:3px solid var(--accent); outline-offset:2px; border-radius:4px; }
button{ font:inherit; color:inherit; cursor:pointer; }
.skip{ position:absolute; left:-999px; top:8px; background:var(--accent); color:var(--accent-ink); padding:8px 14px; border-radius:var(--r-s); z-index:100; }
.skip:focus{ left:8px; }
.wrap{ width:min(1200px, 100% - 40px); margin-inline:auto; }
.narrow{ width:min(760px, 100% - 40px); margin-inline:auto; }
.vh{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* pasek wersji testowej */
.testbar{ background:var(--warn); color:var(--warn-ink); font-size:.86rem; }
.testbar .wrap{ display:flex; gap:14px; align-items:center; padding:8px 0; flex-wrap:wrap; }
.testbar p{ margin:0; flex:1 1 320px; }
.testbar a{ text-decoration:underline; font-weight:600; }
.testbar button{ background:transparent; border:1px solid currentColor; border-radius:999px; padding:3px 12px; font-size:.82rem; }

/* nagłówek */
.hdr{ position:sticky; top:env(safe-area-inset-top,0px); z-index:50; background:color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter:saturate(1.4) blur(10px); -webkit-backdrop-filter:saturate(1.4) blur(10px); border-bottom:1px solid var(--line); }
.hdr > .wrap{ display:flex; align-items:center; gap:22px; height:68px; }
.logo{ display:flex; align-items:center; gap:10px; color:var(--ink); }
.logo svg{ width:34px; height:34px; color:var(--accent); flex:none; }
.logo b{ font-weight:800; font-size:1.28rem; letter-spacing:-.03em; line-height:1; font-variation-settings:"opsz" 48; }
.logo b span{ display:block; font-weight:500; font-size:.72rem; letter-spacing:0; color:var(--muted); margin-top:3px; }
/* górny pasek serwisowy */
.topbar{ background:var(--ink); color:var(--bg); font-size:.83rem; }
.topbar .wrap{ display:flex; align-items:center; gap:18px; height:36px; }
.topbar .new{ display:flex; gap:8px; align-items:center; min-width:0; flex:1; }
.topbar .new b{ background:var(--mark); color:var(--mark-ink); border-radius:999px; padding:1px 9px; font-size:.75rem; flex:none; }
.topbar .new a{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.topbar a:hover{ color:var(--mark); }
.topbar ul{ list-style:none; display:flex; gap:18px; margin:0; padding:0; flex:none; }
.topbar ul a{ opacity:.85; }
@media (max-width: 760px){ .topbar ul{ display:none; } }

/* menu główne */
.nav{ margin-left:8px; }
.menu{ display:flex; gap:2px; list-style:none; margin:0; padding:0; }
.mi{ position:static; }
.mt{ display:flex; align-items:center; gap:5px; padding:8px 12px; border-radius:999px; font-weight:600; font-size:.95rem; color:var(--ink-2); background:none; border:0; white-space:nowrap; }
.mt:hover{ color:var(--accent); }
.mt svg{ width:14px; height:14px; transition:transform .2s; }
.mi.open > .mt svg{ transform:rotate(180deg); }
.mt[aria-current="page"], .mi.open > .mt{ background:var(--accent-soft); color:var(--accent); }
.mega{ display:none; position:absolute; left:0; right:0; top:100%; background:var(--surface); border-bottom:1.5px solid var(--ink); box-shadow:0 30px 60px -30px rgba(10,14,30,.35); }
.mi.open > .mega{ display:block; }
.mega-in{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:40px; padding:30px 0 34px; }
.mega h2{ font-size:.82rem; font-weight:700; color:var(--muted); letter-spacing:0; margin-bottom:12px; font-variation-settings:"opsz" 24; }
.mg-topics{ display:grid; grid-template-columns:repeat(4,1fr); gap:6px; }
.mg-topic{ display:grid; grid-template-columns:36px 1fr; gap:4px 10px; align-items:start; padding:12px; border-radius:var(--r-m); }
.mg-topic:hover{ background:var(--t); color:var(--ink); }
.mg-topic .ico{ grid-row:span 2; width:36px; height:36px; border-radius:10px; background:var(--t); color:var(--d); display:grid; place-items:center; }
.mg-topic .ico svg{ width:22px; height:22px; }
.mg-topic b{ font-weight:650; line-height:1.25; }
.mg-topic small{ color:var(--muted); font-size:.82rem; }
.mg-paths{ display:grid; grid-template-columns:repeat(2,1fr); gap:4px 24px; list-style:none; margin:0; padding:0; counter-reset:none; }
.mg-paths a{ display:flex; justify-content:space-between; gap:12px; padding:11px 12px; border-radius:var(--r-s); border-bottom:1px solid var(--line); font-weight:600; }
.mg-paths a:hover{ background:var(--bg); }
.mg-paths small{ color:var(--muted); font-weight:500; flex:none; }
.mg-side{ border-left:1px solid var(--line); padding-left:30px; display:grid; gap:14px; align-content:start; }
.mg-side ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.mg-side li a{ font-weight:600; line-height:1.3; display:block; font-size:.95rem; }
.mg-side li small{ color:var(--muted); font-size:.8rem; }
.mg-cta{ background:var(--accent-soft); border-radius:var(--r-m); padding:16px; }
.mg-cta p{ margin:0 0 10px; font-size:.9rem; color:var(--ink-2); }
.mg-tools{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.mg-tool{ border:1px solid var(--line); border-radius:var(--r-m); padding:16px; display:grid; gap:6px; }
.mg-tool:hover{ border-color:var(--accent); }
.mg-tool .ico{ width:32px; height:32px; color:var(--accent); }
.mg-tool b{ font-weight:650; }
.mg-tool small{ color:var(--muted); font-size:.86rem; }
.mg-all{ margin-top:16px; display:inline-block; }
.nav-extra{ display:none; }
.hdr-tools{ margin-left:auto; display:flex; gap:8px; align-items:center; }
.btn-search{ display:flex; align-items:center; gap:10px; min-width:210px; background:var(--bg); border:1px solid var(--line); border-radius:999px; padding:8px 10px 8px 14px; color:var(--muted); font-size:.92rem; }
.btn-search kbd{ margin-left:auto; font-family:var(--f-ui); font-size:.72rem; border:1px solid var(--line); border-radius:6px; padding:1px 6px; background:var(--surface); }
.icon-btn{ width:40px; height:40px; display:grid; place-items:center; border-radius:999px; border:1px solid var(--line); background:var(--surface); }
.icon-btn svg{ width:20px; height:20px; }
.hdr-nl{ white-space:nowrap; }
.menu-btn{ display:none; }
@media (max-width: 1240px){ .btn-search{ min-width:0; } .btn-search kbd{ display:none; } }
@media (max-width: 1120px){ .hdr-tools .hdr-nl{ display:none; } }
@media (max-width: 1020px){
  .hdr{ backdrop-filter:none; -webkit-backdrop-filter:none; background:var(--surface); }
  .nav{ display:none; position:fixed; left:0; right:0; top:var(--hdr-b, 68px); bottom:0; overflow:auto; overscroll-behavior:contain; background:var(--surface); margin:0; padding:10px 20px calc(90px + env(safe-area-inset-bottom,0px)); border-top:1px solid var(--line); }
  .nav.open{ display:block; }
  .menu{ flex-direction:column; gap:0; }
  .mi{ border-bottom:1px solid var(--line); }
  .mt{ width:100%; justify-content:space-between; font-size:1.15rem; padding:16px 4px; border-radius:0; }
  .mt[aria-current="page"], .mi.open > .mt{ background:none; }
  .mega{ position:static; border:0; box-shadow:none; }
  .mega .wrap{ width:100%; }
  .mega-in{ grid-template-columns:1fr; gap:18px; padding:0 0 18px; }
  .mg-paths, .mg-tools{ grid-template-columns:1fr; }
  .mg-topics{ grid-template-columns:1fr 1fr; }
  .mg-topic{ grid-template-columns:1fr; padding:10px 6px; }
  .mg-topic .ico{ grid-row:auto; }
  .mg-side{ border-left:0; padding-left:0; }
  .mg-side ul{ display:none; }
  .nav-extra{ display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:20px 0 0; }
  .nav-extra a{ padding:12px; border:1px solid var(--line); border-radius:var(--r-s); font-weight:600; }
  .menu-btn{ display:grid; }
  .btn-search{ width:40px; height:40px; padding:0; justify-content:center; }
  .btn-search span{ display:none; }
  body.menu-open{ overflow:hidden; }
}

/* typografia */
h1,h2,h3{ font-family:var(--f-ui); letter-spacing:-.025em; line-height:1.08; margin:0; font-variation-settings:"opsz" 96; }
h1{ font-size:clamp(2.1rem, 4.6vw, 3.6rem); font-weight:750; }
h2{ font-size:clamp(1.5rem, 2.6vw, 2.1rem); font-weight:700; }
h3{ font-size:1.2rem; font-weight:650; letter-spacing:-.01em; line-height:1.25; font-variation-settings:"opsz" 24; }
.lead{ font-family:var(--f-read); font-size:clamp(1.15rem, 1.7vw, 1.35rem); line-height:1.5; color:var(--ink-2); max-width:62ch; }
.muted{ color:var(--muted); }
.sec{ padding:64px 0; }
.sec-head{ display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:26px; flex-wrap:wrap; }
.sec-head p{ margin:6px 0 0; color:var(--muted); max-width:56ch; }
.more{ font-weight:650; color:var(--accent); border-bottom:2px solid var(--accent-soft); padding-bottom:2px; }
.more:hover{ border-color:var(--accent); }
.crumbs{ font-size:.88rem; color:var(--muted); display:flex; flex-wrap:wrap; gap:6px; margin:28px 0 18px; }
.crumbs a{ text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--line); }
.crumbs span[aria-hidden]{ opacity:.6; }
.ph{ background:var(--warn); color:var(--warn-ink); padding:0 4px; border-radius:3px; font-style:normal; font-size:.95em; }

/* przyciski */
.btn{ display:inline-flex; align-items:center; gap:8px; border-radius:999px; padding:12px 20px; font-weight:650; border:1.5px solid var(--accent); background:var(--accent); color:var(--accent-ink); }
.btn:hover{ color:var(--accent-ink); filter:brightness(1.08); }
.btn.ghost{ background:transparent; color:var(--accent); }
.btn.small{ padding:7px 14px; font-size:.9rem; }

/* HERO: ścieżki */
.hero{ padding:56px 0 64px; border-bottom:1px solid var(--line); background:var(--surface); }
.hero-grid{ display:grid; grid-template-columns: 1.25fr 1fr; gap:56px; align-items:start; }
.hero h1{ font-size:clamp(2.4rem, 5.4vw, 4.4rem); max-width:12ch; }
.hero-intro{ margin:18px 0 30px; color:var(--muted); max-width:46ch; font-size:1.05rem; }
.situ{ display:flex; flex-wrap:wrap; gap:6px 22px; margin:0; padding:0; list-style:none; }
.situ button{ background:none; border:0; padding:2px 0; text-align:left; font-weight:650; font-size:clamp(1.3rem, 2.5vw, 2rem); letter-spacing:-.02em; line-height:1.25; color:var(--muted);
  background-image:linear-gradient(transparent 58%, var(--mark) 58%, var(--mark) 92%, transparent 92%); background-repeat:no-repeat; background-size:0% 100%; transition:background-size .35s ease, color .2s; font-variation-settings:"opsz" 48; }
.situ button:hover{ color:var(--ink); }
.situ button[aria-pressed="true"]{ color:var(--mark-ink); background-size:100% 100%; }
:root[data-theme="dark"] .situ button[aria-pressed="true"]{ color:var(--ink); }
@media (prefers-reduced-motion: reduce){ .situ button{ transition:none; } }
.path-card{ border:1.5px solid var(--ink); border-radius:var(--r-l); padding:26px 26px 22px; background:var(--bg); position:relative; }
.path-card h2{ font-size:1.45rem; letter-spacing:-.02em; }
.path-card > p{ margin:8px 0 18px; color:var(--muted); }
.steps{ list-style:none; margin:0 0 18px; padding:0; counter-reset:st; }
.steps li{ position:relative; padding:0 0 16px 44px; counter-increment:st; }
.steps li::before{ content:counter(st); position:absolute; left:0; top:0; width:28px; height:28px; border-radius:50%; display:grid; place-items:center; font-weight:700; font-size:.85rem; background:var(--surface); border:1.5px solid var(--ink); }
.steps li::after{ content:""; position:absolute; left:13.5px; top:30px; bottom:2px; width:1.5px; background:var(--line); }
.steps li:last-child::after{ display:none; }
.steps a{ font-weight:650; line-height:1.3; display:block; }
.steps small{ display:block; color:var(--muted); font-size:.88rem; margin-top:2px; }
@media (max-width: 900px){ .hero-grid{ grid-template-columns:1fr; gap:32px; } }

/* oznaczenie tematu */
.tag{ display:inline-flex; align-items:center; gap:7px; font-size:.82rem; font-weight:650; color:var(--d); }
.tag::before{ content:""; width:9px; height:9px; border-radius:2px; background:var(--d); transform:rotate(45deg); }
.meta{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; font-size:.85rem; color:var(--muted); }

/* najnowsze */
.latest{ display:grid; grid-template-columns:1.3fr 1fr; gap:44px; }
.feature{ border-radius:var(--r-l); background:var(--t); padding:34px; display:flex; flex-direction:column; gap:14px; min-height:360px; position:relative; overflow:hidden; }
.feature h3{ font-size:clamp(1.6rem, 3vw, 2.4rem); letter-spacing:-.03em; line-height:1.08; max-width:18ch; font-variation-settings:"opsz" 96; }
.feature p{ font-family:var(--f-read); font-size:1.12rem; margin:0; max-width:52ch; color:var(--ink-2); }
.feature .glyph{ position:absolute; right:-30px; bottom:-30px; width:220px; height:220px; color:var(--d); opacity:.18; }
.feature .glyph svg{ width:100%; height:100%; }
.rows{ list-style:none; margin:0; padding:0; }
.rows li{ border-top:1px solid var(--line); padding:16px 0; }
.rows li:last-child{ border-bottom:1px solid var(--line); }
.rows h3{ font-size:1.1rem; margin:6px 0 4px; }
.rows p{ margin:4px 0 0; color:var(--muted); font-size:.93rem; }
@media (max-width: 900px){ .latest{ grid-template-columns:1fr; } }

/* tematy */
.topics{ display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; }
.topic{ background:var(--t); border-radius:var(--r-m); padding:22px; display:flex; flex-direction:column; gap:8px; min-height:190px; color:var(--ink); }
.topic:hover{ color:var(--ink); outline:2px solid var(--d); }
.topic .ico{ width:34px; height:34px; color:var(--d); }
.topic h3{ font-size:1.2rem; }
.topic p{ margin:0; font-size:.9rem; color:var(--ink-2); }
.topic .n{ margin-top:auto; font-weight:700; font-size:.88rem; color:var(--d); }
@media (max-width: 900px){ .topics{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width: 520px){ .topics{ grid-template-columns:1fr; } .topic{ min-height:0; } }

/* narzędzia */
.tools{ display:grid; grid-template-columns:repeat(3,1fr); gap:0; border:1.5px solid var(--ink); border-radius:var(--r-l); overflow:hidden; background:var(--surface); }
.tool{ padding:26px; border-right:1.5px solid var(--ink); display:flex; flex-direction:column; gap:10px; }
.tool:last-child{ border-right:0; }
.tool .ico{ width:40px; height:40px; color:var(--accent); }
.tool p{ margin:0; color:var(--muted); }
@media (max-width: 900px){ .tools{ grid-template-columns:1fr; } .tool{ border-right:0; border-bottom:1.5px solid var(--ink); } .tool:last-child{ border-bottom:0; } }

/* A–Z */
.az{ display:flex; flex-wrap:wrap; gap:6px; }
.az a, .az button{ min-width:44px; height:44px; display:grid; place-items:center; border:1px solid var(--line); border-radius:var(--r-s); font-weight:700; background:var(--surface); }
.az a:hover, .az button:hover{ border-color:var(--accent); color:var(--accent); }
.lex{ columns:3 260px; column-gap:40px; }
.lex section{ break-inside:avoid; margin-bottom:26px; }
.lex h2{ font-size:2rem; color:var(--accent); border-bottom:1.5px solid var(--ink); padding-bottom:6px; margin-bottom:8px; }
.lex ul{ list-style:none; margin:0; padding:0; }
.lex li{ padding:6px 0; border-bottom:1px solid var(--line); }
.lex li a{ font-weight:600; }

/* newsletter */
.news{ background:var(--ink); color:var(--bg); border-radius:var(--r-l); padding:44px; display:grid; grid-template-columns:1.1fr 1fr; gap:36px; align-items:center; }
.news h2{ color:var(--bg); }
.news p{ color:color-mix(in srgb, var(--bg) 78%, transparent); margin:10px 0 0; }
.field-row{ display:flex; gap:8px; flex-wrap:wrap; }
.news input{ flex:1 1 220px; border-radius:999px; border:0; padding:14px 18px; font:inherit; background:var(--bg); color:var(--ink); }
.news .btn{ background:var(--mark); border-color:var(--mark); color:var(--mark-ink); }
.news small{ display:block; margin-top:10px; color:color-mix(in srgb, var(--bg) 70%, transparent); }
.news .ok{ font-weight:650; color:var(--mark); }
@media (max-width: 800px){ .news{ grid-template-columns:1fr; padding:30px; } }

/* listy */
.list-head{ padding:12px 0 30px; margin-bottom:8px; }
@media (max-width: 440px){ .logo b span{ display:none; } }
.list-head h1{ margin-bottom:12px; }
.filters{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:22px 0 6px; }
.chip{ border:1px solid var(--line); background:var(--surface); border-radius:999px; padding:7px 14px; font-weight:600; font-size:.9rem; }
.chip[aria-current="true"]{ background:var(--ink); color:var(--bg); border-color:var(--ink); }
.chip:hover{ border-color:var(--accent); }
.filters select{ font:inherit; font-size:.9rem; border:1px solid var(--line); border-radius:999px; padding:7px 12px; background:var(--surface); color:var(--ink); }
.grid-list{ display:grid; grid-template-columns:repeat(3, 1fr); gap:0 36px; }
.grid-list .item{ border-top:1px solid var(--line); padding:20px 0 24px; }
.grid-list h3{ margin:8px 0 6px; font-size:1.12rem; }
.grid-list p{ margin:0; color:var(--muted); font-size:.92rem; font-family:var(--f-read); }
@media (max-width: 900px){ .grid-list{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width: 560px){ .grid-list{ grid-template-columns:1fr; } }
.pager{ display:flex; gap:6px; flex-wrap:wrap; justify-content:center; margin:40px 0 10px; }
.pager a, .pager span{ min-width:42px; height:42px; display:grid; place-items:center; border-radius:var(--r-s); border:1px solid var(--line); background:var(--surface); font-weight:650; padding:0 10px; }
.pager [aria-current="page"]{ background:var(--accent); color:var(--accent-ink); border-color:var(--accent); }
.empty{ padding:40px; border:1.5px dashed var(--line); border-radius:var(--r-m); text-align:center; color:var(--muted); }

/* ścieżki - lista */
.paths{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.pathbox{ border:1.5px solid var(--ink); border-radius:var(--r-l); padding:26px; background:var(--surface); display:flex; flex-direction:column; gap:10px; }
.pathbox p{ margin:0; color:var(--muted); }
.pathbox .cnt{ font-weight:650; font-size:.9rem; color:var(--accent); }
@media (max-width: 760px){ .paths{ grid-template-columns:1fr; } }
.path-big .steps li{ padding-bottom:26px; padding-left:56px; }
.path-big .steps li::before{ width:38px; height:38px; font-size:1rem; }
.path-big .steps li::after{ left:18.5px; top:40px; }
.path-big .steps a{ font-size:1.25rem; }

/* artykuł */
.progress{ position:fixed; left:0; top:env(safe-area-inset-top,0px); height:3px; background:var(--accent); width:0; z-index:70; }
.art-head{ padding:6px 0 30px; }
.art-head h1{ font-size:clamp(2rem, 4.4vw, 3.3rem); max-width:22ch; margin:14px 0 18px; }
.art-band{ height:10px; border-radius:999px; background:var(--t); margin:0 0 6px; }
.art-grid{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:56px; align-items:start; padding-bottom:40px; }
.prose{ font-family:var(--f-read); font-size:1.18rem; line-height:1.7; max-width:68ch; }
.prose h2{ font-size:1.6rem; margin:1.6em 0 .5em; }
.callout{ border-left:4px solid var(--d); background:var(--t); padding:18px 22px; border-radius:0 var(--r-m) var(--r-m) 0; margin:0 0 28px; }
.callout strong{ font-family:var(--f-ui); display:block; font-size:.95rem; margin-bottom:4px; }
.skel{ display:grid; gap:12px; margin:22px 0; }
.skel i{ display:block; height:12px; border-radius:6px; background:var(--line); }
.skel i:nth-child(3n){ width:82%; } .skel i:nth-child(4n){ width:64%; }
.note{ font-family:var(--f-ui); font-size:.9rem; color:var(--warn-ink); background:var(--warn); padding:10px 14px; border-radius:var(--r-s); }
.aside{ position:sticky; top:calc(env(safe-area-inset-top,0px) + 92px); display:grid; gap:18px; }
.box{ border:1px solid var(--line); background:var(--surface); border-radius:var(--r-m); padding:18px; }
.box h2{ font-size:1rem; letter-spacing:-.01em; margin-bottom:10px; font-variation-settings:"opsz" 24; }
.box p{ margin:0 0 10px; font-size:.92rem; color:var(--muted); }
.box .acts{ display:flex; gap:8px; flex-wrap:wrap; }
.box-path ol{ margin:0; padding-left:20px; font-size:.92rem; }
.box-path li{ margin:4px 0; }
.box-path li[aria-current="step"]{ font-weight:700; }
.pn{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:34px 0 0; }
.pn a{ border:1px solid var(--line); border-radius:var(--r-m); padding:16px; background:var(--surface); font-family:var(--f-ui); }
.pn a small{ display:block; color:var(--muted); font-size:.8rem; }
.pn a b{ display:block; font-size:1rem; line-height:1.3; margin-top:2px; }
.pn a:last-child{ text-align:right; }
@media (max-width: 960px){ .art-grid{ grid-template-columns:1fr; } .aside{ position:static; } }

/* narzędzia - formularze */
.calc{ display:grid; grid-template-columns:1fr 1fr; gap:30px; align-items:start; }
.form{ display:grid; gap:16px; }
.form label{ display:grid; gap:6px; font-weight:600; font-size:.95rem; }
.form input[type=number], .form input[type=email], .form input[type=text], .form textarea, .form select{ font:inherit; font-weight:500; padding:12px 14px; border-radius:var(--r-s); border:1.5px solid var(--line); background:var(--surface); color:var(--ink); width:100%; }
.form input:focus, .form textarea:focus, .form select:focus{ border-color:var(--accent); outline:none; box-shadow:0 0 0 3px var(--accent-soft); }
.seg{ display:inline-flex; border:1.5px solid var(--ink); border-radius:999px; overflow:hidden; }
.seg button{ border:0; background:transparent; padding:8px 16px; font-weight:650; font-size:.9rem; }
.seg button[aria-pressed="true"]{ background:var(--ink); color:var(--bg); }
.result{ background:var(--ink); color:var(--bg); border-radius:var(--r-l); padding:28px; display:grid; gap:18px; }
.result dl{ margin:0; display:grid; gap:14px; }
.result dt{ font-size:.88rem; opacity:.8; }
.result dd{ margin:0; font-size:clamp(1.6rem,3.4vw,2.3rem); font-weight:750; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.result small{ opacity:.8; }
.checklist{ list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.checklist label{ display:flex; gap:12px; align-items:flex-start; padding:14px 16px; border:1px solid var(--line); border-radius:var(--r-m); background:var(--surface); font-weight:500; }
.checklist input{ width:20px; height:20px; margin-top:2px; accent-color:var(--accent); flex:none; }
.bar{ height:8px; border-radius:999px; background:var(--line); overflow:hidden; }
.bar i{ display:block; height:100%; background:var(--ok); width:0; transition:width .3s; }
@media (max-width: 860px){ .calc{ grid-template-columns:1fr; } }

/* stopka */
.pre-ftr{ margin-top:80px; background:var(--accent); color:var(--accent-ink); }
.pre-ftr .wrap{ display:grid; grid-template-columns:1fr auto; gap:24px; align-items:center; padding:30px 0; }
.pre-ftr h2{ font-size:clamp(1.3rem,2.2vw,1.7rem); color:inherit; }
.pre-ftr p{ margin:6px 0 0; opacity:.85; }
.pre-ftr .chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.pre-ftr .chips a{ border:1px solid color-mix(in srgb, var(--accent-ink) 45%, transparent); border-radius:999px; padding:6px 13px; font-weight:600; font-size:.88rem; }
.pre-ftr .chips a:hover{ background:var(--accent-ink); color:var(--accent); }
.pre-ftr .btn{ background:var(--mark); border-color:var(--mark); color:var(--mark-ink); }
@media (max-width: 800px){ .pre-ftr .wrap{ grid-template-columns:1fr; } }
.ftr{ border-top:1.5px solid var(--ink); background:var(--surface); padding:52px 0 calc(28px + 72px + env(safe-area-inset-bottom,0px)); }
.ftr-grid{ display:grid; grid-template-columns:1.5fr repeat(4,1fr); gap:34px; }
.ftr h2{ font-size:.95rem; margin-bottom:14px; font-variation-settings:"opsz" 24; letter-spacing:0; }
.ftr ul{ list-style:none; padding:0; margin:0; display:grid; gap:8px; font-size:.93rem; }
.ftr ul a{ color:var(--ink-2); }
.ftr ul a:hover{ color:var(--accent); }
.ftr ul small{ color:var(--muted); font-size:.8rem; margin-left:4px; }
.ftr .brand p{ max-width:36ch; margin:14px 0 18px; font-size:.93rem; color:var(--muted); }
.ftr .mini{ display:flex; gap:6px; max-width:340px; }
.ftr .mini input{ flex:1; min-width:0; font:inherit; font-size:.92rem; border:1.5px solid var(--line); border-radius:999px; padding:9px 14px; background:var(--bg); color:var(--ink); }
.ftr .mini input:focus{ outline:none; border-color:var(--accent); }
.ftr .mini-out{ font-size:.85rem; font-weight:600; color:var(--ok); min-height:1.2em; margin:6px 0 0; }
.social{ display:flex; gap:8px; margin-top:18px; }
.social a{ width:38px; height:38px; border-radius:50%; border:1px solid var(--line); display:grid; place-items:center; color:var(--muted); }
.social svg{ width:18px; height:18px; }
.ftr-lex{ margin-top:40px; padding-top:26px; border-top:1px solid var(--line); display:flex; gap:18px; align-items:center; flex-wrap:wrap; }
.ftr-lex h2{ margin:0; }
.ftr-lex .az a{ min-width:34px; height:34px; font-size:.88rem; }
.ftr-bottom{ margin-top:26px; padding-top:20px; border-top:1px solid var(--line); display:flex; gap:10px 22px; flex-wrap:wrap; align-items:center; font-size:.84rem; color:var(--muted); }
.ftr-bottom a, .ftr-bottom button{ color:var(--ink-2); background:none; border:0; padding:0; font-size:inherit; text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--line); }
.ftr-bottom .top{ white-space:nowrap; margin-left:auto; text-decoration:none; display:inline-flex; gap:6px; align-items:center; font-weight:650; border:1px solid var(--line); border-radius:999px; padding:6px 12px; }
.ftr .disc{ font-size:.8rem; color:var(--muted); margin:18px 0 0; max-width:90ch; }
@media (max-width: 1020px){ .ftr-grid{ grid-template-columns:1fr 1fr 1fr; } .ftr .brand{ grid-column:1 / -1; } }
@media (max-width: 600px){ .ftr-grid{ grid-template-columns:1fr 1fr; } .ftr-bottom .top{ margin-left:0; } }
@media (min-width: 761px){ .ftr{ padding-bottom:30px; } }

/* pasek dolny (telefon) */
.mbar{ display:none; }
@media (max-width: 760px){
  .mbar{ display:grid; grid-template-columns:repeat(5,1fr); align-items:end; position:fixed; left:0; right:0; bottom:0; z-index:55; background:var(--surface); border-top:1px solid var(--line); padding-bottom:env(safe-area-inset-bottom,0px); transition:transform .25s ease; }
  .mbar.hide{ transform:translateY(110%); }
  .mbar a, .mbar > button{ display:grid; justify-items:center; gap:3px; padding:9px 0 8px; font-size:.7rem; font-weight:650; background:none; border:0; color:var(--muted); position:relative; }
  .mbar svg{ width:22px; height:22px; }
  .mbar [aria-current="page"]{ color:var(--accent); }
  .mbar [aria-current="page"]::before{ content:""; position:absolute; top:0; left:30%; right:30%; height:3px; border-radius:0 0 3px 3px; background:var(--accent); }
  .mbar .fab{ color:var(--ink); }
  .mbar .fab i{ width:50px; height:50px; margin-top:-22px; border-radius:50%; background:var(--accent); color:var(--accent-ink); display:grid; place-items:center; box-shadow:0 8px 20px -6px rgba(44,61,190,.6); border:3px solid var(--surface); }
}
@media (prefers-reduced-motion: reduce){ .mbar{ transition:none; } }
.sheet{ position:fixed; inset:0; z-index:85; background:rgba(10,14,30,.45); display:none; align-items:flex-end; }
.sheet.open{ display:flex; }
.sheet-in{ width:100%; background:var(--surface); border-radius:var(--r-l) var(--r-l) 0 0; padding:10px 20px calc(24px + env(safe-area-inset-bottom,0px)); max-height:85vh; overflow:auto; }
.sheet-in .grab{ width:44px; height:5px; border-radius:3px; background:var(--line); margin:4px auto 14px; }
.sheet-in .hd{ display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.sheet-in h2{ font-size:1.2rem; font-variation-settings:"opsz" 24; }
.sheet-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.sheet-grid a, .sheet-grid button{ display:grid; justify-items:center; gap:6px; text-align:center; padding:14px 6px; border:1px solid var(--line); border-radius:var(--r-m); font-weight:600; font-size:.82rem; background:var(--bg); }
.sheet-grid svg{ width:24px; height:24px; color:var(--accent); }
.sheet-in h3{ font-size:.85rem; color:var(--muted); margin:20px 0 10px; }
.sheet-chips{ display:flex; flex-wrap:wrap; gap:8px; }

/* modale */
.overlay{ position:fixed; inset:0; background:rgba(10,14,30,.5); z-index:80; display:none; align-items:flex-start; justify-content:center; padding:calc(env(safe-area-inset-top,0px) + 8vh) 16px 16px; }
.overlay.open{ display:flex; }
.dialog{ width:min(680px,100%); background:var(--surface); border-radius:var(--r-l); box-shadow:0 30px 80px rgba(0,0,0,.35); overflow:hidden; max-height:80vh; display:flex; flex-direction:column; }
.sbox{ display:flex; align-items:center; gap:12px; padding:16px 18px; border-bottom:1px solid var(--line); }
.sbox svg{ width:22px; height:22px; color:var(--muted); flex:none; }
.sbox input{ flex:1; border:0; outline:none; font:inherit; font-size:1.2rem; background:transparent; color:var(--ink); }
.sres{ overflow:auto; padding:8px; }
.sres a{ display:block; padding:10px 12px; border-radius:var(--r-s); }
.sres a[aria-selected="true"], .sres a:hover{ background:var(--accent-soft); color:var(--ink); }
.sres small{ display:block; color:var(--muted); font-size:.8rem; }
.sres .grp{ font-size:.78rem; font-weight:700; color:var(--muted); padding:10px 12px 4px; }
.shint{ padding:10px 18px; border-top:1px solid var(--line); font-size:.8rem; color:var(--muted); }
.panel{ position:fixed; right:16px; top:calc(env(safe-area-inset-top,0px) + 78px); z-index:75; width:min(330px, calc(100% - 32px)); background:var(--surface); border:1.5px solid var(--ink); border-radius:var(--r-l); padding:20px; display:none; box-shadow:0 20px 60px rgba(0,0,0,.2); }
.panel.open{ display:block; }
.panel h2{ font-size:1.15rem; margin-bottom:14px; font-variation-settings:"opsz" 24; }
.panel .row{ display:flex; justify-content:space-between; align-items:center; gap:10px; padding:10px 0; border-top:1px solid var(--line); font-weight:600; font-size:.93rem; }
.cookie{ position:fixed; left:16px; bottom:calc(16px + env(safe-area-inset-bottom,0px)); z-index:78; width:min(440px, calc(100% - 32px)); background:var(--surface); border:1.5px solid var(--ink); border-radius:var(--r-l); padding:20px; box-shadow:0 20px 60px rgba(0,0,0,.2); display:none; }
.cookie.open{ display:block; }
.cookie h2{ font-size:1.1rem; margin-bottom:8px; font-variation-settings:"opsz" 24; }
.cookie p{ margin:0 0 12px; font-size:.9rem; color:var(--muted); }
.cookie .opts{ display:none; gap:8px; margin:0 0 12px; }
.cookie .opts.open{ display:grid; }
.cookie .opts label{ display:flex; gap:10px; align-items:center; font-size:.9rem; font-weight:600; }
.cookie .acts{ display:flex; gap:8px; flex-wrap:wrap; }
@media (max-width: 760px){ .cookie{ bottom:calc(76px + env(safe-area-inset-bottom,0px)); } }

/* strony informacyjne */
.page-grid{ display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:50px; align-items:start; }
.page-grid .prose p{ margin:0 0 1em; }
@media (max-width: 900px){ .page-grid{ grid-template-columns:1fr; } }
.notes h2{ margin:36px 0 12px; font-size:1.4rem; }
.notes table{ width:100%; border-collapse:collapse; font-size:.92rem; }
.notes td, .notes th{ text-align:left; padding:8px 10px; border-bottom:1px solid var(--line); vertical-align:top; }
.tbl{ overflow-x:auto; }

@media print{
  .testbar,.hdr,.ftr,.mbar,.aside,.cookie,.panel,.overlay,.progress,.pn,.no-print{ display:none !important; }
  body{ background:#fff; color:#000; }
  .art-grid{ grid-template-columns:1fr; }
  .result{ background:#fff; color:#000; border:1px solid #000; }
}

/* ===== WordPress ===== */
body.admin-bar .hdr{ top:calc(env(safe-area-inset-top,0px) + 32px); }
@media (max-width: 782px){ body.admin-bar .hdr{ top:calc(env(safe-area-inset-top,0px) + 46px); } }
@media (max-width: 600px){ body.admin-bar .hdr{ top:env(safe-area-inset-top,0px); } }
.path-card .path-panel[hidden]{ display:none; }
.path-panel h2{ font-size:1.45rem; letter-spacing:-.02em; }
.path-panel > p{ margin:8px 0 18px; color:var(--muted); }
.az a[aria-current="true"]{ background:var(--ink); color:var(--bg); border-color:var(--ink); }
mark.ph{ background:var(--warn); color:var(--warn-ink); padding:0 4px; border-radius:3px; }
.art-img{ margin:0 0 30px; border-radius:var(--r-l); overflow:hidden; background:var(--t); }
.art-img img{ display:block; width:100%; height:auto; aspect-ratio:1020/560; object-fit:cover; }
.prose > *:first-child{ margin-top:0; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose table{ margin:0 0 1.1em; }
.prose ul, .prose ol{ padding-left:1.3em; }
.prose li{ margin:.3em 0; }
.prose li::marker{ color:var(--d, var(--accent)); }
.prose a{ color:var(--accent); text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; }
.prose h2{ font-size:1.6rem; margin:1.6em 0 .5em; }
.prose h3{ font-size:1.25rem; margin:1.4em 0 .4em; }
.prose h4{ font-family:var(--f-ui); font-size:1.05rem; margin:1.2em 0 .4em; }
.prose strong{ font-weight:600; }
.prose img{ height:auto; border-radius:var(--r-m); }
.prose figure{ max-width:100%; }
.prose figcaption{ font-family:var(--f-ui); font-size:.85rem; color:var(--muted); margin-top:6px; }
.prose blockquote{ border-left:4px solid var(--d, var(--accent)); margin-left:0; padding:4px 0 4px 20px; color:var(--ink-2); font-style:italic; }
.prose .wp-block-table, .prose .table-wrap{ overflow-x:auto; }
.prose table{ border-collapse:collapse; width:100%; font-family:var(--f-ui); font-size:.95rem; }
.prose th, .prose td{ border:1px solid var(--line); padding:8px 10px; text-align:left; vertical-align:top; }
.prose th{ background:var(--bg); }
.prose .aligncenter{ margin-left:auto; margin-right:auto; display:block; }
.prose .alignleft{ float:left; margin:0 20px 10px 0; } .prose .alignright{ float:right; margin:0 0 10px 20px; }
.prose iframe, .prose video{ max-width:100%; }
.prose .wp-block-button__link{ display:inline-flex; border-radius:999px; padding:12px 20px; background:var(--accent); color:var(--accent-ink); text-decoration:none; font-family:var(--f-ui); font-weight:650; }
.prose code{ font-size:.9em; background:var(--bg); padding:1px 5px; border-radius:4px; }
.page-content.prose{ font-size:1.12rem; }
.page-content .form, .page-content .calc{ font-family:var(--f-ui); font-size:1rem; line-height:1.55; }
.page-content .calc h2{ margin:0 0 10px; font-size:1rem; }
.page-content .news h2{ margin:0; }
.wide-content{ max-width:none; }
.screen-reader-text{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.kk-out.err{ color:var(--d-mama) !important; }
.adsbygoogle, .google-auto-placed{ max-width:100%; }
.no-theme-plugin{ padding:40px; text-align:center; }
.btn-search svg{ width:18px; height:18px; flex:none; }
.kk-hp{ position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; opacity:0; pointer-events:none; }
[hidden]{ display:none !important; }
