/* PromosiProton Quote UI — v2.5.1.2 */

.pp-calculator__quote-action{
    margin-top:12px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
    align-items:center;
    padding:14px 16px;
    border:1px solid #dfe3e8;
    border-radius:12px;
    background:#f8fafc;
}
.pp-calculator__quote-action-copy{display:grid;gap:2px;min-width:0}
.pp-calculator__quote-action-copy strong{font-size:13px;color:var(--pp-text)}
.pp-calculator__quote-action-copy span{font-size:11px;line-height:1.45;color:var(--pp-muted)}
.pp-calculator__quote-button{
    appearance:none;
    border:1px solid #161a22;
    border-radius:10px;
    min-height:46px;
    padding:9px 18px;
    background:#161a22;
    color:#fff;
    font:inherit;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
    white-space:nowrap;
    transition:transform .18s ease,background .18s ease;
}
.pp-calculator__quote-button:hover{background:#272c36;transform:translateY(-1px)}

body.pp-quote-modal-open{overflow:hidden}
.pp-quote-modal[hidden]{display:none!important}
.pp-quote-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:24px}
.pp-quote-modal__backdrop{position:absolute;inset:0;background:rgba(8,12,18,.72);backdrop-filter:blur(3px)}
.pp-quote-modal__dialog{
    position:relative;
    width:min(900px,100%);
    max-height:calc(100vh - 48px);
    overflow:auto;
    border-radius:18px;
    background:#eef1f5;
    box-shadow:0 24px 80px rgba(0,0,0,.3);
}
.pp-quote-modal__toolbar{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #dce1e7;background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}
.pp-quote-modal__toolbar>div{display:grid;gap:2px}
.pp-quote-modal__toolbar span{font-size:11px;font-weight:800;color:#c91e2d;text-transform:uppercase;letter-spacing:.04em}
.pp-quote-modal__toolbar strong{font-size:17px;color:#151922}
.pp-quote-modal__close{width:40px;height:40px;border:1px solid #d9dee5;border-radius:10px;background:#fff;color:#151922;font-size:26px;line-height:1;cursor:pointer}
.pp-quote-modal__customer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 20px 0}
.pp-quote-modal__customer label{display:grid;gap:6px;font-size:11px;font-weight:800;color:#586170}
.pp-quote-modal__customer small{font-weight:600;color:#89919d}
.pp-quote-modal__customer input{width:100%;min-height:42px;border:1px solid #d8dde4;border-radius:9px;background:#fff;padding:8px 11px;font:inherit;color:#151922}
.pp-quote-modal__status{margin:14px 20px 0;padding:0;font-size:13px;color:#596273}.pp-quote-modal__status.is-error{color:#b4232e}

.pp-quote-sheet{width:calc(100% - 40px);margin:16px 20px 0;padding:28px;border-radius:12px;background:#fff;color:#151922;box-shadow:0 5px 18px rgba(20,28,40,.08)}
.pp-quote-sheet__header{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-bottom:20px;border-bottom:2px solid #151922}
.pp-quote-sheet__brand{display:flex;align-items:center;gap:11px}.pp-quote-sheet__brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#c91e2d;color:#fff;font-weight:900;font-size:22px}.pp-quote-sheet__brand>div{display:grid;gap:2px}.pp-quote-sheet__brand strong{font-size:20px}.pp-quote-sheet__brand small{font-size:11px;color:#707987}
.pp-quote-sheet__meta{display:grid;justify-items:end;gap:2px}.pp-quote-sheet__meta span{font-size:10px;text-transform:uppercase;color:#7b8491}.pp-quote-sheet__meta strong{font-size:13px}
.pp-quote-sheet__customer-line{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:14px 0;border-bottom:1px solid #e6e9ed}.pp-quote-sheet__customer-line>div{display:grid;gap:2px}.pp-quote-sheet__customer-line span{font-size:10px;color:#7c8592}.pp-quote-sheet__customer-line strong{font-size:13px}
.pp-quote-sheet__vehicle{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);gap:22px;align-items:center;padding:24px 0}.pp-quote-sheet__vehicle-copy>span{font-size:10px;font-weight:800;color:#c91e2d;text-transform:uppercase}.pp-quote-sheet__vehicle h2{margin:5px 0 7px;font-size:27px;line-height:1.15}.pp-quote-sheet__vehicle h2 strong{font-weight:900}.pp-quote-sheet__vehicle p{margin:0;color:#68717e;font-size:12px}.pp-quote-sheet__vehicle-image{height:170px;display:grid;place-items:center;border-radius:12px;background:#f4f6f8;overflow:hidden;color:#8a929d;font-size:11px}.pp-quote-sheet__vehicle-image img{width:100%;height:100%;object-fit:contain;display:block}
.pp-quote-sheet__pricing{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #e0e4e9;border-radius:12px;overflow:hidden}.pp-quote-sheet__pricing>div{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;padding:11px 14px;border-bottom:1px solid #e8ebef}.pp-quote-sheet__pricing>div:nth-child(odd){border-right:1px solid #e8ebef}.pp-quote-sheet__pricing span{font-size:11px;color:#68717d}.pp-quote-sheet__pricing strong{font-size:14px;white-space:nowrap}.pp-quote-sheet__pricing .is-accent strong{color:#c91e2d}.pp-quote-sheet__pricing .is-total{grid-column:1/-1;background:#fff5f6;border-bottom:0!important;border-right:0!important}.pp-quote-sheet__pricing .is-total strong{color:#c91e2d;font-size:18px}
.pp-quote-sheet__finance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:14px}.pp-quote-sheet__finance>div{min-height:74px;padding:11px 12px;border:1px solid #e0e4e9;border-radius:10px;display:grid;align-content:center;gap:4px}.pp-quote-sheet__finance span{font-size:10px;color:#747d89}.pp-quote-sheet__finance strong{font-size:15px}.pp-quote-sheet__finance small{font-size:9px;color:#89919b}.pp-quote-sheet__finance .is-monthly{background:#151922;border-color:#151922}.pp-quote-sheet__finance .is-monthly span{color:#aeb5bf}.pp-quote-sheet__finance .is-monthly strong{color:#fff;font-size:20px}
.pp-quote-sheet__footer{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px;padding:16px 0;border-top:2px solid #151922}.pp-quote-sheet__footer>div{display:grid;gap:2px}.pp-quote-sheet__footer>div:last-child{text-align:right}.pp-quote-sheet__footer span{font-size:10px;color:#7c8591}.pp-quote-sheet__footer strong{font-size:14px}.pp-quote-sheet__footer small{font-size:10px;color:#737c88}
.pp-quote-sheet__disclaimer{margin:0;padding-top:12px;border-top:1px solid #e6e9ed;color:#7a838f;font-size:9px;line-height:1.55}
.pp-quote-modal__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 20px 20px}.pp-quote-modal__actions button{min-height:44px;border-radius:9px;padding:8px 16px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.pp-quote-modal__print{border:1px solid #c91e2d;background:#c91e2d;color:#fff}.pp-quote-modal__secondary{border:1px solid #d6dbe2;background:#fff;color:#1b2029}.pp-quote-modal__actions small{flex:1 1 240px;color:#69727f;font-size:10px;line-height:1.45}

@media(max-width:680px){
    .pp-calculator__quote-action{grid-template-columns:1fr}.pp-calculator__quote-button{width:100%}
    .pp-quote-modal{padding:0}.pp-quote-modal__dialog{width:100%;max-height:100vh;height:100vh;border-radius:0}.pp-quote-modal__customer{grid-template-columns:1fr}.pp-quote-sheet{width:calc(100% - 24px);margin:14px 12px 0;padding:18px}.pp-quote-sheet__vehicle{grid-template-columns:1fr}.pp-quote-sheet__vehicle-image{height:145px}.pp-quote-sheet__pricing{grid-template-columns:1fr}.pp-quote-sheet__pricing>div,.pp-quote-sheet__pricing>div:nth-child(odd){border-right:0}.pp-quote-sheet__pricing .is-total{grid-column:auto}.pp-quote-sheet__finance{grid-template-columns:repeat(2,minmax(0,1fr))}.pp-quote-sheet__finance .is-monthly{grid-column:1/-1}.pp-quote-sheet__footer{grid-template-columns:1fr}.pp-quote-sheet__footer>div:last-child{text-align:left}.pp-quote-sheet__vehicle h2{font-size:23px}
}

@media print{
    /* v2.5.1.2 — compact, phone-friendly quotation sheet. */
    @page{
        size:A5 portrait;
        margin:7mm;
    }

    html,
    body{
        width:148mm!important;
        min-width:0!important;
        height:auto!important;
        min-height:0!important;
        margin:0!important;
        padding:0!important;
        overflow:visible!important;
        background:#fff!important;
    }

    body.pp-quote-printing > *{display:none!important}
    body.pp-quote-printing > .pp-quote-modal{
        display:block!important;
        position:static!important;
        width:auto!important;
        height:auto!important;
        min-height:0!important;
        margin:0!important;
        padding:0!important;
        overflow:visible!important;
        background:#fff!important;
    }
    body.pp-quote-printing .pp-quote-modal__backdrop,
    body.pp-quote-printing .pp-quote-modal__toolbar,
    body.pp-quote-printing .pp-quote-modal__customer,
    body.pp-quote-printing .pp-quote-modal__status,
    body.pp-quote-printing .pp-quote-modal__actions{display:none!important}

    body.pp-quote-printing .pp-quote-modal__dialog{
        display:block!important;
        position:static!important;
        width:auto!important;
        max-width:none!important;
        height:auto!important;
        max-height:none!important;
        margin:0!important;
        padding:0!important;
        overflow:visible!important;
        border:0!important;
        border-radius:0!important;
        background:#fff!important;
        box-shadow:none!important;
    }

    body.pp-quote-printing .pp-quote-sheet{
        display:block!important;
        width:134mm!important;
        max-width:134mm!important;
        min-height:0!important;
        margin:0 auto!important;
        padding:2.5mm 3mm!important;
        box-sizing:border-box!important;
        border:0!important;
        border-radius:0!important;
        background:#fff!important;
        box-shadow:none!important;
        color:#151922!important;
        font-size:10pt!important;
    }

    body.pp-quote-printing .pp-quote-sheet__header{
        gap:5mm!important;
        padding-bottom:2.5mm!important;
        border-bottom:1.2pt solid #151922!important;
    }
    body.pp-quote-printing .pp-quote-sheet__brand{gap:2.5mm!important}
    body.pp-quote-printing .pp-quote-sheet__brand-mark{width:9mm!important;height:9mm!important;border-radius:2.2mm!important;font-size:14pt!important}
    body.pp-quote-printing .pp-quote-sheet__brand strong{font-size:13.5pt!important}
    body.pp-quote-printing .pp-quote-sheet__brand small{font-size:7.8pt!important}
    body.pp-quote-printing .pp-quote-sheet__meta span{font-size:7pt!important}
    body.pp-quote-printing .pp-quote-sheet__meta strong{font-size:8.5pt!important}

    body.pp-quote-printing .pp-quote-sheet__customer-line{
        grid-template-columns:1fr!important;
        gap:1.5mm!important;
        padding:2.5mm 0!important;
    }
    body.pp-quote-printing .pp-quote-sheet__customer-line>div{
        display:grid!important;
        grid-template-columns:30mm minmax(0,1fr)!important;
        align-items:center!important;
        gap:3mm!important;
    }
    body.pp-quote-printing .pp-quote-sheet__customer-line span{font-size:7.5pt!important}
    body.pp-quote-printing .pp-quote-sheet__customer-line strong{font-size:9.5pt!important}

    /* Everything after customer identity flows vertically in one column. */
    body.pp-quote-printing .pp-quote-sheet__vehicle{
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:2.5mm!important;
        padding:3mm 0!important;
    }
    body.pp-quote-printing .pp-quote-sheet__vehicle-copy>span{font-size:7.5pt!important}
    body.pp-quote-printing .pp-quote-sheet__vehicle h2{margin:1mm 0!important;font-size:16pt!important;line-height:1.08!important}
    body.pp-quote-printing .pp-quote-sheet__vehicle p{font-size:8.5pt!important}
    body.pp-quote-printing .pp-quote-sheet__vehicle-image{width:100%!important;height:31mm!important;border-radius:2.5mm!important}
    body.pp-quote-printing .pp-quote-sheet__vehicle-image img{width:100%!important;height:100%!important;object-fit:contain!important}

    body.pp-quote-printing .pp-quote-sheet__pricing{
        display:grid!important;
        grid-template-columns:1fr!important;
        border-radius:2.5mm!important;
    }
    body.pp-quote-printing .pp-quote-sheet__pricing>div,
    body.pp-quote-printing .pp-quote-sheet__pricing>div:nth-child(odd){
        min-height:0!important;
        padding:1.7mm 2.5mm!important;
        gap:3mm!important;
        border-right:0!important;
        border-bottom:1px solid #e8ebef!important;
    }
    body.pp-quote-printing .pp-quote-sheet__pricing .is-total{grid-column:auto!important;border-bottom:0!important}
    body.pp-quote-printing .pp-quote-sheet__pricing span{font-size:8pt!important}
    body.pp-quote-printing .pp-quote-sheet__pricing strong{font-size:9.5pt!important}
    body.pp-quote-printing .pp-quote-sheet__pricing .is-total strong{font-size:11.5pt!important}

    body.pp-quote-printing .pp-quote-sheet__finance{
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:1.5mm!important;
        margin-top:2.5mm!important;
    }
    body.pp-quote-printing .pp-quote-sheet__finance>div{
        min-height:0!important;
        padding:1.7mm 2.5mm!important;
        border-radius:2mm!important;
        display:grid!important;
        grid-template-columns:34mm minmax(0,1fr)!important;
        align-items:center!important;
        gap:1mm 3mm!important;
    }
    body.pp-quote-printing .pp-quote-sheet__finance span{font-size:8pt!important}
    body.pp-quote-printing .pp-quote-sheet__finance strong{font-size:10pt!important}
    body.pp-quote-printing .pp-quote-sheet__finance small{grid-column:2!important;font-size:6.8pt!important}
    body.pp-quote-printing .pp-quote-sheet__finance .is-monthly{grid-column:auto!important;padding:2.2mm 2.5mm!important}
    body.pp-quote-printing .pp-quote-sheet__finance .is-monthly strong{font-size:14pt!important}

    body.pp-quote-printing .pp-quote-sheet__footer{
        grid-template-columns:1fr!important;
        gap:1.5mm!important;
        margin-top:2.5mm!important;
        padding:2.5mm 0!important;
        border-top:1.2pt solid #151922!important;
    }
    body.pp-quote-printing .pp-quote-sheet__footer>div,
    body.pp-quote-printing .pp-quote-sheet__footer>div:last-child{
        display:grid!important;
        grid-template-columns:30mm minmax(0,1fr)!important;
        gap:.5mm 3mm!important;
        text-align:left!important;
    }
    body.pp-quote-printing .pp-quote-sheet__footer span{font-size:7.5pt!important}
    body.pp-quote-printing .pp-quote-sheet__footer strong{font-size:9.5pt!important}
    body.pp-quote-printing .pp-quote-sheet__footer small{grid-column:2!important;font-size:7.2pt!important}
    body.pp-quote-printing .pp-quote-sheet__disclaimer{padding-top:2mm!important;font-size:6.8pt!important;line-height:1.3!important}

    body.pp-quote-printing .pp-quote-sheet__header,
    body.pp-quote-printing .pp-quote-sheet__customer-line,
    body.pp-quote-printing .pp-quote-sheet__vehicle,
    body.pp-quote-printing .pp-quote-sheet__pricing,
    body.pp-quote-printing .pp-quote-sheet__finance>div,
    body.pp-quote-printing .pp-quote-sheet__footer,
    body.pp-quote-printing .pp-quote-sheet__disclaimer{
        break-inside:avoid-page!important;
        page-break-inside:avoid!important;
    }
}

/*
|--------------------------------------------------------------------------
| v2.5.1.5 — A4 ONE-PAGE HARD PRINT FIX
|--------------------------------------------------------------------------
| Compatibility patch intentionally lives in quote-v2512.css because
| existing installations may still enqueue this canonical asset filename.
| This block is last so iPhone/Safari and old mobile rules cannot override it.
*/
@media print {
    @page { size: A4 portrait; margin: 7mm; }

    html,
    body {
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
    }

    body.pp-quote-printing > * { display: none !important; }

    body.pp-quote-printing > .pp-quote-modal {
        display: block !important;
        position: static !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
    }

    body.pp-quote-printing .pp-quote-modal__backdrop,
    body.pp-quote-printing .pp-quote-modal__toolbar,
    body.pp-quote-printing .pp-quote-modal__customer,
    body.pp-quote-printing .pp-quote-modal__status,
    body.pp-quote-printing .pp-quote-modal__actions {
        display: none !important;
    }

    body.pp-quote-printing .pp-quote-modal__dialog {
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    body.pp-quote-printing .pp-quote-sheet {
        display: block !important;
        width: 186mm !important;
        max-width: 186mm !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: 3mm 4mm !important;
        box-sizing: border-box !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
        color: #151922 !important;
    }

    /* Brand / date */
    body.pp-quote-printing .pp-quote-sheet__header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6mm !important;
        padding: 0 0 2.4mm !important;
        border-bottom: 1.1pt solid #151922 !important;
    }
    body.pp-quote-printing .pp-quote-sheet__brand { gap: 2.5mm !important; }
    body.pp-quote-printing .pp-quote-sheet__brand-mark {
        width: 9mm !important;
        height: 9mm !important;
        border-radius: 2mm !important;
        font-size: 13pt !important;
    }
    body.pp-quote-printing .pp-quote-sheet__brand strong { font-size: 13.5pt !important; }
    body.pp-quote-printing .pp-quote-sheet__brand small { font-size: 7.4pt !important; }
    body.pp-quote-printing .pp-quote-sheet__meta span { font-size: 6.8pt !important; }
    body.pp-quote-printing .pp-quote-sheet__meta strong { font-size: 9pt !important; }

    /* Customer info: two compact rows, as in the reference */
    body.pp-quote-printing .pp-quote-sheet__customer-line {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.8mm !important;
        padding: 2.2mm 0 !important;
        border-bottom: 1px solid #e6e9ed !important;
    }
    body.pp-quote-printing .pp-quote-sheet__customer-line > div {
        display: grid !important;
        grid-template-columns: 34mm minmax(0,1fr) !important;
        gap: 3mm !important;
        align-items: center !important;
    }
    body.pp-quote-printing .pp-quote-sheet__customer-line span { font-size: 7.2pt !important; }
    body.pp-quote-printing .pp-quote-sheet__customer-line strong { font-size: 9.2pt !important; }

    /* Model left + full vehicle image right */
    body.pp-quote-printing .pp-quote-sheet__vehicle {
        display: grid !important;
        grid-template-columns: minmax(0,1.2fr) minmax(54mm,.8fr) !important;
        gap: 5mm !important;
        align-items: center !important;
        padding: 3mm 0 !important;
    }
    body.pp-quote-printing .pp-quote-sheet__vehicle-copy { min-width: 0 !important; }
    body.pp-quote-printing .pp-quote-sheet__vehicle-copy > span { font-size: 7pt !important; }
    body.pp-quote-printing .pp-quote-sheet__vehicle h2 {
        margin: .8mm 0 !important;
        font-size: 15pt !important;
        line-height: 1.06 !important;
    }
    body.pp-quote-printing .pp-quote-sheet__vehicle p {
        margin: 0 !important;
        font-size: 8pt !important;
        line-height: 1.2 !important;
    }
    body.pp-quote-printing .pp-quote-sheet__vehicle-image {
        display: grid !important;
        place-items: center !important;
        width: 100% !important;
        height: 27mm !important;
        min-height: 27mm !important;
        max-height: 27mm !important;
        border-radius: 2.3mm !important;
        overflow: hidden !important;
    }
    body.pp-quote-printing .pp-quote-sheet__vehicle-image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    /* Price table */
    body.pp-quote-printing .pp-quote-sheet__pricing {
        display: grid !important;
        grid-template-columns: 1fr !important;
        border-radius: 2.2mm !important;
        overflow: hidden !important;
    }
    body.pp-quote-printing .pp-quote-sheet__pricing > div,
    body.pp-quote-printing .pp-quote-sheet__pricing > div:nth-child(odd) {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 0 !important;
        padding: 1.45mm 2.7mm !important;
        gap: 4mm !important;
        border-right: 0 !important;
        border-bottom: 1px solid #e8ebef !important;
    }
    body.pp-quote-printing .pp-quote-sheet__pricing .is-total {
        grid-column: auto !important;
        border-bottom: 0 !important;
    }
    body.pp-quote-printing .pp-quote-sheet__pricing span { font-size: 7.8pt !important; }
    body.pp-quote-printing .pp-quote-sheet__pricing strong { font-size: 9.5pt !important; }
    body.pp-quote-printing .pp-quote-sheet__pricing .is-total strong { font-size: 11.5pt !important; }

    /* Financing rows */
    body.pp-quote-printing .pp-quote-sheet__finance {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.1mm !important;
        margin-top: 2mm !important;
    }
    body.pp-quote-printing .pp-quote-sheet__finance > div {
        display: grid !important;
        grid-template-columns: 42mm minmax(0,1fr) !important;
        align-items: center !important;
        gap: .5mm 3mm !important;
        min-height: 0 !important;
        padding: 1.25mm 2.7mm !important;
        border-radius: 1.8mm !important;
    }
    body.pp-quote-printing .pp-quote-sheet__finance span { font-size: 7.7pt !important; }
    body.pp-quote-printing .pp-quote-sheet__finance strong { font-size: 9.5pt !important; }
    body.pp-quote-printing .pp-quote-sheet__finance small {
        grid-column: 2 !important;
        font-size: 6.4pt !important;
        line-height: 1.1 !important;
    }
    body.pp-quote-printing .pp-quote-sheet__finance .is-monthly {
        grid-column: auto !important;
        padding: 2mm 2.7mm !important;
    }
    body.pp-quote-printing .pp-quote-sheet__finance .is-monthly strong { font-size: 14.5pt !important; }

    /* Advisor + disclaimer stays on page 1 */
    body.pp-quote-printing .pp-quote-sheet__footer {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: .7mm !important;
        margin-top: 2mm !important;
        padding: 2mm 0 1.6mm !important;
        border-top: 1.1pt solid #151922 !important;
    }
    body.pp-quote-printing .pp-quote-sheet__footer > div,
    body.pp-quote-printing .pp-quote-sheet__footer > div:last-child {
        display: grid !important;
        grid-template-columns: 34mm minmax(0,1fr) !important;
        gap: .3mm 3mm !important;
        text-align: left !important;
        align-items: start !important;
    }
    body.pp-quote-printing .pp-quote-sheet__footer span { font-size: 7pt !important; }
    body.pp-quote-printing .pp-quote-sheet__footer strong { font-size: 9pt !important; }
    body.pp-quote-printing .pp-quote-sheet__footer small {
        grid-column: 2 !important;
        font-size: 6.8pt !important;
        line-height: 1.1 !important;
    }
    body.pp-quote-printing .pp-quote-sheet__disclaimer {
        margin: 0 !important;
        padding-top: 1.6mm !important;
        border-top: 1px solid #e6e9ed !important;
        font-size: 6.2pt !important;
        line-height: 1.22 !important;
    }

    /* Prevent Safari from moving the advisor block to a second page. */
    body.pp-quote-printing .pp-quote-sheet__header,
    body.pp-quote-printing .pp-quote-sheet__customer-line,
    body.pp-quote-printing .pp-quote-sheet__vehicle,
    body.pp-quote-printing .pp-quote-sheet__pricing,
    body.pp-quote-printing .pp-quote-sheet__finance,
    body.pp-quote-printing .pp-quote-sheet__footer,
    body.pp-quote-printing .pp-quote-sheet__disclaimer {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }
}

/*
|--------------------------------------------------------------------------
| v2.5.1.6 — Balanced A4 Vertical Fill
|--------------------------------------------------------------------------
| Uses more of the available A4 height while preserving the proven
| one-page print structure from v2.5.1.5. Kept in the canonical asset
| filename for compatibility with existing installations/caches.
*/
@media print {
    body.pp-quote-printing .pp-quote-sheet {
        padding-top: 4mm !important;
        padding-bottom: 4mm !important;
    }

    body.pp-quote-printing .pp-quote-sheet__header {
        padding-bottom: 3.2mm !important;
    }

    body.pp-quote-printing .pp-quote-sheet__customer-line {
        gap: 1.1mm !important;
        padding: 3mm 0 !important;
    }

    body.pp-quote-printing .pp-quote-sheet__vehicle {
        gap: 6mm !important;
        padding: 5mm 0 !important;
    }

    body.pp-quote-printing .pp-quote-sheet__vehicle h2 {
        margin: 1.2mm 0 1.4mm !important;
        font-size: 15.5pt !important;
    }

    body.pp-quote-printing .pp-quote-sheet__vehicle-image {
        height: 33mm !important;
        min-height: 33mm !important;
        max-height: 33mm !important;
        overflow: visible !important;
    }

    body.pp-quote-printing .pp-quote-sheet__vehicle-image img {
        object-fit: contain !important;
        object-position: center center !important;
    }

    body.pp-quote-printing .pp-quote-sheet__pricing > div,
    body.pp-quote-printing .pp-quote-sheet__pricing > div:nth-child(odd) {
        padding: 2.05mm 2.7mm !important;
    }

    body.pp-quote-printing .pp-quote-sheet__finance {
        gap: 1.6mm !important;
        margin-top: 3mm !important;
    }

    body.pp-quote-printing .pp-quote-sheet__finance > div {
        padding: 1.8mm 2.7mm !important;
    }

    body.pp-quote-printing .pp-quote-sheet__finance .is-monthly {
        padding: 2.8mm 2.7mm !important;
    }

    body.pp-quote-printing .pp-quote-sheet__footer {
        gap: 1mm !important;
        margin-top: 3.2mm !important;
        padding: 2.8mm 0 2.2mm !important;
    }

    body.pp-quote-printing .pp-quote-sheet__disclaimer {
        padding-top: 2.2mm !important;
        font-size: 6.35pt !important;
        line-height: 1.28 !important;
    }
}
