@import"https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap";:root{color-scheme:light;--bg: #f4f2ee;--surface: #ffffff;--surface-muted: #f1f4f0;--surface-strong: #e6ede7;--card: #ffffff;--text: #1d2a24;--muted: #5e6e64;--border: #d7e0d7;--accent: #1f7a4a;--accent-2: #2f9b5a;--accent-soft: rgba(31, 122, 74, .12);--danger: #d64545;--danger-soft: rgba(214, 69, 69, .12);--radius: 18px;--shadow: 0 20px 45px rgba(17, 24, 39, .12);--shadow-soft: 0 12px 28px rgba(17, 24, 39, .08)}*,*:before,*:after{box-sizing:border-box}html,body{height:100%}body{margin:0;font-family:Space Grotesk,Avenir Next,Helvetica Neue,sans-serif;background:radial-gradient(900px 520px at 12% 6%,rgba(31,122,74,.12),transparent 60%),radial-gradient(780px 520px at 90% 0%,rgba(230,190,120,.22),transparent 58%),var(--bg);color:var(--text);line-height:1.5}a{color:var(--accent)}.page{min-height:100%;display:grid;place-items:center;padding:32px 16px}.shell{min-height:100%;display:flex;flex-direction:column}.shellHeader{padding:20px 24px 16px;display:flex;flex-direction:column;gap:12px;border-bottom:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-soft)}.proposalShellHeader{margin:-24px -24px 20px;background:radial-gradient(1000px 240px at 0% 0%,rgba(31,122,74,.16),transparent 60%),radial-gradient(900px 220px at 100% 0%,rgba(31,122,74,.08),transparent 55%),var(--surface);border-bottom:1px solid rgba(31,122,74,.16)}.proposalHeaderMeta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;border-top:1px solid rgba(31,122,74,.12);padding-top:10px;margin-top:2px}.proposalShellHeader .brandStatus{justify-content:flex-end}.proposalShellHeader .brandBar{align-items:flex-start}.proposalShellHeader .brandLogo{height:46px}.proposalShellHeader .proposalHeaderActions .button{height:38px;padding:0 14px}.brandBar{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.brandIdentity{display:flex;align-items:center;gap:14px}.brandLogo{height:42px;width:auto}.brandStatus{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.statusBlock{display:flex;flex-direction:column;gap:2px}.statusLabel{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:700}.statusValue{font-weight:700;font-size:14px}.statusPill{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;border:1px solid var(--border);background:var(--surface-muted);font-size:12px;font-weight:700;color:var(--text)}.statusPill--good{border-color:#1f7a4a59;background:#1f7a4a1f;color:#165237}.statusPill--warn{border-color:#d08b2f66;background:#d08b2f1f;color:#7a4b12}.statusPill--muted{border-color:var(--border);background:var(--surface-muted);color:var(--muted)}.shellMeta{display:flex;justify-content:flex-end}.shellMain{padding:24px;max-width:1180px;width:100%;margin:0 auto}.card{width:100%;padding:20px;border:1px solid var(--border);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow-soft)}.card h1,.card h2{margin:0 0 8px;font-family:Fraunces,Space Grotesk,serif;letter-spacing:.01em}.muted{color:var(--muted)}.small{font-size:12px}.row{display:flex;gap:10px;align-items:center;margin-top:14px}.input{flex:1;min-width:0;height:44px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);padding:0 16px;outline:none;transition:border-color .2s ease,box-shadow .2s ease}.input:focus{border-color:#1f7a4ab3;box-shadow:0 0 0 4px #1f7a4a1f}textarea.input{height:auto;min-height:132px;padding:12px 16px;line-height:1.45;resize:vertical}textarea.input.measurementOpeningNote{height:44px;min-height:44px}.input--readonly{color:var(--muted);background:var(--surface-muted)}.field{display:grid;grid-template-columns:minmax(150px,max-content) minmax(180px,1fr);gap:10px;align-items:center;max-width:520px}.field>span{font-weight:500}.field .input{width:100%}.field--wide{align-items:start;max-width:760px}.changeOrderFields{display:grid;gap:14px}.changeOrderDetailsInput{min-height:168px}.button{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 18px;border-radius:999px;border:1px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer;text-decoration:none;font-weight:600;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.button--ghost{border-color:var(--border);background:var(--surface);color:var(--text)}.button--danger{border-color:#d6454566;background:var(--danger-soft);color:#8b1f1f}.button--small{height:34px;padding:0 14px;font-size:13px}.button:disabled{opacity:.5;cursor:not-allowed}.button--disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.button:not(:disabled):hover{transform:translateY(-1px);box-shadow:var(--shadow-soft);background:var(--accent-2)}.button--ghost:not(:disabled):hover{background:var(--surface-muted);box-shadow:none;transform:none}.button--danger:not(:disabled):hover{background:#d6454533;box-shadow:none;transform:none}.tabs{display:flex;gap:8px;padding:10px 24px 0;max-width:1180px;width:100%;margin:0 auto;flex-wrap:wrap}.tab{padding:10px 16px;border-radius:999px;border:1px solid transparent;background:var(--surface-muted);text-decoration:none;color:var(--muted);font-weight:600}.tab.active{color:#0f2c1c;border-color:#1f7a4a59;background:#1f7a4a29}.eyebrow{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:700}.title{font-size:20px;font-weight:700;margin-top:2px;font-family:Fraunces,Space Grotesk,serif}.stack{display:flex;flex-direction:column;gap:16px}.builderLayout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:18px}.builderLayout--proposal{grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr)}.builderPanel{display:flex;flex-direction:column;gap:14px}.builderAlert{grid-column:1 / -1;padding:12px 16px;border-radius:14px;border:1px solid rgba(214,69,69,.4);background:var(--danger-soft);color:#8b1f1f;font-weight:600}.panelHeader{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.panelMeta,.panelActions{display:flex;align-items:center;gap:10px}.panelFooter{margin-top:8px}.repHomeownerSummary{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.repHomeownerField{border:1px solid var(--border);border-radius:14px;background:var(--surface-muted);padding:10px 12px}.repHomeownerField--wide{grid-column:1 / -1}.resourceList{display:grid;gap:10px;padding:0;margin:0;list-style:none}.resourceListItem{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted)}.resourceLink{font-weight:700;color:var(--accent);text-decoration:none}.resourceLink:hover{text-decoration:underline}.repHomeownerLabel{margin:0;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:700}.repHomeownerValue{margin:4px 0 0;font-size:14px;font-weight:600;color:var(--text);word-break:break-word}.repSecondarySection{display:grid;gap:10px;border-top:1px solid var(--border);padding-top:14px}.repSecondaryHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.repHomeownerEditor{display:grid;gap:10px}.repHomeownerEditorGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.repHomeownerEditorField--wide{grid-column:1 / -1}.readinessText{border:1px solid rgba(208,139,47,.32);background:#d08b2f1f;color:#7a4b12;border-radius:12px;padding:8px 10px;font-size:12px;font-weight:600}.contractSignerRows{display:grid;gap:6px;margin-top:8px}.contractSignerRow{display:flex;justify-content:space-between;gap:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted);padding:8px 10px;font-size:13px;font-weight:600}.split{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.priceOptionHeader{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px 16px}.priceOptionHeaderMain{flex:1 1 240px;min-width:220px}.priceOptionHeaderBadges{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;align-items:center;flex:0 1 260px;max-width:100%}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}.list{display:flex;flex-direction:column;gap:12px;margin-top:12px}.listRow{display:flex;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-soft)}.listRow--card{display:grid;grid-template-columns:auto 1fr auto;align-items:center}.listRowEditor{grid-column:1 / -1;min-width:0;width:100%}.listMain{flex:1;min-width:0}.listTitle{font-weight:700;margin-bottom:4px}.listMeta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.listIcon{width:44px;height:44px;border-radius:14px;border:1px solid var(--border);background:var(--surface-muted);display:grid;place-items:center;color:#1f7a4a}.listIcon svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}.listIcon img{width:100%;height:100%;border-radius:13px;object-fit:cover;display:block}.supportingPhotoStrip{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.supportingPhotoStrip img{width:48px;height:36px;border-radius:6px;border:1px solid var(--border);object-fit:cover;background:var(--surface-muted)}.pricePill{display:inline-flex;align-items:center;gap:5px;min-height:24px;padding:2px 8px;border:1px solid var(--border);border-radius:999px;background:#f8faf9;color:var(--text);font-size:12px;line-height:1.25;white-space:nowrap}.pricePillLabel{color:var(--muted);font-weight:600}.pricePillValue{font-weight:700}.listActions{display:flex;gap:8px;align-items:center}.badge{display:inline-flex;align-items:center;height:22px;padding:0 10px;border-radius:999px;border:1px solid var(--border);background:var(--surface-muted);color:var(--text);font-size:12px;font-weight:700}.badge--good,.badge--info{border-color:#1f7a4a59;background:#1f7a4a1f;color:#165237}.badge--warn{border-color:#d08b2f66;background:#d08b2f1f;color:#7a4b12}.badge--bad{border-color:#d6454566;background:#d645451f;color:#8b1f1f}.badgeButton{-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;cursor:pointer}.badgeButton:focus-visible{outline:3px solid rgba(31,122,74,.24);outline-offset:2px}.priceOptionOverrideSelect{display:grid;gap:6px;margin-top:8px;max-width:320px;white-space:normal}.priceOptionOverrideSelect>span{color:var(--text);font-size:12px;font-weight:700}.priceOptionOverrideSelect .input{height:36px;padding:0 10px;font-size:13px}.table{margin-top:14px;border:1px solid var(--border);border-radius:12px;overflow:hidden}.tableHeader,.tableRow{display:grid;grid-template-columns:1fr 170px 140px;gap:10px;padding:10px 12px;align-items:center}.priceOptionsTable .tableHeader,.priceOptionsTable .tableRow{grid-template-columns:minmax(0,1fr) auto auto}.priceOptionsTable .tableHeader>:nth-child(3),.priceOptionsTable .tableRow>:nth-child(3){justify-self:end}.tableHeader{background:var(--surface-muted);font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.tableRow{border-top:1px solid var(--border)}.roofingTable .tableHeader,.roofingTable .tableRow{grid-template-columns:minmax(0,1fr) 80px 70px minmax(0,140px)}.roofingTable--addons .tableHeader,.roofingTable--addons .tableRow{grid-template-columns:minmax(0,1fr) 80px 70px minmax(0,140px) auto}.roofingTable .tableHeader>:nth-child(2),.roofingTable .tableRow>:nth-child(2),.roofingTable .tableHeader>:nth-child(4),.roofingTable .tableRow>:nth-child(4){justify-self:end}.roofingTable--addons .tableHeader>:nth-child(5),.roofingTable--addons .tableRow>:nth-child(5){justify-self:center}.addonTable{margin-top:10px;border:1px solid var(--border);border-radius:12px;overflow:hidden}.addonRow{display:grid;grid-template-columns:minmax(0,1fr) 80px 64px 90px 48px;grid-template-areas:"label price unit qty include";gap:8px;padding:10px;align-items:center}.addonRow+.addonRow{border-top:1px solid var(--border)}.addonRow--header{background:var(--surface-muted);font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.addonCell{min-width:0;display:flex;flex-direction:column;gap:4px}.addonCell--label{grid-area:label}.addonCell--price{grid-area:price;justify-self:end}.addonCell--unit{grid-area:unit}.addonCell--qty{grid-area:qty;justify-self:end}.addonCell--include{grid-area:include;justify-self:center}.addonCellLabel{display:none;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.addonCellValue{min-width:0}.addonInput{width:100%;max-width:110px}.addonNotes{margin-top:4px}.addonGroupList{display:flex;flex-direction:column;gap:12px}.addonGroup{display:flex;flex-direction:column;gap:6px}.addonGroupLabel{font-weight:700}.right{text-align:right}.truncate{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.measurementForm{margin-top:14px;border:1px solid var(--border);border-radius:16px;padding:16px;background:var(--surface-muted);display:flex;flex-direction:column;gap:12px}.measurementHeader{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.measurementTitle{font-size:18px;font-weight:700}.measurementGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.roofingSummaryGrid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.roofingSummaryField{min-width:0}.roofingSummaryValue{font-size:13px;line-height:1.3;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.measurementField{display:grid;gap:6px}.measurementField .input{width:100%}.measurementField--wide{grid-column:1 / -1}.openingNoteRow{align-items:stretch}.openingNoteRow .measurementField{flex:1 1 100%;min-width:0}.measurementTopAction{align-self:end;justify-items:end}.measurementLabel{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:700}.measurementToggles{display:flex;flex-wrap:wrap;gap:16px;align-items:center}.markupDisplayGroup{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.markupDisplayGroup .toggle{min-height:38px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:#ffffffbd}.openingAddonGroups{display:grid;gap:12px}.openingAddonGroup{display:grid;gap:8px}.openingAddonGroupTitle{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:800}.openingAddonGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:8px}.openingAddonGrid--compact{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.openingAddonOption{min-height:44px;padding:9px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);display:flex;align-items:center;gap:9px;font-size:14px;font-weight:700;line-height:1.2}.openingAddonOptionGroup{display:grid;gap:8px}.openingAddonOption:has(input:checked){border-color:#1f7a4a80;background:var(--accent-soft)}.openingAddonOption input{flex:0 0 auto}.openingAddonOption span{min-width:0;overflow-wrap:anywhere}.openingAddonOption--withSelect{display:grid;grid-template-columns:auto max-content minmax(118px,1fr);align-items:center}.openingAddonOption--withSelect select{min-width:0;width:100%}.standardChargeGrid{display:grid;gap:10px}.standardChargeToggle{padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}.standardChargeToggle--selected{border-color:#1f7a4a8c;background:var(--accent-soft)}.standardChargeToggleMain{display:flex;align-items:center;gap:10px;min-width:0}.standardChargeAmount{display:flex;align-items:flex-end;gap:10px;flex:1 1 260px;justify-content:flex-end}.standardChargeAmount .measurementField{max-width:220px}.standardChargeToggleLabel{display:block;font-weight:800;line-height:1.2}.standardChargeToggleMeta{display:block;margin-top:2px;color:var(--muted);font-size:12px;font-weight:600}.standardChargeFlag{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:var(--accent);color:#fff;font-size:12px;font-weight:800}.fieldError{flex:1 0 100%;color:#8b1f1f;font-size:12px;font-weight:800}.measurementActions{display:flex;justify-content:flex-end;gap:10px}.measurementPhotoPanel{margin-top:8px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);display:flex;flex-direction:column;gap:10px}.measurementPhotoHeader{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.openingPhotoUploadInput{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.measurementPhotoPreview{height:220px;border-radius:12px;overflow:hidden;border:1px solid var(--border);background:var(--surface-muted)}.measurementPhotoPreview img{width:100%;height:100%;object-fit:cover;display:block}.supportingPhotoPanel{display:flex;flex-direction:column;gap:10px;border-top:1px solid var(--border);padding-top:10px}.supportingPhotoGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(116px,1fr));gap:8px}.supportingPhotoThumb{min-width:0;display:flex;flex-direction:column;gap:6px}.supportingPhotoThumb img{width:100%;aspect-ratio:4 / 3;border-radius:8px;border:1px solid var(--border);object-fit:cover;background:var(--surface-muted)}.proposalLinkCard{margin-top:12px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface-muted)}.proposalHomeownerCard{display:flex;flex-direction:column;gap:8px}.proposalHomeownerHeader{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.proposalHomeownerIdentity{min-width:0}.proposalHomeownerName{margin:4px 0 0;font-weight:800;font-size:26px}.proposalHomeownerDetails{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.proposalHomeownerLabel{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:700}.proposalHomeownerValue{font-weight:600;color:var(--text)}.proposalHomeownerValue a{color:inherit;text-decoration:none}.proposalHomeownerValue a:hover{text-decoration:underline}.proposalHomeownerChip{padding:8px 12px;border-radius:999px;border:1px solid var(--border);background:var(--surface-muted);display:inline-flex;align-items:center;gap:8px}.proposalHomeownerChip--address{border-radius:14px;max-width:520px}.proposalRotateNote{margin-top:8px}.proposalItemPhoto{display:inline-block;width:min(180px,100%);border-radius:14px;overflow:hidden;border:1px solid var(--border);background:var(--surface-muted)}.proposalItemMedia{margin-top:10px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.proposalItemPhotoControls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}.proposalPhotoUploadControl{position:relative;min-height:30px;cursor:pointer}.proposalPhotoUploadControl.is-disabled{opacity:.65;cursor:default}.proposalPhotoUploadInput{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.proposalItemSketch{flex:0 0 auto}.proposalItemPhoto img{width:100%;height:120px;object-fit:cover;display:block}.proposalSupportingPhotoStrip{display:flex;gap:6px;flex-wrap:wrap;max-width:180px}.proposalSupportingPhotoStrip a{display:block;width:56px;height:42px;border-radius:6px;overflow:hidden;border:1px solid var(--border);background:var(--surface-muted)}.proposalSupportingPhotoStrip img{width:100%;height:100%;object-fit:cover;display:block}.imagePreviewMissing>img{display:none}.proposalItemPhoto.imagePreviewMissing{display:grid;place-items:center;height:120px;padding:10px;color:var(--muted);font-size:12px;font-weight:700;text-align:center;text-decoration:none}.proposalItemPhoto.imagePreviewMissing:after{content:attr(data-fallback-label)}.proposalPhotoGallery{margin-top:12px}.contractAssetPanel{display:grid;gap:14px;margin-top:16px;padding-top:16px;border-top:1px solid var(--border)}.contractAssetPanelHeader{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.contractAssetPanelCopy{min-width:0}.contractAssetPanelTitle{font-weight:700;color:var(--text)}.contractAssetUploadButton{position:relative;flex:0 0 auto;white-space:nowrap}.button.disabled,.button.disabled:hover{opacity:.55;cursor:not-allowed;box-shadow:none;transform:none;background:var(--surface)}.contractAssetGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.contractAssetCard,.contractAssetFileRow{min-width:0;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.contractAssetCard{display:grid;grid-template-rows:132px auto auto;overflow:hidden}.contractAssetThumb{display:block;min-width:0;background:var(--surface-muted);border-bottom:1px solid var(--border)}.contractAssetThumb img{display:block;width:100%;height:132px;object-fit:cover}.contractAssetThumb.imagePreviewMissing{display:grid;place-items:center;height:132px;padding:12px;color:var(--muted);font-size:13px;font-weight:700;line-height:1.35;text-align:center;text-decoration:none}.contractAssetThumb.imagePreviewMissing:after{content:attr(data-fallback-label)}.proposalItemPhoto.imagePreviewMissing>img,.contractAssetThumb.imagePreviewMissing>img{display:none}.contractAssetBody{display:grid;gap:8px;padding:10px}.contractAssetTitleInput{width:100%;height:38px;padding:0 12px;border-radius:10px}.contractAssetInclude{margin:0}.contractAssetActions{display:flex;flex-wrap:wrap;gap:8px;padding:0 10px 10px}.contractAssetActions .button{flex:1 1 74px;min-width:0}.contractAssetList{display:grid;gap:10px}.contractAssetFileRow{display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-areas:"icon main" "icon include" "actions actions";align-items:center;gap:10px;padding:10px}.contractAssetFileIcon{grid-area:icon;display:grid;place-items:center;width:48px;height:48px;border-radius:12px;border:1px solid rgba(31,122,74,.2);background:#1f7a4a14;color:#1f7a4a;font-size:11px;font-weight:800}.contractAssetFileMain{grid-area:main;display:grid;gap:5px;min-width:0}.contractAssetFileRow .contractAssetInclude{grid-area:include}.contractAssetFileRow .contractAssetActions{grid-area:actions;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:2px 0 0}.contractAssetMeta{display:flex;flex-wrap:wrap;gap:6px 10px;color:var(--muted);font-size:12px}.contractAssetMeta span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.proposalPhotoGrid{margin-top:10px;display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}.proposalPhotoTile{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:inherit;border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden}.proposalPhotoSketch{padding:0 10px 4px}.proposalPhotoTile img{width:100%;height:100px;object-fit:cover;display:block}.proposalPhotoTile.imagePreviewMissing:before{content:attr(data-fallback-label);display:grid;place-items:center;min-height:100px;padding:10px;background:var(--surface-muted);color:var(--muted);font-size:12px;font-weight:700;line-height:1.35;text-align:center;text-decoration:none}.proposalPhotoTile.imagePreviewMissing>img{display:none}.proposalPhotoCaption{padding:0 10px 10px;font-size:12px;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.openingSketch{display:flex;flex-direction:column;align-items:center;gap:4px;width:140px}.openingSketch__svg{width:100%;height:auto;display:block}.openingSketch__frame,.openingSketch__panel,.openingSketch__divider,.openingSketch__arrow line,.openingSketch__arrow polyline,.openingSketch__hinge{stroke:var(--text);stroke-width:1.5;fill:none}.openingSketch__panel{fill:#ffffff05}.openingSketch__label{font-size:11px;text-align:center;color:var(--danger)}.errorText{margin-top:10px;padding:10px 12px;border-radius:10px;border:1px solid rgba(214,69,69,.4);background:var(--danger-soft);color:#8b1f1f;font-size:12px;font-weight:700}.warningText{margin-top:10px;padding:10px 12px;border-radius:10px;border:1px solid rgba(190,124,32,.4);background:#be7c201f;color:#7a4a12;font-size:12px;font-weight:700}.summary{margin-top:12px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface-muted)}.link{display:inline-block;margin-top:4px;word-break:break-all}.modalOverlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:grid;place-items:center;padding:24px 16px}.modal{width:min(720px,100%);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.modalHeader{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 14px 10px;border-bottom:1px solid var(--border)}.modalTitle{font-weight:900;font-size:14px;letter-spacing:.02em;text-transform:uppercase;color:var(--muted)}.modalBody{padding:14px}.iconButton{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.iconButton svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.iconButton--danger{border-color:#d6454566;color:#8b1f1f}.iconButton:disabled{opacity:.5;cursor:not-allowed}.iconButton:not(:disabled):hover{transform:translateY(-1px);box-shadow:var(--shadow-soft)}.stackRow{display:flex;flex-direction:column;gap:6px;align-items:flex-end}.totalsGrid{margin-top:14px;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.totalsCard{border:1px solid var(--border);border-radius:12px;padding:12px;background:var(--surface)}.totalsCard--promotion{display:grid;grid-template-columns:minmax(76px,96px) minmax(0,1fr);gap:12px;align-items:center;border-color:#1f7a4a73;background:linear-gradient(135deg,#fff,#f7fbf8 58%,#eef8f9);box-shadow:inset 0 0 0 1px #1f7a4a14}.totalsPromotionLogo{display:block;width:100%;max-height:44px;object-fit:contain}.totalsPromotionContent{min-width:0}.totalsPromotionLabel{color:var(--text);font-size:11px;font-weight:800;line-height:1.2;margin:-5px -6px -6px 0}.totalsValue{font-weight:900;font-size:18px;margin-top:4px}.totalsValue--promotion{margin-top:6px}.switcher{margin-top:14px;border:1px solid var(--border);border-radius:12px;padding:12px;background:var(--surface)}.switcherRow{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}.switcherOption{display:grid;grid-template-columns:18px 1fr;gap:10px;align-items:start;padding:10px;border:1px solid var(--border);border-radius:12px;background:var(--surface-muted);cursor:pointer}.switcherOption.disabled{opacity:.6;cursor:not-allowed}.switcherMeta{min-width:0}.switcherTop{display:flex;justify-content:space-between;gap:8px;align-items:center}.promotionOffer{container-type:inline-size;margin-top:12px;padding:10px 12px;border-radius:8px;border:1px solid rgba(18,107,199,.34);background:#fff}.promotionOfferSummary{display:grid;grid-template-columns:minmax(92px,118px) minmax(0,1fr) minmax(130px,168px) minmax(116px,128px);align-items:center;gap:12px}.promotionOffer--applied{border-color:#126bc76b;box-shadow:inset 0 0 0 1px #126bc70f}.promotionOfferBrand{min-height:58px;padding:8px 10px;border:1px solid rgba(18,107,199,.16);border-radius:8px;background:#ffffffeb;display:flex;align-items:center;justify-content:center}.promotionOfferLogo{display:block;width:100%;max-height:46px;object-fit:contain}.promotionOfferContent{min-width:0}.promotionOfferEyebrow{color:#32758e;font-size:10px;font-weight:800;letter-spacing:.06em;line-height:1.2;text-transform:uppercase}.promotionOfferTitle{margin-top:2px;color:var(--text);font-size:16px;font-weight:800;line-height:1.2}.promotionOfferReceiptStatus{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:42px;padding:7px 12px;border:1px solid rgba(18,107,199,.22);border-radius:999px;background:#fff;color:#214f68;font-size:12px;font-weight:800;line-height:1.15;text-align:center}.promotionOfferReceiptStatus--paid{border-color:#1f7a4a5c;color:var(--accent)}.promotionOfferDetails{margin-top:6px;color:var(--muted);font-size:12px;line-height:1.35}.promotionOfferAction{display:grid;gap:7px;justify-items:stretch;text-align:center}.promotionOfferAction .button{min-height:42px;width:100%;padding-inline:14px}.promotionOfferChips{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.promotionOfferChip{display:inline-flex;min-height:30px;align-items:center;gap:7px;padding:5px 11px;border:1px solid rgba(18,107,199,.18);border-radius:999px;background:#fff;color:#164c8a;font-size:12px;font-weight:800;line-height:1}.promotionOfferChipIcon{display:inline-flex;width:16px;height:16px;align-items:center;justify-content:center;color:#126bc7}.promotionOfferChipIcon svg,.promotionOfferBenefitIcon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.promotionOfferBenefitsFrame{margin-top:10px;padding:0 12px;border:1px solid rgba(18,107,199,.2);border-radius:8px;background:#f8fcffe6}.promotionOfferBenefitsFrame.is-open{padding-bottom:9px;background:#ecf6ffb8}.promotionOfferBenefitsToggle{display:inline-flex;min-height:38px;align-items:center;gap:7px;margin:0;padding:0;border:0;background:transparent;color:#126bc7;font:inherit;font-size:12px;font-weight:800;line-height:1.3;cursor:pointer}.promotionOfferBenefitsToggleIcon{position:relative;display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;border:1px solid rgba(18,107,199,.28);border-radius:999px;background:#eef6ff}.promotionOfferBenefitsToggleIcon:before{content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}.promotionOfferBenefitsFrame.is-open .promotionOfferBenefitsToggleIcon:before{transform:translateY(-1px) rotate(45deg)}.promotionOfferBenefitsToggle:hover,.promotionOfferBenefitsToggle:focus-visible{text-decoration:underline}.promotionOfferBenefits{padding:0}.promotionOfferBenefit{display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px;align-items:start;padding:8px 0;border-top:1px solid rgba(18,107,199,.14)}.promotionOfferBenefit:first-child{border-top:0}.promotionOfferBenefitIcon{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;border-radius:6px;background:#d9ecff;color:#126bc7;padding:4px}.promotionOfferBenefitTitle{color:var(--text);font-size:12px;font-weight:800;line-height:1.3}.promotionOfferBenefitDescription{margin-top:2px;color:var(--muted);font-size:11px;line-height:1.35}@container (max-width: 720px){.promotionOfferSummary{grid-template-columns:minmax(92px,118px) minmax(0,1fr);grid-template-areas:"brand content" "status action";align-items:center}.promotionOfferBrand{grid-area:brand}.promotionOfferContent{grid-area:content}.promotionOfferReceiptStatus{grid-area:status}.promotionOfferAction{grid-area:action;align-items:center}.promotionOffer:not(.promotionOffer--applied) .promotionOfferSummary{grid-template-areas:"brand content" "status status" "action action"}.promotionOffer:not(.promotionOffer--applied) .promotionOfferReceiptStatus{justify-self:stretch;min-height:38px}.promotionOffer:not(.promotionOffer--applied) .promotionOfferAction{justify-self:stretch}}.toggle{display:inline-flex;gap:10px;align-items:center;font-weight:700}.addons{margin-top:10px;border-top:1px solid var(--border);padding-top:10px}.addonSectionToggle{width:100%;min-height:36px;padding:7px 9px;border:1px solid var(--border);border-radius:8px;background:#ffffffbd;color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer}.addonSectionToggle:hover{border-color:#32758e61}.addonSectionTitle{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:800}.addonSectionMeta{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;font-weight:700;white-space:nowrap}.addonSectionIcon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;transition:transform .2s ease}.addonSectionIcon.is-open{transform:rotate(180deg)}.addonSectionBody{margin-top:6px}.addonGroupTitle{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:800}.addonGroupTitle--spaced{margin-top:12px}.addonOptionsPanel{margin-top:6px;padding:6px 8px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.addonOptionsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px 10px}.addonOption{display:grid;gap:2px;min-width:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer}.addonOptionLabel{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.1}.addonOption .input{width:100%;height:34px;padding:0 10px}.addonToggleList{display:flex;flex-direction:column;gap:6px;margin-top:6px}.addon{display:grid;grid-template-columns:18px 1fr auto auto;gap:10px;align-items:center;padding:6px 10px;border:1px solid var(--border);border-radius:12px;background:var(--surface-muted);cursor:pointer}.addon.disabled,.addonOption.disabled{opacity:.55;cursor:not-allowed}.addonGridsNote{margin-top:8px}.dim{opacity:.72}.workspaceHeader{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:20px}.workspaceHeaderMain,.workspaceHeaderActions{display:flex;flex-direction:column;gap:10px}.workspaceMeta{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.workspacePackage{margin-top:16px;padding:16px;border-radius:16px;border:1px solid var(--border);background:var(--surface-muted)}.financePanel{margin-top:16px;padding:16px;border-radius:16px;border:1px solid var(--border);background:var(--surface-muted);display:flex;flex-direction:column;gap:12px}.discountsSection{margin-top:12px;padding:12px;border-radius:16px;border:1px solid var(--border);background:var(--surface-muted);display:flex;flex-direction:column;gap:10px}.paymentMethodPanel{margin-top:12px;padding:12px;border-radius:8px;border:1px solid var(--border);background:var(--surface-muted);display:flex;flex-direction:column;gap:10px}.paymentMethodHeader,.paymentMethodNestedHeader{display:flex;justify-content:space-between;align-items:center;gap:12px}.paymentMethodHeader h3,.paymentMethodNestedHeader h4{margin:0}.paymentMethodOptions{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}.paymentMethodOptions--compact{grid-template-columns:repeat(auto-fit,minmax(105px,1fr))}.paymentMethodOption{min-height:40px;border:1px solid var(--border);border-radius:8px;padding:8px 10px;background:var(--surface);display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700}.paymentMethodOption.is-selected{border-color:#2e81f773;box-shadow:var(--shadow-soft)}.paymentMethodOption:has(input:disabled){opacity:.65}.paymentMethodPanel .financePanel{margin-top:0;background:var(--surface)}.paymentMethodNested{padding:10px;border-radius:8px;border:1px solid var(--border);background:var(--surface);display:flex;flex-direction:column;gap:8px}.discountsToggle{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;background:transparent;border:none;padding:0;text-align:left;color:inherit;font:inherit;cursor:pointer}.discountsToggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:12px}.discountsToggleTitle{font-weight:700}.discountsToggleMeta{display:inline-flex;align-items:center;gap:8px}.discountsToggleSummary{font-size:12px;color:var(--muted);white-space:nowrap}.discountsToggleIcon{display:inline-flex;color:var(--muted);transition:transform .2s ease}.discountsToggleIcon.is-open{transform:rotate(180deg)}.discountsSectionBody{margin-top:4px}.financeHeader{display:flex;justify-content:space-between;gap:12px;align-items:center}.financeLogo{width:140px;max-height:40px;object-fit:contain}.financeLogoPlaceholder{border:1px dashed var(--border);padding:8px 12px;border-radius:12px;color:var(--muted);font-size:12px}.financeSummary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.financeBlock{border:1px solid var(--border);border-radius:12px;padding:12px;background:var(--surface)}.financeBlock--primary{border-color:#2e81f759;box-shadow:var(--shadow-soft)}.financeValue{font-weight:900;font-size:18px;margin-top:4px}.financeInputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;align-items:end}.financeField{display:flex;flex-direction:column;gap:6px}.financeFooter{display:flex;flex-direction:column;gap:10px}.financeMeta{border-top:1px solid var(--border);padding-top:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.workspaceVersions{display:flex;flex-direction:column;gap:16px}.versionList{display:flex;flex-direction:column;gap:12px;margin-top:12px}.versionCard{border:1px solid var(--border);border-radius:16px;padding:14px;background:var(--surface);box-shadow:var(--shadow-soft);display:flex;flex-direction:column;gap:10px}.versionActions{display:flex;flex-wrap:wrap;gap:8px}.versionTotalRow{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--border);border-radius:8px;background:linear-gradient(180deg,var(--surface),var(--surface-muted));padding:10px 12px;color:var(--text);font-size:14px}.versionTotalRow strong{color:var(--accent-strong);font-size:18px;line-height:1.1}.callout{border-left:4px solid var(--accent);padding:10px 12px;border-radius:12px;background:var(--surface-muted);color:var(--muted);font-size:13px}@media(max-width:1200px){.addonRow--header{display:none}.addonRow{grid-template-columns:minmax(0,1fr) 90px 70px;grid-template-areas:"label label label" "price unit qty" "include include include";align-items:start}.addonCell{align-items:flex-start}.addonCellLabel{display:block}.addonCell--price,.addonCell--qty,.addonCell--include{justify-self:start}}@media(max-width:900px){.addonGroupList{max-height:min(60vh,520px);overflow-y:auto;padding-right:4px;-webkit-overflow-scrolling:touch}}@media(max-width:720px){.addonRow{grid-template-columns:1fr;grid-template-areas:"label" "price" "unit" "qty" "include"}.addonInput{max-width:100%}}@media(max-width:740px){.shellHeader{padding:18px}.proposalShellHeader .brandStatus,.proposalHeaderMeta{justify-content:flex-start}.brandBar{align-items:flex-start}.builderLayout{grid-template-columns:1fr}.panelHeader{flex-direction:column;align-items:flex-start}.panelMeta,.panelActions{width:100%;justify-content:flex-start}.repSecondaryHeader{flex-direction:column;align-items:flex-start}.contractSignerRow{flex-direction:column}.repHomeownerField--wide,.repHomeownerEditorField--wide{grid-column:auto}.field{grid-template-columns:1fr;max-width:none}.measurementHeader{flex-direction:column;align-items:flex-start}.measurementActions{justify-content:stretch}.split{flex-direction:column}.workspaceHeader{grid-template-columns:1fr}.proposalHomeownerHeader{flex-direction:column;align-items:flex-start}.proposalHomeownerDetails{width:100%;justify-content:flex-start}.priceOptionHeaderBadges{justify-content:flex-start}.listRow{flex-direction:column;align-items:stretch}.listRow--card,.contractAssetPanelHeader,.contractAssetFileRow{grid-template-columns:1fr}.contractAssetFileRow{grid-template-areas:"icon" "main" "include" "actions"}.contractAssetFileRow .contractAssetActions{grid-template-columns:repeat(2,minmax(0,1fr))}.contractAssetUploadButton,.contractAssetFileIcon{justify-self:start}.contractAssetActions{padding-top:0}.listActions{justify-content:flex-end}.tableHeader,.tableRow{grid-template-columns:1fr 130px 110px}.priceOptionsTable .tableHeader,.priceOptionsTable .tableRow{grid-template-columns:minmax(0,1fr) auto auto}}@media(max-width:600px){.totalsCard--promotion{grid-template-columns:minmax(70px,88px) minmax(0,1fr)}.totalsPromotionLabel{font-size:14px}.promotionOffer{padding:10px}.promotionOfferSummary{grid-template-columns:minmax(0,1fr);grid-template-areas:"brand" "content" "status" "action";align-items:stretch}.promotionOfferBrand{width:min(150px,100%)}.promotionOfferReceiptStatus{width:100%}.promotionOfferAction{grid-template-columns:minmax(0,1fr)}.promotionOffer .button{width:100%}.priceOptionsTable .tableHeader,.priceOptionsTable .tableRow{grid-template-columns:minmax(0,1fr);grid-template-areas:"item" "status" "price";row-gap:6px;align-items:start}.priceOptionsTable .tableHeader>:nth-child(1),.priceOptionsTable .tableRow>:nth-child(1){grid-area:item}.priceOptionsTable .tableHeader>:nth-child(2),.priceOptionsTable .tableRow>:nth-child(2){grid-area:status}.priceOptionsTable .tableHeader>:nth-child(3),.priceOptionsTable .tableRow>:nth-child(3){grid-area:price;justify-self:end}}
