.personalize-quote{margin-top:20px;width:100%;white-space:normal;text-align:center;justify-content:center}
html.personal-budget-open,body.personal-budget-open{overflow:hidden}
.personal-budget-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(920px,calc(100vw - 16px));height:min(900px,calc(100dvh - 16px));max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:0;border:0;border-radius:16px;overflow:hidden;color:#243d30;background:#f8faf4;box-sizing:border-box}
.personal-budget-dialog::backdrop{background:#12251ee6}
.pb-header,.pb-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-bottom:1px solid #d0dccb;background:#fff;min-width:0}
.pb-header p{margin:0;font-size:12px;line-height:1.4}.pb-header h2{font-size:clamp(20px,4vw,28px);letter-spacing:-.5px;line-height:1.15;margin:4px 0}
.pb-close{min-width:44px;min-height:44px;flex:none;border:1px solid #b2c2aa;border-radius:8px;background:#fff;font:inherit;color:inherit;cursor:pointer}
.pb-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:22px;scroll-padding-top:15px}
.pb-content h3{font-size:clamp(24px,4vw,32px);line-height:1.2;margin:0 0 15px}.pb-content p,.pb-content li{font-size:14px;line-height:1.6}.pb-content p{margin:8px 0 14px}
.pb-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pb-form label{display:flex;flex-direction:column;gap:6px;font-size:14px;min-width:0}.pb-form label:last-child{grid-column:1/-1}
.pb-form input{width:100%;min-width:0;box-sizing:border-box;line-height:1.4;font-family:inherit;font-size:16px;padding:12px;border:1px solid #879b80;border-radius:8px;background:white;color:#243d30}
.pb-note{background:#e6eedf;border-left:3px solid #397445;padding:10px 14px;color:#29452e;font-size:13px!important}.pb-error{color:#8a2727;font-weight:600}.pb-footer{border-bottom:0;border-top:1px solid #d0dccb}.pb-footer button{min-height:44px;white-space:normal}.pb-footer .button{max-width:70%;justify-content:center;text-align:center}
.pb-choice{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.pb-choice button,.pb-product-tabs button{min-height:44px;padding:10px 14px;border:1px solid #a0b398;border-radius:9px;background:#fff;color:#24432d;font:inherit;font-size:14px;cursor:pointer}
.pb-choice button[aria-pressed=true],.pb-product-tabs button[aria-pressed=true]{background:#244b33;color:white;border-color:#244b33}.pb-product-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.pb-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.pb-photo-grid button{min-width:0;border:1px solid #c7d4bd;border-radius:9px;background:white;padding:5px;cursor:pointer;text-align:left;color:#243d30}.pb-photo-grid button[aria-pressed=true]{outline:3px solid #2b7148;outline-offset:0}.pb-photo-grid img{width:100%;aspect-ratio:1.3;object-fit:cover;object-position:50% 54%;display:block;border-radius:5px}.pb-photo-grid span{display:block;font-size:12px;line-height:1.4;padding:7px 3px}
.pb-reference-image{display:block;max-width:100%;max-height:300px;object-fit:contain;margin:12px auto}.pb-upload{display:block;padding:14px;border:1px dashed #728b6a;border-radius:9px;font-size:14px}.pb-upload input{display:block;max-width:100%;font-size:14px;margin-top:10px}
.pb-document{background:white;padding:22px;border:1px solid #d2ddcc;border-radius:10px}.pb-document-head{display:flex;justify-content:space-between;gap:14px;align-items:start;border-bottom:1px solid #d7e1d1;padding-bottom:12px;margin-bottom:18px}.pb-document-head strong{font-size:22px}.pb-document small{font-size:12px;line-height:1.5;display:block}.pb-document ul{padding-left:22px}.pb-document .pb-total{font-size:28px;font-weight:600;line-height:1.3;margin:16px 0}.pb-document details summary{min-height:44px;cursor:pointer;font-size:14px;padding-block:10px}.pb-document details li{font-size:13px;margin-bottom:10px}.pb-document img{max-width:100%;max-height:240px;object-fit:contain;display:block;margin:15px auto}.pb-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:20px}.pb-actions button{min-height:48px;font:inherit;font-size:14px;color:#23432e;background:#e1edda;border:1px solid #8ba381;border-radius:8px;padding:12px;cursor:pointer}
.pb-message{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65;font-family:inherit;background:white;border:1px solid #cbd8c2;border-radius:9px;padding:18px}.personal-budget-dialog :focus-visible{outline:3px solid #21683e;outline-offset:3px}.pb-content [hidden]{display:none!important}
@media(max-width:600px){.pb-header,.pb-footer{padding:8px 12px}.pb-content{padding:16px}.pb-form{grid-template-columns:1fr;gap:13px}.pb-form label:last-child{grid-column:auto}.pb-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pb-document{padding:14px}.pb-actions{grid-template-columns:1fr}.pb-document-head{display:block}.pb-document-head>small{margin-top:8px}.pb-total{overflow-wrap:anywhere}}
@media(max-height:450px){.pb-header{padding-block:4px}.pb-header h2{font-size:20px}.pb-header p{display:none}.pb-footer{padding-block:5px}.pb-content{padding-block:12px}}
@page{size:A4;margin:14mm}
@media print{html.personal-budget-open,body.personal-budget-open{overflow:visible!important;height:auto!important}body>*{display:none!important}body>.personal-budget-dialog[open]{display:block!important;position:static!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:0!important;border-radius:0;box-shadow:none;background:white}.personal-budget-dialog::backdrop{display:none}.personal-budget-dialog .pb-header,.personal-budget-dialog .pb-footer{display:none!important}.pb-content{overflow:visible!important;padding:0}.pb-content>section{display:none!important}.pb-content>section[data-pb-step="3"]{display:block!important}.pb-content>section[data-pb-step="3"]>*:not(.pb-document){display:none!important}.pb-document{padding:0;border:0;background:white;print-color-adjust:exact}.pb-document-head,.pb-total,.pb-document img,.pb-document details li{break-inside:avoid}.pb-document details>ol{display:block!important}.pb-document details summary{font-weight:600}.pb-document img{max-height:65mm}.pb-document p,.pb-document li{font-size:10pt;line-height:1.5}.pb-document small{font-size:9pt}}
@media print{body{padding:0!important;margin:0!important}}

/* Presupuesto cliente, candidata local 28. */
.pb-wide{grid-column:1/-1}.pb-form input{border:1px solid #8b9b91;background:#fff;border-radius:8px;min-height:48px;padding:12px;color:#213a3c;font-size:16px}.pb-form input::placeholder{color:#65716a;opacity:1}.pb-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pb-choice button{text-align:left;min-height:92px;display:flex;flex-direction:column;justify-content:center;gap:6px}.pb-choice strong{font-size:16px}.pb-choice small{font-size:12px;line-height:1.5;color:inherit}.pb-pill{font-size:12px;color:#244b33;background:#e4eddf;display:inline-block;padding:4px 10px;border-radius:20px}.pb-export{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.pb-export .button{justify-content:center;min-width:150px}.pb-export .button:disabled{opacity:.65;cursor:wait}.pb-secondary{background:white;color:#244b33}.pb-customer{font-weight:600;margin-bottom:5px}.pb-price-panel{background:#e8f0e1;border-radius:10px;padding:18px;margin:20px 0 10px}.pb-price-panel>strong{display:block;font-size:32px;color:#234c35;line-height:1.25;margin:6px 0 12px}.pb-price-panel p{margin-bottom:6px}.pb-document dl{margin:12px 0}.pb-document dt{font-size:12px;color:#4d6658;font-weight:600}.pb-document dd{font-size:14px;margin:0 0 12px}.pb-document h4{font-size:17px;line-height:1.35;margin:12px 0}.pb-comparison{border-top:1px solid #cbd8c2;border-bottom:1px solid #cbd8c2;padding:16px 0;margin:20px 0}.pb-compare-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pb-compare-cards>div{padding:12px;background:#f0f4ec;border:1px solid #ccd8c4;border-radius:8px;min-width:0}.pb-compare-cards span{display:block;font-size:13px}.pb-compare-cards strong{display:block;font-size:23px;line-height:1.3;margin:6px 0}.pb-delta{font-size:16px;font-weight:600;color:#234b34;margin:12px 0 4px}.pb-comparison table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;line-height:1.5}.pb-comparison caption{text-align:left;font-size:12px;padding:8px 0}.pb-comparison th,.pb-comparison td{padding:8px 6px;text-align:left;vertical-align:top;border-bottom:1px solid #d6dfd0;overflow-wrap:anywhere;word-break:normal}.pb-comparison th{font-weight:600}.pb-comparison thead{background:#edf3e7}.pb-content details>summary{cursor:pointer;min-height:44px;padding-block:12px}.pb-content [data-pb-step="5"]>p{max-width:62ch}.pb-document details{border-top:1px solid #d8e0d3;margin-top:12px}.pb-reference-image{max-height:220px}.pb-content{scrollbar-gutter:stable}.pb-content [data-pb-step="3"]>button[data-pb-action]{min-height:44px;margin-top:10px}
@media(max-width:600px){.pb-wide{grid-column:auto}.pb-choice{grid-template-columns:1fr}.pb-choice button{min-height:76px}.pb-document .pb-price-panel{padding:14px}.pb-price-panel>strong{font-size:28px}.pb-compare-cards strong{font-size:20px}.pb-compare-cards>div{padding:10px}.pb-export{display:grid;grid-template-columns:1fr}.pb-export .button{width:100%}.pb-document .pb-comparison small{font-size:12px}.pb-comparison table{font-size:11px}.pb-content{scrollbar-gutter:auto}}

.incoming-montage{padding:1rem;margin:1rem 0;border:1px solid #c8d7c6;border-radius:1rem;background:#eff4eb;display:grid;gap:.65rem}.incoming-montage[hidden]{display:none}.incoming-montage img{width:100%;max-width:14rem;max-height:12rem;object-fit:contain}.product-simulator-link{margin:.75rem 0}.pb-reference-image{max-width:100%;object-fit:contain}#pbVisitSummary{display:grid;gap:.5rem}#pbVisitSummary p{margin:0}#pbIncomingFigure{margin:1rem 0}

.pb-resume-quote{display:flex;flex-wrap:wrap;gap:.8rem;align-items:center;margin:1rem 0;padding:1rem;background:#eff4eb;border:1px solid #c8d7c6;border-radius:1rem}.pb-resume-quote[hidden]{display:none}.pb-resume-quote p{flex-basis:100%;margin:0}

.pb-document figure{margin:16px 0;min-width:0}.pb-document figcaption{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.pb-document-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pb-document-gallery>h4,.pb-document-gallery>p{grid-column:1/-1}.pb-document-gallery img{width:100%;height:160px;object-fit:contain}.pb-document-terms li{font-size:14px;line-height:1.6;margin-block:12px}.pb-document p,.pb-document li{overflow-wrap:anywhere}.pb-document .pb-comparison th,.pb-document .pb-comparison td{font-size:12px;line-height:1.5}@media(max-width:420px){.pb-document-gallery{grid-template-columns:1fr}.pb-document .pb-comparison th,.pb-document .pb-comparison td{padding:6px 4px}}

.pb-document{border:1px solid #c9d6cd;border-top:6px solid #244b33;box-shadow:0 12px 30px #203c2d0b}.pb-document-head{padding-bottom:18px}.pb-document-head>small{letter-spacing:.08em;font-size:10px;color:#496656}.pb-document h3{font-size:24px;color:#1f3e2c;line-height:1.25;margin-bottom:18px}.pb-document .pb-price-panel{border-left:4px solid #244b33;border-radius:4px;padding:20px}.pb-document-gallery figure{padding:10px;border:1px solid #e0e7df;border-radius:8px;background:#fbfcfa}.pb-document-terms{padding-top:18px;border-top:2px solid #d4dfd2;margin-top:20px}.pb-close.is-download-ready{background:#237141!important;color:#fff!important;border-color:#237141!important}#pbCloseHint{display:block;font-size:12px;line-height:1.4;color:#23623b;max-width:30ch}#pbCloseHint:empty{display:none}@media(max-width:600px){.pb-document h3{font-size:21px}.pb-document .pb-price-panel{padding:15px}.pb-document-head>small{margin-top:8px}}

/* Presupuesto: verde intenso, jerarquía compartida con el PDF. */
.pb-document{--pb-green:#004f38;border-top-color:var(--pb-green)}
.pb-document-head{background:var(--pb-green);color:#fff;padding:18px 20px;border:0;border-radius:5px;margin-bottom:20px}
.pb-document-head>small{color:#fff}
.pb-document .pb-price-panel{background:var(--pb-green);border-left:0;color:#fff;border-radius:5px}
.pb-document .pb-price-panel>strong,.pb-document .pb-price-panel>small,.pb-document .pb-price-panel>p{color:#fff}
.pb-document h4.pb-section-title{background:var(--pb-green);color:#fff;padding:12px 14px;border-radius:4px;margin:20px 0 14px;break-after:avoid}
.pb-document .pb-comparison thead{background:var(--pb-green);color:#fff}
@media(max-width:600px){.pb-document-head{padding:16px}.pb-document h4.pb-section-title{padding:11px 12px}}

/* Fotomontaje principal con mayor presencia; las referencias conservan su escala. */
.pb-document>figure:first-of-type img{max-height:420px;width:auto;max-width:100%}

/* Rounded green budget panels, matching the exported PDF. */
.pb-document-head,.pb-document .pb-price-panel,.pb-document h4.pb-section-title{border-radius:15px}
.pb-document .pb-comparison thead th:first-child{border-top-left-radius:12px;border-bottom-left-radius:12px}
.pb-document .pb-comparison thead th:last-child{border-top-right-radius:12px;border-bottom-right-radius:12px}
.pb-document .pb-comparison thead{background:transparent}
.pb-document .pb-comparison thead th{background:var(--pb-green)}
