/* Strony pod frazy (#1042): kalkulator łazienki, wzór oferty, kosztorys do PFRON i wzór aneksu. Prymitywy sales.css
   i calculator.css; tu tylko karty PDF, lista kontrolna, wzór dokumentu, fakty ze źródłami i uwaga. Najpierw telefon 375 px. */
.topic-section { padding-block:76px; scroll-margin-top:24px; }
.topic-section .sales-section-intro { margin-bottom:30px; }
.topic-band { background:rgba(248,250,252,.78); border-block:1px solid var(--line); }
.calculator-rates.topic-wrap td { white-space:normal; }
.topic-links { display:flex; flex-wrap:wrap; align-items:center; gap:6px 22px; margin-top:18px; font-size:.86rem; }
.topic-links a { color:var(--green); font-weight:600; text-underline-offset:4px; }
.topic-notice { margin-top:20px; padding:14px 18px; border:1px solid #d8e1eb; border-left:3.5px solid #c86a1b; border-radius:0 10px 10px 0; background:#fff; font-size:.85rem; line-height:1.68; max-width:640px; box-shadow:0 6px 18px rgba(15,23,42,.03); }
.topic-checked { display:block; margin-top:6px; font-size:.76rem; color:var(--muted); }

/* Karty przykładowych PDF z manifestów */
.topic-examples { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:24px; }
.topic-example { display:flex; flex-direction:column; background:#fff; border:1px solid #d8e1eb; border-radius:14px; overflow:hidden; box-shadow:0 10px 28px rgba(15,23,42,.05); transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease; }
.topic-example:hover { border-color:#b8c7d8; box-shadow:0 16px 36px rgba(15,23,42,.08); }
.topic-example-preview { display:block; margin:12px 12px 0; padding:8px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:9px; }
.topic-example-preview img { display:block; width:100%; height:auto; aspect-ratio:1132/1601; object-fit:cover; object-position:top; max-height:360px; border-radius:3px; background:#fff; }
.topic-example-copy { padding:18px; display:flex; flex-direction:column; gap:8px; flex:1; }
.topic-example-copy h3 { margin:0; }
.topic-example-copy p { margin:0; font-size:.9rem; line-height:1.6; }
.topic-example-facts { color:var(--muted); font-size:.8rem !important; font-variant-numeric:tabular-nums; }
.topic-example-copy .actions { margin-top:auto; padding-top:10px; align-items:center; }

/* Lista kontrolna oferty: numer, tytuł i jedno zdanie */
.topic-checklist { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:48px; }
.topic-checklist li { display:flex; gap:16px; padding:15px 0; border-top:1px solid var(--line); }
.topic-checklist li>span { font-size:.72rem; color:var(--green); padding-top:3px; font-variant-numeric:tabular-nums; }
.topic-checklist h3 { font-size:.95rem; margin:0 0 3px; }
.topic-checklist p { margin:0; font-size:.88rem; line-height:1.6; }

/* Fakty ze źródłami i lista źródeł */
.topic-facts { list-style:none; margin:0; padding:0; display:grid; gap:0; max-width:860px; }
.topic-facts li { padding:16px 0; border-top:1px solid var(--line); }
.topic-facts h3 { font-size:.98rem; margin:0 0 6px; }
.topic-facts p { margin:0; font-size:.92rem; line-height:1.7; }
.topic-facts a,.topic-template a,.topic-sources a { color:var(--green); text-underline-offset:4px; overflow-wrap:anywhere; }
.topic-cite { font-size:.74rem; white-space:nowrap; }
.topic-sources { margin:0; padding-left:22px; display:grid; gap:12px; max-width:860px; font-size:.86rem; line-height:1.6; }
.topic-sources li { scroll-margin-top:24px; }
.topic-sources span { color:var(--muted); }

/* Wzór dokumentu (aneks, protokół odbioru): czytelna kartka A4 z polami do uzupełnienia */
.topic-template { max-width:780px; padding:34px 38px; background:#fff; border:1px solid #d8e1eb; border-top:4px solid #c86a1b; border-radius:14px; box-shadow:0 16px 38px rgba(15,23,42,.06),0 2px 6px rgba(15,23,42,.03); font-size:.92rem; line-height:1.72; }
.topic-template h3 { font-size:1.18rem; letter-spacing:-.02em; margin:0; text-align:center; }
.topic-template .topic-template-subtitle { text-align:center; margin:6px 0 24px; color:var(--muted); }
.topic-template h4 { font-size:.96rem; margin:24px 0 8px; color:var(--ink); }
.topic-template p,.topic-template ol { margin:0 0 8px; }
.topic-template ol { padding-left:20px; }
.topic-blank { padding:1px 6px; border-bottom:1.5px dashed #94a3b8; background:#f8fafc; border-radius:3px; color:var(--muted); white-space:nowrap; }
.topic-template-table { width:100%; border-collapse:collapse; margin:12px 0 8px; font-size:.83rem; font-variant-numeric:tabular-nums; }
.topic-template-table caption { text-align:left; font-size:.77rem; color:var(--muted); padding-bottom:6px; }
.topic-template-table th,.topic-template-table td { padding:9px 8px; border:1px solid var(--line); text-align:left; vertical-align:top; }
.topic-template-table thead th { background:#f8fafc; font-weight:650; font-size:.74rem; color:var(--ink); }
.topic-template-signatures { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:28px; font-size:.82rem; color:var(--muted); }
.topic-template-signatures span { display:block; padding-top:28px; border-top:1px solid #9aaba5; text-align:center; }
@media(max-width:900px) {
    .topic-checklist { grid-template-columns:1fr; }
}
@media(max-width:680px) {
    .topic-section { padding-block:44px; }
    .topic-examples { grid-template-columns:1fr; }
    .topic-example-preview img { max-height:300px; }
    .topic-example-copy .actions .button { width:100%; }
    .topic-template { padding:20px 16px; font-size:.88rem; }
    .topic-template-table { font-size:.74rem; }
    .topic-template-table th,.topic-template-table td { padding:6px 4px; }
    .topic-template-signatures { grid-template-columns:1fr; gap:10px; }
    .topic-blank { white-space:normal; }
}
