/* FINATA.pl: strona główna. Świat: czerń sygnetu, neon tylko na czerni, błękit iOS dla działań, Archivo z osią szerokości. */

:root {
  --czern: #0b0b0c;
  --czern-2: #161618;
  --czern-3: #222226;
  --tlo: #f3f3f4;
  --tlo-2: #e8e8ea;
  --karta: #ffffff;
  --tekst: #111113;
  --cichy: #55555c;
  --slaby: #66666e;
  --linia: #e4e4e7;
  --linia-mocna: #cdcdd2;
  --neon: #39ff14;
  --na-neonie: #06210f;
  --blekit: #0071e3;
  --blekit-mocny: #0062c4;
  --blekit-jasny: #5aa9ff;
  --goracy: #ff5a1f;
  --goracy-tekst: #c2410c;
  --goracy-tlo: #fff1ea;
  --komplet: #1a7f37;
  --komplet-tlo: #e9f7ec;
  --na-ciemnym: rgb(255 255 255 / 0.74);
  --na-ciemnym-slaby: rgb(255 255 255 / 0.56);

  --pad: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --nav-h: 68px;
  --r-duzy: 28px;
  --r-sredni: 18px;
  --r-maly: 12px;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-app: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: #9a9aa0 transparent; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tekst);
  background: var(--czern);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: rgb(0 113 227 / 0.2); color: inherit; }
.ciemna ::selection { background: rgb(57 255 20 / 0.38); }
:focus-visible { outline: 3px solid var(--blekit); outline-offset: 3px; border-radius: 6px; }
.ciemna :focus-visible { outline-color: var(--neon); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ik { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg use { --x: 0; }
.pomin { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blekit); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.pomin:focus { top: 12px; }

.jasna { background: var(--tlo); color: var(--tekst); }
.ciemna { background: var(--czern); color: #fff; }

/* ---------- Przyciski ---------- */
.przycisk {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.95em 1.4em; border-radius: 14px; border: 1px solid transparent;
  font-weight: 650; font-stretch: 104%; font-size: 1rem; line-height: 1.1; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.przycisk .ik { transition: transform 0.3s var(--ease); }
.przycisk:hover .ik { transform: translateX(3px); }
.przycisk-glowny { background: var(--blekit); color: #fff; box-shadow: 0 10px 22px -12px rgb(0 0 0 / 0.45); }
.przycisk-glowny:hover { background: var(--blekit-mocny); transform: translateY(-1px); box-shadow: 0 16px 28px -14px rgb(0 0 0 / 0.55); }
.przycisk-glowny:active { transform: translateY(0); }
.przycisk-ciemny-drugi { background: rgb(255 255 255 / 0.07); color: #fff; border-color: rgb(255 255 255 / 0.16); }
.przycisk-ciemny-drugi:hover { background: rgb(255 255 255 / 0.13); border-color: rgb(255 255 255 / 0.28); }
.przycisk-drugi { background: var(--karta); color: var(--tekst); border-color: var(--linia-mocna); }
.przycisk-drugi:hover { border-color: var(--tekst); transform: translateY(-1px); }
.przycisk-maly { padding: 0.7em 1.05em; font-size: 0.9375rem; border-radius: 12px; }
.przycisk-duzy { padding: 1.1em 1.7em; font-size: 1.125rem; border-radius: 16px; }

/* ---------- Nawigacja ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  color: #fff; transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav.na-jasnym { background: rgb(243 243 244 / 0.86); color: var(--tekst); box-shadow: 0 1px 0 var(--linia); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.nav.na-ciemnym.przewiniete { background: rgb(11 11 12 / 0.82); box-shadow: 0 1px 0 rgb(255 255 255 / 0.07); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.nav-w { max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-znak { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08); }
.logo-napis { display: block; height: 18px; width: auto; aspect-ratio: 516 / 100; color: currentColor; }
.nav-linki { display: flex; gap: 4px; margin-right: auto; }
.nav-linki a, .nav-zaloguj { white-space: nowrap; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-size: 0.9375rem; font-weight: 550; opacity: 0.82; transition: opacity 0.2s, background-color 0.2s; }
.nav-linki a:hover, .nav-zaloguj:hover { opacity: 1; background: rgb(127 127 127 / 0.14); }
.nav-akcje { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-menu { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgb(127 127 127 / 0.3); background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.nav-menu .ik { width: 22px; height: 22px; }
.menu-mobilne { position: fixed; inset: 0; z-index: 60; background: var(--czern); color: #fff; padding: 96px var(--pad) 32px; display: flex; flex-direction: column; gap: 28px; }
.menu-mobilne[hidden] { display: none; }
.menu-mobilne nav { display: flex; flex-direction: column; }
.menu-mobilne nav a { font-size: 2rem; font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; text-decoration: none; padding: 10px 0; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.menu-zamknij { position: absolute; top: 12px; right: var(--pad); width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgb(255 255 255 / 0.25); background: transparent; display: grid; place-items: center; cursor: pointer; }
.menu-zamknij .ik { width: 22px; height: 22px; }

/* ---------- Wybór odbiorcy: biuro albo firma ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }
.wybor { display: inline-flex; gap: 4px; padding: 4px; border-radius: 15px; background: rgb(255 255 255 / 0.07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14); }
.wybor a { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 11px; text-decoration: none; font-weight: 650; font-size: 0.9375rem; font-stretch: 102%; color: rgb(255 255 255 / 0.78); white-space: nowrap; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.wybor a:hover { color: #fff; background: rgb(255 255 255 / 0.08); }
.wybor a[aria-current="page"] { background: #fff; color: var(--czern); }
.hero-wybor { grid-area: wybor; justify-self: start; margin-bottom: clamp(4px, 1.4vw, 16px); view-transition-name: wybor-odbiorcy; }
.nav-wybor { padding: 3px; border-radius: 13px; opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.nav-wybor a { padding: 7px 13px; font-size: 0.875rem; border-radius: 10px; }
.nav.pokaz-wybor .nav-wybor { opacity: 1; pointer-events: auto; transform: none; }
.nav.na-jasnym .nav-wybor { background: rgb(0 0 0 / 0.04); box-shadow: inset 0 0 0 1px var(--linia-mocna); }
.nav.na-jasnym .nav-wybor a { color: var(--cichy); }
.nav.na-jasnym .nav-wybor a:hover { color: var(--tekst); background: rgb(0 0 0 / 0.05); }
.nav.na-jasnym .nav-wybor a[aria-current="page"] { background: var(--czern); color: #fff; }
.menu-mobilne .wybor { align-self: flex-start; }

/* ---------- 1. Pierwszy ekran ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 96px)); overflow: clip; }
.hero-w { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); grid-template-areas: "wybor wybor" "tytul bok" "cta bok"; column-gap: clamp(24px, 4vw, 64px); row-gap: 36px; align-items: end; }
.hero-tytul { grid-area: tytul; }
.hero-bok { grid-area: bok; align-self: end; }
.hero-cta { grid-area: cta; }
.hero-tytul {
  font-size: clamp(2.9rem, 1.1rem + 6vw, 6rem); font-weight: 800; font-stretch: 114%;
  line-height: 0.94; letter-spacing: -0.04em; text-wrap: balance;
}
.hero-tytul .linia { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero-tytul .linia > span { display: inline-block; }
.js:not(.gotowe) .hero-tytul .linia > span { transform: translateY(110%); }
.js:not(.gotowe) .hero-bok, .js:not(.gotowe) .hero-cta, .js:not(.gotowe) .h-karta { opacity: 0; }
.js:not(.gotowe) .ramie { transform: scaleX(0); }
.ramie { display: inline-block; width: 0.62em; height: 0.15em; margin-left: 0.1em; border-radius: 0.08em; background: var(--neon); vertical-align: 0.08em; transform-origin: left center; }
.hero-lead { font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--na-ciemnym); max-width: 34em; }
.hero-akcje { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-drobne { margin-top: 16px; font-size: 0.875rem; color: var(--na-ciemnym-slaby); }

.hero-media { position: relative; margin-top: clamp(48px, 6vw, 88px); height: clamp(460px, 78vh, 860px); }
.hero-kadr {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(0 var(--kadr-x, var(--pad)) 0 var(--kadr-x, var(--pad)) round var(--kadr-r, var(--r-duzy)));
}
.hero-kadr img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 42%; transform: scale(var(--kadr-s, 1)); transform-origin: 70% 50%; }
.hero-kadr::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(11 11 12 / 0.55) 0%, rgb(11 11 12 / 0.1) 45%, rgb(11 11 12 / 0) 60%); pointer-events: none; }
.hero-karty { position: absolute; inset: 0; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); pointer-events: none; }
.h-karta {
  position: absolute; width: min(300px, 70vw); padding: 16px 18px; border-radius: var(--r-sredni);
  background: rgb(11 11 12 / 0.9); color: #fff; border: 1px solid rgb(255 255 255 / 0.09);
  box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.75), 0 0 0 1px rgb(57 255 20 / 0.05);
  font-size: 0.875rem;
}
.h-karta header { display: flex; align-items: center; gap: 12px; }
.h-karta header b { display: block; font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em; }
.h-karta header small { color: var(--na-ciemnym-slaby); font-size: 0.8rem; }
.h-karta-1 { left: calc(var(--pad) + 4%); top: 12%; }
.h-karta-2 { left: calc(var(--pad) + 19%); top: 43%; }
.h-karta-3 { left: calc(var(--pad) + 6%); bottom: 11%; display: flex; gap: 12px; align-items: flex-start; width: min(320px, 74vw); }
.h-karta-3 .ik { color: #fff; --ak: var(--neon); margin-top: 2px; }
.h-karta-3 p { line-height: 1.45; }
.h-karta-3 small { display: block; color: var(--na-ciemnym-slaby); margin-top: 2px; }
.monogram {
  display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, #2c2c2e 0%, #000 100%); color: var(--neon);
  font-weight: 800; font-stretch: 100%; font-size: 0.8rem; letter-spacing: 0.02em; box-shadow: inset 0 0 0 1px rgb(57 255 20 / 0.22);
}
.pasek-k, .kk-pasek { display: flex; gap: 3px; height: 6px; margin: 14px 0 10px; border-radius: 6px; background: rgb(255 255 255 / 0.1); overflow: hidden; }
.pasek-k span, .kk-pasek span { width: var(--w); background: var(--neon); border-radius: 6px; }
.pasek-k span.brak, .kk-pasek span.brak { background: var(--goracy); }
.kk-pasek span.czeka { background: #8e8e93; }
.h-stan { font-weight: 800; font-stretch: 108%; font-size: 1.05rem; letter-spacing: -0.01em; }
.h-stan span { font-weight: 400; font-stretch: 100%; font-size: 0.8rem; color: var(--na-ciemnym-slaby); margin-left: 6px; letter-spacing: 0; }
.neon { color: var(--neon); }
.goracy { color: var(--goracy); }

/* ---------- 1b. Integracje ---------- */
.integracje { padding: clamp(72px, 9vw, 128px) 0 clamp(56px, 7vw, 96px); }
.integracje-w { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.integracje h2 { font-size: clamp(1.6rem, 1rem + 1.8vw, 2.6rem); font-weight: 800; font-stretch: 110%; line-height: 1.05; letter-spacing: -0.03em; max-width: 20em; text-wrap: balance; }
.int-lista { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(28px, 4vw, 48px); }
.int { padding: 22px; border-radius: 22px; background: var(--karta); box-shadow: 0 0 0 1px var(--linia); display: flex; flex-direction: column; gap: 18px; transition: box-shadow 0.3s var(--ease), transform 0.4s var(--ease); }
.int:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--linia-mocna), 0 18px 34px -24px rgb(11 11 12 / 0.4); }
.int-logo { height: 56px; display: flex; align-items: center; }
.int-logo img { height: var(--h, 40px); width: auto; max-width: 100%; }
.int-napis { font-size: 2.6rem; font-weight: 900; font-stretch: 78%; letter-spacing: -0.02em; line-height: 1; color: var(--tekst); }
.int-napis-maly { font-size: 1.9rem; font-stretch: 90%; }
.int p { color: var(--cichy); font-size: 0.9375rem; line-height: 1.5; }
.int p b { display: block; color: var(--tekst); font-weight: 700; margin-bottom: 2px; }
.banki { margin-top: 12px; }
.banki-lista { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.banki-lista li { display: flex; align-items: center; justify-content: center; height: 84px; padding: 0 14px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--linia); }
.banki-lista img { max-width: 100%; }
.banki-kazdy { font-size: 0.875rem; font-weight: 600; line-height: 1.35; color: var(--cichy); text-align: center; }
.banki-lista img { height: var(--h, 28px); width: auto; filter: grayscale(1); opacity: 0.72; transition: filter 0.35s var(--ease), opacity 0.35s var(--ease); }
.banki-lista li:hover img { filter: none; opacity: 1; }
.banki-lista li.bialy img, .banki-lista li.bialy:hover img { filter: brightness(0); opacity: 0.72; }
.int-uwaga { margin-top: 22px; font-size: 0.8125rem; color: var(--slaby); }
@media (max-width: 900px) { .int-lista { grid-template-columns: 1fr 1fr; } .banki-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .banki-lista li { height: 70px; padding: 0 10px; } .banki-lista img { height: calc(var(--h, 28px) * 0.78); } }
@media (max-width: 520px) { .int { padding: 18px; } .int-napis { font-size: 2.1rem; } .int-napis-maly { font-size: 1.5rem; } .int-logo img { height: calc(var(--h, 40px) * 0.8); } }

/* ---------- 2. Manifest ---------- */
.manifest { padding: clamp(96px, 14vw, 200px) 0 clamp(80px, 10vw, 160px); }
.manifest-w { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.manifest-tekst { font-size: clamp(1.85rem, 0.9rem + 2.7vw, 3.5rem); font-weight: 750; font-stretch: 108%; line-height: 1.08; letter-spacing: -0.03em; text-wrap: pretty; }
.manifest-tekst .s { color: rgb(17 17 19 / var(--o, 1)); transition: color 0.2s linear; }
.przed-po { position: relative; }
.przed-po > img { border-radius: var(--r-duzy); width: 100%; aspect-ratio: 1; object-fit: cover; }
.po-karta {
  position: absolute; left: 9%; right: 9%; bottom: 13%;
  background: var(--karta); border-radius: 22px; padding: 22px 22px 18px; font-family: var(--font-app); font-size: 0.95rem;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7), 0 0 0 1px rgb(0 0 0 / 0.04);
}
.po-glowa { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.po-znak img { border-radius: 8px; }
.po-glowa b { display: block; font-size: 1.15rem; letter-spacing: -0.01em; }
.po-glowa small { color: var(--cichy); }
.po-lista li { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--linia); color: var(--cichy); }
.po-lista b { color: var(--tekst); font-variant-numeric: tabular-nums; }
.po-stan { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--komplet-tlo); color: var(--komplet); font-weight: 650; }
.przed-po figcaption { margin-top: 14px; font-size: 0.875rem; color: var(--cichy); }
.przed-po figcaption span { color: var(--slaby); }

/* ---------- 3. Miesiąc w biurze ---------- */
.miesiac { position: relative; }
.miesiac-pin { position: relative; padding: calc(var(--nav-h) + 24px) 0 24px; }
.js .miesiac-pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; }
.miesiac-w { flex: 1; min-height: 0; max-width: var(--max); width: 100%; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr); gap: clamp(28px, 3.4vw, 64px); align-items: center; }
.miesiac-lewa { display: flex; flex-direction: column; min-width: 0; }
.miesiac-naglowek { font-size: 1rem; font-weight: 700; font-stretch: 104%; letter-spacing: -0.005em; }
.miesiac-naglowek span { color: var(--cichy); font-weight: 500; margin-left: 6px; white-space: nowrap; }
.data { display: none; margin: clamp(10px, 2.4vh, 24px) 0 clamp(14px, 3vh, 32px); position: relative; perspective: 1100px; }
.js .data { display: block; }
.kartka { perspective: 1100px;
  position: relative; display: inline-flex; flex-direction: column; min-width: 13.5rem; border-radius: 20px; background: var(--karta);
  box-shadow: 0 4px 0 -1px var(--karta), 0 4px 0 0 var(--linia-mocna), 0 8px 0 -2px var(--karta), 0 8px 0 -1px var(--linia), 0 34px 60px -34px rgb(11 11 12 / 0.45);
}
.kartka-glowa { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 16px; border-radius: 20px 20px 0 0; background: var(--czern); color: #fff; font-size: 0.8125rem; font-weight: 700; font-stretch: 104%; }
.kartka-glowa::after { content: ""; width: 18px; height: 4px; border-radius: 2px; background: var(--neon); }
.kartka-tresc { position: relative; display: flex; flex-direction: column; align-items: center; padding: 14px 20px 14px; background: var(--karta); border-radius: 0 0 20px 20px; transform-origin: 50% 0%; }
.kartka-zdarta { position: absolute; left: 0; right: 0; top: 0; z-index: 3; pointer-events: none; box-shadow: 0 20px 30px -20px rgb(0 0 0 / 0.35); }
.data-liczba {
  display: block; font-size: clamp(6.5rem, 2rem + 9vw, 11.5rem); font-weight: 900; font-stretch: 62%;
  line-height: 0.78; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; color: var(--czern);
  transform-origin: 50% 0%; will-change: transform;
}
.data-dzien { font-size: 1rem; font-weight: 600; color: var(--cichy); margin-top: 10px; }
.kroki { display: grid; gap: 28px; }
.js .kroki { gap: 0; }
.js .krok { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease), visibility 0s linear 0.45s; }
.js .krok.aktywny { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s var(--ease) 0.08s, transform 0.7s var(--ease) 0.08s, visibility 0s; }
.krok h3 { font-size: clamp(1.6rem, 0.9rem + 1.7vw, 2.6rem); font-weight: 800; font-stretch: 110%; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.krok-d { display: block; font-size: 0.9375rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--cichy); margin-bottom: 6px; }
.js .krok-d { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.krok p { margin-top: 14px; color: var(--cichy); max-width: 30em; font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem); }

.miesiac-prawa { min-width: 0; display: flex; justify-content: center; }
.okno {
  position: relative; width: 100%; max-width: 1040px;
  aspect-ratio: 16 / 10.6; max-height: calc(100svh - var(--nav-h) - 150px);
  background: var(--karta); border-radius: 18px; overflow: hidden; container-type: inline-size;
  box-shadow: 0 50px 100px -40px rgb(11 11 12 / 0.45), 0 18px 36px -18px rgb(11 11 12 / 0.22), 0 0 0 1px rgb(11 11 12 / 0.08);
}
@supports not (container-type: inline-size) { .okno { font-size: 12px; } }
.okno-pasek { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #ececee; border-bottom: 1px solid var(--linia); }
.okno-pasek i { width: 10px; height: 10px; border-radius: 50%; background: #cfcfd4; }
.okno-pasek span { margin: 0 auto; transform: translateX(-24px); font-family: var(--font-app); font-size: 11px; color: var(--slaby); background: #fff; padding: 2px 40px; border-radius: 6px; }
.okno > .dane-przykladowe { top: 5px; bottom: auto; right: 10px; padding: 1px 8px; font-size: 10.5px; }
.dane-przykladowe { position: absolute; right: 12px; bottom: 10px; z-index: 5; font-family: var(--font-app); font-size: 11px; font-weight: 600; color: var(--slaby); background: rgb(255 255 255 / 0.92); padding: 3px 8px; border-radius: 6px; box-shadow: 0 0 0 1px var(--linia); }

/* Aplikacja w oknie: wszystko w em, skala z szerokości okna */
.app { font-family: var(--font-app); font-size: clamp(8px, 1.42cqi, 14px); color: var(--tekst); display: grid; grid-template-columns: 15em minmax(0, 1fr); height: calc(100% - 30px); line-height: 1.4; }
.app svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.app svg .a, .ik .a { stroke: var(--ak, currentColor); }
.app-bok { background: #f7f7f8; border-right: 1px solid var(--linia); padding: 1.1em 0.8em; display: flex; flex-direction: column; gap: 0.25em; }
.app-logo { display: flex; align-items: center; gap: 0.55em; padding: 0 0.5em 0.9em; font-weight: 800; letter-spacing: 0.01em; font-size: 1.05em; }
.app-logo img { width: 1.75em; height: 1.75em; border-radius: 0.45em; }
.app-bok ul { display: grid; gap: 0.15em; }
.app-bok li { display: flex; align-items: center; gap: 0.65em; padding: 0.5em 0.6em; border-radius: 0.6em; font-size: 0.92em; color: #3a3a40; white-space: nowrap; }
.app-bok li em { margin-left: auto; font-style: normal; font-size: 0.85em; font-weight: 700; color: var(--slaby); }
.app-bok li em svg { width: 1.1em; height: 1.1em; stroke: var(--komplet); }
.app-bok li.wybrany { background: var(--czern); color: #fff; --ak: var(--neon); box-shadow: 0 0.4em 0.9em -0.4em rgb(0 0 0 / 0.45), inset 0 0 0 1px rgb(57 255 20 / 0.12); }
.app-bok li.wybrany em { color: var(--neon); }
.app-bok small { margin: 0.9em 0.6em 0.3em; font-size: 0.72em; font-weight: 700; color: var(--slaby); letter-spacing: 0.04em; }
.app-konto { margin-top: auto; display: flex; align-items: center; gap: 0.6em; padding: 0.6em; border-top: 1px solid var(--linia); font-size: 0.85em; font-weight: 600; line-height: 1.25; }
.app-konto small { display: block; font-weight: 400; color: var(--slaby); }
.mono-maly { width: 2.3em; height: 2.3em; border-radius: 0.65em; font-size: 0.85em; }
.app-glowna { display: flex; flex-direction: column; min-width: 0; background: #fbfbfc; }
.app-gora { height: 3.4em; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 0 1.5em; border-bottom: 1px solid var(--linia); background: #fff; font-size: 0.92em; color: var(--cichy); }
.app-gora i { font-style: normal; margin: 0 0.3em; color: var(--slaby); }
.app-gora b { color: var(--tekst); }
.app-szukaj { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.45em 0.9em; border: 1px solid var(--linia); border-radius: 0.7em; color: var(--slaby); min-width: 16em; }
.ekrany { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.ekran { position: absolute; inset: 0; padding: 1.5em 1.7em; opacity: 0; visibility: hidden; transform: translateY(1.2em); transition: opacity 0.4s var(--ease), transform 0.6s var(--ease), visibility 0s linear 0.4s; }
.okno[data-ekran="1"] [data-e="1"], .okno[data-ekran="2"] [data-e="2"], .okno[data-ekran="3"] [data-e="3"],
.okno[data-ekran="5"] [data-e="5"], .okno[data-ekran="6"] [data-e="6"], .okno[data-ekran="7"] [data-e="7"] {
  opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s var(--ease) 0.1s, transform 0.7s var(--ease) 0.1s, visibility 0s;
}
.e-tytul { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-bottom: 1.1em; }
.e-tytul h4 { font-size: 1.65em; font-weight: 700; letter-spacing: -0.02em; }
.e-przycisk { background: var(--blekit); color: #fff; padding: 0.55em 1em; border-radius: 0.7em; font-weight: 600; font-size: 0.95em; }
.e-cichy { color: var(--slaby); font-size: 0.95em; }
.e-sync { display: inline-flex; align-items: center; gap: 0.6em; color: var(--blekit); font-weight: 600; font-size: 0.95em; }
.e-sync i { width: 1em; height: 1em; border-radius: 50%; border: 0.17em solid currentColor; border-right-color: transparent; animation: kreci 0.9s linear infinite; }
@keyframes kreci { to { transform: rotate(360deg); } }
.e-uwaga { margin-top: 1em; color: var(--slaby); font-size: 0.9em; }

/* wiersze pojawiają się po kolei */
.ekran tbody tr, .ekran .ksef-lista li, .ekran .paczka li, .ekran .podatki li {
  opacity: 0; transform: translateY(0.7em); transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}
.okno[data-ekran="1"] [data-e="1"] tbody tr, .okno[data-ekran="2"] [data-e="2"] li, .okno[data-ekran="3"] [data-e="3"] tbody tr,
.okno[data-ekran="5"] [data-e="5"] .paczka li, .okno[data-ekran="6"] [data-e="6"] .podatki li {
  opacity: 1; transform: none; transition-delay: calc(0.25s + var(--i) * 0.09s);
}
.import { display: flex; align-items: center; gap: 0.9em; padding: 0.9em 1.1em; border: 1px dashed var(--linia-mocna); border-radius: 0.9em; background: #fff; margin-bottom: 1em; }
.import > svg { width: 1.8em; height: 1.8em; color: var(--blekit); }
.import b { display: block; }
.import small { color: var(--slaby); }
.import-pasek { margin-left: auto; width: 7em; height: 0.4em; border-radius: 1em; background: var(--tlo-2); overflow: hidden; }
.import-pasek i { display: block; height: 100%; width: 100%; background: var(--blekit); border-radius: 1em; transform: scaleX(0); transform-origin: left; }
.okno[data-ekran="1"] .import-pasek i { transform: scaleX(1); transition: transform 1.1s var(--ease) 0.2s; }
.tab { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--linia); border-radius: 0.9em; overflow: hidden; font-size: 0.92em; }
.tab th { text-align: left; font-weight: 600; color: var(--slaby); font-size: 0.85em; padding: 0.6em 0.9em; border-bottom: 1px solid var(--linia); background: #fafafa; }
.tab td { padding: 0.55em 0.9em; border-bottom: 1px solid var(--linia); vertical-align: middle; }
.tab tr:last-child td { border-bottom: 0; }
.tab td b { display: block; font-weight: 600; }
.tab td small { color: var(--slaby); font-size: 0.88em; }
.tab td:first-child { color: var(--slaby); width: 2.6em; }
.kw { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.kw.plus { color: var(--blekit); }
.zakladki { display: inline-flex; gap: 0.25em; padding: 0.25em; background: var(--tlo-2); border-radius: 0.75em; margin-bottom: 1em; font-size: 0.92em; }
.zakladki span { padding: 0.4em 0.85em; border-radius: 0.55em; color: var(--cichy); }
.zakladki span.wyb { background: var(--czern); color: #fff; }
.zakladki em { font-style: normal; opacity: 0.7; margin-left: 0.2em; }
.ksef-lista { display: grid; gap: 0.5em; }
.ksef-lista li { display: flex; justify-content: space-between; align-items: center; gap: 1em; padding: 0.7em 1em; background: #fff; border: 1px solid var(--linia); border-radius: 0.8em; }
.ksef-lista b { display: block; font-weight: 600; }
.ksef-lista small { color: var(--slaby); font-size: 0.85em; }
.ksef-lista li > span { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ksef-lista li.sprzedaz > span { color: var(--blekit); }
.kompletnosc { display: flex; gap: 0.25em; height: 0.55em; margin-bottom: 1em; }
.kompletnosc span { width: var(--w); border-radius: 1em; }
.k-ok { background: var(--komplet); }
.k-czeka { background: #8e8e93; }
.k-brak { background: var(--goracy); }
.tab-stan tbody tr td { transition: background-color 0.5s var(--ease); }
.okno[data-ekran="3"] .tab-stan tr.r-ok td { background: var(--komplet-tlo); transition-delay: calc(0.7s + var(--i) * 0.12s); }
.okno[data-ekran="3"] .tab-stan tr.r-brak td { background: var(--goracy-tlo); transition-delay: calc(0.7s + var(--i) * 0.12s); }
.stan { display: inline-block; font-weight: 650; font-size: 0.92em; white-space: nowrap; }
.stan.ok { color: var(--komplet); }
.stan.brak { color: var(--goracy-tekst); }
.stan.cichy { color: var(--slaby); }
.stan.zamiennik { display: none; }
/* krok 4: telefon klienta zamyka brak */
.tel-klienta {
  position: absolute; right: 1.4em; bottom: -1.4em; width: 13.5em; height: 25em; border-radius: 2.2em; background: var(--czern);
  padding: 0.55em; box-shadow: 0 2em 4em -1.5em rgb(0 0 0 / 0.55); transform: translateY(110%) rotate(4deg); transition: transform 0.9s var(--ease);
}
.tel-ekran { height: 100%; border-radius: 1.75em; background: #fff; padding: 2.2em 0.9em 0.9em; display: flex; flex-direction: column; gap: 0.7em; position: relative; overflow: hidden; }
.tel-wiz { position: absolute; top: 0.6em; left: 50%; transform: translateX(-50%); width: 4.6em; height: 1.15em; border-radius: 1em; background: var(--czern); }
.tel-foto { position: relative; flex: 1; border-radius: 1em; background: linear-gradient(160deg, #3a3a3e, #19191b); display: grid; place-items: center; overflow: hidden; }
.paragon { width: 58%; height: 78%; background: #fbfbf7; border-radius: 0.2em; transform: rotate(-5deg); padding: 0.9em 0.7em; display: flex; flex-direction: column; gap: 0.5em; box-shadow: 0 1em 2em -0.5em rgb(0 0 0 / 0.6); }
.paragon i { display: block; height: 0.32em; background: #d6d6d2; border-radius: 0.2em; }
.paragon i:nth-child(2) { width: 70%; } .paragon i:nth-child(4) { width: 55%; }
.paragon b { margin-top: auto; height: 0.5em; width: 45%; align-self: flex-end; background: #a9a9a4; border-radius: 0.2em; }
.tel-ramka { position: absolute; inset: 12% 14%; border: 0.18em solid var(--neon); border-radius: 0.6em; opacity: 0; }
.tel-pasuje { font-size: 0.82em; display: flex; gap: 0.4em; align-items: flex-start; color: var(--cichy); }
.tel-pasuje svg { color: var(--komplet); }
.tel-pasuje b { color: var(--tekst); }
.tel-przycisk { background: var(--blekit); color: #fff; text-align: center; padding: 0.6em; border-radius: 0.7em; font-weight: 600; font-size: 0.9em; }
.adnotacja { position: absolute; font-family: var(--font); font-size: 0.95em; font-weight: 700; font-stretch: 104%; color: var(--neon); background: var(--czern); padding: 0.25em 0.6em; border-radius: 0.4em; opacity: 0; transform: translateY(0.4em); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); white-space: nowrap; }
.adnotacja::before { content: ""; position: absolute; height: 2px; background: var(--czern); top: 50%; }
.adn-1 { right: 16.4em; bottom: 9em; }
.adn-1::before { left: 100%; width: 1.5em; }
.opis-ok { display: none; }
.okno[data-krok="4"] .opis-brak { display: none; }
.okno[data-krok="4"] .opis-ok { display: block; color: var(--komplet) !important; font-weight: 600; }
.tab-stan, .kompletnosc { transition: width 0.8s var(--ease); width: 100%; }
.okno[data-krok="4"] .tab-stan, .okno[data-krok="4"] .kompletnosc { width: calc(100% - 15.5em); }
.okno[data-krok="4"] .tel-klienta { transform: translateY(0) rotate(-3deg); }
.okno[data-krok="4"] .tel-ramka { opacity: 1; transition: opacity 0.3s 0.9s; }
.okno[data-krok="4"] .adnotacja { opacity: 1; transform: none; transition-delay: 1.1s; }
.okno[data-krok="4"] .adn-2 { transition-delay: 1.6s; }
.okno[data-krok="4"] [data-wiersz-paliwo] td { background: var(--komplet-tlo) !important; transition-delay: 1.4s !important; }
.okno[data-krok="4"] [data-wiersz-paliwo] .stan.brak { display: none; }
.okno[data-krok="4"] [data-wiersz-paliwo] .stan.zamiennik { display: inline-block; animation: wskocz 0.5s var(--ease) 1.4s both; }
.okno[data-krok="4"] .kompletnosc .k-ok { --w: 93% !important; }
.okno[data-krok="4"] .kompletnosc .k-brak { --w: 5% !important; }
.kompletnosc span { transition: width 0.8s var(--ease) 1.4s; }
@keyframes wskocz { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }
/* ekran 5 */
.toast { display: flex; align-items: flex-start; gap: 0.8em; background: var(--czern); color: #fff; padding: 0.9em 1.1em; border-radius: 0.9em; margin-bottom: 1em; --ak: var(--neon); box-shadow: 0 1em 2em -1em rgb(0 0 0 / 0.5); transform: translateY(-0.6em); opacity: 0; transition: opacity 0.4s var(--ease), transform 0.6s var(--ease); }
.okno[data-ekran="5"] .toast { opacity: 1; transform: none; transition-delay: 0.3s; }
.toast small { display: block; color: var(--na-ciemnym-slaby); font-size: 0.85em; }
.paczka { background: #fff; border: 1px solid var(--linia); border-radius: 0.9em; padding: 0.9em 1.1em; }
.paczka-glowa { display: flex; align-items: center; gap: 0.6em; padding-bottom: 0.7em; border-bottom: 1px solid var(--linia); margin-bottom: 0.4em; }
.paczka-glowa span { margin-left: auto; color: var(--blekit); font-weight: 600; }
.paczka li { display: flex; align-items: center; gap: 0.6em; padding: 0.4em 0; color: var(--cichy); }
.paczka li svg { color: var(--slaby); }
.eksporty { display: flex; flex-wrap: wrap; gap: 0.4em; margin-top: 0.7em; padding-top: 0.8em; border-top: 1px solid var(--linia); }
.eksporty span { padding: 0.3em 0.7em; border-radius: 0.5em; background: var(--tlo); font-size: 0.88em; font-weight: 600; }
/* ekran 6 */
.podatki { display: grid; gap: 0.6em; }
.podatki li { display: grid; grid-template-columns: minmax(0, 1fr) auto 11em; align-items: center; gap: 1em; padding: 0.9em 1.1em; background: #fff; border: 1px solid var(--linia); border-radius: 0.9em; }
.podatki b { display: block; font-weight: 600; }
.podatki small { color: var(--slaby); }
.podatki .stan { text-align: right; }
/* ekran 7 */
.rok { display: flex; gap: 0.5em; height: 16em; padding: 1em 1em 0.6em; background: #fff; border: 1px solid var(--linia); border-radius: 0.9em; }
.rok > div { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.45em; }
.rok i { display: block; flex: none; height: calc((16em - 3.4em) * var(--f)); min-height: 0.25em; border-radius: 0.35em 0.35em 0.15em 0.15em; transform-origin: bottom; transform: scaleY(0); transition: transform 0.8s var(--ease); transition-delay: calc(var(--n, 0) * 45ms + 0.2s); }
.rok span { font-size: 0.78em; color: var(--slaby); text-align: center; line-height: 1; }
.rok .m-zak i { background: #2c2c2e; }
.rok .m-firma i { background: var(--linia-mocna); }
.rok .m-pusty i { background: transparent; box-shadow: inset 0 0 0 1px var(--linia-mocna); height: 2.2em; transform: none; }
.rok .m-teraz i { background: var(--czern); box-shadow: inset 0 0.35em 0 var(--neon); }
.rok .m-teraz span { color: var(--tekst); font-weight: 700; }
.okno[data-ekran="7"] .rok i { transform: scaleY(1); }
.rok-legenda { display: flex; gap: 1.4em; margin-top: 0.8em; font-size: 0.85em; color: var(--slaby); }
.rok-legenda span::before { content: ""; display: inline-block; width: 0.8em; height: 0.8em; border-radius: 0.2em; margin-right: 0.4em; vertical-align: -0.05em; }
.rok-legenda .m-zak::before { background: #2c2c2e; }
.rok-legenda .m-firma::before { background: var(--linia-mocna); }

/* Kalendarz */
.kalendarz { display: none; max-width: var(--max); width: 100%; margin: 0 auto; padding: 18px var(--pad) 0; }
.js .kalendarz { display: block; }
.kalendarz ol { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 4px; }
.kalendarz li { position: relative; }
.kalendarz button {
  width: 100%; padding: 7px 0 9px; border: 0; border-radius: 9px; background: transparent; cursor: default;
  display: grid; justify-items: center; gap: 1px; color: var(--tekst); font-family: var(--font); font-variant-numeric: tabular-nums;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.kalendarz button b { font-size: 0.9375rem; font-weight: 700; font-stretch: 80%; }
.kalendarz button small { font-size: 0.6875rem; color: var(--slaby); }
.kalendarz li.weekend button b { color: var(--slaby); font-weight: 500; }
.kalendarz li.wydarzenie button { cursor: pointer; }
.kalendarz li.wydarzenie button::after { content: ""; width: 14px; height: 3px; border-radius: 2px; background: var(--czern); margin-top: 3px; }
.kalendarz li.wydarzenie button:hover { background: var(--tlo-2); }
.kalendarz li.minal button { color: var(--slaby); }
.kalendarz li.minal button b { color: #727279; font-weight: 500; }
.kalendarz li.minal.wydarzenie button::after { background: #b4b4ba; }
.kalendarz li.dzis button { background: var(--czern); color: #fff; }
.kalendarz li.dzis button b { color: #fff; }
.kalendarz li.dzis button small { color: var(--na-ciemnym-slaby); }
.kalendarz li.dzis button::after { background: var(--neon); }
.kalendarz li.zalegly button::after { background: var(--goracy); }

/* ---------- 4. Klienci ---------- */
.klienci { position: relative; overflow: clip; }
.klienci-pin { padding: calc(var(--nav-h) + 40px) 0 40px; }
.js .klienci-pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.klienci-glowa { max-width: var(--max); margin: 0 auto 40px; padding: 0 var(--pad); width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 40px; align-items: end; }
.klienci-glowa h2 { font-size: clamp(2.2rem, 1rem + 3.8vw, 4.5rem); font-weight: 800; font-stretch: 112%; line-height: 0.98; letter-spacing: -0.035em; }
.klienci-glowa p { color: var(--na-ciemnym); max-width: 32em; }
.tor-ramka { width: 100%; }
.tor { display: flex; gap: 20px; padding: 10px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); width: max-content; }
.kk {
  width: 340px; flex: none; padding: 22px; border-radius: 24px; background: var(--czern-2); border: 1px solid rgb(255 255 255 / 0.08);
  display: flex; flex-direction: column; gap: 4px; transform-origin: 50% 60%; will-change: transform;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
}
.kk header { display: flex; align-items: center; gap: 12px; }
.kk header b { display: block; font-weight: 700; letter-spacing: -0.01em; }
.kk header small { color: var(--na-ciemnym-slaby); font-size: 0.875rem; }
.kk-pasek.pusty { background: transparent; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.22); }
.kk-stan { font-size: 1.75rem; font-weight: 800; font-stretch: 110%; letter-spacing: -0.03em; line-height: 1.1; }
.kk dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 6px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / 0.08); }
.kk dt { font-size: 0.8125rem; color: var(--na-ciemnym-slaby); }
.kk dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.kk-trend { font-size: 0.875rem; color: var(--na-ciemnym); margin-top: auto; padding-top: 8px; }
.kk-akcja { align-self: flex-start; margin-top: auto; padding: 0.6em 0.95em; border-radius: 11px; background: var(--blekit); color: #fff; font-weight: 600; font-size: 0.875rem; }
.klienci-stopka { max-width: var(--max); width: 100%; margin: 28px auto 0; padding: 0 var(--pad); font-size: 0.875rem; color: var(--na-ciemnym-slaby); }

/* ---------- 4. Pulpit biura jak w aplikacji (przewijanie przesuwa miesiąc) ---------- */
.klienci .klienci-pin { padding: calc(var(--nav-h) + 24px) 0 24px; }
.js .klienci .klienci-pin { height: 100vh; height: 100svh; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.pb-w { flex: 1; min-height: 0; max-width: var(--max); width: 100%; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); gap: clamp(28px, 3.4vw, 60px); align-items: center; }
.pb-lewa h2 { font-size: clamp(2rem, 1rem + 2.3vw, 3.3rem); font-weight: 800; font-stretch: 112%; line-height: 0.98; letter-spacing: -0.035em; }
.pb-lead { margin-top: 16px; color: var(--na-ciemnym); max-width: 30em; }
@media (min-width: 1081px) and (max-height: 980px) { .pb-lead { display: none; } }
.pb-kroki { margin-top: 24px; display: grid; gap: 4px; }
.pb-kroki li { display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; color: var(--na-ciemnym-slaby); transition: background-color 0.35s var(--ease), color 0.35s var(--ease); position: relative; }
.pb-kroki b { font-weight: 700; color: rgb(255 255 255 / 0.7); }
.pb-kroki span { font-size: 0.9375rem; line-height: 1.45; }
.pb-kroki li.aktywny { background: var(--czern-2); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); color: var(--na-ciemnym); }
.pb-kroki li.aktywny b { color: #fff; }
.pb-kroki li.aktywny::before { content: ""; position: absolute; left: 14px; top: -3px; width: 22px; height: 4px; border-radius: 2px; background: var(--neon); }
.pb-prawa { min-width: 0; display: flex; justify-content: center; }
.pb-okno { max-width: 1060px; aspect-ratio: 16 / 10.4; max-height: calc(100svh - var(--nav-h) - 60px); box-shadow: 0 60px 120px -50px rgb(0 0 0 / 0.9), 0 0 0 1px rgb(255 255 255 / 0.08); }

.pb-app { font-family: var(--font-app); font-size: clamp(4px, 1.2cqi, 12px); color: var(--tekst); line-height: 1.35; display: grid; grid-template-columns: 12.5em minmax(0, 1fr); height: calc(100% - 30px); background: #fbfbfc; }
.pb-app svg { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pb-app svg .a { stroke: var(--ak, currentColor); }
.pb-bok { background: #f7f7f8; border-right: 1px solid var(--linia); padding: 1em 0.65em; display: flex; flex-direction: column; gap: 0.2em; min-width: 0; }
.pb-logo { display: flex; align-items: center; gap: 0.5em; padding: 0 0.45em 0.8em; font-weight: 800; }
.pb-logo img { width: 1.6em; height: 1.6em; border-radius: 0.4em; }
.pb-bok ul { display: grid; gap: 0.12em; }
.pb-bok li { display: flex; align-items: center; gap: 0.55em; padding: 0.45em 0.55em; border-radius: 0.55em; font-size: 0.92em; color: #3a3a40; white-space: nowrap; overflow: hidden; }
.pb-bok li em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 0.85em; color: var(--slaby); }
.pb-bok li.pb-wyb { background: var(--czern); color: #fff; --ak: var(--neon); }
.pb-bok small { margin: 0.8em 0.55em 0.25em; font-size: 0.7em; font-weight: 700; color: var(--slaby); letter-spacing: 0.04em; text-transform: uppercase; }
.pb-bok [data-pb-czekasz] li { animation: pb-wejdz 0.5s var(--ease) both; }
.pb-bok [data-pb-czekasz] li .pb-mini { margin-left: auto; width: 2.6em; height: 0.35em; border-radius: 1em; background: var(--tlo-2); overflow: hidden; }
.pb-bok [data-pb-czekasz] li .pb-mini i { display: block; height: 100%; background: var(--czern); width: var(--w); }
.pb-konto { margin-top: auto; display: flex; align-items: center; gap: 0.55em; padding: 0.55em; border-top: 1px solid var(--linia); font-size: 0.85em; font-weight: 600; line-height: 1.2; }
.pb-konto small { display: block; font-weight: 400; color: var(--slaby); }
.pb-mono { display: inline-grid; place-items: center; flex: none; width: 2.1em; height: 2.1em; border-radius: 0.6em; background: linear-gradient(135deg, #2c2c2e, #000); color: var(--neon); font-weight: 800; font-size: 0.8em; }
.pb-mono-biuro { background: #ff9f0a; color: #fff; }
.pb-glowna { display: flex; flex-direction: column; min-width: 0; }
.pb-gora { height: 3.2em; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 0 1.3em; border-bottom: 1px solid var(--linia); background: #fff; font-size: 0.9em; color: var(--cichy); }
.pb-gora i { font-style: normal; color: var(--slaby); margin: 0 0.25em; }
.pb-gora b { color: var(--tekst); }
.pb-szukaj { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.4em 0.8em; border: 1px solid var(--linia); border-radius: 0.7em; color: var(--slaby); min-width: 18em; }
.pb-tresc { flex: 1; min-height: 0; overflow: hidden; padding: 1em 1.3em; display: flex; flex-direction: column; gap: 0.75em; }
.pb-naglowek { display: flex; align-items: center; gap: 0.9em; }
.pb-kafel { display: grid; place-items: center; width: 3.2em; height: 3.2em; border-radius: 0.9em; background: var(--czern); color: #fff; --ak: var(--neon); }
.pb-kafel svg { width: 1.5em; height: 1.5em; }
.pb-naglowek h5 { margin: 0; font-size: 1.55em; font-weight: 700; letter-spacing: -0.02em; }
.pb-naglowek h5::after { content: ""; display: block; width: 1.6em; height: 0.22em; border-radius: 1em; background: var(--neon); margin-top: 0.15em; }
.pb-naglowek p { margin: 0.15em 0 0; color: var(--cichy); font-size: 0.92em; }
.pb-naglowek p b { color: var(--tekst); }
.pb-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 0.45em; padding: 0.6em 1em; border-radius: 0.75em; background: var(--blekit); color: #fff; font-weight: 600; font-size: 0.92em; white-space: nowrap; transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.pb-btn em { font-style: normal; min-width: 1.5em; padding: 0 0.4em; border-radius: 1em; background: rgb(255 255 255 / 0.25); text-align: center; font-size: 0.9em; }
.pb-btn.pb-uwaga { box-shadow: 0 0 0 0.3em rgb(0 113 227 / 0.22); transform: translateY(-0.1em); }
.pb-karta { background: #fff; border: 1px solid var(--linia); border-radius: 0.9em; padding: 0.75em 0.9em; min-width: 0; }
.pb-kg { display: flex; align-items: baseline; justify-content: space-between; gap: 0.8em; margin-bottom: 0.55em; }
.pb-kg b { font-weight: 700; display: inline-flex; align-items: center; gap: 0.4em; }
.pb-kg span { color: var(--slaby); font-size: 0.82em; }
.pb-pas { display: flex; gap: 0.2em; height: 0.6em; border-radius: 1em; overflow: hidden; background: var(--tlo-2); }
.pb-pas i { display: block; height: 100%; width: 0; border-radius: 1em; transition: width 0.5s var(--ease); }
.pb-pas .pb-zak { background: #2c2c2e; }
.pb-pas .pb-dok { background: #5ac8fa; }
.pb-pas .pb-zbi { background: #007aff; }
.pb-pas .pb-bez { background: transparent; box-shadow: inset 0 0 0 1px var(--linia-mocna); }
.pb-leg { display: flex; flex-wrap: wrap; gap: 0.3em 1.3em; margin: 0.55em 0 0; font-size: 0.85em; color: var(--cichy); }
.pb-leg span::before { content: ""; display: inline-block; width: 0.75em; height: 0.75em; border-radius: 0.2em; margin-right: 0.4em; vertical-align: -0.05em; }
.pb-leg .pb-zak::before { background: #2c2c2e; } .pb-leg .pb-dok::before { background: #5ac8fa; } .pb-leg .pb-zbi::before { background: #007aff; } .pb-leg .pb-bez::before { box-shadow: inset 0 0 0 1px var(--linia-mocna); }
.pb-leg b { color: var(--tekst); margin-left: 0.25em; font-variant-numeric: tabular-nums; }
.pb-siatka { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 15em; gap: 0.75em; }
.pb-klienci { overflow: hidden; }
.pb-zakl { display: flex; flex-wrap: wrap; gap: 0.3em; margin-bottom: 0.5em; font-size: 0.82em; }
.pb-zakl span { padding: 0.3em 0.7em; border-radius: 0.6em; color: var(--cichy); background: transparent; }
.pb-zakl span.pb-wyb { background: var(--czern); color: #fff; }
.pb-zakl em { font-style: normal; margin-left: 0.25em; font-weight: 700; font-variant-numeric: tabular-nums; }
.pb-tab { width: 100%; border-collapse: collapse; font-size: 0.86em; }
.pb-tab th { text-align: left; font-weight: 700; color: var(--slaby); font-size: 0.72em; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.45em 0.5em; border-bottom: 1px solid var(--linia); background: #fafafa; white-space: nowrap; }
.pb-tab td { padding: 0.42em 0.5em; border-bottom: 1px solid var(--linia); vertical-align: middle; transition: background-color 0.45s var(--ease); }
.pb-tab tr:last-child td { border-bottom: 0; }
.pb-tab td small { display: block; color: var(--slaby); font-size: 0.85em; }
.pb-tab .pb-kl { display: flex; align-items: center; gap: 0.6em; }
.pb-tab .pb-kl b { display: block; font-weight: 600; white-space: nowrap; }
.pb-st b { font-weight: 600; white-space: nowrap; }
.pb-st.zb b { color: #0062c4; }
.pb-st.pt b, .pb-st.bw b { color: var(--goracy-tekst); }
.pb-st.pk b { color: #0b7fb3; }
.pb-st.zk b { color: var(--komplet); }
tr.pb-zmiana td { background: #eef7ff; }
tr.pb-spozniony td { background: var(--goracy-tlo); }
.pb-roz { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pb-roz .pb-pasek { display: inline-block; width: 4.2em; height: 0.42em; margin-right: 0.45em; border-radius: 1em; background: var(--tlo-2); overflow: hidden; vertical-align: middle; }
.pb-roz .pb-pasek i { display: block; height: 100%; width: var(--w, 0%); background: var(--komplet); border-radius: 1em; transition: width 0.5s var(--ease); }
.pb-spr { color: var(--cichy); white-space: nowrap; }
.pb-spr.pb-brak { color: var(--goracy-tekst); font-weight: 600; }
.pb-pod { color: var(--cichy); white-space: nowrap; }
.pb-pod.wys { color: var(--blekit-mocny); font-weight: 600; }
.pb-obo { white-space: nowrap; }
.pb-obo i { display: inline-flex; align-items: center; gap: 0.2em; font-style: normal; font-size: 0.78em; font-weight: 700; padding: 0.15em 0.45em; margin-right: 0.2em; border-radius: 1em; color: var(--slaby); box-shadow: inset 0 0 0 1px var(--linia-mocna); transition: background-color 0.4s, color 0.4s, box-shadow 0.4s; }
.pb-obo i svg { width: 0.95em; height: 0.95em; display: none; }
.pb-obo i.ok { background: var(--komplet-tlo); color: var(--komplet); box-shadow: none; }
.pb-obo i.ok svg { display: inline; }
.pb-kolumna { display: flex; flex-direction: column; gap: 0.75em; min-height: 0; }
.pb-nowe { flex: 1; min-height: 0; overflow: hidden; }
.pb-nowe ul { display: grid; gap: 0.55em; }
.pb-nowe li { display: flex; gap: 0.55em; font-size: 0.86em; line-height: 1.35; animation: pb-wejdz 0.55s var(--ease) both; }
.pb-nowe li .pb-mono { width: 2em; height: 2em; font-size: 0.75em; }
.pb-nowe li b { font-weight: 600; }
.pb-nowe li small { display: block; color: var(--slaby); font-size: 0.88em; }
@keyframes pb-wejdz { from { opacity: 0; transform: translateY(-0.4em); } to { opacity: 1; transform: none; } }
.pb-rozl p { margin: 0; font-size: 0.86em; color: var(--cichy); line-height: 1.5; }
.pb-rozl b { color: var(--tekst); font-variant-numeric: tabular-nums; }
@media (max-width: 1080px) {
  .pb-w { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 14px; }
  .pb-lead { display: none; }
  .pb-kroki { margin-top: 12px; }
  .pb-kroki li:not(.aktywny) { display: none; }
  .pb-okno { max-height: none; height: 100%; aspect-ratio: auto; }
  .pb-prawa { height: 100%; min-height: 0; }
}
@media (max-width: 700px) {
  .pb-app { grid-template-columns: minmax(0, 1fr); font-size: clamp(6px, 2.05cqi, 11px); height: calc(100% - 24px); }
  .pb-bok, .pb-szukaj, .pb-kolumna, .pb-tab th:nth-child(5), .pb-tab td:nth-child(5), .pb-tab th:nth-child(4), .pb-tab td:nth-child(4) { display: none; }
  .pb-siatka { grid-template-columns: minmax(0, 1fr); }
  .pb-btn { padding: 0.5em 0.7em; }
  .pb-zakl span:nth-child(n+4) { display: none; }
}

/* ---------- 4b. Klient w jednym oknie: laptop z widokiem biura ---------- */
.laptop-sekcja { padding: clamp(96px, 12vw, 170px) 0 clamp(64px, 8vw, 120px); overflow: clip; }
.laptop-w { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); gap: clamp(32px, 4.5vw, 72px); align-items: center; }
.laptop-sekcja h2 { font-size: clamp(2.2rem, 1rem + 3.4vw, 4.25rem); font-weight: 800; font-stretch: 112%; line-height: 0.97; letter-spacing: -0.04em; text-wrap: balance; }
.laptop-lead { margin-top: 20px; color: var(--cichy); font-size: clamp(1.0625rem, 0.95rem + 0.3vw, 1.2rem); max-width: 30em; }
.laptop-kroki { margin-top: 30px; display: grid; gap: 4px; counter-reset: lk; }
.laptop-kroki li { counter-increment: lk; position: relative; display: grid; gap: 2px; padding: 12px 14px 12px 46px; border-radius: 14px; transition: background-color 0.35s var(--ease); }
.laptop-kroki li::before { content: counter(lk); position: absolute; left: 14px; top: 10px; font-size: 1.5rem; font-weight: 900; font-stretch: 62%; line-height: 1; color: var(--slaby); transition: color 0.35s var(--ease); }
.laptop-kroki b { font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; }
.laptop-kroki span { color: var(--cichy); font-size: 0.9375rem; line-height: 1.45; }
.laptop-kroki li.aktywny { background: var(--czern); color: #fff; }
.laptop-kroki li.aktywny::before { color: var(--neon); }
.laptop-kroki li.aktywny span { color: var(--na-ciemnym); }

.laptop { position: relative; width: 100%; max-width: 920px; justify-self: center; container-type: inline-size; }
.laptop-ekran { position: relative; aspect-ratio: 16 / 10; padding: 1.7% 1.7% 0; border-radius: 2.4cqi 2.4cqi 0 0; background: #0b0b0c; box-shadow: inset 0 0 0 1px #2c2c2e, 0 60px 90px -50px rgb(11 11 12 / 0.55); }
.laptop-ekran::before { content: ""; position: absolute; top: 0.6%; left: 50%; width: 0.7cqi; height: 0.7cqi; border-radius: 50%; background: #2c2c2e; transform: translateX(-50%); }
.laptop-podstawa { position: relative; height: max(10px, 2.3cqi); margin: 0 -5.5%; border-radius: 0 0 3cqi 3cqi / 0 0 1.8cqi 1.8cqi; background: linear-gradient(180deg, #e2e2e5 0%, #c3c3c8 55%, #9d9da3 100%); box-shadow: 0 30px 40px -30px rgb(11 11 12 / 0.6); }
.laptop-podstawa::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 42%; border-radius: 0 0 1cqi 1cqi; background: #a9a9ae; transform: translateX(-50%); }
.laptop > .dane-przykladowe { top: auto; bottom: -34px; right: 50%; transform: translateX(50%); background: transparent; box-shadow: none; }

.lp-app { position: relative; height: 100%; overflow: hidden; border-radius: 0.8cqi 0.8cqi 0 0; background: #fbfbfc; color: var(--tekst); font-family: var(--font-app); font-size: clamp(4px, 1.28cqi, 12px); line-height: 1.35; display: grid; grid-template-columns: 12.5em minmax(0, 1fr); }
.lp-app svg { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-app svg .a { stroke: var(--ak, currentColor); }
.lp-bok { background: #f7f7f8; border-right: 1px solid var(--linia); padding: 1em 0.65em; display: flex; flex-direction: column; gap: 0.2em; }
.lp-logo { display: flex; align-items: center; gap: 0.5em; padding: 0 0.45em 0.8em; font-weight: 800; }
.lp-logo img { width: 1.6em; height: 1.6em; border-radius: 0.4em; }
.lp-bok ul { display: grid; gap: 0.12em; }
.lp-bok li { display: flex; align-items: center; gap: 0.55em; padding: 0.45em 0.55em; border-radius: 0.55em; font-size: 0.92em; color: #3a3a40; white-space: nowrap; transition: background-color 0.3s, color 0.3s; }
.lp-bok li em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 0.85em; color: var(--slaby); }
.lp-bok small { margin: 0.8em 0.55em 0.25em; font-size: 0.7em; font-weight: 700; color: var(--slaby); letter-spacing: 0.04em; text-transform: uppercase; }
.lp-poz-pulpit, .laptop.w-profilu .lp-poz-klient { background: var(--czern); color: #fff !important; --ak: var(--neon); }
.laptop.w-profilu .lp-poz-pulpit { background: transparent; color: #3a3a40 !important; --ak: currentColor; }
.laptop.w-profilu .lp-poz-kadr { background: rgb(0 0 0 / 0.06); }
.lp-menu-klienta { opacity: 0.35; transition: opacity 0.4s var(--ease); }
.laptop.w-profilu .lp-menu-klienta { opacity: 1; }
.lp-konto { margin-top: auto; display: flex; align-items: center; gap: 0.55em; padding: 0.55em; border-top: 1px solid var(--linia); font-size: 0.85em; font-weight: 600; line-height: 1.2; }
.lp-konto small { display: block; font-weight: 400; color: var(--slaby); }
.lp-mono { display: inline-grid; place-items: center; flex: none; width: 2.1em; height: 2.1em; margin-right: 0.55em; border-radius: 0.6em; background: linear-gradient(135deg, #2c2c2e, #000); color: var(--neon); font-weight: 800; font-size: 0.8em; vertical-align: middle; }
.lp-mono-biuro { background: #ff9f0a; color: #fff; margin: 0; }
.lp-mono-jasny { background: rgb(255 255 255 / 0.18); color: #fff; }
.lp-glowna { display: flex; flex-direction: column; min-width: 0; }
.lp-gora { height: 3.2em; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 0 1.3em; border-bottom: 1px solid var(--linia); background: #fff; font-size: 0.9em; color: var(--cichy); }
.lp-gora i { font-style: normal; color: var(--slaby); margin: 0 0.25em; }
.lp-gora b { color: var(--tekst); }
.lp-okr-2, .laptop.w-profilu .lp-okr-1 { display: none; }
.laptop.w-profilu .lp-okr-2 { display: inline; }
.lp-szukaj { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.4em 0.8em; border: 1px solid var(--linia); border-radius: 0.7em; color: var(--slaby); min-width: 15em; }
.lp-sceny { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.lp-s { position: absolute; inset: 0; padding: 1.1em 1.3em; transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
.lp-s2 { opacity: 0; transform: translateX(2em); pointer-events: none; padding-top: 0; }
.laptop.w-profilu .lp-s1 { opacity: 0; transform: translateX(-2em); }
.laptop.w-profilu .lp-s2 { opacity: 1; transform: none; }
.lp-tytul { display: flex; align-items: flex-start; justify-content: space-between; gap: 1em; margin-bottom: 0.9em; }
.lp-tytul h5 { margin: 0; font-size: 1.55em; font-weight: 700; letter-spacing: -0.02em; }
.lp-tytul p { margin: 0.15em 0 0; color: var(--cichy); font-size: 0.92em; }
.lp-btn { display: inline-flex; align-items: center; padding: 0.55em 1em; border-radius: 0.7em; background: var(--blekit); color: #fff; font-weight: 600; font-size: 0.9em; white-space: nowrap; }
.lp-karta { background: #fff; border: 1px solid var(--linia); border-radius: 0.9em; padding: 0.8em 0.9em; min-width: 0; }
.lp-kg { display: flex; align-items: baseline; justify-content: space-between; gap: 0.8em; margin-bottom: 0.55em; }
.lp-kg b { font-weight: 700; }
.lp-kg span { color: var(--slaby); font-size: 0.82em; }
.lp-tab { width: 100%; border-collapse: collapse; font-size: 0.9em; }
.lp-tab th { text-align: left; font-weight: 700; color: var(--slaby); font-size: 0.72em; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.4em 0.5em; border-bottom: 1px solid var(--linia); }
.lp-tab td { padding: 0.5em; border-bottom: 1px solid var(--linia); vertical-align: middle; transition: background-color 0.35s var(--ease); }
.lp-tab tr:last-child td { border-bottom: 0; }
.lp-tab td small { display: block; color: var(--slaby); font-size: 0.85em; }
.lp-tab td b { font-weight: 600; }
.lp-goracy { color: var(--goracy-tekst); font-weight: 600; }
.lp-pasek { display: inline-flex; gap: 0.15em; width: 5em; height: 0.45em; margin-right: 0.5em; border-radius: 1em; background: var(--tlo-2); overflow: hidden; vertical-align: middle; }
.lp-pasek i { width: var(--w); background: var(--komplet); border-radius: 1em; }
.lp-pasek i.lp-brak { background: var(--goracy); }
.lp-pasek.lp-pusty { box-shadow: inset 0 0 0 1px var(--linia-mocna); background: transparent; }
.lp-wiersz-kadr.wskazany td { background: #eef5ff; }
.lp-baner { display: flex; align-items: center; gap: 0.6em; margin: 0 -1.3em 0.9em; padding: 0.55em 1.3em; background: linear-gradient(90deg, #2f8cff, #5856d6); color: #fff; font-size: 0.88em; }
.lp-baner b { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85em; }
.lp-baner em { margin-left: auto; font-style: normal; font-weight: 600; padding: 0.25em 0.7em; border-radius: 0.5em; background: rgb(255 255 255 / 0.18); }
.lp-dwa { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 0.8em; margin-bottom: 0.8em; }
.lp-dane dl { display: grid; grid-template-columns: auto 1fr; gap: 0.3em 0.9em; margin: 0; font-size: 0.88em; }
.lp-dane dt { color: var(--slaby); }
.lp-dane dd { margin: 0; font-weight: 500; }
.lp-link { color: var(--blekit-mocny); }
.lp-maly { display: inline-flex; padding: 0.3em 0.7em; border-radius: 0.55em; background: var(--tlo); font-weight: 600; font-size: 0.88em; white-space: nowrap; }
.lp-przyp { background: var(--tlo-2); }
.lp-przyp .lp-p2, .laptop.przypomniano .lp-przyp .lp-p1 { display: none; }
.laptop.przypomniano .lp-przyp .lp-p2 { display: inline; }
.laptop.przypomniano .lp-przyp { background: var(--komplet-tlo); color: var(--komplet); }
.lp-st-pt { color: var(--goracy-tekst); font-weight: 600; }
.lp-st-ok { display: none; color: var(--komplet); font-weight: 600; }
.laptop.komplet .lp-st-pt { display: none; }
.laptop.komplet .lp-st-ok { display: inline; }
.laptop.komplet .lp-pazdz td { background: var(--komplet-tlo); }
.lp-sprawy { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 0.8em; }
.lp-chipy { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35em; margin-bottom: 0.6em; font-size: 0.82em; }
.lp-chipy span { color: var(--slaby); margin-right: 0.2em; }
.lp-chipy i { font-style: normal; font-weight: 600; padding: 0.3em 0.65em; border-radius: 0.5em; background: var(--tlo); transition: background-color 0.3s, color 0.3s; }
.laptop.prosba .lp-chipy i[data-l-chip] { background: var(--czern); color: #fff; }
.lp-nowa { display: none; }
.laptop.wyslano .lp-nowa { display: table-row; }
.laptop.wyslano .lp-nowa td { animation: lp-wejdz 0.6s var(--ease) both; background: #eef5ff; }
@keyframes lp-wejdz { from { opacity: 0; } to { opacity: 1; } }
.lp-s-spr, .lp-s-zam, .laptop.odpowiedz .lp-s-czeka, .laptop.komplet .lp-s-spr { display: none; }
.lp-s-czeka { color: var(--cichy); font-weight: 600; }
.laptop.odpowiedz .lp-s-spr { display: inline; color: var(--blekit-mocny); font-weight: 600; }
.laptop.komplet .lp-s-zam { display: inline; color: var(--komplet); font-weight: 600; }
.laptop.komplet .lp-s-spr { display: none; }
.lp-rozmowa { display: flex; flex-direction: column; }
.lp-dymki { display: flex; flex-direction: column; gap: 0.45em; flex: 1; font-size: 0.88em; }
.lp-dymek { margin: 0; padding: 0.6em 0.75em; border-radius: 0.9em; max-width: 92%; opacity: 0; transform: translateY(0.5em); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.lp-ty { align-self: flex-end; background: #e8f2ff; border-bottom-right-radius: 0.25em; }
.lp-klient { align-self: flex-start; background: var(--tlo); border-bottom-left-radius: 0.25em; }
.lp-pliki { display: flex; flex-wrap: wrap; gap: 0.3em; margin-top: 0.45em; }
.lp-pliki i { font-style: normal; font-size: 0.85em; font-weight: 600; padding: 0.2em 0.5em; border-radius: 0.4em; background: #fff; box-shadow: inset 0 0 0 1px var(--linia); }
.lp-odczyt { margin: 0; align-self: flex-end; display: inline-flex; align-items: center; gap: 0.3em; font-size: 0.85em; color: var(--komplet); font-weight: 600; opacity: 0; transition: opacity 0.4s; }
.lp-pisze { margin: 0; align-self: flex-start; display: none; gap: 0.25em; padding: 0.6em 0.75em; border-radius: 0.9em; background: var(--tlo); }
.lp-pisze i { width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--slaby); animation: lp-kropki 1s infinite ease-in-out; }
.lp-pisze i:nth-child(2) { animation-delay: 0.15s; } .lp-pisze i:nth-child(3) { animation-delay: 0.3s; }
@keyframes lp-kropki { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-0.2em); } }
.laptop.rozmowa .lp-ty, .laptop.odpowiedz .lp-klient { opacity: 1; transform: none; }
.laptop.odczytano .lp-odczyt { opacity: 1; }
.laptop.pisze .lp-pisze { display: inline-flex; }
.lp-pole { margin-top: 0.6em; padding: 0.55em 0.7em; border: 1px solid var(--linia); border-radius: 0.7em; color: var(--slaby); font-size: 0.85em; }
.lp-prosba { position: absolute; left: 50%; top: 52%; width: 58%; padding: 1em 1.1em; border-radius: 1em; background: #fff; box-shadow: 0 1.5em 3em -1em rgb(11 11 12 / 0.45), 0 0 0 1px var(--linia); opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(0.96); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.35s; z-index: 4; }
.laptop.prosba .lp-prosba { opacity: 1; visibility: visible; transform: translate(-50%, -50%); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0s; }
.lp-tresc { margin: 0 0 0.6em; font-size: 0.9em; }
.lp-prosba ul { margin: 0 0 0.8em; padding: 0; list-style: none; display: grid; gap: 0.3em; font-size: 0.88em; }
.lp-prosba li { display: flex; justify-content: space-between; gap: 1em; padding: 0.45em 0.6em; border-radius: 0.6em; background: var(--goracy-tlo); }
.lp-prosba li b { color: var(--goracy-tekst); font-weight: 600; white-space: nowrap; }
.lp-toast { position: absolute; left: 1.3em; bottom: 1.1em; display: flex; align-items: center; gap: 0.6em; padding: 0.7em 1em; border-radius: 0.8em; background: var(--czern); color: #fff; --ak: var(--neon); font-weight: 600; opacity: 0; transform: translateY(0.8em); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); z-index: 5; }
.laptop.toast .lp-toast { opacity: 1; transform: none; }
.lp-kursor { position: absolute; left: 0; top: 0; width: 2.3em !important; height: 2.3em !important; z-index: 10; pointer-events: none; filter: drop-shadow(0 0.15em 0.25em rgb(0 0 0 / 0.35)); will-change: transform; }
.lp-fala { position: absolute; left: 0; top: 0; width: 3.2em; height: 3.2em; margin: -1.6em 0 0 -1.6em; border-radius: 50%; border: 0.18em solid var(--blekit); opacity: 0; z-index: 9; pointer-events: none; }
@media (max-width: 1080px) { .laptop-w { grid-template-columns: 1fr; } .laptop { max-width: 760px; } }
@media (max-width: 700px) { .laptop-kroki li { padding: 10px 12px 10px 40px; } .laptop-kroki li::before { left: 12px; } }
@media (prefers-reduced-motion: reduce) { .lp-kursor, .lp-fala { display: none; } }

/* ---------- 5. Historie ---------- */
.historie { padding: clamp(96px, 12vw, 180px) 0 clamp(40px, 6vw, 80px); }
.historie-tytul { max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 72px); padding: 0 var(--pad); font-size: clamp(2.2rem, 1rem + 3.8vw, 4.5rem); font-weight: 800; font-stretch: 112%; line-height: 0.98; letter-spacing: -0.035em; }
.stos { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.karta-h {
  position: sticky; top: calc(var(--nav-h) + 20px + var(--n, 0) * 16px);
  height: min(calc(100svh - var(--nav-h) - 60px), 660px); margin-bottom: 9vh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 32px; overflow: hidden;
  background: var(--karta); box-shadow: 0 -1px 0 rgb(0 0 0 / 0.04), 0 40px 80px -50px rgb(11 11 12 / 0.5);
  transform-origin: 50% 0%; will-change: transform;
}
.karta-h::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--czern); opacity: var(--cien, 0); pointer-events: none; }
.karta-h:nth-child(1) { --n: 0; } .karta-h:nth-child(2) { --n: 1; } .karta-h:nth-child(3) { --n: 2; margin-bottom: 0; }
.karta-h figure { position: relative; min-height: 0; }
.karta-h figure img { width: 100%; height: 100%; object-fit: cover; }
.karta-h:nth-child(1) figure img { object-position: 50% 30%; }
.karta-h:nth-child(3) figure img { object-position: 50% 30%; }
.karta-h-tresc { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 18px; min-height: 0; }
.karta-h h3 { font-size: clamp(1.8rem, 0.9rem + 2.2vw, 3.1rem); font-weight: 800; font-stretch: 110%; line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.karta-h p { color: var(--cichy); max-width: 30em; }
.karta-h.ciemna { background: var(--czern); }
.karta-h.ciemna p { color: var(--na-ciemnym); }
.mini { margin-top: 10px; font-family: var(--font-app); font-size: 0.9375rem; }
.mini-skrzynka { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--tlo); max-width: 30em; }
.mini-ik { width: 40px; height: 40px; border-radius: 11px; background: var(--czern); color: #fff; display: grid; place-items: center; --ak: var(--neon); flex: none; }
.mini svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mini svg .a { stroke: var(--ak, currentColor); }
.mini-skrzynka b { display: block; font-weight: 650; }
.mini-skrzynka small { color: var(--cichy); }
.mini-tak { margin-left: auto; padding: 0.5em 1em; border-radius: 10px; background: var(--blekit); color: #fff; font-weight: 600; }
.mini-prosba { display: grid; gap: 8px; max-width: 26em; }
.dymek-b { background: rgb(255 255 255 / 0.1); padding: 12px 14px; border-radius: 16px 16px 16px 4px; color: #fff !important; }
.dymek-o { display: inline-flex; align-items: center; gap: 6px; justify-self: end; color: var(--neon) !important; font-weight: 600; font-size: 0.875rem; }
.mini-sprzedaz { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--tlo); max-width: 30em; }
.mini-sprzedaz b { display: block; }
.mini-sprzedaz small { color: var(--cichy); }

/* ---------- 6. Bento ---------- */
.bento-sekcja { padding: clamp(80px, 10vw, 160px) 0; }
.bento-sekcja > h2 { max-width: var(--max); margin: 0 auto clamp(36px, 5vw, 64px); padding: 0 var(--pad); font-size: clamp(2.1rem, 1rem + 3.4vw, 4.25rem); font-weight: 800; font-stretch: 112%; line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.bento { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.b { background: var(--karta); border-radius: var(--r-duzy); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 300px; box-shadow: 0 0 0 1px var(--linia); }
.b-szeroka { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
/* Kafel na całą szerokość: wezwanie do zapłaty (ścieżka kroków i pismo z pieczęcią firmy). */
.b-cala { grid-column: 1 / -1; }
.b-wezwanie { display: grid; gap: 10px; min-width: 0; font-family: var(--font-app); }
.b-pismo > div { min-width: 0; }
.b-pismo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 16px; background: var(--tlo); }
.b-pismo span { display: block; color: var(--cichy); font-size: 0.875rem; }
.b-pismo b { display: block; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.b-pismo small { color: var(--cichy); font-size: 0.8125rem; }
.b-pieczec { width: 112px; height: 112px; flex: none; }
.b h3 { font-size: clamp(1.35rem, 1rem + 0.8vw, 1.75rem); font-weight: 800; font-stretch: 108%; line-height: 1.08; letter-spacing: -0.025em; }
.b p { margin-top: 10px; color: var(--cichy); font-size: 1rem; }
.b-ciemna { background: var(--czern); color: #fff; box-shadow: none; }
.b-ciemna p { color: var(--na-ciemnym); }
.b-ui { font-family: var(--font-app); display: grid; gap: 10px; }
.pole { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--blekit); background: #fff; box-shadow: 0 0 0 4px rgb(0 113 227 / 0.12); }
.pole span { font-size: 0.8125rem; color: var(--slaby); }
.pole b { color: var(--tekst); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; min-height: 1.4em; }
.pole b::after { content: ""; display: inline-block; width: 2px; height: 1.05em; background: var(--blekit); margin-left: 2px; vertical-align: -0.12em; animation: kursor 1s steps(1) infinite; }
@keyframes kursor { 50% { opacity: 0; } }
.gus { padding: 14px 16px; border-radius: 14px; background: var(--tlo); display: grid; gap: 2px; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.gus b { font-weight: 650; }
.gus small { color: var(--cichy); }
.sms { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 600; color: var(--blekit); }
.sms svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.b-drzewo { font-family: var(--font-app); font-size: 0.9375rem; display: grid; gap: 2px; }
.b-drzewo li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgb(255 255 255 / 0.08); color: var(--na-ciemnym); }
.b-drzewo li:first-child { color: #fff; font-weight: 650; --ak: var(--neon); }
.b-drzewo li.w { padding-left: 30px; }
.b-drzewo svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.b-drzewo svg .a { stroke: var(--ak); }
.b-chipy { display: flex; flex-wrap: wrap; gap: 8px; }
.b-chipy span { padding: 10px 14px; border-radius: 12px; background: var(--tlo); font-weight: 650; font-size: 0.9375rem; }
.b-sciezka { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-family: var(--font-app); }
.b-sciezka li { padding: 12px; border-radius: 12px; background: var(--tlo); position: relative; }
.b-sciezka li b { display: block; font-size: 0.875rem; }
.b-sciezka li small { color: var(--cichy); font-size: 0.8125rem; }
.b-sciezka li.z { background: var(--czern); color: #fff; }
.b-sciezka li.z small { color: var(--na-ciemnym-slaby); }
.b-sciezka li.z::after { content: ""; position: absolute; left: 12px; bottom: 8px; width: 16px; height: 3px; border-radius: 2px; background: var(--neon); }
.b-podatek { font-family: var(--font-app); display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; padding: 16px; border-radius: 16px; background: var(--tlo); }
.b-podatek span { color: var(--cichy); font-size: 0.875rem; }
.b-podatek b { font-size: 1.35rem; font-variant-numeric: tabular-nums; grid-row: 2; }
.b-podatek em { grid-row: 2; font-style: normal; font-weight: 650; color: var(--komplet); }

/* ---------- 7. KSeF ---------- */
.ksef { padding: clamp(96px, 12vw, 180px) 0; overflow: clip; }
.ksef-w { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.ksef h2 { font-size: clamp(2.3rem, 1rem + 4vw, 4.75rem); font-weight: 800; font-stretch: 112%; line-height: 0.96; letter-spacing: -0.04em; text-wrap: balance; }
.ksef h2 span { color: var(--neon); }
.ksef-lead { margin-top: 22px; color: var(--na-ciemnym); font-size: clamp(1.0625rem, 0.95rem + 0.3vw, 1.2rem); max-width: 30em; }
.cena { margin-top: 36px; padding: 28px; border-radius: var(--r-duzy); background: var(--czern-2); border: 1px solid rgb(255 255 255 / 0.08); max-width: 30rem; }
.cena-kwota { display: flex; align-items: flex-end; gap: 14px; }
.cena-kwota b { font-size: clamp(4.5rem, 3rem + 4vw, 6rem); font-weight: 900; font-stretch: 62%; line-height: 0.8; letter-spacing: -0.04em; }
.cena-kwota span { font-size: 0.9375rem; line-height: 1.3; color: var(--na-ciemnym); padding-bottom: 4px; }
.cena ul { margin: 22px 0 24px; display: grid; gap: 10px; }
.cena li { display: flex; gap: 10px; align-items: flex-start; }
.cena li .ik { color: var(--neon); margin-top: 0.2em; }
.ksef-scena { position: sticky; top: calc(var(--nav-h) + 28px); min-height: min(640px, calc(100svh - var(--nav-h) - 56px)); }
.ksef-foto { position: absolute; right: 0; top: 0; bottom: 0; width: 66%; border-radius: var(--r-duzy); overflow: hidden; }
.ksef-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; }
.telefon {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 300px; aspect-ratio: 9 / 17;
  background: #000; border-radius: 48px; padding: 11px; box-shadow: 0 60px 100px -40px rgb(0 0 0 / 0.9), 0 0 0 1px rgb(255 255 255 / 0.12), inset 0 0 0 2px #2c2c2e;
  container-type: inline-size;
}
.tel-wnetrze { position: relative; height: 100%; border-radius: 38px; background: #fff; color: var(--tekst); overflow: hidden; font-family: var(--font-app); font-size: clamp(10px, 4.8cqi, 14px); padding: 3.6em 1.2em 1.2em; }
.t-wiz { position: absolute; top: 0.9em; left: 50%; transform: translateX(-50%); width: 7em; height: 1.75em; border-radius: 1em; background: #000; }
.t-zakladki { display: flex; gap: 0.25em; padding: 0.25em; background: var(--tlo-2); border-radius: 0.8em; margin-bottom: 1.1em; }
.t-zakladki span { flex: 1; text-align: center; padding: 0.45em 0; border-radius: 0.6em; font-size: 0.9em; font-weight: 600; color: var(--cichy); transition: background-color 0.3s, color 0.3s; }
.t-zakladki span.wyb { background: var(--czern); color: #fff; }
.t-ekran { position: absolute; left: 1.2em; right: 1.2em; top: 7.2em; bottom: 1.2em; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.t-koszty { opacity: 0; transform: translateX(1.5em); pointer-events: none; }
.telefon.koszty .t-faktura { opacity: 0; transform: translateX(-1.5em); }
.telefon.koszty .t-koszty { opacity: 1; transform: none; }
.t-faktura label { display: grid; gap: 0.15em; padding: 0.7em 0.85em; border: 1px solid var(--linia); border-radius: 0.8em; margin-bottom: 0.6em; }
.t-faktura label span { font-size: 0.78em; color: var(--slaby); }
.t-faktura label b { font-weight: 600; min-height: 1.35em; }
.t-nabywca { font-size: 0.82em; color: var(--komplet); font-weight: 600; margin: -0.2em 0 0.7em 0.2em; opacity: 0; transition: opacity 0.4s; }
.t-nabywca.widac { opacity: 1; }
.t-kwoty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4em; margin: 0.9em 0; }
.t-kwoty div { padding: 0.5em; border-radius: 0.6em; background: var(--tlo); }
.t-kwoty span { display: block; font-size: 0.72em; color: var(--slaby); }
.t-kwoty b { font-size: 0.86em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-kwoty b.m { color: var(--tekst); }
.t-wyslij { display: flex; align-items: center; justify-content: center; gap: 0.5em; background: var(--blekit); color: #fff; padding: 0.85em; border-radius: 0.9em; font-weight: 650; transition: transform 0.15s, background-color 0.2s; }
.t-wyslij em { font-style: normal; }
.t-wyslij.wcisniety { transform: scale(0.96); background: var(--blekit-mocny); }
.t-wyslij svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.t-postep { height: 0.35em; border-radius: 1em; background: var(--tlo-2); margin-top: 0.8em; overflow: hidden; opacity: 0; }
.t-postep i { display: block; height: 100%; width: 100%; background: var(--blekit); border-radius: 1em; transform: scaleX(0); transform-origin: left; }
.t-ok { position: absolute; inset: auto 0 0 0; padding: 1.1em; border-radius: 1.1em; background: var(--czern); color: #fff; display: grid; justify-items: start; gap: 0.15em; transform: translateY(120%); transition: transform 0.6s var(--ease); }
.t-ok.widac { transform: none; }
.t-ok-znak { width: 2.2em; height: 2.2em; border-radius: 0.7em; background: var(--neon); color: var(--na-neonie); display: grid; place-items: center; margin-bottom: 0.4em; }
.t-ok-znak svg { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.t-ok b { font-size: 1.15em; }
.t-ok small { color: var(--na-ciemnym); font-variant-numeric: tabular-nums; font-size: 0.8em; word-break: break-all; }
.t-koszty ul { display: grid; gap: 0.5em; }
.t-suma { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6em; margin-top: 0.9em; padding: 0.9em 1em; border-radius: 0.9em; background: var(--czern); color: #fff; font-size: 0.9em; }
.t-suma span { color: var(--na-ciemnym); }
.t-suma b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-koszty li { display: flex; justify-content: space-between; gap: 0.6em; padding: 0.75em 0.85em; border: 1px solid var(--linia); border-radius: 0.8em; }
.t-koszty li b { display: block; font-size: 0.9em; }
.t-koszty li small { color: var(--slaby); font-size: 0.75em; }
.t-koszty li span { font-weight: 650; font-variant-numeric: tabular-nums; font-size: 0.9em; white-space: nowrap; }
.telefon .dane-przykladowe { right: 50%; transform: translateX(50%); bottom: -34px; background: transparent; box-shadow: none; color: var(--na-ciemnym-slaby); }

/* ---------- Strona dla firm: księgowa ---------- */
.ksiegowy { padding: clamp(96px, 12vw, 170px) 0; }
.ksiegowy-w { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ksiegowy h2 { font-size: clamp(2.3rem, 1rem + 3.8vw, 4.5rem); font-weight: 800; font-stretch: 112%; line-height: 0.96; letter-spacing: -0.04em; text-wrap: balance; }
.ksiegowy-lead { margin-top: 22px; color: var(--na-ciemnym); font-size: clamp(1.0625rem, 0.95rem + 0.3vw, 1.2rem); max-width: 31em; }
.zapros { margin-top: 32px; max-width: 30rem; font-family: var(--font-app); }
.zapros .gus { background: var(--czern-2); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); }
.zapros .gus b { color: var(--neon); }
.zapros .gus small { color: var(--na-ciemnym); }
.ksiegowy-uwaga { margin-top: 22px; color: var(--na-ciemnym-slaby); font-size: 0.9375rem; max-width: 31em; }
.ksiegowy-uwaga b { color: #fff; }
.ksiegowy-foto { border-radius: var(--r-duzy); overflow: hidden; aspect-ratio: 4 / 5; }
.ksiegowy-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }

.b-faktury { font-family: var(--font-app); display: grid; gap: 8px; }
.b-faktury li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--tlo); }
.b-faktury b { display: block; font-weight: 650; }
.b-faktury small { color: var(--cichy); }
.b-faktury .kw { grid-column: 2; grid-row: 1; }
.b-faktury em { grid-column: 2; grid-row: 2; font-style: normal; font-weight: 650; font-size: 0.8125rem; text-align: right; }
.b-faktury em.ok { color: var(--komplet); }
.b-faktury em.brak { color: var(--goracy-tekst); }
.b-podatek em.b-zaraz { color: var(--cichy); }
.hero-firmy .hero-kadr img { object-position: 70% 38%; }

/* ---------- Strona dla firm: jak klienci korzystają z systemu (tor przesuwany w bok) ---------- */
.branze { position: relative; overflow: clip; }
.branze-pin { padding: calc(var(--nav-h) + 24px) 0 24px; }
.branze-glowa { max-width: var(--max); width: 100%; margin: 0 auto 28px; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 40px; align-items: end; }
.branze-glowa h2 { font-size: clamp(2rem, 1rem + 3vw, 4rem); font-weight: 800; font-stretch: 112%; line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.branze-glowa p { color: var(--cichy); max-width: 32em; }
.br { width: 360px; flex: none; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: var(--karta); box-shadow: 0 0 0 1px var(--linia), 0 34px 60px -44px rgb(11 11 12 / 0.5); transform-origin: 50% 60%; will-change: transform; }
.br figure { position: relative; flex: none; height: 260px; }
.br figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.br figure img.br-szeroki { object-position: 72% 35%; }
.br figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; background: linear-gradient(0deg, rgb(11 11 12 / 0.78), rgb(11 11 12 / 0)); color: #fff; font-weight: 800; font-stretch: 108%; font-size: 1.125rem; letter-spacing: -0.01em; }
.br figcaption span { display: block; font-weight: 500; font-stretch: 100%; font-size: 0.75rem; color: rgb(255 255 255 / 0.75); letter-spacing: 0; }
.br-tresc { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.br h3 { font-size: 1.25rem; font-weight: 800; font-stretch: 106%; line-height: 1.1; letter-spacing: -0.02em; }
.br ul { display: grid; gap: 7px; font-size: 0.9375rem; color: var(--cichy); }
.br ul li { position: relative; padding-left: 20px; line-height: 1.4; }
.br ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 11px; height: 3px; border-radius: 2px; background: var(--czern); }
.br-plan { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--linia); font-size: 0.875rem; font-weight: 650; }
/* Przypięty tor (szeroki i dość wysoki ekran): cała sekcja mieści się w oknie, kafelki biorą wysokość z miejsca,
   a ściska się tylko zdjęcie, nigdy tekst. Na niskim albo wąskim ekranie tor przewija się w bok palcem, bez przypinania. */
@media (min-width: 901px) and (min-height: 560px) {
  .js .branze-pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; padding: calc(var(--nav-h) + clamp(12px, 3vh, 32px)) 0 clamp(14px, 3vh, 32px); }
  .js .branze-glowa { flex: none; margin-bottom: clamp(12px, 3vh, 32px); }
  .js .branze .tor-ramka { flex: 1; min-height: 0; display: flex; }
  .js .branze .tor { height: 100%; padding-top: 4px; padding-bottom: 4px; align-items: stretch; }
  .js .br { height: 100%; }
  .js .br figure { flex: 1 1 0; height: auto; min-height: 90px; }
}
@media (min-width: 901px) and (min-height: 560px) and (max-height: 800px) {
  .js .branze-glowa h2 { font-size: clamp(1.8rem, 1rem + 3.4vh, 3rem); }
  .js .branze-glowa p { font-size: 0.9375rem; }
  .br-tresc { padding: 14px 18px 16px; gap: 9px; }
  .br h3 { font-size: 1.125rem; }
  .br ul { font-size: 0.875rem; gap: 5px; }
}
@media (min-width: 901px) and (min-height: 560px) and (max-height: 660px) {
  .js .branze-glowa p { display: none; }
}
@media (max-width: 1080px) { .branze-glowa { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 900px), (max-height: 559px) {
  .branze .tor-ramka { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .branze .tor-ramka::-webkit-scrollbar { display: none; }
  .branze .tor { padding: 10px var(--pad) 18px; }
  .br { width: min(80vw, 340px); scroll-snap-align: center; }
  .br figure { height: clamp(110px, 28vh, 230px); }
}

/* ---------- Strona dla firm: cennik planów ---------- */
.ceny-firmy { padding: clamp(96px, 12vw, 180px) 0; }
.ceny-firmy-w { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.ceny-firmy h2 { font-size: clamp(2.3rem, 1rem + 4vw, 4.75rem); font-weight: 800; font-stretch: 112%; line-height: 0.96; letter-spacing: -0.04em; max-width: 12em; text-wrap: balance; }
.ceny-firmy-lead { margin-top: 18px; color: var(--cichy); font-size: 1.125rem; max-width: 34em; }
.plany-firmy { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 4vw, 56px); align-items: stretch; }
.pf { background: var(--karta); border-radius: 26px; padding: 26px 24px; box-shadow: 0 0 0 1px var(--linia); display: flex; flex-direction: column; gap: 14px; }
.pf h3 { font-size: 1.125rem; font-weight: 700; font-stretch: 104%; }
.pf-cena { display: flex; align-items: flex-end; gap: 10px; min-height: 4.2rem; }
.pf-cena b { font-size: clamp(3.2rem, 2.2rem + 2vw, 4.2rem); font-weight: 900; font-stretch: 62%; line-height: 0.82; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pf-cena span { font-size: 0.875rem; line-height: 1.3; color: var(--cichy); padding-bottom: 2px; }
.pf-opis { color: var(--cichy); font-size: 0.9375rem; line-height: 1.45; min-height: 2.9em; }
.pf-plus { font-size: 0.8125rem; font-weight: 650; color: var(--slaby); padding-top: 14px; border-top: 1px solid var(--linia); }
.pf ul { display: grid; gap: 9px; font-size: 0.9375rem; }
.pf li { position: relative; padding-left: 22px; line-height: 1.45; }
.pf li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 3px; border-radius: 2px; background: var(--czern); }
.pf li small { display: block; color: var(--slaby); font-size: 0.8125rem; }
.pf .przycisk { margin-top: auto; align-self: flex-start; }
.pf-ul-pusta { flex: 1; }
.pf.polecany { background: var(--czern); color: #fff; box-shadow: 0 30px 60px -34px rgb(0 0 0 / 0.6); }
.pf.polecany h3::after { content: ""; display: block; width: 22px; height: 4px; border-radius: 2px; background: var(--neon); margin-top: 8px; }
.pf.polecany .pf-cena span, .pf.polecany .pf-opis { color: var(--na-ciemnym); }
.pf.polecany .pf-plus { color: var(--na-ciemnym-slaby); border-top-color: rgb(255 255 255 / 0.12); }
.pf.polecany li::before { background: var(--neon); }
.pf.polecany li small { color: var(--na-ciemnym-slaby); }
.ceny-uwaga { margin-top: 22px; color: var(--cichy); font-size: 0.9375rem; }
.ceny-uwaga a { color: var(--blekit-mocny); font-weight: 600; }

/* ---------- 8. Cennik ---------- */
.cennik { padding: clamp(96px, 12vw, 180px) 0; }
.cennik-w { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.cennik-glowa { position: sticky; top: calc(var(--nav-h) + 40px); }
.cennik-glowa h2 { font-size: clamp(2.3rem, 1rem + 4vw, 4.75rem); font-weight: 800; font-stretch: 112%; line-height: 0.96; letter-spacing: -0.04em; }
.cennik-glowa p { margin-top: 20px; color: var(--cichy); max-width: 26em; font-size: 1.125rem; }
.kalkulator { background: var(--karta); border-radius: 32px; padding: clamp(24px, 3.4vw, 44px); box-shadow: 0 0 0 1px var(--linia), 0 40px 80px -60px rgb(11 11 12 / 0.5); }
.kalk-pytanie { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 1.25rem; font-weight: 700; font-stretch: 106%; letter-spacing: -0.015em; }
.kalk-pytanie output { font-size: clamp(3rem, 2rem + 3vw, 4.5rem); font-weight: 900; font-stretch: 62%; line-height: 0.8; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 18px 0 2px; background: transparent; cursor: pointer; --p: 22%; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--czern) var(--p), var(--tlo-2) var(--p)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--czern) var(--p), var(--tlo-2) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--czern); box-shadow: inset 0 0 0 9px var(--czern), inset 0 0 0 30px var(--neon), 0 6px 14px -4px rgb(0 0 0 / 0.5); border: 0; }
input[type="range"]::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: var(--neon); border: 9px solid var(--czern); box-shadow: 0 6px 14px -4px rgb(0 0 0 / 0.5); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: inset 0 0 0 9px var(--czern), inset 0 0 0 30px var(--neon), 0 0 0 5px rgb(0 113 227 / 0.5); }
.kalk-skala { display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--slaby); font-variant-numeric: tabular-nums; }
.kalk-skala span:nth-child(2) { margin-left: 6%; } .kalk-skala span:nth-child(3) { margin-left: 8%; }
.plany { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.plan { padding: 18px; border-radius: 20px; background: var(--tlo); transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease); position: relative; }
.plan h3 { font-size: 1.0625rem; font-weight: 700; }
.plan-cena { margin-top: 10px; font-size: 0.9375rem; color: var(--cichy); }
.plan-cena b { font-size: 2.4rem; font-weight: 900; font-stretch: 70%; letter-spacing: -0.03em; color: var(--tekst); line-height: 1; }
.plan-ile { font-size: 0.875rem; color: var(--cichy); margin-top: 4px; }
.plan.aktywny { background: var(--czern); color: #fff; transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgb(0 0 0 / 0.6); }
.plan.aktywny .plan-cena, .plan.aktywny .plan-ile { color: var(--na-ciemnym); }
.plan.aktywny .plan-cena b { color: #fff; }
.plan.aktywny h3::after { content: ""; display: block; width: 22px; height: 4px; border-radius: 2px; background: var(--neon); margin-top: 8px; }
.kalk-wynik { margin-top: 18px; font-weight: 650; font-size: 1.0625rem; min-height: 1.6em; }
.w-kazdym { margin: 24px 0 28px; padding-top: 22px; border-top: 1px solid var(--linia); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; color: var(--cichy); font-size: 0.9375rem; }
.w-kazdym li { padding-left: 22px; position: relative; }
.w-kazdym li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 3px; border-radius: 2px; background: var(--czern); }

/* ---------- 9. Pytania ---------- */
.pytania { padding: 0 0 clamp(96px, 12vw, 180px); }
.pytania-w { max-width: 980px; margin: 0 auto; padding: 0 var(--pad); }
.pytania h2 { font-size: clamp(2.1rem, 1rem + 3vw, 3.75rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.035em; line-height: 1; margin-bottom: 32px; }
.faq details { border-top: 1px solid var(--linia-mocna); }
.faq details:last-child { border-bottom: 1px solid var(--linia-mocna); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 700; font-stretch: 104%; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ik { width: 26px; height: 26px; transition: transform 0.4s var(--ease); }
.faq details[open] summary .ik { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--cichy); max-width: 42em; }
.faq summary:hover { color: var(--blekit-mocny); }

/* ---------- 10. Zakończenie ---------- */
.final { padding: clamp(110px, 14vw, 200px) 0 clamp(90px, 10vw, 140px); text-align: center; }
.final-w { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; flex-direction: column; align-items: center; }
.final-logo { --lh: min(calc((100vw - 2 * var(--pad) - 18px) / 6.2), 116px); display: flex; align-items: center; gap: min(2vw, 26px); margin-bottom: clamp(18px, 2.4vw, 30px); }
.sygnet { width: var(--lh, 96px); height: auto; flex: none; filter: drop-shadow(0 24px 30px rgb(0 0 0 / 0.6)); }
.final-napis { display: block; height: var(--lh, 96px); width: auto; aspect-ratio: 516 / 100; color: #fff; overflow: visible; }
.sygnet path { fill: none; stroke-width: 7.5; stroke-linecap: round; stroke-linejoin: round; }
.s-pion, .s-gora { stroke: #fff; }
.s-ramie { stroke: var(--neon); }
.final h2 { font-size: clamp(1.15rem, 0.8rem + 1.3vw, 2rem); font-weight: 800; font-stretch: 112%; line-height: 1.1; letter-spacing: 0.08em; text-transform: uppercase; }
.trzy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 52px 0 48px; max-width: 960px; width: 100%; counter-reset: k; text-align: left; border-top: 1px solid rgb(255 255 255 / 0.14); }
.trzy li { counter-increment: k; padding: 22px 24px 4px; display: grid; gap: 4px; align-content: start; }
.trzy li + li { border-left: 1px solid rgb(255 255 255 / 0.14); }
.trzy li::before { content: counter(k); font-size: 2.6rem; font-weight: 900; font-stretch: 62%; line-height: 1; color: var(--neon); margin-bottom: 8px; }
.trzy b { font-weight: 700; }
.trzy span { color: var(--na-ciemnym-slaby); font-size: 0.9375rem; }
.final-akcje { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Stopka ---------- */
.stopka { padding: 40px 0 48px; border-top: 1px solid rgb(255 255 255 / 0.08); }
.stopka-w { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.stopka-logo { display: flex; align-items: center; gap: 10px; }
.stopka-logo img:first-child { border-radius: 8px; }
.stopka-znak { display: grid; gap: 5px; }
.stopka-napis { display: block; width: auto; height: 17px; aspect-ratio: 516 / 100; color: #fff; }
.stopka-haslo { font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--na-ciemnym); }
.stopka nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }
.stopka nav a { color: var(--na-ciemnym); text-decoration: none; font-size: 0.9375rem; }
.stopka nav a:hover { color: #fff; text-decoration: underline; }
.stopka-drobne { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--na-ciemnym-slaby); max-width: 60em; }

/* ---------- Szerokości ---------- */
@media (max-width: 1320px) {
  .nav-linki { display: none; }
  .nav-menu { display: inline-flex; }
}
@media (max-width: 1180px) {
  .nav-wybor { display: none; }
}
@media (max-width: 1080px) {
  .plany-firmy { grid-template-columns: 1fr 1fr; }
  .ksiegowy-w { grid-template-columns: 1fr; }
  .ksiegowy-foto { aspect-ratio: 16 / 11; }
  .miesiac-w { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 18px; }
  .miesiac-lewa { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "n n" "d k"; column-gap: 24px; align-items: center; }
  .miesiac-naglowek { grid-area: n; }
  .data { grid-area: d; margin: 6px 0 0; }
  .kartka { min-width: 0; }
  .kartka-glowa { padding: 6px 10px; font-size: 0.6875rem; }
  .kartka-glowa::after { width: 12px; height: 3px; }
  .kartka-tresc { padding: 8px 12px 10px; }
  .data-liczba { font-size: clamp(3.6rem, 2rem + 6vw, 6rem); }
  .data-dzien { margin-top: 6px; font-size: 0.8125rem; }
  .kroki { grid-area: k; }
  .krok p { margin-top: 8px; }
  .okno { max-height: none; height: 100%; aspect-ratio: auto; }
  .miesiac-prawa { min-height: 0; height: 100%; }
  .ksef-w { grid-template-columns: 1fr; }
  .ksef-scena { position: relative; top: auto; }
  .cennik-w { grid-template-columns: 1fr; }
  .cennik-glowa { position: static; }
  .klienci-glowa { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 900px) {
  .hero-w { grid-template-columns: 1fr; grid-template-areas: "wybor" "tytul" "bok" "cta"; row-gap: 24px; }
  .h-karta-2 { display: none; }
  .hero-kadr img { object-position: 76% 40%; }
  .manifest-w { grid-template-columns: 1fr; }
  .po-karta { position: relative; left: auto; right: auto; bottom: auto; margin: -30% 6% 0; }
  .karta-h { grid-template-columns: 1fr; grid-template-rows: 42% minmax(0, 1fr); height: min(calc(100svh - var(--nav-h) - 40px), 720px); border-radius: 26px; }
  .karta-h-tresc { justify-content: flex-start; gap: 12px; padding: 24px; }
  .karta-h p { font-size: 0.9875rem; }
  .bento { grid-template-columns: 1fr; }
  .b-szeroka { grid-column: auto; grid-template-columns: 1fr; }
  .b-wezwanie .b-sciezka { grid-template-columns: 1fr; }
  .b-pieczec { width: 88px; height: 88px; }
  .b { min-height: 0; }
  .ksef-scena { min-height: 600px; }
  .ksef-foto { width: 72%; }
  .w-kazdym { grid-template-columns: 1fr; }
  .stopka-w { grid-template-columns: 1fr; }
  .stopka nav { justify-content: flex-start; }
  .trzy { grid-template-columns: 1fr; }
  .trzy li { padding: 18px 4px; }
  .trzy li + li { border-left: 0; border-top: 1px solid rgb(255 255 255 / 0.14); }
  .tor-ramka { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tor-ramka::-webkit-scrollbar { display: none; }
  .tor { padding: 10px var(--pad); }
  .kk { width: min(82vw, 340px); scroll-snap-align: center; }
  .js .klienci-pin { min-height: 0; }
}
@media (max-width: 700px) {
  :root { --nav-h: 60px; }
  .plany-firmy { grid-template-columns: 1fr; }
  .pf-opis, .pf-cena { min-height: 0; }
  .wybor a { padding: 9px 13px; font-size: 0.875rem; }
  .nav-zaloguj { display: none; }
  .nav-akcje .przycisk-drugi { background: var(--karta); color: var(--tekst); border-color: var(--linia-mocna); }
.przycisk-drugi:hover { border-color: var(--tekst); transform: translateY(-1px); }
.przycisk-maly { display: none; }
  .hero-media { height: min(76svh, 640px); }
  .h-karta { width: min(270px, 74vw); font-size: 0.8125rem; padding: 14px 16px; }
  .h-karta-1 { top: auto; bottom: calc(11% + 108px); left: var(--pad); }
  .h-karta-3 { left: var(--pad); bottom: 7%; }
  .hero-kadr::after { background: linear-gradient(0deg, rgb(11 11 12 / 0.65) 0%, rgb(11 11 12 / 0) 55%); }
  .kalendarz ol { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .kalendarz li:not(.wydarzenie) { display: none; }
  .kalendarz li { flex: 1; }
  .miesiac-lewa { column-gap: 16px; }
  .krok h3 { font-size: 1.45rem; }
  .krok p { font-size: 0.9375rem; line-height: 1.5; }
  .okno-pasek { height: 24px; }
  .okno-pasek span { display: none; }
  .app { grid-template-columns: minmax(0, 1fr); height: calc(100% - 24px); font-size: clamp(9px, 2.7cqi, 12px); }
  .okno > .dane-przykladowe { top: 2px; font-size: 11px; }
  .app-bok { display: none; }
  .app-szukaj { display: none; }
  .ekran { padding: 1.2em; }
  .tel-klienta { right: 0.8em; width: 12em; height: 22em; }
  .adn-1 { display: none; }
  .ksef-scena { min-height: 600px; margin-top: 8px; }
  .ksef-foto { width: 74%; bottom: 90px; }
  .telefon { width: 236px; top: auto; bottom: 30px; transform: none; }
  .telefon .dane-przykladowe { bottom: -28px; }
  .podatki li { grid-template-columns: minmax(0, 1fr) auto; }
  .podatki .stan { grid-column: 1 / -1; text-align: left; }
  .plany { grid-template-columns: 1fr; }
  .plan { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 14px 18px; }
  .plan-cena { margin: 0; grid-row: 1 / 3; grid-column: 2; text-align: right; }
  .plan-ile { margin: 0; }
  .plan.aktywny h3::after { display: none; }
}

/* Mniej ruchu: wszystko widać od razu */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
