
/* PEREKO — kalkulatory przeniesione z Asystenta Instalatora, adaptacja do Centrum Partnera */
body.pereko-calculator-area{font-family:var(--pereko-font,Inter,"Segoe UI",Arial,sans-serif);background:#f6f8f9;color:#232b2f}
body.pereko-calculator-area .pereko-page-hero h1,
body.pereko-calculator-area .tool-intro h2,
body.pereko-calculator-area .tool-section h3,
body.pereko-calculator-area .tool-result h3,
body.pereko-calculator-area .heating-result-header h3,
body.pereko-calculator-area .electric-device-card h4{font-family:var(--pereko-font,Inter,"Segoe UI",Arial,sans-serif)}
.tool-main{padding:46px 0 70px}
.tool-main>.shell{width:min(1120px,calc(100vw - 48px));margin-left:max(24px,calc((100vw - 1120px)/2));margin-right:0}
.tool-intro{display:flex;align-items:flex-start;gap:18px;margin-bottom:24px;padding:0 2px}
.tool-intro-icon{width:52px;height:52px;min-width:52px;border-radius:15px;background:#ffc800;color:#232b2f;display:grid;place-items:center;font-size:20px;box-shadow:0 10px 24px rgba(255,200,0,.2)}
.tool-intro-copy{padding-top:1px}.tool-intro-copy small{display:block;color:#9a7400;font-size:11px;text-transform:uppercase;letter-spacing:.11em;font-weight:900}
.tool-intro h2{font-size:28px;line-height:1.18;margin:6px 0 9px;font-weight:800;letter-spacing:-.035em;color:#232b2f}
.tool-intro p{max-width:900px;font-size:16px;color:#66747b;line-height:1.62;margin:0}
.tool-card{background:#fff;border:1px solid #dde4e7;border-radius:24px;box-shadow:0 18px 50px rgba(35,43,47,.07);overflow:hidden}
.tool-card-body{padding:34px}
.tool-section{padding:24px;border:1px solid #e2e7e9;border-radius:18px;background:#fbfcfc;margin-bottom:18px}
.tool-section:last-child{margin-bottom:0}.tool-section-head{margin-bottom:18px}.tool-section-head span{display:block;color:#9a7400;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}.tool-section-head h3{font-size:20px;line-height:1.25;margin:0;font-weight:800;letter-spacing:-.02em}.tool-section-head p{font-size:14px;color:#6e7a81;line-height:1.55;margin:7px 0 0;max-width:900px}
.tool-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.tool-field--full{grid-column:1/-1}
.tool-field label{display:block;font-size:13px;font-weight:800;letter-spacing:.015em;margin-bottom:7px;color:#45535a;line-height:1.3}
.tool-field input,.tool-field select{width:100%;min-height:48px;border:1px solid #d4dde1;border-radius:12px;padding:11px 13px;background:#fff;font:600 16px/1.2 var(--pereko-font,Inter,"Segoe UI",Arial,sans-serif);color:#263137;outline:none;transition:border-color .15s ease,box-shadow .15s ease}
.tool-field input:focus,.tool-field select:focus{border-color:#d2a600;box-shadow:0 0 0 3px rgba(255,200,0,.15)}
.tool-field .unit-wrap{position:relative}.tool-field .unit-wrap input{padding-right:90px}.tool-field .unit{position:absolute;right:13px;top:50%;transform:translateY(-50%);font-size:12px;font-weight:800;color:#7a868d;pointer-events:none}
.tool-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:22px}.tool-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:12px 17px;border-radius:12px;border:1px solid #d9e0e4;background:#fff;color:#263137;font:800 13px/1.2 "Source Sans 3",Inter,sans-serif;cursor:pointer;text-decoration:none;transition:.16s ease}.tool-btn:hover{border-color:#d4ad11;background:#fff9dc}.tool-btn--primary{background:#ffc800;border-color:#ffc800;color:#232b2f}.tool-btn--primary:hover{background:#f5bf00;border-color:#f5bf00}
.tool-warning{margin-top:20px;border-left:4px solid #ffc800;background:#f3f5f6;border-radius:10px;padding:15px 17px;font-size:13px;line-height:1.55;color:#5f6d74}.tool-warning strong{color:#303b40}
.tool-result{display:none;margin-top:24px;border:1px solid #dfe5e8;border-radius:19px;overflow:hidden;background:#fff}.tool-result.is-visible{display:block}.tool-result-top{padding:25px 26px;background:linear-gradient(135deg,#f8fafb,#fffdf5)}.tool-result-label{font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:#8d6f00}.tool-result-main{font-family:var(--pereko-font,Inter,"Segoe UI",Arial,sans-serif);font-size:clamp(32px,4vw,46px);font-weight:800;letter-spacing:-.055em;margin:6px 0;color:#232b2f;overflow-wrap:anywhere}.tool-result-copy{font-size:15px;color:#68757d;line-height:1.55;max-width:920px}.tool-result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #e4e9eb}.tool-result-grid>div{padding:17px 18px;border-right:1px solid #e4e9eb;min-width:0}.tool-result-grid>div:last-child{border-right:0}.tool-result-grid span{display:block;color:#7b878e;font-size:11px;line-height:1.3;margin-bottom:6px}.tool-result-grid strong{display:block;font-size:14px;line-height:1.35;color:#273238;overflow-wrap:anywhere}
/* koszty ogrzewania */
.heating-layout{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(420px,.97fr);gap:22px;align-items:start}.heating-inputs{min-width:0}.heating-results{position:sticky;top:20px;border:1px solid #dfe5e8;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 12px 34px rgba(35,43,47,.05)}.heating-result-header{padding:23px 24px;background:#232b2f;color:#fff}.heating-result-header>span{display:block;color:#ffc800;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.heating-result-header h3{font-size:22px;margin:5px 0 6px}.heating-result-header p{font-size:13px;line-height:1.45;color:#cad2d6;margin:0}.heating-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #e4e9eb}.heating-kpi{padding:16px 14px;text-align:center;border-right:1px solid #e4e9eb;min-width:0}.heating-kpi:last-child{border-right:0}.heating-kpi small{display:block;font-size:10px;color:#758188;line-height:1.25}.heating-kpi strong{display:block;font-family:var(--pereko-font,Inter,"Segoe UI",Arial,sans-serif);font-size:16px;margin-top:5px;overflow-wrap:anywhere}.heating-fuel-results{padding:17px 18px;display:grid;gap:10px}.heating-fuel-card{display:grid;grid-template-columns:minmax(145px,1fr) minmax(80px,1.2fr) minmax(120px,.8fr);gap:12px;align-items:center;padding:12px 13px;border:1px solid #e1e7e9;border-radius:13px}.heating-fuel-card.best{border-color:#e4bf31;background:#fffdf3}.heating-fuel-name{min-width:0}.heating-fuel-name small{display:block;font-size:9px;color:#79858b}.heating-fuel-name strong{display:block;font-size:13px;margin-top:2px}.heating-best-badge{display:inline-block;margin-top:4px;padding:3px 6px;border-radius:999px;background:#ffc800;color:#493900;font-size:8px;font-weight:900;text-transform:uppercase}.heating-bar-wrap{height:8px;background:#edf1f2;border-radius:999px;overflow:hidden}.heating-bar{height:100%;background:#ffc800;border-radius:999px}.heating-fuel-value{text-align:right}.heating-fuel-value strong{display:block;font-size:14px}.heating-fuel-value small{display:block;font-size:9px;color:#7a868d;margin-top:3px}.heating-recommendation{margin:0 18px 18px;padding:17px;border-radius:14px;background:#f6f8f9;border-left:4px solid #ffc800}.heating-recommendation>span{font-size:9px;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:#8b6c00}.heating-recommendation h3{font-size:17px;margin:4px 0 6px}.heating-recommendation p{font-size:12px;line-height:1.5;color:#68757d;margin:0}.heating-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 18px 18px}.heating-detail-card{border:1px solid #e2e7e9;border-radius:14px;padding:14px}.heating-detail-card h4{font-family:var(--pereko-font,Inter,"Segoe UI",Arial,sans-serif);font-size:13px;margin:0 0 10px}.heating-detail-card>div{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-top:1px solid #edf0f1;font-size:11px}.heating-detail-card span{color:#758188}.heating-detail-card strong{text-align:right;font-size:11px}
/* źródła / elektryczne */
.source-section--aux{background:#f8fafb}.electric-device-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:0 26px 24px;border-top:1px solid #e4e9eb}.electric-device-card{margin-top:18px;padding:18px;border:1px solid #dde4e7;border-radius:15px;background:#fbfcfc}.electric-device-card span{font-size:10px;text-transform:uppercase;color:#8a6a00;font-weight:900;letter-spacing:.08em}.electric-device-card h4{font-size:26px;margin:5px 0 6px}.electric-device-card p{font-size:12px;color:#6e7980;line-height:1.45;margin:0}
@media(max-width:1080px){.heating-layout{grid-template-columns:1fr}.heating-results{position:static}.tool-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-result-grid>div:nth-child(2n){border-right:0}.tool-result-grid>div:nth-child(-n+2){border-bottom:1px solid #e4e9eb}}
@media(max-width:760px){.tool-main{padding:32px 0 52px}.tool-main>.shell{width:min(100vw - 32px,620px);margin-left:16px;margin-right:0}.tool-intro{gap:14px}.tool-intro-icon{width:46px;height:46px;min-width:46px;border-radius:13px}.tool-intro h2{font-size:23px}.tool-intro p{font-size:15px}.tool-card-body{padding:22px}.tool-section{padding:19px}.tool-form-grid{grid-template-columns:1fr;gap:14px}.tool-field--full{grid-column:auto}.tool-field input,.tool-field select{font-size:16px}.tool-actions{flex-direction:column}.tool-btn{width:100%;font-size:14px}.heating-kpi-grid{grid-template-columns:1fr}.heating-kpi{border-right:0;border-bottom:1px solid #e4e9eb}.heating-kpi:last-child{border-bottom:0}.heating-fuel-card{grid-template-columns:1fr}.heating-fuel-value{text-align:left}.heating-details-grid,.electric-device-grid{grid-template-columns:1fr}.tool-result-grid{grid-template-columns:1fr}.tool-result-grid>div{border-right:0;border-bottom:1px solid #e4e9eb}.tool-result-grid>div:last-child{border-bottom:0}.tool-result-top{padding:21px}.tool-result-copy{font-size:14px}}
@media(max-width:440px){.tool-card-body{padding:16px}.tool-section{padding:16px;border-radius:15px}.heating-fuel-results,.heating-details-grid{padding-left:12px;padding-right:12px}.heating-recommendation{margin-left:12px;margin-right:12px}.electric-device-grid{padding-left:18px;padding-right:18px}}
@media print{.calc-topbar,.pb2b-topbar,.pb2b-nav,.pereko-page-hero,.pereko-site-footer,.tool-intro,.heating-inputs{display:none!important}.tool-main{padding:0!important}.tool-main>.shell{width:100%!important}.heating-layout{display:block}.heating-results{box-shadow:none;border:0}.heating-result-header{background:#fff!important;color:#232b2f!important;border-bottom:1px solid #ddd}.heating-result-header>span{color:#555!important}}

/* AUDYT 2026-08-19 — wspólna oś z kalkulatorem doboru mocy + czytelność */
@media(min-width:1450px) and (min-height:800px){
  .tool-main>.shell{width:min(1400px,calc(100vw - 60px));margin-left:auto;margin-right:auto}
}
.tool-field-note{margin-top:7px;color:#738087;font-size:12.5px;line-height:1.45}
.tool-field-note strong{color:#39464c}
.heat-pump-assumption{border-color:#e6ca61;background:#fffdf3}
.heat-pump-assumption .tool-section-head span{color:#7f6500}
.heating-assumption-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.heating-assumption{padding:12px 13px;border:1px solid #e3e8ea;border-radius:13px;background:#fff}
.heating-assumption small{display:block;color:#7b878e;font-size:10px;line-height:1.35}
.heating-assumption strong{display:block;margin-top:4px;font-family:var(--pereko-font,Inter,"Segoe UI",Arial,sans-serif);font-size:16px;color:#263137}
.heating-assumption.active{border-color:#d8b526;background:#fff9dc;box-shadow:inset 0 0 0 1px rgba(255,200,0,.18)}
.heating-chart-card{margin:0 18px 18px;padding:16px 16px 14px;border:1px solid #e2e7e9;border-radius:14px;background:#fbfcfc}
.heating-chart-card h4{margin:0 0 4px;font-family:var(--pereko-font,Inter,"Segoe UI",Arial,sans-serif);font-size:14px}
.heating-chart-card>p{margin:0 0 13px;color:#748188;font-size:11px;line-height:1.45}
.heating-chart{display:grid;gap:9px}
.heating-chart-row{display:grid;grid-template-columns:minmax(112px,1fr) minmax(110px,1.5fr) 86px;gap:10px;align-items:center}
.heating-chart-label{font-size:11px;font-weight:700;color:#3f4b51;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.heating-chart-track{height:11px;border-radius:999px;background:#edf1f2;overflow:hidden}
.heating-chart-fill{height:100%;min-width:4px;border-radius:999px;background:#ffc800}
.heating-chart-row.best .heating-chart-track{box-shadow:0 0 0 1px #e1c040}
.heating-chart-row.best .heating-chart-label{font-weight:900}
.heating-chart-value{text-align:right;font-size:11px;font-weight:800;color:#263137;white-space:nowrap}
.heating-detail-card--wide{grid-column:1/-1}
.heating-detail-card .detail-note{display:block!important;border-top:0!important;padding:4px 0 0!important;color:#7b878e;font-size:10.5px;line-height:1.45}
.audit-badge{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:6px 8px;border-radius:999px;background:#fff4bd;color:#6f5700;font-size:10px;font-weight:800}
@media(max-width:760px){.heating-assumption-grid{grid-template-columns:1fr}.heating-chart-row{grid-template-columns:1fr}.heating-chart-value{text-align:left}.heating-chart-label{white-space:normal}.heating-chart-card{margin-left:12px;margin-right:12px}}

.tool-static-value{min-height:48px;display:flex;align-items:center;border:1px solid #d4dde1;border-radius:12px;padding:11px 13px;background:#f7f9fa;color:#263137;font:800 16px/1.2 var(--pereko-font,Inter,"Segoe UI",Arial,sans-serif)}

/* Audyt typografii 2026-08-19 — skala zgodna z bazowym kalkulatorem doboru mocy */
body.pereko-calculator-area .tool-intro,
body.pereko-calculator-area .tool-intro p,
body.pereko-calculator-area .tool-intro h2,
body.pereko-calculator-area .tool-field label,
body.pereko-calculator-area .tool-field input,
body.pereko-calculator-area .tool-field select,
body.pereko-calculator-area .tool-field-note,
body.pereko-calculator-area .tool-result-copy,
body.pereko-calculator-area .tool-result-grid,
body.pereko-calculator-area .tool-warning,
body.pereko-calculator-area .tool-btn{
  font-family:"Source Sans 3","Segoe UI",Arial,sans-serif!important;
}
body.pereko-calculator-area .tool-section h3,
body.pereko-calculator-area .heating-result-header h3,
body.pereko-calculator-area .heating-recommendation h3,
body.pereko-calculator-area .heating-detail-card h4,
body.pereko-calculator-area .electric-device-card h4{
  font-family:Montserrat,"Segoe UI",Arial,sans-serif!important;
}
body.pereko-calculator-area .tool-field label{font-size:13px!important;line-height:1.35!important}
body.pereko-calculator-area .tool-field input,
body.pereko-calculator-area .tool-field select{font-size:16px!important;line-height:1.25!important;font-weight:600!important}
body.pereko-calculator-area .tool-field-note{font-size:13px!important;line-height:1.5!important}
body.pereko-calculator-area .tool-btn{font-size:14px!important}
body.pereko-calculator-area .tool-warning{font-size:14px!important;line-height:1.55!important}
body.pereko-calculator-area .tool-result-grid span{font-size:13px!important;line-height:1.4!important}
body.pereko-calculator-area .tool-result-grid strong{font-size:15px!important;line-height:1.4!important}
body.pereko-calculator-area .heating-fuel-name small{font-size:11px!important}
body.pereko-calculator-area .heating-fuel-name strong{font-size:14px!important}
body.pereko-calculator-area .heating-fuel-value strong{font-size:14px!important}
body.pereko-calculator-area .heating-fuel-value small{font-size:11px!important}
body.pereko-calculator-area .heating-chart-card>p{font-size:12px!important}
body.pereko-calculator-area .heating-chart-label,
body.pereko-calculator-area .heating-chart-value{font-size:12px!important}
body.pereko-calculator-area .heating-recommendation>span{font-size:10px!important}
body.pereko-calculator-area .heating-recommendation p{font-size:13px!important}
body.pereko-calculator-area .heating-detail-card>div{font-size:12.5px!important;line-height:1.4!important}
body.pereko-calculator-area .heating-detail-card strong{font-size:12.5px!important}
body.pereko-calculator-area .heating-detail-card .detail-note{font-size:11.5px!important}
