/* ===== Tokeny: język wizualny Kalkulator ERP by IT Excellence (Quicksand + Inter, zieleń #00dd00) ===== */
:root {
  --ink: #141821; --ink-2: #515b6b; --muted: #667080; --divider: #e2e5eb; --divider-2: #cfd5de; --pill: #eef0f4;
  --brand: #00dd00; --brand-hi: #1ae61a; --brand-ink: #0b2e18;
  --green-500: #22c55e; --green-600: #16a34a; --green-700: #15803d; --green-100: #dcfce7; --green-50: #f0fdf4;
  --surface: #ffffff; --bg-1: #fcfdfc; --bg-2: #f6f9f5; --bg-3: #edf3ec;
  --danger: #c0392b; --danger-bg: #fdeceb; --amber: #e3a008; --amber-bg: #fdf7e7; --amber-ink: #8a5a00; --amber-line: #f4e2b3;
  --hero-a: #141821; --hero-b: #15803d;
  --glass: rgba(255, 255, 255, .72); --glass-line: rgba(255, 255, 255, .7);
  --blob-a: rgba(0, 221, 0, .18); --blob-b: rgba(21, 128, 61, .16);
  --ring: rgba(34, 197, 94, .12); --focus: rgba(22, 163, 74, .45);
  --shadow-card: 0 8px 10px rgba(20, 50, 30, .07); --shadow-float: 0 24px 48px -16px rgba(20, 50, 30, .22);
  --r-card: 24px; --r-md: 16px; --r-sm: 12px; --r-pill: 999px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Quicksand', 'Inter', system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-soft: cubic-bezier(.4, 0, .2, 1);
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eaf2ec; --ink-2: #b5c2ba; --muted: #8e9c94; --divider: #26332b; --divider-2: #34463b; --pill: #1c2620;
    --brand-ink: #04210f;
    --green-500: #2fd46a; --green-600: #22c55e; --green-700: #5ee08a; --green-100: #143321; --green-50: #0f2418;
    --surface: #111814; --bg-1: #0f1512; --bg-2: #0c120f; --bg-3: #09100c;
    --danger: #ff8a80; --danger-bg: #2e1614; --amber: #f2c36b; --amber-bg: #2a2210; --amber-ink: #f2c36b; --amber-line: #4a3b17;
    --hero-a: #0b1510; --hero-b: #106a33;
    --glass: rgba(17, 24, 20, .72); --glass-line: rgba(255, 255, 255, .06);
    --blob-a: rgba(0, 221, 0, .10); --blob-b: rgba(21, 128, 61, .14);
    --ring: rgba(47, 212, 106, .16); --focus: rgba(94, 224, 138, .5);
    --shadow-card: 0 8px 10px rgba(0, 0, 0, .25); --shadow-float: 0 24px 48px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #eaf2ec; --ink-2: #b5c2ba; --muted: #8e9c94; --divider: #26332b; --divider-2: #34463b; --pill: #1c2620;
  --brand-ink: #04210f;
  --green-500: #2fd46a; --green-600: #22c55e; --green-700: #5ee08a; --green-100: #143321; --green-50: #0f2418;
  --surface: #111814; --bg-1: #0f1512; --bg-2: #0c120f; --bg-3: #09100c;
  --danger: #ff8a80; --danger-bg: #2e1614; --amber: #f2c36b; --amber-bg: #2a2210; --amber-ink: #f2c36b; --amber-line: #4a3b17;
  --hero-a: #0b1510; --hero-b: #106a33;
  --glass: rgba(17, 24, 20, .72); --glass-line: rgba(255, 255, 255, .06);
  --blob-a: rgba(0, 221, 0, .10); --blob-b: rgba(21, 128, 61, .14);
  --ring: rgba(47, 212, 106, .16); --focus: rgba(94, 224, 138, .5);
  --shadow-card: 0 8px 10px rgba(0, 0, 0, .25); --shadow-float: 0 24px 48px -16px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 96px); -webkit-text-size-adjust: 100%; background: var(--bg-2); }
body { margin: 0; min-height: 100vh; background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 45%, var(--bg-3) 100%); background-attachment: fixed; color: var(--ink); font: 400 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.has-modal { overflow: hidden; }
h1, h2, h3 { color: var(--ink); margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; line-height: 1.14; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ===== Tło z plamami ===== */
.bg-blobs { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.blob-a { width: 720px; height: 720px; left: -240px; top: -200px; background: radial-gradient(circle, var(--blob-a), transparent 70%); animation: drift 22s var(--ease-soft) infinite alternate; }
.blob-b { width: 640px; height: 640px; right: -260px; top: 40vh; background: radial-gradient(circle, var(--blob-b), transparent 70%); animation: drift 28s var(--ease-soft) infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(60px, 80px, 0) scale(1.08); } }

/* ===== Nagłówek: szklana pigułka ===== */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; padding: 16px 0 6px; transition: transform .35s var(--ease-out), opacity .25s; }
.topbar.is-hidden:not(:focus-within) { transform: translateY(calc(-100% - env(safe-area-inset-top, 0px))); opacity: 0; pointer-events: none; }
.topbar-in { display: flex; align-items: center; gap: 24px; min-height: 64px; max-width: 1240px; padding: 10px 12px 10px 16px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(20, 50, 30, .04), var(--shadow-card); }
.topbar .wrap.topbar-in { margin: 0 24px; }
@media (min-width: 1289px) { .topbar .wrap.topbar-in { margin: 0 auto; } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: var(--brand-ink); font: 700 13px/1 var(--font-display); letter-spacing: .02em; box-shadow: 0 6px 14px -6px rgba(0, 221, 0, .6); }
.brand-logo { display: block; width: 164px; height: 33.9px; color: var(--ink); flex: none; margin-right: 10px; }
.topbar .brand-logo { margin-left: 30px; }
.brand-logo-sm { width: 150px; height: 31px; margin-right: 0; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt strong { font-family: var(--font-display); font-size: 17px; font-weight: 700; white-space: nowrap; }
.brand-txt span { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.brand-txt b { color: var(--green-700); font-weight: 700; }
.topnav { display: flex; gap: 4px; padding: 0 16px; }
.topnav button { border: 0; background: none; padding: 8px 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background-color .25s, color .25s; }
.topnav button:hover:not(.is-on) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--green-500); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.topnav button.is-on { color: var(--green-700); background: var(--green-50); font-weight: 600; }
.topactions { margin-left: auto; display: flex; gap: 8px; }
.topactions .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.theme-btn { width: 42px; height: 42px; flex: none; color: var(--muted); box-shadow: none; transition: background-color .25s, border-color .25s; }
.theme-btn:hover { color: var(--muted); }
.theme-btn .ic { width: 19px; height: 19px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }

/* ===== Przyciski ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: var(--r-pill); border: 1px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: transform .35s var(--ease-out), background-color .25s, color .25s, border-color .25s; }
.btn .ic { width: 18px; height: 18px; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:active:not(:disabled) { transform: translateY(0) scale(.98); transition-duration: .1s; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover:not(:disabled) { background: var(--brand-hi); }
.btn-secondary { background: var(--ink); color: var(--surface); }
.btn-secondary:hover:not(:disabled) { background: var(--ink-2); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--divider); }
.btn-ghost:hover:not(:disabled) { border-color: var(--divider-2); }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: 13px; box-shadow: none; }
.btn-block { width: 100%; }
.link { border: 0; background: none; padding: 0; color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--divider); background: var(--surface); color: var(--ink); transition: background-color .25s, border-color .25s; }
.icon-btn:hover { background: var(--bg-2); border-color: var(--divider-2); }
.icon-btn .ic { width: 18px; height: 18px; }

/* ===== Hero, pasek postępu i kroki ===== */
.hero { padding: 26px 0 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; line-height: 1.4; background: rgba(0, 221, 0, .12); color: var(--green-700); border: 1px solid rgba(0, 221, 0, .35); margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 56px); margin-bottom: 18px; }
.hero h1 .accent-line { display: block; color: var(--green-700); }
.accent { position: relative; white-space: nowrap; z-index: 0; }
.accent::after { content: ''; position: absolute; left: .02em; right: .02em; bottom: .16em; height: .14em; background: var(--brand); border-radius: 4px; opacity: .45; z-index: -1; }
.lead { max-width: 680px; font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); }
.hero-compact { padding: 18px 0 4px; }
.hero-compact .eyebrow { margin-bottom: 12px; }
.hero-compact h1 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 0; }
.hero-compact h1 .accent-line { display: inline; }
.progress { height: 3px; margin: 26px 0 20px; border-radius: 3px; background: rgba(20, 50, 30, .08); overflow: hidden; }
.progress i { display: block; width: 100%; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--green-500), var(--brand)); transform-origin: left center; transition: transform .5s var(--ease-out); }
.rail { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.st button { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 6px 12px; border-radius: var(--r-md); border: 1px solid var(--divider); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink-2); transition: border-color .25s, background-color .25s, box-shadow .25s, transform .25s var(--ease-out); }
.st button:hover:not(:disabled) { border-color: var(--divider-2); transform: translateY(-2px); }
.st-no { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--pill); color: var(--ink-2); font-family: var(--font-display); font-weight: 700; font-size: 14px; transition: background-color .25s, color .25s; }
.st-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.st-cur button { border-color: var(--green-500); background: var(--green-50); box-shadow: 0 0 0 3px var(--ring); }
.st-cur .st-no { background: var(--brand); color: var(--brand-ink); }
.st-cur .st-label { color: var(--green-700); }
.st-done .st-no { background: var(--green-600); color: #fff; font-size: 0; }
.st-done .st-no::after { content: '✓'; font-size: 14px; }
.st button:disabled { cursor: default; opacity: .6; }

/* ===== Układ ===== */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; padding-bottom: 64px; }
.card { background: var(--surface); border: 1px solid var(--divider); border-radius: var(--r-card); box-shadow: var(--shadow-card); transition: border-color .3s, box-shadow .3s; }
.step { padding: 28px; }
.step.is-entering { animation: panelIn .35s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.step:focus-within { border-color: rgba(22, 163, 74, .35); }
.step-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.step-no { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--green-100); color: var(--green-700); font: 700 17px/1 var(--font-display); }
.step-head h2 { font-size: 23px; outline: none; }
.step-head p { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.sub { font-size: 16px; margin: 28px 0 14px; padding-top: 20px; border-top: 1px solid var(--divider); }
.sub-first { margin-top: 4px; padding-top: 0; border-top: 0; }
.stepnav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 8px; }
.stepnav-count { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.draft-note { font-size: 13px; color: var(--muted); text-align: center; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 18px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.field-wide { grid-column: 1 / -1; }
.grid-ss { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 28px; margin-top: 16px; align-items: start; }
.details { padding: 18px 20px; border-radius: var(--r-md); background: var(--green-50); border: 1px solid rgba(22, 163, 74, .16); }

/* ===== Pola ===== */
.field { min-width: 0; }
.lbl { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin: 0 0 8px; }
.lbl .ic { width: 18px; height: 18px; color: var(--green-600); }
.req { color: var(--green-600); }
.help { margin-top: 7px; font-size: 12.5px; color: var(--muted); }
.field-err { min-height: 18px; margin-top: 4px; font-size: 12.5px; color: var(--danger); font-weight: 500; }
.in { width: 100%; min-height: 48px; padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--divider); background: var(--bg-1); color: var(--ink); font-size: 15px; outline: none; transition: border-color .25s, background-color .25s, box-shadow .25s; }
.in::placeholder { color: #a6aeba; }
.in:hover { border-color: var(--divider-2); }
.in:focus { border-color: var(--green-500); background: var(--surface); box-shadow: 0 0 0 4px var(--ring); }
.in.is-err { border-color: var(--danger); background: var(--danger-bg); }
textarea.in { resize: vertical; min-height: 88px; line-height: 1.5; }
select.in { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e7888' stroke-width='2' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.in-sm { min-height: 36px; padding: 6px 32px 6px 12px; font-size: 13.5px; }
.in-num { max-width: 110px; text-align: right; }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--divider); border-radius: var(--r-pill); overflow: hidden; background: var(--surface); transition: border-color .25s, box-shadow .25s; }
.stepper:focus-within { border-color: var(--green-500); box-shadow: 0 0 0 4px var(--ring); }
.stp-btn { width: 42px; min-height: 44px; border: 0; background: transparent; color: var(--ink-2); font-size: 18px; line-height: 1; transition: background-color .2s, color .2s; }
.stp-btn:hover { background: var(--green-50); color: var(--green-700); }
.stp-in { width: 64px; border: 0; text-align: center; font-weight: 700; font-size: 15px; background: transparent; color: var(--ink); -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.stp-in:focus { outline: none; }
.stp-in::-webkit-outer-spin-button, .stp-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.seg button { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border-radius: var(--r-pill); border: 1px solid var(--divider); background: var(--bg-1); font-weight: 500; font-size: 14px; line-height: 1.25; color: var(--ink); transition: border-color .25s, background-color .25s, box-shadow .25s; }
.seg button small { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.seg button:hover:not(:disabled) { border-color: var(--divider-2); }
.seg button.is-on { border-color: var(--green-500); background: var(--green-50); color: var(--green-700); font-weight: 600; box-shadow: 0 0 0 3px var(--ring); }
.seg button.is-on small { color: var(--green-700); opacity: .85; }

/* ===== Kafelki ===== */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tiles-2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles-sm { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.tiles-ind { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.tiles-sig { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tiles-mod { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tiles-actions { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.tiles + .tiles, .grid-ss + .tiles, .tiles + .lbl, .grid-ss + .lbl { margin-top: 12px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; width: 100%; text-align: left; background: var(--bg-1); border: 1px solid var(--divider); border-radius: var(--r-md); padding: 16px 18px; color: var(--ink-2); transition: border-color .25s, background-color .25s, box-shadow .25s, transform .25s var(--ease-out); }
button.tile:hover:not(:disabled), .tile-qty:hover { border-color: var(--divider-2); }
.tile.is-on { border-color: var(--green-500); background: var(--surface); box-shadow: 0 0 0 3px var(--ring); }
.tile:disabled { opacity: .5; cursor: not-allowed; }
.tile-check { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--divider); background: var(--surface); color: transparent; transition: background-color .22s, border-color .22s; }
.tile-check .ic { width: 14px; height: 14px; stroke-width: 3; }
button.tile:hover:not(:disabled) .tile-check, .tile-qty:hover .tile-check { border-color: var(--green-500); }
.tile.is-on .tile-check { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.tile-dot { border-radius: 50%; }
.tile.is-on .tile-dot { background: var(--surface); border: 6px solid var(--green-600); }
.tile-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green-50); color: var(--green-700); margin-bottom: 4px; transition: background-color .25s, color .25s; }
.tile-ic .ic { width: 21px; height: 21px; }
.tile.is-on .tile-ic { background: var(--brand); color: var(--brand-ink); }
.tile-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding-right: 30px; }
.tile-title { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.tile-desc { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.tile-note { font-size: 12px; color: var(--amber-ink); background: var(--amber-bg); padding: 4px 10px; border-radius: 8px; margin-top: 2px; }
.tile-price { margin-top: auto; padding-top: 8px; font-family: var(--font-display); font-size: 14.5px; font-weight: 700; color: var(--ink); }
.tile.is-on .tile-price { color: var(--green-700); }
.badge-rec { display: inline-flex; align-items: center; padding: 1px 10px; border-radius: var(--r-pill); background: var(--green-100); color: var(--green-700); font-size: 11.5px; font-weight: 700; line-height: 1.7; }
.why { font-size: 12.5px; color: var(--green-700); line-height: 1.45; padding: 4px 0 1px 10px; border-left: 2px solid var(--brand); }
.tag { display: inline-flex; align-items: center; padding: 1px 9px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 600; background: var(--pill); color: var(--ink-2); line-height: 1.7; white-space: nowrap; }
.tag-demo { background: var(--amber-bg); color: var(--amber-ink); margin-bottom: 8px; }
.tag-src { margin-top: 2px; background: var(--green-100); color: var(--green-700); }
.tile-ind { min-height: 118px; }
.tile-ind .tile-title { font-size: 14px; padding-right: 26px; }
.tile-qty { padding: 0; }
.qty-toggle { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; width: 100%; padding: 16px 18px 6px; border: 0; background: none; text-align: left; border-radius: var(--r-md); color: inherit; }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; width: 100%; padding: 0 18px 14px; }
.qty-row .tile-price { padding-top: 0; }
.qty-row .stepper .stp-btn { width: 36px; min-height: 36px; }
.qty-row .stp-in { width: 52px; }
.tile-action { min-height: 132px; background: var(--surface); }
.tile-action .tile-title { padding-right: 0; }
.tile-action:hover:not(:disabled) { border-color: var(--green-500); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.tile-action.is-primary { background: var(--green-50); border-color: var(--green-500); }
.tile-action.is-primary .tile-ic { background: var(--brand); color: var(--brand-ink); }

/* ===== Chipy ===== */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--divider); background: var(--bg-1); border-radius: var(--r-pill); padding: 8px 16px; font-size: 13.5px; font-weight: 500; color: var(--ink); transition: border-color .25s, background-color .25s, box-shadow .25s; }
.chip small { color: var(--muted); font-size: 12px; font-weight: 500; }
.chip .ic { width: 15px; height: 15px; stroke-width: 2.6; color: var(--green-600); }
.chip:hover:not(:disabled) { border-color: var(--divider-2); }
.chip.is-on { border-color: var(--green-500); background: var(--green-50); color: var(--green-700); font-weight: 600; box-shadow: 0 0 0 3px var(--ring); }
.chip:disabled { opacity: .45; cursor: not-allowed; }
.chip-demo { flex-direction: column; align-items: flex-start; gap: 0; border-radius: var(--r-sm); padding: 9px 16px; line-height: 1.3; background: var(--surface); }

/* ===== Komunikaty ===== */
.notice { display: flex; gap: 11px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: var(--green-50); color: var(--ink); font-size: 14px; margin: 0 0 14px; border: 1px solid rgba(22, 163, 74, .16); }
.notice > .ic { color: var(--green-700); margin-top: 1px; }
.notice strong { color: var(--green-700); }
.notice-warn { background: var(--amber-bg); border-color: var(--amber-line); color: var(--amber-ink); }
.notice-warn > .ic, .notice-warn strong { color: var(--amber-ink); }
.notice-ok { background: var(--green-50); }
.notice-err { background: var(--danger-bg); border-color: var(--danger); color: var(--danger); }
.notice-err > .ic { color: var(--danger); }
.fine { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.empty { text-align: center; padding: 40px 16px; display: grid; justify-items: center; gap: 8px; }
.empty .ic { width: 34px; height: 34px; color: var(--green-600); }
.empty p { color: var(--muted); margin-bottom: 8px; }

/* ===== Krok 1: NIP ===== */
.nip-row { display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.nip-row .btn-lg { margin-top: 30px; }
.nip { position: relative; display: inline-flex; border-radius: 12px; }
.nip-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; font-size: 16px; cursor: text; z-index: 2; }
.nip-boxes { display: flex; align-items: center; gap: 6px; }
.box { width: 42px; height: 56px; border: 1px solid var(--divider); border-radius: var(--r-sm); display: grid; place-items: center; font: 700 24px/1 var(--font-display); color: var(--ink); background: var(--bg-1); font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.box.filled { border-color: rgba(22, 163, 74, .3); background: var(--green-50); }
.nip:focus-within .box.cur { border-color: var(--green-500); background: var(--surface); box-shadow: 0 0 0 4px var(--ring); }
.nip:focus-within .box.cur:empty::after { content: ''; width: 2px; height: 26px; background: var(--green-600); animation: blink 1s steps(2, start) infinite; }
.nip:focus-within:not(:has(.cur)) .nip-boxes { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 12px; }
.sep { width: 10px; height: 2px; border-radius: 2px; background: var(--divider-2); }
.nip.is-valid .box { border-color: var(--green-500); background: var(--green-50); color: var(--green-700); }
.nip.is-invalid .box.filled { border-color: var(--danger); background: var(--danger-bg); }
@keyframes blink { to { visibility: hidden; } }
.demo { margin-top: 20px; padding: 16px 18px; border-radius: var(--r-md); background: var(--bg-2); border: 1px dashed var(--divider); }
.demo-lbl { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); margin-bottom: 10px; }
.sources { list-style: none; margin: 0; padding: 0; display: grid; border: 1px solid var(--divider); border-radius: var(--r-md); overflow: hidden; }
.src { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 16px; background: var(--surface); transition: background-color .25s; }
.src + .src { border-top: 1px solid var(--divider); }
.src-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--divider); }
.src-done .src-ic { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.src-done .src-ic .ic { width: 13px; height: 13px; stroke-width: 3; }
.src-run { background: var(--green-50); }
.src-run .src-ic { border-color: transparent; }
.src-t { font-weight: 600; color: var(--ink); font-size: 14px; }
.src-d { font-size: 13px; color: var(--muted); text-align: right; }
.src-done .src-d { color: var(--ink); font-weight: 500; }
.spin { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--green-100); border-top-color: var(--green-600); animation: spin .8s linear infinite; }
.btn .spin { border-color: rgba(255, 255, 255, .3); border-top-color: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }
.co { margin-top: 20px; padding: 22px; border-radius: var(--r-md); border: 1px solid rgba(22, 163, 74, .22); background: linear-gradient(180deg, var(--green-50), var(--surface) 140px); }
.co-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.co-name { font-size: 22px; }
.co-sub { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; margin: 18px 0 0; }
.kv div { min-width: 0; padding-bottom: 6px; border-bottom: 1px dashed rgba(22, 163, 74, .2); }
.kv dt { font-size: 12.5px; color: var(--muted); }
.kv dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); font-size: 14.5px; overflow-wrap: anywhere; }
.kv-wide { grid-column: span 2; }
.co-block { margin-top: 20px; }
.co-block p { font-size: 14px; margin-top: 3px; }
.found { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.found li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; }
.co-office { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--divider); font-size: 14px; }
.co-office .ic { color: var(--green-600); }
.ai-box { margin-top: 18px; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--divider); background: var(--bg-2); }
.ai-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 12px 0; }
.ai-row .help { margin: 0; }

/* ===== Krok 5 i 6 ===== */
.cfg { padding: 22px; border: 1px solid var(--divider); border-radius: var(--r-md); background: var(--bg-2); }
.cfg + .cfg { margin-top: 16px; }
.cfg-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px dashed var(--divider-2); }
.cfg-head h3 { font-size: 18px; }
.cfg-head p { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.cfg-sum { font-family: var(--font-display); font-weight: 700; color: var(--green-700); font-size: 18px; white-space: nowrap; }
.cfg .lbl { margin-top: 18px; }
.cfg .grid2 { margin-top: 14px; }
.cfg > .field { margin-top: 16px; }
.cfg .tiles .tile { background: var(--surface); }
.result { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; margin-top: 28px; border-radius: var(--r-md); overflow: hidden; background: linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 100%); box-shadow: var(--shadow-float); }
.result > div { color: #fff; padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.result > div + div { border-left: 1px solid rgba(255, 255, 255, .16); }
.result-lbl { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.result-val { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.15; color: #fff; letter-spacing: -.01em; }
.result-sub { font-size: 13px; color: rgba(255, 255, 255, .78); }
.how { margin-top: 14px; border: 1px solid var(--divider); border-radius: var(--r-md); padding: 0 18px; background: var(--surface); }
.how summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--green-700); }
.how[open] summary { border-bottom: 1px solid var(--divider); }
.how .help { margin: 12px 0 14px; }
.tbl-how { width: 100%; border-collapse: collapse; margin-top: 6px; }
.tbl-how th, .tbl-how td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--divider); vertical-align: top; font-size: 14px; }
.tbl-how th { font-weight: 600; color: var(--ink); }
.tbl-how th small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.tbl-how tfoot th, .tbl-how tfoot td { border-bottom: 0; font-weight: 700; color: var(--green-700); font-family: var(--font-display); font-size: 15px; }
.n { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ===== Krok 7 ===== */
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.summary > div { background: var(--bg-2); border: 1px solid var(--divider); border-radius: var(--r-md); padding: 16px 18px; display: flex; flex-direction: column; gap: 3px; }
.summary span { font-size: 12.5px; color: var(--muted); }
.summary strong { font-family: var(--font-display); font-size: 19px; color: var(--ink); font-weight: 700; }
.summary em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.summary .sum-main { background: linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 100%); border-color: transparent; box-shadow: var(--shadow-float); }
.summary .sum-main span, .summary .sum-main em { color: rgba(255, 255, 255, .8); }
.summary .sum-main strong { color: #fff; font-size: 24px; }
.scope { margin-top: 20px; padding: 18px 20px; border-radius: var(--r-md); background: var(--green-50); border: 1px solid rgba(22, 163, 74, .16); }
.scope ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 7px 20px; }
.scope li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; }
.scope li .ic { width: 17px; height: 17px; color: var(--green-600); stroke-width: 2.6; margin-top: 2px; }
.consent { position: relative; display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; font-size: 14px; color: var(--ink-2); cursor: pointer; line-height: 1.5; }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; border: 2px solid var(--divider); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background-color .22s, border-color .22s; }
.consent input::after { content: ''; width: 10px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translateY(-1px) rotate(-45deg) scale(.4); opacity: 0; transition: transform .22s var(--ease-out), opacity .18s; }
.consent input:checked { background: var(--green-600); border-color: var(--green-600); }
.consent input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); opacity: 1; }
.consent:hover input { border-color: var(--green-500); }
.consent input:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--ring); }

/* ===== Podsumowanie boczne: ciemna karta z gradientem ===== */
.col-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 104px); display: grid; gap: 16px; }
.side-card { border-radius: var(--r-card); padding: 24px; background: linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 100%); color: #fff; box-shadow: var(--shadow-float); }
.side-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.side-title { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .95; }
.side-sub { display: inline-flex; padding: 4px 12px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; background: rgba(0, 221, 0, .16); color: #b8ffb8; border: 1px solid rgba(0, 221, 0, .4); }
.side-total { margin: 14px 0 18px; font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, .8); }
.side-total strong { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1; }
.side-total strong span { font-size: 24px; }
.side-empty { font-size: 13.5px; color: rgba(255, 255, 255, .6); font-style: italic; }
.side-lines { list-style: none; margin: 0; padding: 0 0 14px; display: grid; gap: 9px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.side-lines li { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; }
.side-lines li span:first-child { flex: 1 1 auto; min-width: 0; opacity: .82; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-lines li span:last-child { flex: none; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.side-kv { margin: 14px 0 0; display: grid; gap: 8px; }
.side-kv div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.side-kv dt { opacity: .82; }
.side-kv dd { margin: 0; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.side-kv .kv-strong { font-size: 16px; }
.side-kv .kv-strong dt { opacity: 1; }
.side-kv .kv-strong dd { font-family: var(--font-display); font-size: 18px; }
.side-kv .kv-promo dd { color: #b8ffb8; }
.side-impl { margin: 16px 0 18px; padding: 14px 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 10px; }
.side-impl div { display: flex; flex-direction: column; }
.side-impl span { font-size: 12.5px; opacity: .75; }
.side-impl strong { font-family: var(--font-display); font-size: 16px; }
.side-alt { padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, .2); }
.side-alt strong { color: #b8ffb8; }
.side-card .fine { color: rgba(255, 255, 255, .7); }
.side-todo { background: var(--surface); border: 1px solid var(--divider); border-radius: var(--r-card); padding: 20px 22px; box-shadow: var(--shadow-card); }
.side-todo h3 { font-size: 15px; margin-bottom: 10px; }
.side-todo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.side-todo li { display: flex; justify-content: space-between; align-items: center; gap: 9px; font-size: 14px; }
.side-todo li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; }
.side-todo li .link { flex: 1; text-align: left; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.side-todo li .link:hover { color: var(--green-700); text-decoration: underline; }
.side-todo li span { font-size: 12px; color: var(--muted); }
.todo-ok { display: flex; align-items: center; gap: 8px; color: var(--green-700); font-weight: 600; font-size: 14px; }

/* ===== Pasek mobilny ===== */
.mbar { display: none; }

/* ===== Panel ITE ===== */
.panel { padding: 26px 0 64px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.panel-head h1 { font-size: clamp(28px, 3.6vw, 42px); }
.lead-sm { color: var(--ink-2); margin-top: 8px; }
.store { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid var(--divider); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--muted); }
.store-db { color: var(--green-700); border-color: rgba(22, 163, 74, .3); background: var(--green-50); }
.store-local { color: var(--amber-ink); border-color: var(--amber-line); background: var(--amber-bg); }
.store .ic { width: 16px; height: 16px; }
.tabs { display: flex; gap: 4px; margin-bottom: 18px; overflow-x: auto; padding: 4px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--divider); width: max-content; max-width: 100%; }
.tabs button { border: 0; background: none; padding: 9px 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background-color .25s, color .25s; }
.tabs button:hover { color: var(--green-700); }
.tabs button.is-on { color: var(--green-700); background: var(--green-50); font-weight: 600; box-shadow: inset 0 0 0 1px rgba(22, 163, 74, .25); }
.panel-body { padding: 28px; }
.panel-sum { color: var(--ink-2); margin-bottom: 16px; }
.chips-filter { margin-bottom: 16px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--divider); border-radius: var(--r-md); }
.tbl { width: 100%; border-collapse: collapse; min-width: 880px; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--divider); vertical-align: top; font-size: 14px; }
.tbl thead th { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--bg-2); position: sticky; top: 0; }
.tbl tbody tr:last-child td, .tbl tbody tr:last-child th { border-bottom: 0; }
.tbl tbody tr:hover td { background: var(--bg-1); }
.tbl td small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.tbl .acts { white-space: nowrap; }
.tbl .nowrap { white-space: nowrap; }
.tbl select.in-sm { min-width: 150px; width: auto; }
body.panel-view .topactions .btn { visibility: hidden; }
.tbl .acts .btn + .btn { margin-left: 6px; }
.tbl code { font-size: 12px; color: var(--muted); font-family: inherit; }
.tbl-prices, .tbl-cfg { min-width: 640px; }
.cfg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px 24px; }
.cfg-grid + .cfg-grid { margin-top: 12px; }
.cfg-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--divider); }
.cfg-row .in-num, .cfg-subs .in-num { min-height: 40px; padding: 8px 12px; }
.cfg-subs { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.cfg-subs label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.cfg-subs .in-num { width: 84px; }
.cfg-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.flags, .promo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.flags li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); background: var(--amber-bg); border: 1px solid var(--amber-line); font-size: 14px; color: var(--amber-ink); }
.flags li .ic { color: var(--amber-ink); margin-top: 1px; }
.promo-list li { position: relative; font-size: 14px; padding-left: 18px; }
.promo-list li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* ===== Okno modalne, toast ===== */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-back { position: absolute; inset: 0; background: rgba(12, 22, 16, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .25s var(--ease-out); }
.modal-dlg { position: relative; width: min(640px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-float); overflow: hidden; animation: pop .35s var(--ease-out); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal-wide { width: min(960px, 100%); }
.modal-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 20px 16px 24px; border-bottom: 1px solid var(--divider); }
.modal-head h2 { font-size: 18px; }
.modal-head p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.modal-body { padding: 22px 24px; overflow: auto; background: var(--bg-2); }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--divider); flex-wrap: wrap; }
.mail-meta { margin: 0 0 14px; display: grid; gap: 6px; }
.mail-meta div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; font-size: 14px; }
.mail-meta dt { color: var(--muted); }
.mail-meta dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.mail-body { white-space: pre-wrap; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--divider); background: var(--surface); font-size: 14.5px; line-height: 1.65; color: var(--ink); margin-bottom: 14px; }
.toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 24px); z-index: 80; max-width: min(560px, calc(100vw - 32px)); padding: 13px 22px; border-radius: var(--r-pill); background: #141821; color: #fff; font-size: 14.5px; font-weight: 500; text-align: center; box-shadow: var(--shadow-float); opacity: 0; pointer-events: none; transition: opacity .3s, transform .35s var(--ease-out); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.has-modal .toast { top: calc(16px + env(safe-area-inset-top, 0px)); bottom: auto; }

/* ===== Dokument oferty (zawsze jasny, jak papier) ===== */
.doc-frame { background: #e9efe8; padding: 20px; border-radius: var(--r-md); }
.doc { background: #fff; color: #2b313c; font-family: var(--font); font-size: 12px; line-height: 1.55; padding: 40px 44px; border-radius: 6px; max-width: 794px; margin: 0 auto; box-shadow: 0 8px 10px rgba(20, 50, 30, .07); }
.doc-pdf { width: 718px; max-width: none; border-radius: 0; box-shadow: none; padding: 0; }
.doc h1, .doc h2 { color: #141821; font-family: var(--font-display); }
.doc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 16px; border-bottom: 2px solid #00dd00; }
.doc-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.doc-logo { display: block; width: 168px; height: 34.7px; }
.doc .mark { width: 40px; height: 40px; background: #00dd00; color: #0b2e18; box-shadow: none; }
.doc-brand strong { display: block; font-family: var(--font-display); font-size: 15px; color: #141821; }
.doc-brand em { font-style: normal; font-size: 10.5px; color: #15803d; font-weight: 600; }
.doc-no { text-align: right; display: flex; flex-direction: column; font-size: 10.5px; color: #5f6979; }
.doc-no strong { font-family: var(--font-display); font-size: 15px; color: #141821; }
.doc-title { font-size: 26px; line-height: 1.1; color: #15803d !important; margin: 22px 0 16px; }
.doc-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; break-inside: avoid; }
.doc-parties div { display: flex; flex-direction: column; padding: 13px 15px; border: 1px solid #e2e5eb; border-radius: 10px; font-size: 11px; color: #515b6b; }
.doc-parties div:first-child { border-color: #cfe8d6; background: #f4fbf5; }
.doc-parties strong { color: #141821; font-size: 13px; margin-bottom: 2px; }
.doc-k { font-family: var(--font-display); font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5f6979; margin-bottom: 6px; }
.doc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 8px; break-inside: avoid; }
.doc-kpis div { border-radius: 10px; padding: 11px 13px; display: flex; flex-direction: column; background: #f6f9f5; }
.doc-kpis div:first-child { background: linear-gradient(135deg, #141821 0%, #15803d 100%); }
.doc-kpis div:first-child span, .doc-kpis div:first-child strong { color: #fff; }
.doc-kpis span { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #5f6979; }
.doc-kpis strong { font-family: var(--font-display); font-size: 15px; color: #141821; margin-top: 2px; }
.doc-h { display: flex; align-items: center; gap: 10px; font-size: 15px; margin: 24px 0 8px; break-after: avoid; }
.doc-h span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #dcfce7; color: #15803d; font-size: 11px; font-weight: 700; }
.dt { margin-bottom: 8px; }
.dt-row { display: grid; gap: 10px; padding: 6px 0; border-bottom: 1px solid #eef0f3; align-items: start; break-inside: avoid; }
.dt-4 .dt-row { grid-template-columns: minmax(0, 1fr) 44px 96px 108px; }
.dt-2 .dt-row { grid-template-columns: minmax(0, 1fr) 150px; }
.dt-3 .dt-row { grid-template-columns: minmax(0, 1fr) 150px 200px; }
.dt-row small { display: block; color: #5f6979; font-size: 10px; }
.dt-head { font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: #5f6979; font-weight: 600; border-bottom: 1.5px solid #22c55e; }
.dt-grp { display: block; font-family: var(--font-display); font-weight: 700; color: #15803d; padding-top: 10px; border-bottom-color: transparent; }
.dt-row.is-promo { color: #15803d; }
.dt-foot { font-weight: 700; color: #141821; border-bottom: 0; }
.dt-4 > .dt-foot:first-of-type, .dt > .dt-foot:first-of-type { border-top: 2px solid #15803d; margin-top: 4px; padding-top: 8px; }
.dt-foot > span:last-child { font-family: var(--font-display); color: #15803d; }
.dt-foot.dt-sm { font-weight: 500; color: #5f6979; padding-top: 1px; padding-bottom: 1px; border-top: 0; margin-top: 0; }
.dt-foot.dt-sm > span:last-child { color: #515b6b; font-family: var(--font); }
.doc-note { font-size: 10.5px; color: #5f6979; }
.doc-list { margin: 0; padding-left: 0; list-style: none; }
.doc-list li { position: relative; padding-left: 14px; margin-bottom: 5px; }
.doc-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: #22c55e; }
.doc-foot { margin-top: 24px; padding-top: 10px; border-top: 1px solid #e2e5eb; font-size: 9px; color: #5f6979; text-align: center; }
#pdf-root { position: fixed; left: -10000px; top: 0; width: 718px; background: #fff; }

/* ===== Stopka ===== */
.footer { border-top: 1px solid var(--divider); background: var(--glass); padding: 32px 0 40px; }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer .brand-txt strong { font-size: 14.5px; }
.footer .mark { width: 34px; height: 34px; font-size: 12px; border-radius: 10px; box-shadow: none; }
.footer nav { display: flex; gap: 18px; }
.footer nav button, .footer nav a { border: 0; background: none; padding: 0; color: var(--ink-2); font-weight: 500; font-size: inherit; text-decoration: none; }
.footer nav button:hover, .footer nav a:hover { color: var(--green-700); }

/* ===== Responsywność ===== */
@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
  .tiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .col-side { position: static; }
  .topactions .btn-ghost { display: none; }
  .stepnav { display: none; }
  .mbar { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; padding: 10px 10px 10px 22px; border-radius: var(--r-pill); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--divider); box-shadow: var(--shadow-float); }
  .mbar[hidden] { display: none; }
  .mbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 720px; margin: 0 auto; }
  .mbar-sum { display: flex; flex-direction: column; line-height: 1.25; }
  .mbar-sum span { font-size: 11.5px; color: var(--muted); }
  .mbar-sum strong { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
  body.calc-view { padding-bottom: 96px; }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .topbar { padding-top: 10px; }
  .topbar .wrap.topbar-in { margin: 0 16px; gap: 10px; min-height: 58px; padding: 8px 8px 8px 12px; }
  .brand-txt span { display: none; }
  .brand-logo { width: 116px; height: 24px; margin-right: 6px; }
    .topactions { margin-left: 8px; }
  .topactions .btn { display: none; }
  .theme-btn { width: 38px; height: 38px; }
  .topnav { margin-left: auto; }
  .topnav button { padding: 7px 10px; font-size: 13px; }
  .brand-txt strong { font-size: 15px; }
  .mark { width: 36px; height: 36px; font-size: 12px; }
  .hero { padding: 20px 0 4px; }
  .rail { gap: 5px; }
  .st button { padding: 10px 2px 9px; }
  .st-label { display: none; }
  .step { padding: 22px 18px; }
  .step-head { gap: 12px; }
  .step-no { width: 36px; height: 36px; font-size: 16px; }
  .step-head h2 { font-size: 20px; }
  .grid2, .grid4, .grid-ss { grid-template-columns: minmax(0, 1fr); }
  .tiles-3, .tiles-4 { grid-template-columns: minmax(0, 1fr); }
  .tiles-ind { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles-sig, .tiles-mod, .tiles-2, .tiles-sm { grid-template-columns: minmax(0, 1fr); }
  .tiles-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-ind { min-height: 106px; padding: 14px; }
  .nip-row { flex-direction: column; gap: 6px; }
  .nip-row .btn-lg { margin-top: 0; width: 100%; }
  .nip-boxes { gap: 3px; }
  .box { width: 27px; height: 44px; font-size: 18px; border-radius: 8px; }
  .sep { width: 6px; }
  .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co { padding: 18px 16px; }
  .co-head { flex-direction: column; }
  .src { grid-template-columns: 26px minmax(0, 1fr); }
  .src-d { grid-column: 2; text-align: left; }
  .result { grid-template-columns: minmax(0, 1fr); }
  .result > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
  .result-val { font-size: 23px; }
  .cfg { padding: 18px 14px; }
  .cfg-head { flex-direction: column; gap: 4px; }
  .panel-body { padding: 18px 16px; }
  .doc-frame { padding: 8px; }
  .doc { padding: 22px 16px; }
  .doc-parties, .doc-kpis { grid-template-columns: minmax(0, 1fr); }
  .dt-4 .dt-row { grid-template-columns: minmax(0, 1fr) 30px 0 86px; }
  .dt-4 .dt-row > span:nth-child(3) { visibility: hidden; }
  .dt-3 .dt-row { grid-template-columns: minmax(0, 1fr) 96px 110px; }
  .dt-2 .dt-row { grid-template-columns: minmax(0, 1fr) 110px; }
  .modal { padding: 0; }
  .modal-dlg { max-height: 100vh; max-height: 100dvh; height: 100%; width: 100%; border-radius: 0; }
  .modal-body { padding: 14px; }
  .footer-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .topbar .wrap.topbar-in { flex-wrap: wrap; row-gap: 8px; border-radius: 24px; padding: 10px 10px 8px 14px; }
  .topactions { margin-left: auto; }
  .topnav { order: 3; margin-left: 0; width: 100%; padding: 8px 8px 0; border-top: 1px solid var(--divider); }
  .topnav button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .spin { border-top-color: var(--green-600); }
}

/* ===== Panel ITE: logowanie, narzędzia, zespół ===== */
[hidden] { display: none !important; }
.panel-who { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.panel-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 4px 0 14px; }
.panel-tools .in[type="search"] { flex: 1 1 260px; max-width: 420px; }
.panel-login { display: grid; place-items: center; padding: 24px 0 48px; }
.login-card { width: 100%; max-width: 460px; }
.login-card h1 { font-size: clamp(26px, 3vw, 34px); margin: 4px 0 6px; }
.login-form { display: grid; gap: 14px; margin-top: 18px; }
.login-form .cfg-actions { margin-top: 6px; }
.invite-form { align-items: end; }
.invite-form .cfg-actions { margin-top: 0; }
.hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.boot-msg { min-height: 120px; display: grid; place-items: center; }
label.btn { cursor: pointer; }

/* ===== Leady: rezerwacja, zgoda cookies, szybka wycena, osadzenie ===== */
.book-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 14px 0 22px; padding: 18px 20px; border-radius: var(--r-md); background: var(--green-50); border: 1px solid var(--green-100); }
.book-cta > .ic { width: 28px; height: 28px; color: var(--green-700); flex: none; }
.book-cta > div { flex: 1 1 240px; }
.book-cta p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.consent-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--divider); box-shadow: var(--shadow-float); font-size: 14px; }
.consent-bar p { margin: 0; flex: 1 1 320px; color: var(--ink-2); }
.consent-acts { display: flex; gap: 8px; }
.layout-quick { grid-template-columns: minmax(0, 860px); justify-content: center; }
.quick-result { margin-top: 22px; }
.draft-note .link { margin-left: 6px; }
body.embed .topbar, body.embed .footer, body.embed .bg-blobs, body.embed .mbar { display: none !important; }
body.embed { background: transparent; }
body.embed #main { padding-top: 12px; }
.grade { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.grade-A { background: var(--green-100); color: var(--green-700); }
.grade-B { background: var(--amber-bg); color: var(--amber-ink); border: 1px solid var(--amber-line); }
.grade-C { background: var(--pill); color: var(--muted); }
.owner-sel { display: block; margin-top: 6px; max-width: 170px; }
.tbl tr.is-focus td { background: var(--green-50); }
.funnel { display: grid; gap: 8px; }
.fn-row { display: grid; grid-template-columns: minmax(110px, 170px) 1fr 80px; gap: 12px; align-items: center; font-size: 14px; }
.fn-bar { height: 14px; border-radius: var(--r-pill); background: var(--pill); overflow: hidden; }
.fn-bar i { display: block; height: 100%; background: var(--green-600); border-radius: inherit; }
.fn-n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.fn-n small { display: block; font-weight: 400; color: var(--muted); }
@media (max-width: 560px) { .fn-row { grid-template-columns: 90px 1fr 56px; gap: 8px; } }
.flags-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.flag { display: inline-block; padding: 1px 8px; border-radius: var(--r-pill); font-size: 11.5px; background: var(--pill); color: var(--ink-2); }
.flag-hot { background: var(--danger-bg); color: var(--danger); font-weight: 600; }
.tbl tr.is-late td { background: var(--danger-bg); }
.cta-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.edit-banner { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r-md); background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber-ink); font-size: 14px; }
.edit-banner > div { flex: 1 1 260px; }
.ask-card { margin-top: 18px; padding: 20px 22px; }
.ask-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 16px; }
.ask-form { display: flex; gap: 8px; }
.ask-form .in { flex: 1; }
.ask-a { margin: 12px 0 4px; line-height: 1.55; white-space: pre-wrap; }
.mfa-enroll { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.mfa-enroll img { background: #fff; border-radius: var(--r-sm); padding: 8px; }
textarea.code, input.code { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; margin-bottom: 12px; }
.task-form .kv-wide { grid-column: 1 / -1; }
.ask-log { margin-top: 12px; display: grid; gap: 4px; max-height: 420px; overflow-y: auto; }
.ask-q { margin: 10px 0 0; font-weight: 600; color: var(--ink); }
.ask-log .ask-a { margin: 2px 0 6px; }

/* ===== Harmonogram, warianty, akceptacja, zamówienie ===== */
.gantt { display: grid; gap: 6px; margin: 8px 0 16px; }
.g-row { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 12px; align-items: center; font-size: 13px; }
.g-lbl { color: var(--ink-2); }
.g-track { position: relative; height: 22px; background: var(--pill); border-radius: 6px; }
.g-bar { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; background: var(--brand); min-width: 6px; }
.g-analiza { background: #5aa9ff; } .g-instalacja { background: #8c7bff; } .g-konfig { background: var(--brand); }
.g-migracja { background: #ffb547; } .g-szkolenia { background: #ff7aa8; } .g-asysta { background: repeating-linear-gradient(45deg, #9fd9a9 0 6px, #c6ecd0 6px 12px); }
.g-dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--ink); transform: rotate(45deg); border-radius: 2px; }
.g-track em { position: absolute; top: 50%; transform: translate(12px, -50%); font-style: normal; font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--ink); }
.g-axis .g-track { background: none; height: 16px; }
.g-axis .g-track span { position: absolute; font-size: 11px; color: var(--muted); transform: translateX(-50%); }
.gantt-compact .g-row { font-size: 11px; } .gantt-compact .g-track { height: 16px; }
.doc .g-lbl { color: #515b6b; } .doc .g-track { background: #eef0f4; } .doc .g-dot { background: #141821; } .doc .g-track em { color: #141821; }
.tbl-variants small { display: block; color: var(--muted); font-size: 12px; }
.tbl-variants tr.is-best td { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.tbl-variants .up { color: #c0392b; } .tbl-variants .down { color: #16813a; }
.doc .tbl-variants td, .doc .tbl-variants th { font-size: 11px; padding: 6px 8px; }
.accept-cta { margin: 16px 0; }
.doc-tbl { width: 100%; border-collapse: collapse; margin: 6px 0 14px; }
.doc-tbl th, .doc-tbl td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #e2e5eb; vertical-align: top; }
.doc-tbl th { font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: #5f6979; }
.doc-tbl .n { text-align: right; white-space: nowrap; }
.doc-tbl tfoot td { font-weight: 700; border-bottom: 0; }
.doc-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.doc-sign div { display: grid; gap: 4px; } .doc-sign i { display: block; height: 44px; border-bottom: 1px solid #9aa3b0; }
.doc-sign small { color: #5f6979; font-size: 10px; }
.asst-list { display: grid; gap: 6px; }
.asst-item { border: 1px solid var(--divider); border-radius: 10px; padding: 8px 12px; background: var(--card, transparent); }
.asst-item summary { cursor: pointer; } .asst-item p { white-space: pre-wrap; margin: 8px 0 0; color: var(--ink-2); font-size: 13.5px; }
.tpl-edit { display: grid; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--divider); }
.my-offers { margin: 0 0 16px; font-size: 14px; } .my-offers summary { cursor: pointer; color: var(--ink-2); } .my-offers ul { margin: 8px 0 0; padding-left: 20px; }
@media (max-width: 560px) { .g-row { grid-template-columns: 1fr; gap: 2px; } .doc-sign { grid-template-columns: 1fr; } }

/* Tryb druku: tylko dokument (dla PDF z serwera) */
body.print-mode { background: #fff; }
body.print-mode .topbar, body.print-mode .footer, body.print-mode .bg-blobs, body.print-mode .mbar, body.print-mode .consent-bar, body.print-mode #consent, body.print-mode .asst-fab, body.print-mode .toast { display: none !important; }
body.print-mode .wrap { max-width: none; padding: 0; margin: 0; }
.print-root { background: #fff; padding: 0; }
.print-root .doc { width: auto; max-width: 718px; margin: 0 auto; }
@media print { .print-root .doc { max-width: none; } }
.tbl-variants th[scope="row"] { font-weight: 600; }
.tbl.tbl-variants { min-width: 620px; }
.tbl-variants td.n { white-space: nowrap; }
.doc-tbl tfoot th, .doc-tbl tfoot td { font-size: 12.5px; color: #141821; text-transform: none; letter-spacing: 0; font-weight: 700; border-top: 2px solid #141821; }
html:has(body.print-mode) { background: #fff; }
body.print-mode #main { padding: 0; min-height: 0; }
.doc .tbl-wrap { overflow: visible; border: 0; border-radius: 0; background: none; }
.doc .tbl-variants { width: 100%; min-width: 0; table-layout: fixed; }
.doc .tbl-variants th:first-child { width: 40%; }
.doc .tbl-variants td.n, .doc .tbl-variants th { white-space: normal; }
.doc .tbl-variants tr.is-focus td, .doc .tbl-variants tr.is-focus th { background: #f1faf2; }
.doc table th { white-space: normal; }
.g-axis .g-track span { white-space: nowrap; }
.g-axis .g-track span:last-child { transform: translateX(-100%); }
.g-axis .g-track span:first-child { transform: none; }
/* PDF z serwera: strona A4 jest węższa niż próg widoku mobilnego, więc przywracam układ dokumentu. */
body.print-mode .doc { padding: 0; }
body.print-mode .doc-parties { grid-template-columns: 1fr 1fr; }
body.print-mode .doc-kpis { grid-template-columns: repeat(3, 1fr); }
body.print-mode .dt-4 .dt-row { grid-template-columns: minmax(0, 1fr) 44px 96px 108px; }
body.print-mode .dt-4 .dt-row > span:nth-child(3) { visibility: visible; }
body.print-mode .dt-3 .dt-row { grid-template-columns: minmax(0, 1fr) 130px 190px; }
body.print-mode .dt-2 .dt-row { grid-template-columns: minmax(0, 1fr) 150px; }
body.print-mode .g-row { grid-template-columns: minmax(120px, 34%) 1fr; gap: 12px; }
body.print-mode .doc-sign { grid-template-columns: 1fr 1fr; }
.doc .g-axis .g-track, .g-axis .g-track { background: none; }
.g-axis .g-track span { color: var(--ink-2); }
.doc .g-axis .g-track span { color: #515b6b; }
:root:not([data-theme="dark"]) .eyebrow { color: #146c34; }
@media (max-width: 560px) {
  .tbl.tbl-variants { min-width: 0; }
  .tbl-variants thead { display: none; }
  .tbl-variants tr { display: block; padding: 10px 14px; border-bottom: 1px solid var(--divider); }
  .tbl-variants tbody tr:last-child { border-bottom: 0; }
  .tbl-variants th[scope="row"], .tbl-variants td { display: block; padding: 2px 0; border: 0; background: none !important; }
  .tbl-variants td.n { display: flex; justify-content: space-between; gap: 12px; text-align: right; white-space: normal; }
  .tbl-variants td.n::before { content: attr(data-l); color: var(--muted); font-size: 13px; text-align: left; }
  .tbl-variants tr.is-focus { background: color-mix(in srgb, var(--brand) 8%, transparent); }
  .gantt:not(.gantt-compact) .g-axis .g-track span:nth-child(even) { display: none; }
}
#main { min-height: calc(100vh - 120px); }

/* ===== Strony SEO (poradniki, strony tematyczne) i treść pod kalkulatorem ===== */
body.landing { background: var(--bg-1); }
.lp-top { position: sticky; top: 0; z-index: 10; background: var(--glass); backdrop-filter: blur(12px); border-bottom: 1px solid var(--divider); }
.lp-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.lp-logo { display: block; width: 164px; height: 34px; }
.lp { padding: 40px 16px 56px; max-width: 880px; }
.lp-hero { padding: 24px 0 32px; }
.lp-hero h1 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px); line-height: 1.08; margin: 8px 0 14px; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 10px; }
.lp-card { padding: 26px 28px; margin-bottom: 18px; }
.lp-card h2, .lp-final h2 { font-family: var(--font-display); font-size: 24px; margin: 0 0 12px; }
.lp-list, .lp-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: var(--ink-2); line-height: 1.55; }
.lp-faq { border-top: 1px solid var(--divider); padding: 12px 0; }
.lp-faq summary { cursor: pointer; font-weight: 600; }
.lp-faq p { margin: 8px 0 0; color: var(--ink-2); line-height: 1.55; }
.lp-final { text-align: center; padding: 28px 0 8px; }
.footer nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
@media (max-width: 560px) { .lp-card { padding: 20px 18px; } .lp-logo { width: 130px; height: 27px; } }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
.lp-nav { display: flex; gap: 4px; margin-left: auto; margin-right: 8px; }
.lp-nav a { padding: 8px 12px; border-radius: var(--r-pill); color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.lp-nav a:hover, .lp-nav a[aria-current="page"] { color: var(--ink); background: var(--pill); }
.lp-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.lp-crumbs a { color: var(--ink-2); }
.lp-meta { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.lp-meta a { color: var(--ink-2); }
.lp-answer { background: var(--green-50, #f0fdf4); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); border-radius: 14px; padding: 16px 18px; line-height: 1.6; color: var(--ink); margin: 0 0 8px; }
.lp-card h3 { font-family: var(--font-display); font-size: 18px; margin: 18px 0 8px; }
.lp-card p { color: var(--ink-2); line-height: 1.6; }
.lp-tbl-wrap { overflow-x: auto; margin: 4px 0 8px; border: 1px solid var(--divider); border-radius: 12px; }
.lp-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.lp-tbl th, .lp-tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--divider); vertical-align: top; }
.lp-tbl thead th { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
.lp-tbl tbody th { font-weight: 500; color: var(--ink); }
.lp-tbl .n { text-align: right; white-space: nowrap; }
.lp-tbl tbody tr:last-child th, .lp-tbl tbody tr:last-child td { border-bottom: 0; }
.lp-cta-c { justify-content: center; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-bottom: 18px; }
.lp-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.lp-tile:hover { border-color: var(--brand); transform: translateY(-2px); }
.lp-tile span { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.lp-related { margin: 8px 0 0; } .lp-related h2 { font-family: var(--font-display); font-size: 20px; margin: 0 0 10px; }
.lp-related ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 0; }
.lp-related a, .lp-chips a { color: var(--ink); }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lp-chips a { display: inline-block; padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--divider-2); text-decoration: none; font-size: 13.5px; }
.lp-chips a:hover { border-color: var(--brand); }
.lp-footer .wrap { display: grid; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
.lp-foot-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; }
.lp-foot-nav a { color: var(--ink-2); text-decoration: none; } .lp-foot-nav a:hover { text-decoration: underline; }
.lp-tm { margin: 0; }
.seo-home { max-width: 1240px; margin: 8px auto 32px; display: grid; gap: 18px; }
.seo-home .lp-card { margin: 0; }
body.seo-off .seo-home, body.embed .seo-home, body.print-mode .seo-home { display: none; }
.boot-h1 { font-family: var(--font-display); font-size: 26px; margin: 0 0 8px; }
@media (max-width: 760px) { .lp-nav { display: none; } }
@media (max-width: 560px) {
  .lp-tbl { font-size: 13px; }
  .lp-tbl th, .lp-tbl td { padding: 8px 8px; }
  .lp-tbl td.n:last-child { white-space: normal; color: var(--ink-2); font-size: 12px; min-width: 64px; }
  .lp-tbl thead th { font-size: 10.5px; letter-spacing: .03em; }
  .lp-card { padding: 18px 14px; }
}
