.proposal-editor-toolbar{background:#f0f5ec;border:1px solid #c7d6bd;border-radius:10px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;padding:18px;display:flex}.proposal-editor-toolbar>div{flex:280px}.proposal-editor-toolbar strong{color:#103b45;font-size:19px}.proposal-editor-toolbar p{color:#48636a;margin:5px 0 0;font-size:13px}.proposal-editor-workspace{grid-template-columns:minmax(280px,340px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.proposal-editor-tools{background:#fff;border:1px solid #cbd9dd;border-radius:10px;min-width:0;padding:18px}.proposal-editor-tools fieldset{border:0;min-width:0;padding:0}.proposal-editor-tools label{color:#103b45;gap:8px;margin:0 0 16px;font-size:13px;font-weight:600;display:grid}.proposal-editor-tools textarea,.proposal-editor-tools input,.proposal-editor-tools select{background:#fff;width:100%;min-width:0;font-size:14px}.proposal-editor-tools select{border:1px solid #adbec7;border-radius:6px;padding:10px}.proposal-editor-tools small,.proposal-editor-tools p{color:#4a626a;font-size:12px;line-height:1.6}.proposal-editor-buttons{flex-wrap:wrap;gap:8px;margin:14px 0;display:flex}.proposal-editor-tools .proposal-visibility{align-items:center;gap:10px;display:flex}.proposal-visibility input{accent-color:#145451;width:18px;height:18px}.proposal-edit-block{border:1px solid #d0dddd;border-radius:7px;margin:12px 0;padding:12px}.proposal-edit-block>summary{color:#103b45;cursor:pointer;font-size:14px;font-weight:650}.proposal-edit-block[open]>summary{margin-bottom:16px}.proposal-edit-block button{white-space:normal;height:auto;min-height:38px}.proposal-editor-error{color:#9d3425;background:#fff0ec;border:1px solid #d8aca0;border-radius:8px;padding:15px}.proposal-editor-preview{min-width:0}.proposal-payment-edit{border-top:1px solid #d2dedf;margin-top:16px;padding-top:15px}.proposal-editor .final-quote-total{margin-top:0;padding:12px}.proposal-editor .final-total-heading>strong{font-size:22px}.proposal-editor .final-total-controls>button{flex-basis:100%}.proposal-editor-tools .projection-panel{padding:8px}.proposal-editor-tools .field-grid{grid-template-columns:1fr}.proposal-editor-tools input[readonly],.proposal-editor-tools textarea[readonly]{color:#526870;background:#edf3f4}@media (max-width:1050px){.proposal-editor-workspace{grid-template-columns:1fr}.proposal-editor-preview{border:1px solid #ccd9dc;order:-1;max-height:50vh;overflow:auto}.proposal-editor-toolbar>button{flex:1}.proposal-editor-tools{padding:15px}}.proposal-editor-tools .projection-editor{padding:8px}.proposal-editor-tools .projection-metrics,.proposal-editor-tools .savings-breakdown dl{grid-template-columns:1fr}.proposal-editor-tools .projection-metrics strong{font-size:22px}.proposal-style-colors{grid-template-columns:1fr 1fr;gap:12px;display:grid}.proposal-editor-tools .proposal-style-colors input[type=color]{cursor:pointer;border:1px solid #b8cbc4;border-radius:6px;height:38px;padding:3px}.proposal-style-tools input[type=range]{accent-color:#16563f}.proposal-style-tools>p{margin:10px 0}.proposal-element-editor{background:#f4f8f5;border:1px solid #8cb5a3;border-radius:8px;margin-bottom:16px;padding:14px}.proposal-element-heading{color:#103b45;justify-content:space-between;align-items:center;gap:8px;display:flex}.proposal-element-heading strong{font-size:15px}.proposal-element-heading button{flex:none;min-width:34px;padding:4px;font-size:22px}.proposal-element-editor input[type=color]{border:1px solid #a9beb5;border-radius:5px;height:40px;padding:3px}.proposal-element-editor input[type=range]{accent-color:#16563f}.proposal-element-editor button{white-space:normal;height:auto;min-height:36px}.proposal-selectable{cursor:pointer;outline:none}.proposal-selectable rect{fill:#0000;stroke:#0000;stroke-width:1.5px;pointer-events:all}.proposal-selectable:hover rect{stroke:#36846a;fill:#16563f0a}.proposal-selectable.is-selected rect,.proposal-selectable:focus-visible rect{stroke:#168263;stroke-width:2px;stroke-dasharray:5 3;fill:#1682630d}.proposal-selectable:focus-visible rect{stroke:#006ab8}@media (min-width:1051px){.proposal-editor-tools{scrollbar-gutter:stable;max-height:calc(100dvh - 140px);position:sticky;top:12px;overflow-y:auto}}@media print{.proposal-selectable{display:none}}@media screen{.proposal-editor{container:proposal-editor/inline-size}.proposal-editor-workspace>*,.proposal-editor-preview{min-width:0;max-width:100%}@container proposal-editor (min-width:900px) and (max-width:1250px){.proposal-editor-workspace{grid-template-columns:280px minmax(0,1fr);gap:14px}.proposal-editor-tools{max-height:calc(100dvh - 160px);padding:14px;position:sticky;top:12px;overflow-y:auto}.proposal-editor-preview{border:0;order:0;max-height:none;overflow:visible}}@container proposal-editor (max-width:899px){.proposal-editor-workspace{grid-template-columns:minmax(0,1fr)}.proposal-editor-preview{scrollbar-gutter:stable;border:1px solid #ccd9dc;order:-1;max-height:48dvh;overflow:auto}.proposal-editor-tools{max-height:none;position:static;overflow:visible}}}@media screen and (max-height:600px){.preview-dialog{max-height:calc(100dvh - 16px)!important;padding:16px!important}.proposal-editor-toolbar{padding:12px}}
