:root{font-family:Inter,Arial,Helvetica,sans-serif;color:#292b30;background:#f4f6f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.topbar{height:62px;background:#fff;border-bottom:1px solid #dfe5e8;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(16px,4vw,36px);position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:9px;color:#202d3b;font-size:15px;letter-spacing:.015em}.brand strong{font-size:18px;letter-spacing:.05em}.brand small{font-weight:800;color:#356ff1}.brand-mark{color:#356ff1;font-size:19px;letter-spacing:-8px;padding-right:8px}.brand-sep{height:23px;width:1px;background:#cbd3d7;margin:0 4px}.install{border:1px solid #356ff1;color:#356ff1;background:#fff;border-radius:8px;padding:8px 12px;font-weight:700}main{max-width:1120px;margin:auto;padding:22px 24px 100px}.loading{padding:45px;text-align:center}.view-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px;gap:14px}.eyebrow{margin:0 0 4px;color:#b42e36;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}h1{font-size:27px;line-height:1.15;margin:0;letter-spacing:-.03em}h2{font-size:19px;margin:0 0 14px;letter-spacing:-.02em}h3{font-size:16px;margin:0 0 10px}.lede{font-size:14px;color:#59707b;margin:7px 0 0}.layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,.8fr);gap:18px;align-items:start}.stack{display:grid;gap:16px}.card{background:#fff;border:1px solid #e0e7ea;border-radius:14px;padding:18px;box-shadow:0 3px 16px rgba(19,48,62,.035)}.card.emphasis{border-top:4px solid #356ff1}.card.green{border-top:4px solid #356ff1}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field.full{grid-column:1/-1}.field label,.label{font-size:13px;font-weight:700;color:#455e6b}.field input,.field select,.field textarea,.search{width:100%;border:1px solid #cbd7dc;border-radius:9px;background:#fff;padding:11px 12px;min-height:44px;color:#292b30;outline:none}.field input:focus,.field select:focus,.search:focus{border-color:#356ff1;box-shadow:0 0 0 3px #356ff118}.field textarea{min-height:72px;resize:vertical}.hint{font-size:12px;color:#6a7d86;line-height:1.4}.muted{color:#6c7c84}.chip{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:700;background:#e8edf0;color:#415863}.chip.good{background:#e1f0e5;color:#26603c}.chip.warn{background:#fff1d7;color:#805710}.chip.bad{background:#fce4e6;color:#9d2631}.model-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px}.fact{border-radius:9px;background:#f2f6f7;padding:10px}.fact strong{font-size:17px;display:block}.fact span{font-size:11px;color:#607681}.price-large{font-size:34px;font-weight:800;letter-spacing:-.04em;color:#193649}.price-line,.sum-row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #edf1f2;font-size:14px}.price-line strong,.sum-row strong{text-align:right}.price-line.total{border:0;border-top:2px solid #292b30;margin-top:8px;padding-top:13px;font-size:17px;font-weight:800}.alert{padding:12px 14px;border-radius:9px;border:1px solid #e7ce8c;background:#fff8e8;color:#72501e;font-size:13px;line-height:1.45}.alert.error{border-color:#ecaeb6;background:#fff2f3;color:#8b2935}.primary,.secondary,.ghost{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;padding:12px 16px;font-weight:800;min-height:44px;border:1px solid transparent}.primary{background:#356ff1;color:white}.secondary{background:#292b30;color:#fff}.ghost{background:#fff;border-color:#cbd7dc;color:#292b30}.actions{display:flex;flex-wrap:wrap;gap:8px}.option-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:14px}.option-toolbar .search{flex:1}.option-list{display:grid;gap:9px}.option-row{display:grid;grid-template-columns:24px 1fr auto;gap:12px;align-items:start;padding:14px;border:1px solid #e2e9eb;border-radius:11px;background:#fff}.option-row:has(input:checked){border-color:#80b594;background:#f2faf4}.option-row input[type=checkbox],.checkline input{width:20px;height:20px;accent-color:#356ff1;margin:2px 0}.option-row h3{margin:0 0 5px;font-size:15px}.option-row p{margin:5px 0 0;color:#60717a;font-size:13px;line-height:1.42}.option-price{font-weight:800;white-space:nowrap;text-align:right}.option-price small{display:block;font-size:11px;font-weight:500;color:#76878e;margin-top:3px}.option-row.disabled{opacity:.57;background:#f5f7f8}.selected-weight{max-width:150px;margin-top:8px}.selected-weight input{width:100%;min-height:34px;padding:5px 8px;border:1px solid #c7d5dc;border-radius:7px}.section-line{display:flex;justify-content:space-between;align-items:baseline;margin:17px 0 9px;padding:0 2px}.section-line h2{margin:0}.pill{font-size:12px;color:#517162}.checkline{display:flex;align-items:center;gap:10px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:30;background:#fff;border-top:1px solid #dbe3e6;display:flex;justify-content:center;gap:4px;padding:7px 10px calc(7px + env(safe-area-inset-bottom))}.bottom-nav button{border:0;background:transparent;color:#637681;min-width:105px;padding:6px 8px;border-radius:9px;font-size:12px;font-weight:700;display:grid;gap:2px}.bottom-nav button span{font-size:21px;line-height:1}.bottom-nav button.active{color:#356ff1;background:#fff2f2}.offer-preview{background:#fff;border:1px solid #d5dee2;box-shadow:0 15px 45px #292b3015;padding:30px;max-width:800px;margin:0 auto;color:#292b30}.offer-header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:3px solid #356ff1;padding-bottom:13px}.offer-header img:first-child{width:170px;height:78px;object-fit:contain}.offer-header img:nth-child(2){width:100px;height:78px;object-fit:contain}.offer-title{text-align:right}.offer-title strong{display:block;font-size:19px}.offer-title span{display:block;font-size:12px;color:#61747e}.offer-contact{font-size:12px;text-align:center;padding:10px 0;border-bottom:1px solid #dfe7e9}.offer-meta{display:grid;grid-template-columns:1.3fr .7fr;gap:20px;margin:17px 0}.offer-meta p{margin:5px 0;font-size:13px}.offer-meta h3{color:#b62c34;margin:0 0 5px;text-transform:uppercase;font-size:12px;letter-spacing:.08em}.offer-band{background:#e6f0e9;border-left:4px solid #356ff1;padding:9px 12px;font-weight:800;margin:15px 0 8px}.offer-vehicle{display:flex;justify-content:space-between;gap:15px;padding:6px 0}.offer-vehicle strong{font-size:16px}.offer-equipment{font-size:12px;color:#657981;line-height:1.5;margin:8px 0 12px}.offer-table{width:100%;border-collapse:collapse;font-size:13px}.offer-table td{padding:8px 5px;border-bottom:1px solid #e5ebed;vertical-align:top}.offer-table td:last-child{text-align:right;white-space:nowrap;font-weight:700}.offer-table small{display:block;color:#6f8088;line-height:1.35}.offer-total{display:flex;justify-content:space-between;align-items:center;margin:15px 0;background:#292b30;color:#fff;padding:14px;font-size:18px;font-weight:800}.offer-foot{font-size:11px;color:#687b84;line-height:1.5;margin-top:16px}.offer-finance{display:grid;grid-template-columns:1fr 1fr;gap:5px 18px}.offer-finance p{display:flex;justify-content:space-between;gap:8px;margin:4px 0;font-size:13px}.offer-warning{color:#9d2631;font-weight:700}.preview-actions{max-width:800px;margin:0 auto 16px;display:flex;gap:8px;justify-content:flex-end}.empty{padding:24px;text-align:center;color:#60717a;border:1px dashed #cbd6da;border-radius:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:760px){.topbar{height:55px;padding:0 16px}.brand{gap:5px;font-size:12px}.brand strong{font-size:14px}.brand-mark{font-size:15px}.brand-sep{height:18px}main{padding:18px 15px 96px}.layout{grid-template-columns:1fr}.view-head{align-items:start}h1{font-size:24px}.card{padding:16px}.model-facts{grid-template-columns:repeat(2,1fr)}.bottom-nav{justify-content:space-around}.bottom-nav button{min-width:70px}.option-toolbar{flex-wrap:wrap}.option-toolbar select{min-height:42px}.offer-preview{padding:18px}.offer-header img:first-child{width:105px;height:52px}.offer-header img:nth-child(2){width:65px;height:52px}.offer-title strong{font-size:15px}.offer-meta{gap:8px}.preview-actions{justify-content:stretch}.preview-actions button{flex:1}}@media(max-width:380px){.brand-sep,.brand>span:last-child{display:none}.field-grid{grid-template-columns:1fr}.option-row{grid-template-columns:22px 1fr}.option-price{grid-column:2;text-align:left}}
@page{size:A4;margin:11mm 12mm}@media print{body{background:#fff}.topbar,.bottom-nav,.preview-actions,.no-print{display:none!important}main{max-width:none;margin:0;padding:0}#app>div:not(.print-only){display:none!important}.offer-preview{border:0;box-shadow:none;padding:0;max-width:none}.offer-header img:first-child{width:155px;height:70px}.offer-header img:nth-child(2){width:95px;height:70px}.offer-table tr{break-inside:avoid}.offer-total,.offer-band{print-color-adjust:exact;-webkit-print-color-adjust:exact}.offer-meta,.offer-vehicle,.offer-finance{break-inside:avoid}.offer-foot{break-inside:avoid}}

.print-only{display:none}@media print{.print-only{display:block!important}}
.head-total{font-size:22px;font-weight:900;color:#356ff1;white-space:nowrap}@media(max-width:760px){.head-total{font-size:20px;margin-top:2px}}
.signature-editor{max-width:800px;margin:0 auto 16px}.signature-editor h2{margin-bottom:5px}.signature-editor canvas{display:block;width:100%;height:auto;aspect-ratio:900/260;background:#fff;border:1px dashed #91a6ae;border-radius:8px;touch-action:none;cursor:crosshair;margin:12px 0}.signature-editor .actions{justify-content:flex-end}.offer-signatures{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:16px 0 10px;break-inside:avoid}.offer-signatures>div{border-top:1px solid #d7e1e4;padding-top:9px;min-width:0}.offer-signatures strong{display:block;color:#292b30;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.offer-signatures p{font-size:11px;color:#637781;margin:5px 0}.offer-signatures img,.signature-line{display:block;width:100%;height:70px;object-fit:contain;object-position:left center;border-bottom:1px solid #cbd7dc}.offer-signatures span{display:block;margin-top:5px;font-size:11px;color:#60747e}
.preview-actions{flex-wrap:wrap}.email-help{max-width:800px;margin:-7px auto 14px;color:#60747e;font-size:12px;text-align:right;line-height:1.4}
.discount-row{color:#a72834;background:#fff7f7}.discount-row td:last-child{color:#a72834}.email-help{text-align:left}.preview-actions{justify-content:center}
.price-line.discount{color:#a72834;background:#fff7f7;padding-left:6px;padding-right:6px}.price-line.pending{color:#8b5b19;background:#fff8e8;padding:8px 6px}.price-line.pending small{display:block;max-width:210px;line-height:1.35;margin-top:4px}
.price-line.subtotal{margin-top:10px;border-top:2px solid #b9c9d0;font-weight:800}.price-line.discount-summary{color:#a72834;font-weight:800;background:#fff1f2;padding-left:6px;padding-right:6px}.offer-totals{margin-top:10px;border-top:2px solid #aebfc6;padding-top:5px}.offer-totals p{display:flex;justify-content:space-between;gap:12px;margin:0;padding:6px 5px;font-size:13px;font-weight:700}.offer-totals .deduction{color:#a72834;background:#fff1f2}.offer-totals strong{white-space:nowrap}.offer-totals,.offer-signatures{break-inside:avoid}
.finance-rate{background:#eaf1f3;border-radius:9px;padding:12px;color:#292b30;font-size:13px;line-height:1.5}.finance-checks{display:grid;gap:10px;border:1px solid #dbe5e8;border-radius:9px;padding:12px}.finance-checks .checkline{font-size:13px;line-height:1.35}.finance-breakdown{margin-top:14px;border-top:1px solid #dfe7e9}.finance-breakdown p{display:flex;justify-content:space-between;gap:12px;margin:0;padding:6px 3px;border-bottom:1px solid #edf1f2;font-size:13px}.finance-breakdown strong{white-space:nowrap;text-align:right}.finance-breakdown .total,.offer-finance .finance-grand-total{background:#fff2ef;color:#292b30;font-weight:800;padding:9px}.offer-finance .finance-grand-total{grid-column:1/-1}

.offer-seat-warning{margin:8px 0;padding:8px 10px;border-left:3px solid #356ff1;background:#fff2f3;color:#96212d;font-size:12px;font-weight:700}.offer-comment{margin:12px 0;padding:10px 12px;border:1px solid #d6e0e3;border-radius:7px;background:#f7f9f9;break-inside:avoid}.offer-comment strong{font-size:11px;color:#292b30}.offer-comment p{white-space:pre-line;margin:6px 0 0;font-size:12px;line-height:1.45}.offer-preview+.signature-editor{margin-top:22px}

.offer-trade-note{margin:5px 0;padding:5px 9px;background:#f7f9f9;font-size:12px;line-height:1.45;white-space:pre-line;break-inside:avoid}

.brand-logo{height:49px;width:108px;object-fit:contain;display:block}.loading{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:#526b76;font-weight:700;min-height:220px}.loading img{display:block;width:min(260px,70vw);height:auto;box-shadow:0 4px 18px #24394815}@media(max-width:760px){.brand-logo{height:40px;width:88px}.brand{gap:7px}}
.option-row .chip.requirement{margin-left:5px;background:#eaf1fb;color:#254a72}.option-row .option-guidance{font-weight:700;color:#254a72}
.followup-list{display:grid;gap:10px}.followup-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px;border:1px solid #dfe5e8;border-radius:12px;background:#fff}.followup-row.due{border-color:#356ff1;background:#fff7f7}.followup-row>div{display:grid;gap:4px;min-width:0}.followup-row small{color:#62747d;overflow-wrap:anywhere}.followup-row span{font-size:13px;color:#35544a}.followup-row button{flex-shrink:0}@media(max-width:760px){.bottom-nav button{min-width:0;flex:1;padding:8px 2px;font-size:11px}.bottom-nav button span{font-size:18px}}
.stock-filters{margin-bottom:14px}.stock-vehicle-photo{display:flex;align-items:center;gap:18px;margin:18px 0}.stock-vehicle-photo img{width:180px;border-radius:10px}.stock-vehicle-photo p{font-size:14px}.stock-vehicle-photo a{font-size:14px;color:#356ff1}.accessory-stock{padding:16px 0;border-bottom:1px solid #e0e7ea;margin-bottom:16px}.equipment-stock{line-height:1.7;font-size:14px}@media(max-width:500px){.stock-vehicle-photo img{width:120px}.stock-vehicle-photo{gap:12px}}

.offer-main-photo{text-align:center;margin:12px 0 18px;break-inside:avoid}.offer-main-photo img{display:block;max-width:100%;width:auto;max-height:180px;object-fit:contain;margin:auto;border-radius:8px}@media print{.offer-main-photo img{max-height:150px}}

.manual-mode-buttons{display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap}.manual-editor{margin-bottom:20px}.manual-editor input[type=file]{font-size:14px}

.brand-logo.stock-app-logo{width:44px;height:44px;object-fit:contain;border-radius:9px}

#installHelp{max-width:480px;width:calc(100% - 32px);border:1px solid #dfe5e8;border-radius:14px;padding:24px;color:#292b30;font:inherit}#installHelp::backdrop{background:#12243e88}#installHelp p{font-size:16px;line-height:1.5}#installHelp button{margin-top:12px}.install[hidden]{display:none}
#teamDialog{max-width:580px;width:calc(100% - 32px);border:1px solid #dfe5e8;border-radius:14px;padding:24px;color:#292b30;font:inherit}#teamDialog::backdrop{background:#12243e88}#teamDialog button{margin:12px 8px 0 0}#teamDialog h3{margin-top:24px}.history-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e0e7ea;padding:12px 0}.history-row small{display:block;color:#6a7d86;margin-top:5px}.topbar{gap:8px;flex-wrap:wrap;min-height:62px;height:auto;padding-top:8px;padding-bottom:8px}.topbar .brand{margin-right:auto}

.offer-source-list{margin:8px 0;padding-left:20px;font-size:12px;line-height:1.5}.offer-source-list small{color:#64748b;margin-left:8px}

.sales-checks{display:flex;gap:12px;flex-wrap:wrap;padding:12px}.sales-checks label{display:flex;gap:5px}.sales-photos{display:flex;flex-wrap:wrap;gap:12px}.sales-photos img{display:block;width:150px;height:110px;object-fit:cover}.sales-table-scroll{overflow:auto}.sales-comparison{border-collapse:collapse;width:100%;font-size:13px}.sales-comparison td,.sales-comparison th{padding:10px;border:1px solid #ddd;vertical-align:top}#compareDialog{max-width:1100px;width:95vw}#offerEquipmentEdit,#offerOptionsEdit{width:100%;margin:8px 0}.offer-photo-gallery{display:flex;flex-wrap:wrap;gap:10px}.offer-photo-gallery img{width:45%;max-height:200px;object-fit:contain}

.refined-panel>summary{cursor:pointer;font-weight:700;padding:12px 0;color:#292b30}.refined-panel[open]>summary{margin-bottom:12px}.offer-payment{padding:12px;background:#fff2ef}

.public-demo-banner{background:#eaf3ff;border-bottom:1px solid #c5d9fc;padding:11px 24px;text-align:center;font:800 11px Inter,Arial,sans-serif;letter-spacing:.075em;color:#214c82}.brand-logo.stock-app-logo{width:133px;max-height:48px;object-fit:contain}.vitrine-link,#installBtn{display:none!important}
