/* Shared Euro Modular anthracite and gold palette. */
:root{--bg1:#171e28;--bg2:#202630;--bg3:#171e28;--card:#202630;--text:#f7f6f0;--muted:#b7bac0;--line:#49515d;--accent:#dfc07b;--accent-dark:#dfc07b;--accent-soft:#30333a;--shadow:0 14px 36px rgba(0,0,0,.18)}
body{background:#171e28}a{color:var(--accent)}
.brand-card,.toolbar,.card,.kpi{background:var(--card)}
.brand-title,.big{color:var(--accent)}
.card-header{background:#242b35}.card-header h2{color:var(--text)}
.btn-primary{background:linear-gradient(135deg,#ead398,#cfad62);color:#202630}
.btn-secondary,.date-picker-btn{background:#303844;color:var(--text);border-color:var(--line)}
.date-picker-btn:hover{background:#3a424e}
input[type="number"],input[type="text"],input[type="date"],select{background:#171e28;color:var(--text);border-color:#59606a;color-scheme:dark}
input::placeholder{color:#a8adb5;opacity:1}
input:invalid,input.is-invalid{background:#362723;border-color:#d98a6a}
input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.proposal{background:#202630}.price-box{background:#171e28;border-color:var(--line)}
th{background:#29313c}.footnote{background:#252d38;border-color:var(--line);color:var(--muted)}
.pill{background:#35342e;color:#dfc07b}.option-row .num{color:#dfc07b;font-weight:700}
.print-cover-sheet{background:linear-gradient(150deg,#f7f6f0,#e9dfc8)}
.print-cover-sheet::before{background-image:none}
.print-cover-sheet::after{background:linear-gradient(90deg,#202630 55%,#dfc07b 55%)}
.print-cover-logo-wrap{background:#202630;border-color:#59606a;box-shadow:none}
.print-cover-title{color:#202630;text-shadow:none}.print-cover-subtitle,.print-cover-pill{color:#202630;background:#fffdf6}
@media print{
 :root{--text:#202630;--muted:#555b63;--line:#ccc8bc;--card:#fff;--accent:#8a6a26;--accent-dark:#202630;--accent-soft:#eee7d7}
 body{background:#fff;color:#202630}.brand-card,.toolbar,.card,.kpi,.proposal,.price-box{background:#fff;color:#202630}
 .card-header,th{background:#f2efe7}.brand-title,.big,.card-header h2{color:#202630}.footnote{background:#f5f2eb;color:#555b63}.pill{background:#eee7d7;color:#6a521d}
 .print-cover-logo-wrap{background:#fff;border-color:#ccc8bc}.print-cover-sheet,.print-cover-sheet::after{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* Print only the quotation and project parameters, without introductory pages. */
.calculator-logo-print{display:none !important}
@media print{
 .print-cover,.brand-shell,.wrap > .footnote,.wrap > .no-print{display:none !important}
 .calculator-logo-screen{display:none !important}
 .calculator-logo-print{display:block !important}
 .grid,.results,.split{display:block}
 .kpis{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:16px}
 .proposal{break-inside:auto;page-break-inside:auto}
 .proposal-top,.price-box,.proposal table{break-inside:avoid;page-break-inside:avoid}
 .proposal-brand picture{display:contents}
}

/* Emphasize quotation totals and areas; omit duplicate KPI cards in print. */
#summaryBody tr:nth-child(2) td,#summaryBody tr:nth-child(3) td,#summaryBody tr:nth-child(9) td,#summaryBody tr:nth-child(10) td{font-weight:700}
@media print{.kpis{display:none !important}}
