/* MIA LEGAL — page-only styles (same component language as miastart.css, page-local ml-* classes). Shared chrome:
   ig-style.css + ig-body.css; helpers from invoice-generator.css and consultations.css (kl-hero, kl-switch, kl-steps, kl-zal).
   Duo band (640–1100) designed here from the start; foldable.css adds the shared menu sheet / zalety rules.
   Safari-safe: no backdrop-filter, no color-mix; only opacity/transform/colour transitions. */
.ml-i{display:block;width:24px;height:24px;flex:none}

/* ===== Hero: the 3 live steps as a small wizard (Formularz -> Konsultacja -> Firma gotowa) ===== */
.ml-screen{background:#0B1A24}
.mlw{--acc:#13B8EE;--acc-soft:rgba(19,184,238,.14);--acc-bd:rgba(19,184,238,.42);--acc-ink:#04202C;
  position:absolute;inset:0;display:flex;flex-direction:column;gap:10px;padding:0 0 14px;color:#F3F7F9;font-size:12px;line-height:1.3;
  background:radial-gradient(110% 70% at 100% 0%,rgba(19,184,238,.12),transparent 60%),radial-gradient(90% 60% at 0% 100%,rgba(255,160,79,.08),transparent 60%),#0B1A24}
.mlw[data-k="staly"]{--acc:#68E2B4;--acc-soft:rgba(104,226,180,.14);--acc-bd:rgba(104,226,180,.42);--acc-ink:#06281C}
.mlw[data-k="cukr"]{--acc:#A78BFA;--acc-soft:rgba(167,139,250,.14);--acc-bd:rgba(167,139,250,.42);--acc-ink:#1A0F33}
.mlw-h{flex:none;display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.02)}
.mlw-ava{flex:none;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;color:#2A1300;background:linear-gradient(135deg,#FFC48F,#FFA04F)}
.mlw-ava svg{width:17px;height:17px}
.mlw-who{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.mlw-who b{font-size:13.5px;font-weight:750;letter-spacing:-.01em}
.mlw-who small{font-size:11px;color:#9FB2BC}
.mlw-cat{flex:none;font-size:10.5px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;padding:5px 9px;border-radius:999px;white-space:nowrap;
  color:var(--acc);background:var(--acc-soft);border:1px solid var(--acc-bd);transition:color .35s,background .35s,border-color .35s}
.mlw-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px;margin:0 16px;transition:opacity .35s ease,transform .35s ease}
.mlw-body.is-swap{opacity:0;transform:translateY(8px)}
/* rail */
.mlw-rail{flex:none;margin:0;padding:2px 0 0;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;position:relative}
.mlw-rail::before,.mlw-rail::after{content:"";position:absolute;left:12.5%;top:15px;height:2px}
.mlw-rail::before{right:12.5%;background:rgba(255,255,255,.1)}
.mlw-rail::after{width:0;background:linear-gradient(90deg,#13B8EE,#68E2B4);transition:width .6s ease}
.pk .mlw-rail::after{width:8%}.p2 .mlw-rail::after{width:25%}.c3 .mlw-rail::after{width:36%}.p3 .mlw-rail::after{width:50%}.p4 .mlw-rail::after{width:75%}
.mlw-st{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;min-width:0}
.mlw-st-dot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#7F94A0;background:#0F222E;border:1.5px solid rgba(255,255,255,.16);transition:color .3s,background .3s,border-color .3s,box-shadow .3s}
.mlw-st-dot svg{width:14px;height:14px}
.mlw-st-l{font-size:10.5px;font-weight:700;color:#7F94A0;line-height:1.15;transition:color .3s}
.mlw-st[data-s="1"] .mlw-st-dot{color:#04202C;background:#13B8EE;border-color:#13B8EE;box-shadow:0 0 0 4px rgba(19,184,238,.16)}
.mlw-st[data-s="1"] .mlw-st-l,.p2 .mlw-st[data-s="2"] .mlw-st-l,.p3 .mlw-st[data-s="3"] .mlw-st-l{color:#fff}
.p2 .mlw-st[data-s="1"] .mlw-st-dot{color:#13B8EE;background:rgba(19,184,238,.18);border-color:rgba(19,184,238,.5);box-shadow:none}
.p2 .mlw-st[data-s="2"] .mlw-st-dot{color:#04202C;background:#13B8EE;border-color:#13B8EE;box-shadow:0 0 0 4px rgba(19,184,238,.16)}
.p3 .mlw-st[data-s="2"] .mlw-st-dot{color:#13B8EE;background:rgba(19,184,238,.18);border-color:rgba(19,184,238,.5);box-shadow:none}
.p3 .mlw-st[data-s="3"] .mlw-st-dot{color:#06281C;background:#68E2B4;border-color:#68E2B4;box-shadow:0 0 0 4px rgba(104,226,180,.18)}
/* sheet with three stacked panes */
.mlw-sheet{position:relative;flex:1;min-height:0;display:grid;border-radius:16px;overflow:hidden;
  background:linear-gradient(160deg,rgba(255,255,255,.075),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.12);box-shadow:0 12px 28px rgba(0,0,0,.28)}
.mlw-pane{grid-area:1/1;min-width:0;padding:12px 13px;display:flex;flex-direction:column;gap:8px;opacity:0;visibility:hidden;transform:translateX(14px);
  transition:opacity .35s ease,transform .45s cubic-bezier(.2,.7,.2,1),visibility 0s linear .45s}
.mlw-p1,.p2 .mlw-p2,.p3 .mlw-p3{opacity:1;visibility:visible;transform:none;transition:opacity .35s ease .1s,transform .45s cubic-bezier(.2,.7,.2,1) .1s,visibility 0s}
.p2 .mlw-p1,.p3 .mlw-p2{opacity:0;visibility:hidden;transform:translateX(-14px);transition:opacity .3s ease,transform .4s ease,visibility 0s linear .4s}
.p3 .mlw-p1{opacity:0;visibility:hidden}
.mlw-t{margin:0 0 2px;font-size:13px;font-weight:800;letter-spacing:-.01em;color:#fff}
.mlw-f{display:flex;flex-direction:column;gap:4px}
.mlw-f-l{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700;color:#9FB2BC}
.mlw-f-l svg{width:11px;height:11px}
.mlw-f-in{display:flex;align-items:center;height:22px;padding:0 9px;border-radius:8px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.12);transition:border-color .3s,background .3s}
.mlw-f-in i{display:block;width:0;height:7px;border-radius:4px;background:linear-gradient(90deg,var(--acc),rgba(255,255,255,.35));transition:width .6s ease}
.f1 .mlw-f[data-f="1"] .mlw-f-in i{width:64%}.f2 .mlw-f[data-f="2"] .mlw-f-in i{width:78%}.f3 .mlw-f[data-f="3"] .mlw-f-in i{width:46%}
.f1:not(.f2) .mlw-f[data-f="1"] .mlw-f-in,.f2:not(.f3) .mlw-f[data-f="2"] .mlw-f-in,.f3:not(.pk) .mlw-f[data-f="3"] .mlw-f-in{border-color:var(--acc);background:var(--acc-soft)}
.mlw-pack{margin-top:auto;display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);
  transition:border-color .3s,background .3s,box-shadow .3s}
.pk .mlw-pack{border-color:var(--acc);background:var(--acc-soft);box-shadow:0 0 0 3px rgba(255,255,255,.03)}
.mlw-pack-ic{flex:none;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;color:var(--acc);background:var(--acc-soft);border:1px solid var(--acc-bd)}
.mlw-pack-ic svg{width:15px;height:15px}
.mlw-pack-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.mlw-pack-tx small{font-size:10px;color:#9FB2BC}
.mlw-pack-tx b{font-size:12.5px;font-weight:800;white-space:nowrap}
.mlw-pack-pr{flex:none;font-size:10.5px;color:#9FB2BC;white-space:nowrap}
.mlw-pack-pr b{font-size:15px;font-weight:800;color:#fff;letter-spacing:-.02em}
.mlw-c{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.1);
  opacity:.45;transform:translateY(4px);transition:opacity .3s,transform .35s ease,border-color .3s}
.c1 .mlw-c[data-c="1"],.c2 .mlw-c[data-c="2"],.c3 .mlw-c[data-c="3"]{opacity:1;transform:none;border-color:rgba(104,226,180,.35)}
.mlw-c-ic{flex:none;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;color:#FFA04F;background:rgba(255,160,79,.14)}
.mlw-c-ic svg{width:14px;height:14px}
.mlw-c-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.mlw-c-tx small{font-size:10px;color:#9FB2BC}
.mlw-c-tx b{font-size:12px;font-weight:750}
.mlw-c-tx i{display:block;width:52%;height:7px;border-radius:4px;background:rgba(255,255,255,.24)}
.mlw-c[data-c="3"] .mlw-c-tx i{width:38%}
.mlw-ok{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:#06281C;background:#68E2B4;transform:scale(0);transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
.mlw-ok svg{width:13px;height:13px;stroke-width:2.5}
.c1 .mlw-c[data-c="1"] .mlw-ok,.c2 .mlw-c[data-c="2"] .mlw-ok,.c3 .mlw-c[data-c="3"] .mlw-ok{transform:scale(1)}
.mlw-p3{align-items:center;justify-content:center;text-align:center;gap:10px}
.mlw-done-ic{width:52px;height:52px;border-radius:18px;display:grid;place-items:center;color:#06281C;background:linear-gradient(140deg,#8CF0CA,#3FC994);box-shadow:0 10px 26px rgba(104,226,180,.28);
  transform:scale(.7);transition:transform .45s cubic-bezier(.3,1.5,.5,1) .15s}
.p3 .mlw-done-ic{transform:none}
.mlw-done-ic svg{width:26px;height:26px}
.mlw-done-t{margin:0;font-size:16px;font-weight:800;letter-spacing:-.02em;color:#fff}
.mlw-done-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.mlw-done-chips span{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:999px;font-size:10.5px;font-weight:700;color:#D0DADF;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14)}
.mlw-done-chips svg{width:12px;height:12px;color:#68E2B4}
.mlw-done-chips b{color:#fff}
/* t85: every wizard step fits inside the mockup at every width: compact form/consultation rows + a minimum screen height */
.mlw-p1,.mlw-p2{gap:6px;padding:10px 12px}
.mlw-p1 .mlw-t,.mlw-p2 .mlw-t{margin:0}
.mlw-f{gap:3px}
.mlw-f-in{height:19px}
.mlw-pack{gap:8px;padding:6px 9px;border-radius:11px}
.mlw-pack-ic{width:24px;height:24px;border-radius:8px}
.mlw-pack-ic svg{width:13px;height:13px}
.mlw-pack-tx{gap:0}
.mlw-c{padding:6px 9px}
.mlw-c-ic{width:24px;height:24px}
.ml-hero .ml-screen{aspect-ratio:auto;min-height:356px}
.ml-hero .ml-screen::before{content:"";display:block;padding-top:56.25%}
.ml-hero-mob{display:none}
@media (min-width:769px){.ml-screen .mlw-body{margin-right:calc(29% + 8px)}}
@media (min-width:1101px) and (max-width:1200px){.ml-screen .mlw-body{margin-right:calc(33% + 8px)}}
@media (min-width:769px) and (max-width:1100px){.mlw-cat{display:none}}
@media (max-width:1100px){.ml-hero .hero-grid{grid-template-columns:minmax(0,1fr)}.ml-hero .hero-copy,.ml-hero-mob,.mlw-mob{min-width:0;max-width:100%}}
@media (max-width:768px){
  .ml-hero .hero-visual{display:none}
  .ml-hero-mob{display:block;position:relative;width:100%}
  .mlw-mob{position:relative;inset:auto;height:360px;border-radius:22px;border:1px solid rgba(255,255,255,.12);overflow:hidden;box-shadow:0 14px 34px rgba(0,0,0,.3)}
  .mlw-mob .mlw-body{margin:0 12px}
}
@media (max-width:400px){.mlw-mob .mlw-cat{display:none}}
@media (prefers-reduced-motion:reduce){.mlw-body,.mlw-pane,.mlw-f-in i,.mlw-pack,.mlw-c,.mlw-ok,.mlw-done-ic,.mlw-rail::after,.mlw-st-dot{transition:none}}

/* ===== Cennik (t92): Standard | Plus mode toggle + 4 tariffs visible at once (Aleks's Figma logic, our dark-glass style).
   Desktop: 4 columns; Duo (640–1100): 2 x 2; phones (≤639): tariff selector + one centred card.
   Mode variants (label, price, list, button) share one grid cell: the taller reserves the height, so switching never jumps. ===== */
.ml-pricing,.ml-zal,.ml-steps{background-color:transparent}
.ml-pricing .bh{margin-bottom:24px}
.ml-mode{margin:0 auto 26px}
.ml-mode .ig-period{padding:12px 20px}
.ml-mt{display:inline-flex;align-items:baseline;gap:8px;white-space:nowrap}
.ml-mt b{font-weight:800}
.ml-msep{opacity:.45;font-weight:400}
.ml-md{font-weight:600}
.ml-mode .ig-switch-thumb,.ml-size .ig-switch-thumb{transition:transform .35s cubic-bezier(.2,.7,.2,1),width .35s cubic-bezier(.2,.7,.2,1),background-color .35s}
.ml-mode .ig-period:focus-visible,.ml-size .ig-period:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.ml-panels{max-width:1240px;margin:0 auto}
.ml-panel{min-width:0}
.ml-size{display:none}
.ml-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}

/* tariff card */
.ml-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:22px 18px 20px;border-radius:24px;
  background:radial-gradient(120% 45% at 100% 0%,var(--acc-soft),transparent 60%),linear-gradient(160deg,rgba(255,255,255,.075),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.12);box-shadow:0 22px 50px rgba(0,0,0,.3),inset 0 3px 0 var(--acc)}
.ml-card-top{display:flex;align-items:center;gap:11px;margin-bottom:14px}
.ml-card-ic{flex:none;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;color:var(--acc);background:var(--acc-soft);border:1px solid var(--acc-bd)}
.ml-card-ic svg{width:21px;height:21px}
.ml-card-nm{min-width:0}
.ml-lab{margin:0 0 3px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--acc)}
.ml-card h3{margin:0;font-size:18px;font-weight:800;letter-spacing:-.01em;color:#fff;line-height:1.15}
.ml-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;margin:0 0 16px}
.ml-price b{font-size:clamp(34px,2.7vw,42px);font-weight:750;letter-spacing:-.04em;line-height:1;color:#fff}
.ml-price span{font-size:13.5px;font-weight:600;color:var(--b-muted,#9FB2BC)}
.ml-bases{margin:0 0 16px;padding:0;list-style:none;display:flex;flex-direction:column;gap:7px}
.ml-bases li{position:relative;padding-left:17px;font-size:14px;line-height:1.35;color:var(--b-ink2,#D0DADF)}
.ml-bases li::before{content:"";position:absolute;left:2px;top:.42em;width:7px;height:7px;border-radius:50%;background:var(--acc);box-shadow:0 0 0 3px var(--acc-soft)}
.ml-inc-h{margin:0 0 10px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08);font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--b-muted,#9FB2BC)}
.ml-inc{flex:1;margin:0 0 18px}
.ml-feats{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px}
.ml-feats li{display:flex;align-items:flex-start;gap:10px;min-width:0}
.ml-fi{flex:none;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;color:var(--acc);background:var(--acc-soft);border:1px solid var(--acc-bd)}
.ml-fi svg{width:15px;height:15px}
.ml-ft{min-width:0;padding-top:5px;font-size:13.5px;line-height:1.35;color:var(--b-ink2,#D0DADF)}
.ml-ft b{color:#fff;font-weight:800}
/* bonus marker ("Pakiet Standard +" in Plus): inverted tile, solid accent, dark icon, soft glow */
.ml-feats li.is-bonus .ml-fi{color:#07141C;background:var(--acc);border-color:var(--acc);box-shadow:0 4px 14px var(--acc-bd)}
.ml-buy{width:100%;min-height:48px;justify-content:center;background:var(--acc);border-color:var(--acc);color:var(--acc-ink);box-shadow:0 10px 24px rgba(0,0,0,.25)}
.ml-buy:hover{filter:brightness(1.06)}
/* mode variants */
.ml-vs{display:grid;grid-template-columns:minmax(0,1fr)}
.ml-v{grid-area:1/1;min-width:0;transition:opacity .3s ease .05s,transform .35s cubic-bezier(.2,.7,.2,1) .05s,visibility 0s}
.ml-pricing[data-mode="std"] .ml-v[data-v="plus"],.ml-pricing[data-mode="plus"] .ml-v[data-v="std"]{opacity:0;visibility:hidden;transform:translateY(6px);
  transition:opacity .2s ease,transform .25s ease,visibility 0s linear .25s}
.ml-vs-inc{height:100%}

/* ---- 1101–1279: 4 narrower columns ---- */
@media (min-width:1101px) and (max-width:1279px){
  .ml-cards{gap:12px}
  .ml-card{padding:20px 15px 18px}
  .ml-card-ic{width:38px;height:38px;border-radius:12px}
  .ml-card h3{font-size:16.5px}
  .ml-bases li,.ml-ft{font-size:13px}
}
/* ---- Duo (640–1100): 2 x 2, base reasons as compact chips ---- */
@media (min-width:640px) and (max-width:1100px){
  .ml-pricing .bh{margin-bottom:20px}
  .ml-mode{margin-bottom:20px}
  .ml-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:900px;margin:0 auto}
  .ml-card{padding:22px 20px 20px}
  .ml-card-top{margin-bottom:12px}
  .ml-price{margin-bottom:14px}
  .ml-price b{font-size:38px}
  .ml-bases{flex-direction:row;flex-wrap:wrap;gap:6px;margin-bottom:14px}
  .ml-bases li{padding:5px 10px 5px 22px;border-radius:999px;font-size:12.5px;line-height:1.25;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1)}
  .ml-bases li::before{left:9px;top:50%;width:6px;height:6px;margin-top:-3px;box-shadow:none}
  .ml-inc-h{padding-top:12px}
  .ml-feats{gap:8px}
  .ml-buy{min-height:46px}
}
@media (min-width:640px) and (max-width:760px){
  .ml-mode{width:100%;max-width:560px}
  .ml-mode .ig-period{flex:1 1 0;min-width:0;justify-content:center;padding:9px 8px}
  .ml-mt{flex-direction:column;align-items:center;gap:1px;white-space:normal;text-align:center}
  .ml-msep{display:none}
  .ml-md{font-size:12px;line-height:1.2}
  .ml-cards{gap:12px}
  .ml-card{padding:20px 16px 18px}
  .ml-card h3{font-size:16.5px}
  .ml-ft{font-size:13px}
}
/* ---- Phones (≤639): Standard | Plus on top, tariff selector, one centred card ---- */
@media (max-width:639px){
  .ml-pricing{padding-top:64px;padding-bottom:64px}
  .ml-pricing .bh{margin-bottom:18px}
  .ml-pricing .bh h2{font-size:30px;margin-bottom:10px}
  .ml-mode{width:100%;max-width:460px;margin:0 auto 12px}
  .ml-mode .ig-period{flex:1 1 0;min-width:0;justify-content:center;padding:9px 6px}
  .ml-mt{flex-direction:column;align-items:center;gap:1px;white-space:normal;text-align:center}
  .ml-msep{display:none}
  .ml-mt b{font-size:15px}
  .ml-md{font-size:11.5px;line-height:1.2;font-weight:600}
  .ml-size{display:flex;width:100%;max-width:460px;margin:0 auto 16px}
  .ml-size .ig-period{flex:1 1 auto;min-width:0;justify-content:center;padding:9px 6px}
  .ml-size .ig-period b{font-size:13px;font-weight:800}
  .ml-size[data-sel="cukr"] .ig-switch-thumb{background:#A78BFA}
  .ml-size[data-sel="staly"] .ig-switch-thumb{background:#68E2B4}
  .ml-size[data-sel="obyw"] .ig-switch-thumb{background:#FFA04F}
  .ml-size[data-sel="cukr"] .ig-period.is-active{color:#1A0F33}
  .ml-size[data-sel="staly"] .ig-period.is-active{color:#06281C}
  .ml-size[data-sel="obyw"] .ig-period.is-active{color:#2A1300}
  .ml-panels{max-width:460px}
  .ml-cards{display:block}
  .ml-card:not(.is-on){display:none}
  .ml-card.is-on{animation:mlIn .35s ease}
  .ml-card{padding:22px 18px 18px;border-radius:24px;box-shadow:0 12px 28px rgba(0,0,0,.28),inset 0 3px 0 var(--acc)}
  .ml-price b{font-size:42px}
  .ml-bases li,.ml-ft{font-size:14px}
}
@keyframes mlIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.ml-v,.ml-mode .ig-switch-thumb,.ml-size .ig-switch-thumb{transition:none!important}.ml-card.is-on{animation:none}}

/* ===== Zalety: 7 live advantages. Desktop: the shared ig-zal 4 + 3 grid; Duo: the shared foldable.css rules
   (2 / 3 columns, last tile centred); phones: one column. ===== */
.ml-zal .zt-ic svg{width:26px;height:26px}
.ml-zal .zt-ic.zt-cyan{background:rgba(19,184,238,.12);color:#13B8EE}
.ml-zal .zt-ic.zt-orange{background:rgba(255,160,79,.12);color:#FFA04F}
.ml-zal .zt-ic.zt-lime{background:rgba(104,226,180,.12);color:#68E2B4}
.ml-nw{white-space:nowrap}

/* MIA LEGAL specifics */
.ml-note{display:flex;align-items:flex-start;gap:12px;max-width:920px;box-sizing:border-box;margin:22px auto 0;padding:14px 18px;border-radius:16px;
  background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.1);font-size:14px;line-height:1.55;color:#C9D6DE}
.ml-note svg{flex:none;width:18px;height:18px;margin-top:2px;color:#13B8EE}
.ml-note a,.ml-hero .hero-lead a,.ml-teaser a{color:#8EE3FE;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.ml-note a:hover,.ml-hero .hero-lead a:hover,.ml-teaser a:hover{color:#fff}
.mlw-done-chips{max-width:100%;box-sizing:border-box}
.mlw-done-chips span{max-width:100%;box-sizing:border-box;text-align:left;line-height:1.25}
.mlw-done-chips svg{flex:none}
.mlw-done-chips b{font-weight:700}
.mlw-sheet{grid-template-columns:minmax(0,1fr)}
@media (prefers-reduced-motion:reduce){.mlw-body .mlw-pane,.mlw-body .mlw-c,.mlw-body .mlw-ok,.mlw-body .mlw-done-ic{transition:none}}
/* long live H1 ("MIA LEGAL – kompleksowa obsługa legalizacji w Polsce"): a step smaller than the shared kl-hero size */
@media (min-width:901px){.ml-hero h1{font-size:clamp(40px,3.9vw,56px);line-height:1.02}}
.ml-teaser{align-items:flex-start}
.ml-teaser .kl-live{margin-top:6px;flex:none}

/* t92: hero step 4 "Karta pobytu" (the result): a residence-card visual + the live panel-status line */
.mlw-st[data-s="4"] .mlw-st-l{white-space:nowrap}
.p3 .mlw-st[data-s="3"] .mlw-st-l,.p4 .mlw-st[data-s="4"] .mlw-st-l{color:#fff}
.p4 .mlw-st[data-s="3"] .mlw-st-l{color:#7F94A0}
.p4 .mlw-st[data-s="3"] .mlw-st-dot{color:#68E2B4;background:rgba(104,226,180,.16);border-color:rgba(104,226,180,.5);box-shadow:none}
.p4 .mlw-st[data-s="4"] .mlw-st-dot{color:#06281C;background:#68E2B4;border-color:#68E2B4;box-shadow:0 0 0 4px rgba(104,226,180,.18)}
.p4 .mlw-p4{opacity:1;visibility:visible;transform:none;transition:opacity .35s ease .1s,transform .45s cubic-bezier(.2,.7,.2,1) .1s,visibility 0s}
.p4 .mlw-p3{opacity:0;visibility:hidden;transform:translateX(-14px);transition:opacity .3s ease,transform .4s ease,visibility 0s linear .4s}
.p4 .mlw-p1,.p4 .mlw-p2{opacity:0;visibility:hidden}
.mlw-p4{align-items:center;justify-content:center;text-align:center;gap:9px}
.mlw-kp{display:flex;align-items:center;gap:10px;width:100%;max-width:260px;box-sizing:border-box;padding:10px 12px;border-radius:12px;text-align:left;
  background:linear-gradient(135deg,var(--acc-soft),rgba(255,255,255,.04));border:1px solid var(--acc-bd);box-shadow:0 10px 24px rgba(0,0,0,.3);
  transform:translateY(6px) scale(.96);transition:transform .5s cubic-bezier(.3,1.4,.5,1) .15s}
.p4 .mlw-kp{transform:none}
.mlw-kp-ph{flex:none;width:36px;height:44px;border-radius:8px;display:grid;place-items:center;color:#9FB2BC;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
.mlw-kp-ph svg{width:18px;height:18px}
.mlw-kp-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.mlw-kp-tx small{font-size:9.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--acc)}
.mlw-kp-tx b{font-size:12px;font-weight:800;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mlw-kp-tx i{display:block;height:6px;width:80%;border-radius:3px;background:rgba(255,255,255,.2)}
.mlw-kp-tx i + i{width:55%;background:rgba(255,255,255,.12)}
.mlw-kp-ok{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:#06281C;background:#68E2B4}
.mlw-kp-ok svg{width:13px;height:13px;stroke-width:2.5}
.mlw-p4 .mlw-done-t{font-size:15px}
@media (prefers-reduced-motion:reduce){.mlw-body .mlw-kp,.mlw-body.p4 .mlw-pane,.mlw-st-l{transition:none}}
