:root{color:#1c2128;background:#f6f4ef;font-family:Inter,ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button{font:inherit}main{width:min(1040px,100% - 32px);padding:calc(56px + env(safe-area-inset-top,0px)) 0 calc(80px + env(safe-area-inset-bottom,0px));margin:0 auto}header{max-width:720px}.eyebrow{color:#9b5a14;letter-spacing:.12em;font-size:.75rem;font-weight:800}h1{letter-spacing:-.045em;margin:16px 0;font-size:clamp(2.4rem,7vw,5rem);line-height:.95}header>p:last-child{color:#59616a;font-size:1.1rem;line-height:1.6}.actions{margin:20px 0 36px}button{color:#fff;cursor:pointer;background:#c8791e;border:0;border-radius:4px;padding:13px 18px;font-weight:750}button.secondary{color:#1c2128;background:#e7e2d8}aside{background:#eee9df;border-left:4px solid #c8791e;margin-top:24px;padding:18px;line-height:1.5}.org-picker{color:#405269;max-width:360px;margin:20px 0;font-size:.85rem;font-weight:700;display:block}.org-picker select{width:100%;min-height:44px;font:inherit;border:1px solid #bdc8d4;border-radius:6px;margin-top:6px;padding:8px 10px;display:block}.tools-view{gap:20px;display:grid}.tools-grid{grid-template-columns:repeat(2,1fr);gap:18px;display:grid}.tools-panel{background:#fff;border:1px solid #dce2ea;border-radius:12px;min-width:0;padding:20px}.tools-panel h2{color:#132945;margin:0 0 6px}.tools-panel>p:first-of-type{color:#5d6d7d;margin:0 0 16px;font-size:.88rem;line-height:1.5}.tools-panel label{color:#405269;margin:12px 0;font-size:.82rem;font-weight:700;display:block}.tools-panel input,.tools-panel textarea{width:100%;font:inherit;border:1px solid #bdc8d4;border-radius:6px;margin-top:5px;padding:9px 10px;display:block}.tools-panel textarea{resize:vertical;min-height:88px}.tools-panel label.check{align-items:flex-start;gap:8px;font-weight:500;display:flex}.tools-panel label.check input{width:auto;margin:3px 0 0}.tools-panel .notice{color:#9b5a14;font-size:.85rem}.tools-panel button:disabled{cursor:not-allowed;opacity:.5}.tools-panel [role=status]{color:#526579;margin-top:10px;font-size:.85rem;display:block}.labor-rate-list{gap:8px;margin:0 0 16px;padding:0;list-style:none;display:grid}.labor-rate-list li{background:#f8fafc;border:1px solid #e0e5eb;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.labor-rate-list strong{color:#132945}.labor-rate-list span{color:#526579;font-variant-numeric:tabular-nums}.labor-rate-list button{color:#17395f;background:#e7eef6;min-height:36px;padding:6px 12px;font-size:.78rem}.diagnostics-panel{background:#f8fafc;border:1px dashed #c7cfd8;border-radius:12px;padding:20px}.diagnostics-panel h2{color:#132945;margin:0 0 4px}.diagnostics-panel>p:first-of-type{color:#647589;margin:0 0 14px;font-size:.82rem}.diagnostics-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.diagnostics-card{background:#fff;border:1px solid #e0e5eb;border-radius:9px;padding:14px}.diagnostics-card span{color:#8592a1;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px;font-size:.7rem;font-weight:800;display:block}.diagnostics-card p{color:#647589;margin:0 0 8px;font-size:.78rem;line-height:1.4}.diagnostics-card strong{color:#132945;font-size:.85rem;display:block}.diagnostics-card button{margin-top:10px}.diagnostics-card [role=status]{color:#526579;text-transform:none;letter-spacing:normal;margin-top:8px;font-size:.8rem;font-weight:500;display:block}.workspace-shell{background:#fff;border:1px solid #d8d4cb;border-radius:14px;grid-template-columns:230px minmax(0,1fr);min-height:680px;margin:-32px 0 40px;display:grid;overflow:hidden;box-shadow:0 22px 60px #11213a1a}.workspace-sidebar{color:#fff;background:#10233f;border:0;flex-direction:column;margin:0;padding:26px 18px;display:flex}.brand{color:#fff;align-items:center;gap:10px;margin:0 8px 34px;text-decoration:none;display:flex}.brand span{background:#eb7a28;border-radius:9px;place-items:center;width:38px;height:38px;font-size:.8rem;font-weight:900;display:grid}.brand strong{font-size:1.05rem}.workspace-sidebar nav{gap:6px;display:grid}.workspace-sidebar nav button{color:#c9d5e5;text-align:left;background:0 0;border-radius:8px;width:100%;padding:12px 14px}.workspace-sidebar nav button:hover,.workspace-sidebar nav button:focus-visible,.workspace-sidebar nav .nav-active{color:#fff;background:#1e3b62}.workspace-role{border-top:1px solid #345171;gap:4px;margin-top:auto;padding:16px 10px 4px;font-size:.75rem;display:grid}.workspace-role span{color:#aebfd3}.workspace-role strong{text-transform:capitalize}.workspace-account-actions{gap:8px;padding:10px 10px 0;display:grid}.workspace-account-actions button{min-height:44px;padding:9px 14px;font-size:.82rem}.workspace-account-actions span{color:#aebfd3;font-size:.72rem}.workspace-main{background:#f5f7fa;min-width:0;padding:30px}.workspace-header{justify-content:space-between;align-items:center;max-width:none;margin-bottom:24px;display:flex}.workspace-header h1{margin:4px 0 0;font-size:clamp(2rem,4vw,3.1rem);line-height:1}.workspace-header .eyebrow{color:#eb6f1c;margin:0}.connection-pill{color:#17623a;background:#dff4e8;border-radius:999px;padding:8px 12px;font-size:.78rem;font-weight:800}.connection-pill.offline{color:#765000;background:#fff0cf}.notice,.error-summary,.loading{color:#684a0d;background:#fff5dc;border-radius:8px;margin-bottom:18px;padding:14px 16px}.error-summary{color:#78221e;background:#fff0ef;border-left:4px solid #b83b35;gap:4px;display:grid}.error-summary button{justify-self:start;margin-top:6px;padding:9px 16px}.loading{color:#24476e;background:#e7eef7}.split-view{grid-template-columns:minmax(220px,.75fr) minmax(340px,1.25fr);gap:18px;display:grid}.record-list,.record-detail,.activity-board>div{background:#fff;border:1px solid #dce2ea;border-radius:12px;min-width:0;padding:20px}.section-heading{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.section-heading h2,.record-detail h2,.activity-board h2{color:#132945;margin:0}.section-heading span{color:#294d75;background:#e9eef5;border-radius:999px;place-items:center;min-width:28px;height:28px;font-size:.75rem;font-weight:800;display:grid}.filter-toggle{gap:6px;margin-bottom:12px;display:flex}.filter-toggle button{color:#39536e;background:#f5f7fa;border:1px solid #dce2ea;border-radius:8px;flex:1;padding:8px 10px;font-size:.76rem;font-weight:700}.filter-toggle button.nav-active{color:#9b4a10;background:#fff7ef;border-color:#eb7a28}.lead-sources-summary{color:#667486;margin:0 0 12px;font-size:.76rem}.record{color:#1c2128;text-align:left;background:#f5f7fa;border:1px solid #0000;border-radius:9px;grid-template-columns:1fr auto;gap:6px 12px;width:100%;margin-top:8px;padding:15px;display:grid}.record:hover,.record:focus-visible,.record.selected{background:#fff7ef;border-color:#eb7a28}.record strong{color:#132945}.record span:not(.urgency):not(.customer-status),.record time{color:#667486;font-size:.76rem}.record time{grid-area:2/2}.urgency{color:#39536e;text-transform:uppercase;background:#e7edf4;border-radius:999px;justify-self:end;padding:3px 7px;font-size:.62rem;font-weight:900}.urgency.high,.urgency.urgent{color:#9b2d1d;background:#ffe4dd}.filter-bar{flex-wrap:wrap;gap:10px;margin-bottom:14px;display:flex}.filter-bar select,.filter-bar input[type=search]{border:1px solid #dce2ea;border-radius:7px;min-height:40px;padding:8px 10px}.filter-bar input[type=search]{flex:140px;min-width:0}.customer-status{color:#39536e;text-transform:uppercase;background:#e7edf4;border-radius:999px;justify-self:end;padding:3px 7px;font-size:.62rem;font-weight:900}.customer-status.active{color:#1f7a3d;background:#e5f6ea}.customer-status.previous{color:#234d77;background:#e4edf7}.customer-status.lost{color:#9b2d1d;background:#ffe4dd}.record-detail{min-height:410px}.detail-title{justify-content:space-between;display:flex}.detail-title p{color:#687687;text-transform:capitalize;margin-top:8px}.kicker{color:#d25e12;letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:900}.contact-actions{flex-wrap:wrap;gap:8px;margin:20px 0;display:flex}.button-link{color:#fff;background:#17395f;border-radius:7px;min-height:44px;padding:12px 15px;font-weight:800;text-decoration:none}.button-link.disabled{color:#69727c;pointer-events:none;background:#d8dce1}.contact-facts{background:#f3f6f9;border-radius:8px;grid-template-columns:1fr 1fr;margin:0 0 18px;padding:14px;display:grid}.contact-facts div{min-width:0}.contact-facts dt{color:#718092;text-transform:uppercase;font-size:.7rem;font-weight:800}.contact-facts dd{overflow-wrap:anywhere;color:#183452;margin:5px 0 0}.composer{margin:18px 0}.composer textarea{width:100%;min-height:72px;font:inherit;resize:vertical;border:1px solid #dce2ea;border-radius:8px;padding:10px 12px}.composer-actions{gap:10px;margin-top:10px;display:flex}.composer-actions button{color:#fff;background:#17395f;border-radius:7px;min-height:44px;padding:10px 16px;font-weight:800}.composer-actions button:disabled{opacity:.6}.visually-hidden{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.composer-actions label:focus-within{outline-offset:2px;outline:2px solid #17395f}.eligibility-card{border:1px solid #dce2ea;border-radius:8px;padding:14px}.eligibility-card h3,.timeline h3,.related h3{color:#183452;margin:0 0 8px;font-size:.92rem}.eligibility-card p{margin:0;font-size:.85rem}.eligible{color:#17623a}.blocked{color:#9b2d1d}.timeline{margin-top:22px}.timeline article{color:#25374b;background:0 0;border:0;border-left:2px solid #d9e1ea;border-radius:0;min-height:0;margin:0 0 0 7px;padding:0 0 18px 20px;position:relative}.timeline article:before{content:"";background:#eb7a28;border-radius:50%;width:10px;height:10px;position:absolute;top:4px;left:-6px}.timeline article span{color:#315a86;margin:0;font-size:.68rem;font-weight:900}.timeline article p{color:#34465a;margin:5px 0}.timeline article time,.activity-card time{color:#778596;font-size:.7rem}.stage-banner{color:#234d77;text-transform:capitalize;background:#e4edf7;border-radius:6px;padding:7px 10px;font-weight:800;display:inline-block}.external-links{flex-wrap:wrap;gap:10px;margin:18px 0;display:flex}.external-links a{color:#164e83;font-weight:800}.related{border-top:1px solid #dce2ea;margin-top:26px;padding-top:18px}.activity-board{grid-template-columns:1fr 1fr;gap:18px;display:grid}.activity-board h2{margin-bottom:16px}.activity-card{color:#24364a;background:#f8fafc;border:1px solid #e0e5eb;border-radius:8px;min-height:0;margin-top:10px;padding:15px}.activity-card span{color:#315a86;margin:0;font-size:.7rem}.activity-card p{color:#394b5f;margin:8px 0}.empty-state{color:#667486;text-align:center;place-content:center;min-height:170px;padding:24px;display:grid}.empty-state strong{color:#294968}.empty-state p{max-width:34ch;line-height:1.5}.estimate-layout{grid-template-columns:minmax(190px,.4fr) minmax(0,1.6fr);align-items:start;gap:18px;display:grid}.estimate-list,.estimate-builder{background:#fff;border:1px solid #dce2ea;border-radius:12px;padding:20px}.estimate-record{color:#173653;background:#f8fafc;border:1px solid #e0e5eb;border-radius:8px;grid-template-columns:1fr auto;align-items:start;gap:8px;width:100%;min-height:0;margin-top:9px;padding:14px;display:grid}.estimate-record.selected{background:#fff7ef;border-color:#eb7a28}.estimate-record>button:first-child{min-width:0;color:inherit;text-align:left;background:0 0;border:0;gap:5px;padding:0;display:grid}.estimate-record>button:first-child:hover,.estimate-record>button:first-child:focus-visible{text-decoration:underline}.estimate-record>button:first-child:disabled{cursor:not-allowed;opacity:.7}.estimate-record span{color:#647589;text-transform:capitalize;margin:0;font-size:.7rem}.estimate-record b{color:#173653}.duplicate-estimate{color:#17395f;background:#e7eef6;place-self:start end;min-height:34px;padding:6px 10px;font-size:.72rem}.new-estimate,.new-estimate-template{color:#17395f;background:#e7eef6;width:100%;min-height:42px;margin-bottom:8px}.estimate-empty{color:#647589;line-height:1.5}.template-picker{background:#f8fafc;border:1px solid #dce2ea;border-radius:9px;margin:4px 0 10px;padding:14px}.template-picker .section-heading{margin-bottom:8px}.template-picker .section-heading h3{color:#183452;margin:0;font-size:.92rem}.template-list{gap:6px;margin:0 0 8px;padding:0;list-style:none;display:grid}.template-list button{color:#173653;text-align:left;background:#fff;border:1px solid #d3dce7;width:100%;min-height:38px;padding:8px 10px;font-size:.8rem}.template-list button.selected,.template-list button:focus-visible{border-color:#eb7a28}.template-preview{border-top:1px dashed #d3dce7;margin-top:10px;padding-top:10px}.template-preview h4{color:#132945;margin:0 0 6px;font-size:.86rem}.template-preview h5{color:#2d537b;margin:8px 0 3px;font-size:.74rem}.template-preview ul{color:#34465a;margin:0 0 6px;padding-left:18px;font-size:.78rem}.template-preview p{color:#68798b;margin:8px 0 6px;font-size:.76rem}.template-save-form{background:#f8fafc;border:1px solid #dce2ea;border-radius:9px;gap:10px;max-width:420px;margin-top:12px;padding:14px;display:grid}.template-save-actions{gap:10px;display:flex}.duplicate-hint{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.duplicate-hint button{min-height:40px;padding:8px 14px;font-size:.82rem}.builder-heading{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:20px;display:flex}.builder-heading h2{color:#132945;margin:4px 0 0;font-size:1.6rem}.builder-heading .pricing-controls{flex-wrap:wrap;align-items:end;gap:16px;display:flex}.builder-heading .pricing-controls>label{width:130px}.builder-heading .pricing-toggle{flex-direction:row;align-items:center;gap:8px;width:auto;display:flex}.builder-heading .pricing-toggle input{accent-color:#17395f;width:18px;min-height:18px}.estimate-builder label{color:#405269;gap:6px;font-size:.75rem;font-weight:800;display:grid}.estimate-builder input,.estimate-builder select{color:#172b43;width:100%;min-height:42px;font:inherit;background:#fff;border:1px solid #bdc8d4;border-radius:6px;padding:8px 10px}.estimate-builder input:focus,.estimate-builder select:focus{border-color:#d45d0c;outline:3px solid #eb7a2840}.estimate-basics{grid-template-columns:minmax(110px,.35fr) minmax(220px,1.65fr);gap:12px;margin:22px 0;display:grid}.line-catalog{background:#f5f8fb;border:1px solid #dce2ea;border-radius:9px;grid-template-columns:1.4fr repeat(4,1fr);gap:8px;margin-bottom:26px;padding:14px;display:grid}.line-catalog h3{color:#183452;margin:0;font-size:.9rem}.line-catalog p{color:#68798b;margin:5px 0 0;font-size:.72rem;line-height:1.35}.line-catalog button{color:#173653;text-align:left;background:#fff;border:1px solid #d3dce7;gap:3px;min-height:58px;padding:9px;display:grid}.line-catalog button:hover,.line-catalog button:focus-visible{border-color:#eb7a28}.line-catalog button span{color:#6b7c8f;font-size:.65rem;font-weight:500}.line-catalog button.stale{background:#fff8ec;border-left:4px solid #c8791e}.line-catalog button.stale span{color:#9b5a14;font-weight:700}.estimate-fields>h3{color:#183452;margin:30px 0 12px;font-size:1.05rem}.line-items fieldset{border:1px solid #dce2ea;border-radius:9px;grid-template-columns:2fr 1fr .6fr 1.1fr .8fr .8fr;gap:10px;margin:0 0 12px;padding:16px;display:grid}.line-items legend{color:#2d537b;padding:0 6px;font-size:.72rem;font-weight:900}.line-items .line-check{align-items:center;gap:8px;min-height:36px;display:flex}.line-items .line-check input{accent-color:#17395f;width:20px;min-height:20px}.remove-line{color:#8c3028;background:#f4e7e5;place-self:center start;padding:8px 10px;font-size:.72rem}.add-line{color:#17395f;background:#e7eef6;min-height:44px}:is(.estimate-basics label:has(>input:required),.line-items label:has(>input:required)){border-left:3px solid #c96b5f;padding-left:9px}.estimate-options{border-top:1px solid #e3e8ee;margin-top:30px;padding-top:24px}.estimate-options-heading{margin-bottom:16px}.estimate-options-heading h3{color:#183452;margin:0 0 5px;font-size:1.05rem}.estimate-options-heading p{color:#68798b;max-width:62ch;margin:0;font-size:.78rem;line-height:1.4}.estimate-option{background:#f8fafc;border:1px solid #dce2ea;border-radius:10px;margin:0 0 18px;padding:18px}.estimate-option legend{color:#2d537b;padding:0 6px;font-size:.72rem;font-weight:900}.estimate-option .line-items{margin-top:14px}.remove-option{color:#8c3028;background:#f4e7e5;margin-top:4px;padding:8px 10px;font-size:.72rem}.add-option{color:#17395f;background:#e7eef6;min-height:46px}.option-preview{color:#2d537b;border-top:1px dashed #d3dce7;margin:12px 0 0;padding-top:10px;font-size:.78rem;font-weight:800}.estimate-totals{color:#fff;background:#10233f;border:0;border-radius:9px;max-width:430px;margin:20px 0 18px auto;padding:18px}.estimate-totals h3{margin:0 0 12px}.estimate-totals dl{margin:0}.estimate-totals dl div{color:#cbd7e4;justify-content:space-between;gap:20px;padding:6px 0;display:flex}.estimate-totals dd{color:#fff;font-variant-numeric:tabular-nums;margin:0}.estimate-totals .margin{color:#d4e7dd;border-top:1px solid #49617b;margin-top:7px;padding-top:12px}.estimate-totals .grand-total{color:#fff;border-top:1px solid #718399;margin-top:7px;padding-top:12px;font-size:1.08rem;font-weight:900}.save-warning{color:#765000;background:#fff0cf;border-radius:7px;padding:12px;font-weight:700}.save-row{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.save-row button{min-width:130px;min-height:46px}.save-row button:disabled{cursor:not-allowed;opacity:.5}.save-row span{color:#526579;font-size:.85rem}.send-result{background:#fff8e6;border:1px solid #f0d38a;border-radius:8px;margin-top:4px;padding:14px 16px}.send-result p{color:#684a0d;margin:0 0 6px}.send-result code{color:#e8f0fb;word-break:break-all;background:#10233f;border-radius:6px;padding:8px 10px;font-size:.82rem;display:block}.send-result-expiry{font-size:.78rem;margin-top:8px!important}.preview-hint{color:#647589;margin:-8px 0 0;font-size:.8rem}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.estimate-fields{border:0;min-width:0;margin:0;padding:0}.estimate-fields:disabled .line-items fieldset,.estimate-fields:disabled .estimate-option{opacity:.65}.customer-preview{background:#fff;border:1px solid #dce2ea;border-radius:12px;grid-column:1/-1;margin-top:18px;padding:24px}.customer-preview .section-heading h2{font-size:1.3rem}.customer-preview .section-heading h2:focus-visible{outline-offset:4px;outline:3px solid #eb7a2859}.preview-subtitle{color:#526579;text-transform:capitalize;margin:0 0 18px}.preview-options{margin-top:8px}.preview-options>h3{color:#183452;margin:0 0 10px}.preview-block{background:#f8fafc;border:1px solid #e0e5eb;border-radius:9px;margin-bottom:18px;padding:16px}.preview-block h4{color:#132945;margin:0 0 10px}.preview-section{margin-bottom:12px}.preview-section h5{color:#2d537b;margin:0 0 4px;font-size:.82rem}.preview-section p{color:#647589;margin:0 0 6px;font-size:.82rem}.preview-section ul{margin:0;padding:0;list-style:none}.preview-section li{color:#1c2128;border-bottom:1px dashed #e0e5eb;justify-content:space-between;gap:12px;padding:5px 0;display:flex}.preview-totals{margin:10px 0 0}.preview-totals div{color:#405269;justify-content:space-between;gap:20px;padding:4px 0;display:flex}.preview-totals dd{font-variant-numeric:tabular-nums;margin:0}.preview-totals .preview-total{color:#132945;border-top:1px solid #d3dce7;margin-top:6px;padding-top:8px;font-weight:900}.preview-selection-group{border:1px solid #dce2ea;border-radius:8px;margin:0 0 14px;padding:12px 14px}.preview-selection-group legend{color:#183452;padding:0 6px;font-size:.8rem;font-weight:800}.preview-selection-choice{color:#1c2128;align-items:center;gap:8px;min-height:34px;font-size:.88rem;font-weight:500;display:flex}.preview-selection-choice input{accent-color:#17395f;width:18px;min-height:18px}.preview-selection-total{color:#fff;background:#10233f;border-radius:9px;margin:6px 0 18px;padding:14px 16px}.preview-selection-total h3{color:#fff;margin:0 0 6px}.preview-selection-total p{color:#cbd7e4;margin:0}.preview-selection-grand-total{font-size:1.15rem;font-weight:900;color:#fff!important;margin-top:4px!important}.preview-assumptions,.preview-terms{margin-top:18px}.preview-assumptions h3,.preview-terms h3{color:#183452;margin:0 0 8px}.preview-assumptions ul{color:#34465a;margin:0;padding-left:20px}.preview-terms p{color:#34465a;white-space:pre-wrap;margin:0}@media (width<=680px){.preview-section li{flex-direction:column;gap:2px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}@media (width<=680px){main{padding-top:calc(32px + env(safe-area-inset-top,0px))}.tools-grid,.diagnostics-grid{grid-template-columns:1fr}.workspace-shell{margin-top:-16px;display:block}.workspace-sidebar{flex-flow:wrap;justify-content:space-between;align-items:center;gap:8px;padding:14px;display:flex}.brand{margin:0}.workspace-account-actions{gap:8px;padding:0;display:flex}.workspace-account-actions button{min-height:44px;padding:8px 12px;font-size:.78rem}.workspace-account-actions span{display:none}.workspace-sidebar nav{z-index:10;padding:6px max(6px, env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(6px, env(safe-area-inset-left,0px));background:#10233f;border-top:1px solid #1e3b62;justify-content:space-around;gap:2px;display:flex;position:fixed;bottom:0;left:0;right:0}.workspace-sidebar nav button{text-align:center;flex:1 1 0;min-height:48px;padding:8px 4px;font-size:.78rem}.workspace-role{display:none}.workspace-main{padding:18px 14px calc(84px + env(safe-area-inset-bottom,0px))}.workspace-header{align-items:flex-start;gap:12px}.workspace-header h1{font-size:2rem}.split-view,.activity-board,.estimate-layout{grid-template-columns:1fr}.record-detail{min-height:260px}.contact-facts{grid-template-columns:1fr;gap:14px}.builder-heading{align-items:start}.estimate-basics{grid-template-columns:1fr}.line-catalog{grid-template-columns:1fr 1fr}.line-catalog>div{grid-column:1/-1}.line-items fieldset{grid-template-columns:1fr 1fr}.line-items .line-name{grid-column:1/-1}.estimate-totals{max-width:none}.save-row{flex-direction:column;align-items:flex-start}}.proposal-page{width:min(640px,100% - 32px);padding:calc(40px + env(safe-area-inset-top,0px)) 0 calc(72px + env(safe-area-inset-bottom,0px))}.proposal-loading,.proposal-error{border-radius:9px;padding:16px 18px;font-weight:700}.proposal-loading{color:#59616a;background:#eee9df}.proposal-error{color:#78221e;background:#fff0ef;border-left:4px solid #b83b35}.proposal-card{background:#fffdf8;border:1px solid #d8d4cb;border-radius:14px;padding:28px 26px 32px;box-shadow:0 22px 60px #11213a14}.proposal-header{border-bottom:1px solid #e7e2d8;margin-bottom:22px;padding-bottom:18px}.proposal-header h1{letter-spacing:-.02em;color:#10233f;margin:0;font-size:clamp(1.6rem,5vw,2.2rem);line-height:1.1}.proposal-header h1:focus-visible{outline-offset:6px;outline:3px solid #c8791e66}.proposal-status{color:#746b57;text-transform:capitalize;margin:8px 0 0;font-size:.85rem}.proposal-block{background:#fbf9f4;border:1px solid #e7e2d8;border-radius:10px;margin-bottom:22px;padding:18px}.proposal-block h3{color:#10233f;margin:0 0 12px}.proposal-section{margin-bottom:12px}.proposal-section h4{color:#2d537b;margin:0 0 4px;font-size:.85rem}.proposal-section p{color:#746b57;margin:0 0 6px;font-size:.85rem}.proposal-section ul{margin:0;padding:0;list-style:none}.proposal-section li{color:#2b2620;border-bottom:1px dashed #e7e2d8;justify-content:space-between;gap:12px;padding:6px 0;display:flex}.proposal-totals{margin:10px 0 0}.proposal-totals div{color:#59616a;justify-content:space-between;gap:20px;padding:4px 0;display:flex}.proposal-totals dd{font-variant-numeric:tabular-nums;margin:0}.proposal-total{color:#10233f;border-top:1px solid #d8d4cb;padding-top:10px;font-size:1.05rem;font-weight:900;margin-top:6px!important}.proposal-options{margin-bottom:22px}.proposal-options h2{color:#10233f;margin:0 0 12px;font-size:1.15rem}.proposal-selection-group{border:1px solid #e7e2d8;border-radius:9px;margin:0 0 14px;padding:12px 14px}.proposal-selection-group:disabled{opacity:.6}.proposal-selection-group legend{color:#10233f;padding:0 6px;font-size:.8rem;font-weight:800}.proposal-selecting{color:#746b57;margin:-6px 0 14px;font-size:.82rem;font-style:italic}.proposal-selection-choice{color:#2b2620;align-items:center;gap:10px;min-height:44px;font-size:.92rem;display:flex}.proposal-selection-choice input{accent-color:#c8791e;width:20px;min-height:20px}.proposal-selection-total{color:#fff;background:#10233f;border-radius:10px;margin:6px 0 4px;padding:16px 18px}.proposal-selection-total h3{color:#fff;margin:0 0 6px;font-size:.95rem}.proposal-selection-total p{color:#cbd7e4;margin:0}.proposal-selection-grand-total{font-size:1.25rem;font-weight:900;color:#fff!important;margin-top:4px!important}.proposal-assumptions,.proposal-terms{margin-bottom:22px}.proposal-assumptions h2,.proposal-terms h2{color:#10233f;margin:0 0 8px;font-size:1.05rem}.proposal-assumptions ul{color:#59616a;margin:0;padding-left:20px;font-size:.88rem}.proposal-terms p{color:#59616a;white-space:pre-wrap;margin:0;font-size:.88rem}.proposal-actions{flex-wrap:wrap;gap:12px;margin-top:8px;display:flex}.proposal-actions button{min-width:180px;min-height:50px;font-size:1rem}.proposal-actions button:disabled{cursor:not-allowed;opacity:.6}.proposal-accept{color:#fff;background:#c8791e}.proposal-decline{color:#10233f;background:#e7e2d8}.proposal-decision-confirmation{background:#eef6f0;border-radius:10px;padding:22px}.proposal-decision-confirmation h2{color:#17623a;margin:0 0 8px}.proposal-decision-confirmation p{color:#2b2620;margin:4px 0}.proposal-decision-total{color:#10233f;font-size:1.4rem;font-weight:900}@media (width<=480px){.proposal-card{padding:22px 18px 26px}.proposal-actions{flex-direction:column}.proposal-actions button{width:100%}}
