.fast-workspace{background:var(--bg);color:var(--ink)}.fast-workspace .estimate-header,.fast-workspace .estimate-tabs,.fast-workspace .estimate-card,.fast-workspace .estimate-summary-card{background:var(--paper);color:var(--ink);border-color:var(--line)}.fast-workspace .estimate-layout{display:block;max-width:1600px;padding:24px}.fast-workspace .estimate-outline{display:none}.fast-workspace .estimate-summary{position:static}.fast-workspace .estimate-summary-card{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px}.fast-workspace .estimate-summary-card>.eyebrow,.fast-workspace #estimate-investment,.fast-workspace .estimate-summary-card>.btn,.fast-workspace .estimate-save-note{display:none}.fast-workspace .estimate-price-fields{grid-column:2}.fast-workspace #document-total-preview{grid-column:2}.fast-workspace .estimate-header{position:sticky;top:0;z-index:12;min-height:76px;padding:16px 28px}.fast-workspace .estimate-tabs{position:static}.fast-workspace .estimate-header-actions{flex-wrap:wrap}.fast-workspace .btn.primary{background:var(--green);border-color:var(--green);color:#fff}.fast-workspace .estimate-tabs>button.active{color:var(--green);border-color:var(--green)}.fast-workspace .estimate-step{color:var(--green);background:var(--mint)}.fast-workspace .estimate-card{padding:24px;border-radius:12px;box-shadow:none}.fast-workspace .estimate-section-title{margin-bottom:18px}.fast-workspace .estimate-section-title p,.fast-workspace .field label{color:var(--muted)}.fast-area{border:1px solid var(--line);border-radius:10px;margin:20px 0;background:var(--paper);overflow:visible}.fast-workspace .estimate-area-header{padding:14px 18px;background:var(--bg);border-color:var(--line)}.fast-workspace .estimate-area-name{font-size:17px;color:var(--ink);max-width:70%}.fast-book{padding:16px 18px;border-bottom:1px solid var(--line)}.fast-book-search{display:grid;grid-template-columns:190px minmax(200px,1fr) auto;gap:14px;align-items:end}.fast-book label,.fast-part-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}.fast-workspace input,.fast-workspace select,.fast-workspace textarea{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:9px;min-width:0}.fast-head,.fast-row{display:grid;grid-template-columns:minmax(240px,1fr) 65px 110px 120px 115px 65px 76px;gap:12px;align-items:center;padding:14px 18px}.fast-head{font-size:11px;color:var(--muted);background:var(--bg)}.fast-row{border-bottom:0;min-height:100px}.fast-row>input{width:100%}.fast-row strong,.fast-row>span{font-variant-numeric:tabular-nums}.fast-description{display:flex;align-items:center;gap:14px;min-width:0}.fast-description textarea{width:100%;resize:vertical;min-height:65px}.fast-workspace .estimate-item-photo{width:58px;height:58px;flex:none;background:var(--bg);border:1px solid var(--line);border-radius:7px;display:grid;place-items:center;overflow:hidden}.fast-workspace .estimate-item-photo img{width:100%;height:100%;object-fit:contain}.fast-item-details{padding:0 18px 12px;border-bottom:1px solid var(--line)}.fast-item-details summary{font-size:11px;color:var(--muted);cursor:pointer}.fast-item-details[open]{background:var(--bg)}.fast-internal-model{padding:16px 0}.fast-internal-model label{display:block}.fast-internal-model input{display:block;width:min(100%,450px);margin:8px 0}.fast-workspace .estimate-item-tools{flex-wrap:wrap;background:transparent}.fast-workspace .estimate-item-tools label{color:var(--ink)}.fast-workspace .estimate-item{border:0;border-radius:0;margin:0}.fast-workspace .estimate-subitem{margin-left:24px;border-left:2px solid var(--green)}.fast-match{width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);padding:12px;background:var(--paper);color:var(--ink);display:flex;gap:14px;align-items:center}.fast-match:hover{background:var(--mint)}.fast-match>span:nth-child(2){flex:1}.fast-match small{display:block;color:var(--muted);margin-top:3px}.fast-part-form{padding:20px;background:var(--bg);margin-top:16px;border:1px solid var(--line);border-radius:8px}.fast-part-form button{margin-top:14px;margin-right:10px}.fast-empty{padding:24px;color:var(--muted)}.fast-budget{grid-row:1/4;display:grid;grid-template-columns:1fr 1fr;gap:24px;align-content:start;padding:8px}.fast-budget small{display:block;color:var(--muted);font-size:12px}.fast-budget strong{display:block;font-size:26px;font-weight:500;margin-top:6px}.fast-budget p{grid-column:1/-1;color:var(--muted);font-size:12px}.fast-composer{border:1px solid var(--line);border-radius:9px;overflow:hidden}.fast-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:10px;background:var(--bg);border-bottom:1px solid var(--line)}.fast-toolbar .btn{background:var(--paper);color:var(--ink);border-color:var(--line)}#fast-scope-body{min-height:240px;padding:24px;font-size:15px;line-height:1.75;outline-offset:-3px;overflow-wrap:anywhere;background:var(--paper);color:var(--ink)}#fast-scope-body img,#fast-scope-body video{display:block;max-width:100%;max-height:420px;object-fit:contain;margin:16px 0}.fast-composer-note{padding:10px 20px;background:var(--bg);font-size:11px;color:var(--muted)}.fast-send-panel{padding:24px 32px;background:var(--paper);border-bottom:2px solid var(--green)}.fast-send-panel input{width:100%;display:block}.fast-send-panel #fast-email-status{display:inline-block;margin:12px;font-size:13px}.fast-workspace .estimate-summary{top:auto}.fast-workspace .estimate-catalog[hidden],.fast-workspace .estimate-supplier[hidden]{display:none!important}@media(max-width:1150px){.fast-head{display:none}.fast-row{grid-template-columns:minmax(200px,1fr) repeat(3,85px) 100px 55px 76px;gap:8px;padding:12px}.fast-book-search{grid-template-columns:150px 1fr}.fast-book-search>.btn{grid-column:1/-1;justify-self:start}}@media(max-width:850px){.fast-row{grid-template-columns:repeat(3,minmax(0,1fr))}.fast-description{grid-column:1/-1}.fast-row>input{min-height:42px}.fast-workspace .estimate-summary-card{display:block}.fast-budget{padding:0;margin-bottom:24px}.fast-workspace .estimate-header{position:static;padding:18px;flex-wrap:wrap}.fast-workspace .estimate-layout{padding:12px}.fast-workspace .estimate-card{padding:14px}.fast-book-search{grid-template-columns:1fr}.fast-match{flex-wrap:wrap}.fast-workspace .estimate-subitem{margin-left:10px}}

.fast-workspace .estimate-summary-card{display:block;max-width:520px;margin-left:auto}.fast-budget{grid-template-columns:repeat(4,minmax(0,1fr));padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:16px}.fast-budget strong{font-size:23px}.fast-budget p{margin:0}.fast-workspace .fast-row{min-width:0}@media(max-width:800px){.fast-budget{grid-template-columns:1fr 1fr}}
/* Quieter canvas, compact formatting, and readable mobile price labels. */
.fast-workspace .estimate-layout{max-width:1320px;margin:auto;padding:24px 28px}
.fast-workspace .estimate-card{border:0;border-radius:0;padding:24px 0;background:transparent}
.fast-workspace .estimate-card+.estimate-card{border-top:1px solid var(--line)}
.fast-workspace .estimate-section-title{gap:0;margin-bottom:16px}
.fast-workspace .estimate-section-title h3{font-size:18px;letter-spacing:-.3px}
.fast-workspace .estimate-section-title p,.fast-workspace .estimate-step{display:none}
.fast-workspace .estimate-header{box-shadow:none;border-bottom:1px solid var(--line);padding:14px 28px}
.fast-workspace .estimate-heading h2{font-size:22px;letter-spacing:-.5px}
.fast-workspace .form-grid{gap:14px 20px}
.fast-composer{background:var(--paper);border-radius:9px}
.fast-toolbar{padding:8px 12px;gap:4px;align-items:center}
.fast-toolbar button.btn{width:36px;min-width:36px;height:32px;padding:0;border:0;background:transparent;font-size:14px;border-radius:5px}
.fast-toolbar button.btn:hover{background:var(--mint)}
.fast-toolbar label.btn{margin-left:10px;padding:6px 12px;font-size:12px}
#fast-scope-body{min-height:210px;padding:22px 26px;font-size:15px;line-height:1.7}
.fast-composer-note{background:var(--paper);border-top:1px solid var(--line)}
.fast-budget{border-top:0;margin-bottom:20px;padding:8px 0 20px;gap:20px}
.fast-budget>div+div{padding-left:20px;border-left:1px solid var(--line)}
.fast-budget strong{font-size:24px;letter-spacing:-.6px}
.fast-budget small,.fast-budget p{font-size:11px}
.fast-area{border-radius:9px;overflow:hidden;margin:16px 0 24px}
.fast-workspace .estimate-area-header{background:var(--paper);padding:12px 16px}
.fast-workspace .estimate-area-name{font-size:16px;font-weight:600;border-color:transparent;background:transparent}
.fast-book{padding:12px 16px;background:var(--bg)}
.fast-book-search{gap:12px;grid-template-columns:155px minmax(180px,1fr) auto}
.fast-head{background:var(--paper);padding:12px 16px 4px;font-size:10px;text-transform:uppercase;letter-spacing:.35px}
.fast-row{padding:12px 16px;min-height:86px}
.fast-description textarea{min-height:52px;font-size:13px;line-height:1.45}
.fast-workspace .estimate-item-photo{width:48px;height:48px;background:var(--paper)}
.fast-number{display:block;min-width:0}.fast-number>span{display:none}.fast-number input{width:100%;font-size:13px}
.fast-workspace .estimate-item>.estimate-drag-handle{float:left;margin:0 12px 8px 16px;padding:2px 5px;font-size:11px;border:0;background:transparent;color:var(--muted)}
.fast-item-details{padding:0 16px 10px;min-height:30px}.fast-item-details .estimate-drag-handle{display:none}
.fast-item-details summary{font-size:11px;padding:2px 0}.fast-item-details[open]{clear:both;padding-top:12px}
.fast-workspace .estimate-add-row{padding:10px 16px;background:var(--paper);border-top:0;gap:8px}
.fast-workspace .estimate-summary-card{border:1px solid var(--line);border-radius:9px;padding:22px}
@media(min-width:1151px){.fast-head{display:grid}}
@media(max-width:1150px){.fast-number>span{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.fast-row{align-items:end}}
@media(max-width:850px){.fast-workspace .estimate-layout{padding:14px 18px}.fast-workspace .estimate-card{padding:20px 0}.fast-book-search{grid-template-columns:1fr}.fast-description{margin-bottom:6px}.fast-budget{gap:16px}.fast-budget>div+div{padding-left:0;border:0}.fast-toolbar{gap:2px}#fast-scope-body{padding:18px}.fast-row{grid-template-columns:repeat(3,minmax(0,1fr))}.fast-workspace .estimate-header-actions .btn{font-size:12px;padding:8px 10px}}

/* Compact estimate editor; long scope content still grows naturally. */
.fast-workspace .estimate-layout{padding:16px 22px}
.fast-workspace .estimate-card{padding:16px 0}
.fast-workspace .estimate-section-title{margin-bottom:12px}
.fast-workspace .estimate-section-title h3{font-size:16px}
.fast-workspace .estimate-header{min-height:60px;padding:10px 22px}
.fast-workspace .estimate-heading h2{font-size:20px}
.fast-workspace .form-grid{gap:10px 16px}
.fast-workspace input,.fast-workspace select,.fast-workspace textarea{padding:7px 9px;font-size:13px}
.fast-workspace .estimate-header-actions .btn{padding:8px 11px;font-size:12px}
.fast-toolbar{padding:5px 9px}
.fast-toolbar button.btn{width:32px;min-width:32px;height:30px}
#fast-scope-body{min-height:140px;padding:14px 18px;font-size:14px;line-height:1.6}
.fast-composer-note{padding:7px 14px}
.fast-budget{margin-bottom:14px;padding:4px 0 14px;gap:14px}
.fast-budget strong{font-size:21px}
.fast-area{margin:12px 0 16px}
.fast-workspace .estimate-area-header{padding:8px 12px}
.fast-workspace .estimate-area-name{font-size:15px}
.fast-book{padding:10px 12px}
.fast-row{min-height:70px;padding:9px 12px}
.fast-description textarea{min-height:44px}
.fast-workspace .estimate-item-photo{width:40px;height:40px}
.fast-workspace .estimate-add-row{padding:7px 12px}
.fast-workspace .estimate-summary-card{padding:16px}
@media(max-width:850px){.fast-workspace .estimate-layout{padding:12px}.fast-workspace .estimate-card{padding:14px 0}.fast-number input,.fast-book input,.fast-book select{min-height:42px}.fast-toolbar button.btn{min-height:36px;min-width:36px}}

.fast-line-section{margin:12px 0;border:1px solid var(--line);border-radius:8px;overflow:hidden}.fast-section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;background:var(--paper)}.fast-section-header h4{margin:0;font-size:15px}.fast-section-header strong{white-space:nowrap}.fast-line-section .fast-empty{padding:12px;margin:0}

.estimate-options{padding:14px;margin-bottom:16px;border:1px solid var(--line);border-radius:8px}.estimate-options h3{margin-top:0}.estimate-option-controls{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.estimate-option-controls label{display:grid;gap:5px;min-width:180px}.proposal-option-label{padding:16px;background:#e8f2f4;font-weight:700}.proposal-alternative{margin-top:24px;padding-top:20px;border-top:2px solid #d1d5db}

.estimate-option-toolbar{display:flex;align-items:stretch;gap:10px}.estimate-option-tabs{display:flex;flex:1;gap:4px;overflow:auto;border-bottom:1px solid var(--line)}.estimate-option-tabs [role=tab]{flex:none;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--ink);padding:10px 16px;cursor:pointer;font:inherit}.estimate-option-tabs [aria-selected=true]{border-bottom-color:var(--green);font-weight:700;color:var(--green)}.estimate-option-menu{position:relative;flex:none}.estimate-option-menu>summary{list-style:none;padding:5px 14px;font-size:27px;cursor:pointer;border:1px solid var(--line);border-radius:6px}.estimate-option-menu>summary::-webkit-details-marker{display:none}.estimate-option-menu-items{position:absolute;right:0;top:100%;z-index:20;min-width:190px;background:var(--paper);border:1px solid var(--line);box-shadow:0 8px 20px #0002;border-radius:6px;padding:5px}.estimate-option-menu-items button{display:block;width:100%;text-align:left;padding:10px;border:0;background:transparent;color:var(--ink);cursor:pointer}.estimate-option-menu-items button:hover{background:var(--mint)}.estimate-question-start{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.estimate-questionnaire-dialog{width:min(800px,calc(100vw - 32px));max-height:85vh;overflow:auto;padding:24px;border:1px solid var(--line,#cbd5e1);border-radius:12px;background:var(--paper,#fff);color:var(--ink,#172b36)}.estimate-questionnaire-dialog::backdrop{background:#0006}.estimate-questionnaire-dialog label{display:grid;gap:5px;margin:8px 0}.estimate-questionnaire-dialog input:not([type=checkbox]),.estimate-questionnaire-dialog select,.estimate-questionnaire-dialog textarea{width:100%;box-sizing:border-box;padding:9px;border:1px solid var(--line,#cbd5e1);border-radius:6px;background:var(--paper,#fff);color:inherit}.estimate-questionnaire-dialog fieldset{margin:14px 0;border:1px solid var(--line,#cbd5e1);border-radius:6px}.estimate-question-system-list{display:flex;flex-wrap:wrap;gap:14px}.estimate-question-system-list label,.estimate-question-preview>label{display:flex;align-items:center;gap:8px}.estimate-question-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.estimate-question-preview{margin:16px 0;padding:14px;border:1px solid var(--line,#cbd5e1);border-radius:6px}.estimate-questionnaire-dialog [hidden]{display:none!important}

.estimate-design-fee{border:1px solid var(--line);border-radius:8px;margin:0 0 18px;padding:14px}.estimate-design-toggle{display:flex;align-items:center;gap:8px;font-weight:600}.estimate-design-toggle input{width:18px;height:18px}.estimate-design-toggle small{font-weight:400;color:var(--muted)}#estimate-design-fee-fields{padding-top:12px}#estimate-design-fee-fields label{display:grid;gap:5px}#estimate-design-total{font-weight:600;margin:10px 0}.estimate-design-fee [hidden]{display:none!important}

.fast-margin input{min-width:62px}.fast-margin input:disabled{opacity:.5}

.proposal-selection-note{padding:14px 20px;background:#edf5f0;border:1px solid #c8dbcf;border-radius:8px;color:#173a30;line-height:1.5}

#fast-email-status:not(:empty){display:block;margin-top:16px;padding:14px 18px;border:1px solid currentColor;border-radius:8px;font-weight:600;line-height:1.6}#fast-email-status[data-result="error"]{color:#9b2424;background:#fff1f1}#fast-email-status[data-result="success"]{color:#216f53;background:#edf8f1}
