/* Narzędzia — wspólny wygląd kalkulatorów i szablonu oferty.
   Nadpisuje wyłącznie w obrębie .tools-* ; dziedziczy tokeny z site.css. */

.tools-page { --tool-accent: var(--lime, #c6ff5c); }

/* Breadcrumbs + hero */
.tool-hero { padding-block: 64px 40px; }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin: 0 0 26px; color: #7f8877; font-size: 10px; letter-spacing: .04em;
}
.breadcrumb a { color: #b5b9af; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb span { color: #596052; }
.tool-hero h1 {
  max-width: 860px; margin: 0;
  font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -.07em; font-weight: 620;
}
.tool-hero h1 em { font-family: var(--serif); font-weight: 400; color: var(--lime); letter-spacing: -.06em; }
.tool-lede { max-width: 620px; margin: 22px 0 0; color: #aab1a2; font-size: 15px; line-height: 1.8; }

/* Układ strony narzędzia */
.tool-layout { padding-block: 12px 90px; }
.tool-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 34px; align-items: start; }

/* Karta kalkulatora */
.calc {
  position: relative; overflow: hidden;
  border: 1px solid rgba(198,255,92,.22); border-radius: 6px 30px 6px 6px;
  background: radial-gradient(ellipse at 85% 0%, rgba(198,255,92,.07), transparent 55%), linear-gradient(150deg, #1a2018, #121611 74%);
  padding: 30px 30px 28px;
}
.calc::after { content: ""; position: absolute; right: -70px; bottom: -110px; width: 220px; height: 220px; border: 1px solid rgba(198,255,92,.1); border-radius: 50%; pointer-events: none; }
.calc-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 24px; }
.calc-head h2 { font-size: 22px; letter-spacing: -.04em; font-weight: 600; margin: 0; }
.calc-head .calc-badge { color: #7f8877; font: 9px ui-monospace, monospace; letter-spacing: .14em; border: 1px solid var(--line); border-radius: 99px; padding: 5px 10px; flex: 0 0 auto; }

.calc-field { margin-bottom: 19px; }
.calc-field label { display: block; margin-bottom: 7px; color: #d8dccf; font-size: 12px; font-weight: 560; letter-spacing: -.01em; }
.calc-field .field-help { display: block; margin: 4px 0 0; color: #858c7d; font-size: 10px; line-height: 1.6; }
.calc-input-row { display: flex; align-items: center; gap: 9px; }
.calc-input-row input {
  width: 100%; border: 1px solid rgba(232,238,219,.16); border-radius: 4px; outline: 0;
  background: rgba(10,13,11,.72); color: var(--text); padding: 13px 14px; font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.calc-input-row input:focus { border-color: rgba(198,255,92,.72); box-shadow: 0 0 0 3px rgba(198,255,92,.09); }
.calc-input-row input::placeholder { color: #4f574b; }
.calc-unit { flex: 0 0 auto; color: #7f8877; font: 10px ui-monospace, monospace; letter-spacing: .08em; }
.calc-optional { display: inline-block; margin-left: 6px; color: #7f8877; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }

.calc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.calc-actions .button { min-height: 48px; }
.calc-actions .button-secondary { background: transparent; border: 1px solid rgba(198,255,92,.4); color: var(--lime); }

.calc-result { margin-top: 24px; padding-top: 21px; border-top: 1px solid rgba(232,238,219,.12); }
.calc-result[hidden] { display: none; }
.result-grid { display: grid; gap: 10px; }
.result-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 15px; border: 1px solid rgba(232,238,219,.1); border-radius: 4px; background: rgba(18,21,17,.66);
}
.result-row .result-label { color: #9da494; font-size: 11px; line-height: 1.4; }
.result-row .result-value { color: var(--text); font-size: 19px; font-weight: 620; letter-spacing: -.03em; text-align: right; overflow-wrap: anywhere; }
.result-row .result-value em { font-style: normal; color: var(--lime); }
.result-row.result-alert { border-color: rgba(255,138,110,.4); background: rgba(44,24,19,.5); }
.result-row.result-alert .result-value { color: #ff9a86; }
.result-row.result-good { border-color: rgba(198,255,92,.3); }
.result-note { margin: 13px 0 0; color: #858c7d; font-size: 11px; line-height: 1.7; }
.result-note strong { color: #c8cebf; font-weight: 600; }

/* Sekcje treści (instrukcja, przykład, interpretacja, pomyłki, ograniczenia) */
.tool-content { padding-block: 30px; }
.tool-section { border-top: 1px solid var(--line); padding-block: 30px; }
.tool-section h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.05em; margin: 0 0 16px; }
.tool-section h2 em { color: var(--lime); }
.tool-section p { max-width: 720px; margin: 0 0 14px; color: #a3aa9b; font-size: 13px; line-height: 1.85; }
.tool-section ul, .tool-section ol { max-width: 720px; margin: 0 0 16px; padding-left: 20px; color: #a3aa9b; font-size: 13px; line-height: 1.85; }
.tool-section li { margin-bottom: 8px; }
.tool-section li::marker { color: var(--lime); }
.tool-section code { font: 12px ui-monospace, monospace; color: #cbd0c1; background: rgba(198,255,92,.07); border: 1px solid rgba(232,238,219,.1); border-radius: 4px; padding: 1px 6px; }
.tool-section a { color: var(--lime); }

/* Przykład liczbowy */
.example-box {
  border: 1px solid rgba(141,121,255,.24); border-radius: 6px 22px 6px 6px;
  background: radial-gradient(ellipse at 90% 0%, rgba(141,121,255,.08), transparent 60%), rgba(20,22,26,.6);
  padding: 20px 22px; margin: 0 0 16px; max-width: 720px;
}
.example-box .example-title { color: var(--violet); font: 9px ui-monospace, monospace; letter-spacing: .16em; margin: 0 0 9px; }
.example-box p { margin: 0; color: #c6c9bd; font-size: 12px; line-height: 1.8; }
.example-box b { color: var(--lime); font-weight: 600; }

/* Pomyłki / ostrzeżenia */
.mistake-list { display: grid; gap: 9px; max-width: 720px; }
.mistake-list .mistake { display: flex; gap: 11px; align-items: start; padding: 12px 14px; border: 1px solid rgba(232,238,219,.1); border-radius: 4px; background: rgba(18,21,17,.6); }
.mistake-list .mistake i { flex: 0 0 auto; font-style: normal; color: #ff9a86; font-size: 13px; line-height: 1.5; }
.mistake-list .mistake b { color: #c8cebf; font-weight: 600; font-size: 12px; }
.mistake-list .mistake p { margin: 3px 0 0; color: #8f9589; font-size: 11px; line-height: 1.7; }

/* Powiązane narzędzia */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 11px; margin-top: 16px; max-width: 720px; }
.related a {
  display: block; padding: 15px 17px; border: 1px solid rgba(232,238,219,.11); border-radius: 5px 18px 5px 5px;
  background: rgba(22,26,21,.7); transition: border-color .25s ease, transform .25s ease;
}
.related a:hover { border-color: rgba(198,255,92,.4); transform: translateY(-3px); }
.related a b { display: block; color: var(--text); font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.related a span { display: block; margin-top: 4px; color: #7f8877; font-size: 10px; line-height: 1.6; }

/* Szablon oferty — formularz */
.offer-form { display: grid; gap: 20px; }
.offer-form fieldset { border: 1px solid rgba(232,238,219,.12); border-radius: 6px; margin: 0; padding: 18px 18px 20px; }
.offer-form legend { padding: 0 8px; color: var(--lime); font: 9px ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; }
.offer-form label { display: block; margin-bottom: 12px; color: #a9b09f; font-size: 11px; }
.offer-form label span { display: block; margin-bottom: 5px; color: #d8dccf; font-size: 12px; font-weight: 550; }
.offer-form input, .offer-form textarea {
  width: 100%; border: 1px solid rgba(232,238,219,.16); border-radius: 4px; outline: 0;
  background: rgba(10,13,11,.72); color: var(--text); padding: 11px 13px; font-size: 13px;
}
.offer-form input:focus, .offer-form textarea:focus { border-color: rgba(198,255,92,.72); }
.offer-form textarea { resize: vertical; min-height: 78px; }
.offer-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.offer-form .grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }

/* Tabela pozycji */
.offer-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.offer-table th { text-align: left; color: #7f8877; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding: 8px 6px; }
.offer-table td { padding: 6px; border-bottom: 1px solid rgba(232,238,219,.07); }
.offer-table input { width: 100%; min-width: 60px; }
.offer-table .line-total { text-align: right; color: var(--text); font-weight: 600; white-space: nowrap; }
.offer-table .row-del { background: none; border: 1px solid rgba(255,138,110,.3); color: #ff9a86; border-radius: 4px; padding: 5px 9px; cursor: pointer; font-size: 11px; }
.offer-totals { display: grid; gap: 7px; max-width: 340px; margin: 16px 0 0 auto; }
.offer-totals .result-row { padding: 10px 14px; }
.offer-totals .result-row:last-child { border-color: rgba(198,255,92,.32); }

/* Podgląd dokumentu (druk/PDF) */
.offer-doc { display: none; }
@media print {
  body.offer-page { background: #fff !important; }
  body.offer-page::before { display: none !important; }
  body.offer-page > *:not(#offer-doc) { display: none !important; }
  #offer-doc {
    display: block !important;
    position: static;
    margin: 0;
    padding: 14mm 16mm 22mm;
    color: #000;
    background: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12pt;
    line-height: 1.5;
  }
  #offer-doc h1 { font-size: 20pt; margin: 0 0 4mm; color: #000; }
  #offer-doc .doc-meta { font-size: 10pt; color: #333; margin-bottom: 6mm; }
  #offer-doc table { width: 100%; border-collapse: collapse; margin: 4mm 0; }
  #offer-doc table th, #offer-doc table td { border: 1px solid #999; padding: 3mm; text-align: left; vertical-align: top; }
  #offer-doc table th { background: #eee; font-weight: 700; }
  #offer-doc h2 { font-size: 13pt; margin: 6mm 0 2mm; color: #000; }
  #offer-doc p { margin: 0 0 2mm; }
  #offer-doc .doc-footer { margin-top: 8mm; font-size: 9pt; color: #555; }
  #offer-doc .doc-page-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3mm 16mm;
    font-size: 8pt;
    color: #666;
    text-align: center;
    border-top: 1px solid #ddd;
    background: #fff;
  }
}


.calc-controls { display: flex; align-items: center; gap: 9px; }
.currency-select {
  border: 1px solid rgba(232,238,219,.16); border-radius: 4px; outline: 0;
  background: rgba(10,13,11,.72); color: var(--text); padding: 9px 11px; font-size: 12px; cursor: pointer;
}
.currency-select:focus { border-color: rgba(198,255,92,.72); }
.currency-select option { background: #171a16; color: var(--text); }

/* Powrót do katalogu */
.tool-back { display: inline-flex; align-items: center; gap: 9px; color: #c3c7bc; font-size: 12px; transition: color .2s ease; }
.tool-back span { color: var(--lime); font-size: 16px; line-height: 1; }
.tool-back:hover { color: var(--lime); }

/* Responsywność narzędzi */
@media (max-width: 920px) {
  .tool-grid { grid-template-columns: minmax(0, 1fr); }
  .tool-hero { padding-block: 52px 30px; }
}
@media (max-width: 700px) {
  .calc { padding: 22px 18px 20px; border-radius: 5px 22px 5px 5px; }
  .calc-head { flex-direction: column; }
  .offer-form .grid-2, .offer-form .grid-3 { grid-template-columns: 1fr; }
  .result-row .result-value { font-size: 16px; }
  .tool-hero h1 { font-size: clamp(34px, 11vw, 48px); }
}

/* Test stylu sprzedaży */
.quiz-intro, .quiz-question, .quiz-results { max-width: 720px; padding-bottom: 60px; }
.quiz-intro h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: -.07em; font-weight: 620; margin: 0 0 18px; }
.quiz-intro h1 em { color: var(--lime); }
.quiz-lede { color: #aab1a2; font-size: 15px; line-height: 1.8; margin: 0 0 22px; }
.quiz-disclaimer { border: 1px solid rgba(141,121,255,.28); border-radius: 6px 20px 6px 6px; background: rgba(141,121,255,.06); padding: 16px 19px; color: #c0c4b7; font-size: 12px; line-height: 1.75; margin: 0 0 22px; }
.quiz-disclaimer strong { color: #d8d2f5; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 8px; }
.quiz-actions .button { min-height: 49px; }
.quiz-progress { color: var(--lime); font: 10px ui-monospace, monospace; letter-spacing: .14em; margin: 0 0 16px; }
.quiz-question h2 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -.04em; font-weight: 580; margin: 0 0 14px; }
.quiz-scale-instruction { color: #8f9589; font-size: 12px; line-height: 1.7; margin: 0 0 18px; }
.quiz-options { display: grid; gap: .7rem; margin-bottom: 20px; }
.quiz-choice { display: flex; gap: .9rem; align-items: center; width: 100%; text-align: left; padding: .95rem 1.1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; color: var(--text); cursor: pointer; font-family: inherit; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.quiz-choice:hover { transform: translateX(4px); border-color: rgba(198,255,92,.55); background: linear-gradient(90deg, rgba(198,255,92,.09), var(--panel)); }
.quiz-choice kbd { flex: 0 0 auto; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 8px; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--muted); }
.quiz-choice[data-picked="true"] { border-color: var(--lime); background: linear-gradient(90deg, rgba(198,255,92,.16), var(--panel)); }
.quiz-choice[data-picked="true"] kbd { background: var(--lime); color: #10120f; border-color: var(--lime); }
.quiz-choice span { font-size: .97rem; line-height: 1.45; }
.quiz-error { color: #ff9a86; font-size: 12px; margin: 0 0 14px; }
.quiz-agree, .calc-agree { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; padding: 13px 15px; border: 1px solid rgba(232,238,219,.12); border-radius: 8px; background: rgba(18,21,17,.5); color: #a3aa9b; font-size: 12px; line-height: 1.6; cursor: pointer; }
.quiz-agree input, .calc-agree input { accent-color: var(--lime); margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; }
.quiz-results h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.05em; margin: 0 0 16px; }
.quiz-dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 24px; }
.quiz-dim { border: 1px solid rgba(232,238,219,.12); border-radius: 5px 20px 5px 5px; background: rgba(18,21,17,.66); padding: 20px 19px; }
.quiz-dim h3 { margin: 0 0 14px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.quiz-bar { height: 10px; border-radius: 99px; background: rgba(232,238,219,.1); margin: 14px 0 8px; overflow: hidden; }
.quiz-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--lime-dark), var(--lime)); border-radius: 99px; }
.quiz-band { color: #9da494; font-size: 11px; margin: 0 0 10px; }
.quiz-dim-desc { color: #8f9589; font-size: 11px; line-height: 1.7; margin: 0; }
.quiz-profile { border: 1px solid rgba(198,255,92,.24); border-radius: 6px 22px 6px 6px; background: radial-gradient(ellipse at 85% 0%, rgba(198,255,92,.07), transparent 60%), rgba(20,23,18,.7); padding: 22px 24px; margin: 0 0 24px; }
.quiz-profile h3 { margin: 0 0 12px; font-size: 20px; font-weight: 620; letter-spacing: -.03em; color: var(--lime); }
.quiz-profile p { color: #a9b09f; font-size: 13px; line-height: 1.8; margin: 0 0 10px; }
.quiz-profile .quiz-summary { color: #c8cdbf; }
.quiz-profile .quiz-tip { color: #9da494; font-style: italic; }
.quiz-footer-disclaimer { color: #8f9589; font-size: 12px; line-height: 1.7; margin: 0 0 24px; }
.quiz-sources { margin: 0 0 18px; padding-left: 20px; color: #8f9589; font-size: 11px; line-height: 1.7; }
.quiz-sources li { margin-bottom: 8px; }
.quiz-sources a { color: var(--lime); word-break: break-all; }
.quiz-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.quiz-faq details:first-child { border-top: 1px solid var(--line); }
.quiz-faq summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; color: #e3e8dc; font-size: 13px; font-weight: 550; }
.quiz-faq summary::-webkit-details-marker { display: none; }
.quiz-faq summary span { color: var(--lime); font-size: 19px; font-weight: 300; }
.quiz-faq details p { color: #9ba394; font-size: 12px; line-height: 1.8; }
@media (max-width: 700px) {
  .quiz-dims { grid-template-columns: 1fr; }
  .quiz-option { padding: 12px 13px; font-size: 13px; }
}

/* Wydruk quizu */
@media print {
  body.quiz-page { background: #fff !important; }
  body.quiz-page > *:not(main) { display: none !important; }
  body.quiz-page .tool-hero { padding: 0; }
  body.quiz-page .breadcrumb, body.quiz-page .quiz-actions, body.quiz-page .quiz-agree { display: none !important; }
  body.quiz-page .quiz-intro, body.quiz-page .quiz-question, body.quiz-page .quiz-results { max-width: none; padding-bottom: 0; }
  body.quiz-page h1, body.quiz-page h2, body.quiz-page h3 { color: #111 !important; }
  body.quiz-page p, body.quiz-page li { color: #222 !important; }
  body.quiz-page .quiz-lede, body.quiz-page .quiz-band, body.quiz-page .quiz-dim-desc, body.quiz-page .quiz-scale-instruction { color: #444 !important; }
  body.quiz-page .quiz-disclaimer, body.quiz-page .quiz-profile, body.quiz-page .quiz-dim, body.quiz-page .quiz-choice { background: #fff !important; border-color: #ccc !important; color: #111 !important; }
  body.quiz-page .quiz-choice kbd { color: #555 !important; border-color: #999 !important; }
  body.quiz-page .quiz-bar { background: #e5e5e5 !important; }
  body.quiz-page .quiz-bar i { background: #555 !important; }
  body.quiz-page .quiz-faq summary { color: #111 !important; }
  body.quiz-page .quiz-profile h3 { color: #1a6b1a !important; }
}

/* ---------------------------------------------------------------
   Formularze narzędzi — responsywność i ergonomia dotykowa (2026)
   --------------------------------------------------------------- */
/* Fieldset domyślnie ma min-inline-size: min-content — to rozpychało kartę */
.offer-form, .offer-form fieldset, .offer-form label,
.offer-form .grid-2 > *, .offer-form .grid-3 > *,
.tool-grid > *, .tool-layout > * { min-width: 0; }
.offer-form fieldset { min-inline-size: 0; }
.offer-form input, .offer-form textarea, .offer-form select, .offer-select { min-width: 0; max-width: 100%; }
.offer-table { min-width: 0; }
.offer-table .it-ilosc { max-width: 90px; }

/* Spójny select (VAT/stawka) zamiast inline styles */
.offer-select {
  width: 100%; border: 1px solid rgba(232,238,219,.16); border-radius: 4px; outline: 0;
  background: rgba(10,13,11,.72); color: var(--text); padding: 11px 13px; font-size: 13px;
  font-family: inherit; transition: border-color .2s ease, box-shadow .2s ease;
}
.offer-select:focus { border-color: rgba(198,255,92,.72); box-shadow: 0 0 0 3px rgba(198,255,92,.09); }
.offer-select option { background: #171a16; color: var(--text); }

@media (max-width: 700px) {
  /* 16 px = brak automatycznego zoomu na iOS; 48 px = wygodny cel dotykowy */
  .calc-input-row input,
  .offer-form input, .offer-form textarea, .offer-form select, .offer-select {
    font-size: 16px; min-height: 48px; padding: 13px 14px; border-radius: 10px;
  }
  .offer-form textarea { min-height: 104px; }
  .offer-form { gap: 16px; }
  .offer-form fieldset { padding: 14px 14px 4px; border-radius: 12px; }
  .offer-form legend { font-size: 10px; padding: 0 6px; }
  .offer-form label { margin-bottom: 14px; font-size: 13px; }
  .offer-form label span { font-size: 13.5px; margin-bottom: 7px; }
  .offer-form .grid-2, .offer-form .grid-3 { gap: 0; }

  /* Tabela pozycji → czytelne karty */
  .offer-table, .offer-table tbody { display: block; }
  .offer-table thead { display: none; }
  .offer-table tr {
    display: block; border: 1px solid rgba(232,238,219,.14); border-radius: 12px;
    padding: 12px 12px 2px; margin: 0 0 10px; background: rgba(18,21,17,.55);
  }
  .offer-table td { display: block; padding: 0 0 10px; border: 0; }
  .offer-table td::before {
    content: attr(data-label); display: block; margin-bottom: 6px;
    color: #8f9589; font: 9px ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase;
  }
  .offer-table td[data-label=""]::before { display: none; }
  .offer-table td.line-total { text-align: left; white-space: normal; font-size: 16px; }
  .offer-table td.line-total::before { color: var(--lime); }
  .offer-table .it-ilosc { max-width: none; }
  .offer-table .row-del { width: 100%; padding: 12px; border-radius: 10px; font-size: 12px; }
  .offer-totals { max-width: none; margin: 14px 0 0; }
  .offer-totals .result-row { padding: 12px 14px; }
  .offer-totals .result-row .result-value { font-size: 17px; }

  /* Akcje formularza pełną szerokością */
  .calc-actions .button { flex: 1 1 100%; }
  .calc-head h2 { font-size: 20px; }
  .privacy-note { font-size: 10.5px; }
}

/* Checkbox zgody wewnątrz formularza oferty — ma być w jednej linii z tekstem
   (reguła .offer-form label span rozbijała go na dwie linie) */
.offer-form .calc-agree { display: flex; align-items: flex-start; }
.offer-form .calc-agree span {
  display: inline; margin: 0; font-size: 12px; font-weight: 400; color: #a9b09f;
  line-height: 1.6;
}
@media (max-width: 700px) {
  .offer-form .calc-agree input { width: 20px; height: 20px; margin-top: 1px; }
  .offer-form .calc-agree span { font-size: 13px; }
}

/* Desktop/tablet: kolumny tabeli pozycji — więcej miejsca dla nazwy */
@media (min-width: 701px) {
  /* Procenty zamiast stałych px — tabela bywa w wąskiej kolumnie (1024–1280) */
  .offer-table th:nth-child(2) { width: 12%; }
  .offer-table th:nth-child(3) { width: 19%; }
  .offer-table th:nth-child(4) { width: 19%; }
  .offer-table th:nth-child(5) { width: 11%; }
}

/* ---------- Dedykowany styl mobilny oferty (optymalizacja, nie skalowanie) ---------- */
@media (max-width: 700px) {
  #oferta-dodaj { width: 100%; min-height: 48px; justify-content: center; }
  .offer-totals .result-row { gap: 12px; align-items: center; }
  .offer-totals .result-label { min-width: 0; }
  .offer-totals .result-value { white-space: nowrap; flex: 0 0 auto; }
  .calc-head .calc-badge { align-self: flex-start; }
  .tool-lede { font-size: 14px; line-height: 1.7; }
  .calc-actions .button { justify-content: center; }
}
@media (max-width: 380px) {
  .calc { padding: 18px 13px 16px; border-radius: 5px 18px 5px 5px; }
  .offer-form fieldset { padding: 12px 11px 2px; }
  .offer-form legend { font-size: 9px; }
}
