/* One estimate page, with direct line editing and a separate private scratchpad. */
.bmp-shell [data-tab="products"],.bmp-shell [data-go="products"],.bmp-shell #tab-products,.bmp-shell #addProductBtn{display:none!important}
#tab-estimate .creator-tabs,#tab-estimate .estimate-next,#tab-estimate .creator-review-links,#tab-estimate .creator-review-project,#tab-estimate .scope-actions,#tab-estimate #guidedStart,#tab-estimate #scopeRestore,#tab-estimate #scopeStatus,#tab-estimate #scopeVoiceStatus{display:none!important}
#tab-estimate .creator-panel{scroll-margin-top:30px;margin-bottom:24px}#tab-estimate .creator-panel>.card>h3,#tab-estimate .sections-head h3,#tab-estimate .materials-heading h3{font:600 18px system-ui,sans-serif;letter-spacing:-.4px}#tab-estimate .creator-summary{margin-bottom:22px}#tab-estimate .job-includes{margin:14px 0}#tab-estimate .job-includes legend{font-size:12px}
.bme-heading{display:flex;align-items:center;justify-content:space-between;margin:20px 0 15px;gap:12px}.bme-heading h2{font:600 27px system-ui,sans-serif;letter-spacing:-.7px}.bme-heading p{color:var(--text-muted);font-size:12px;margin-top:6px}.bme-heading button,.bme-add-labor{width:auto!important;min-height:40px;padding:9px 14px!important;font-size:12px!important}
#tab-estimate .materials-heading .btn-row{display:block}#tab-estimate .materials-heading .btn-row button{width:auto}.bme-material{display:grid;grid-template-columns:minmax(130px,2.3fr) minmax(60px,.65fr) minmax(60px,.7fr) minmax(85px,1fr) minmax(65px,.8fr) 32px;gap:11px;padding:14px 0;border-bottom:1px solid var(--border);align-items:end}.bme-material label{min-width:0;font-size:10px;color:var(--text-muted);font-weight:500}.bme-material input{background:var(--bg-surface);min-height:40px;margin-top:5px;font-size:13px}.bme-material .bme-amount{display:flex;flex-direction:column;gap:10px;padding-bottom:10px;font-size:13px}.bme-material small{font-size:10px;color:var(--text-muted)}.bme-material .tagwrap{grid-column:1/-1;font-size:10px}.bme-material .del{width:32px;height:40px}.bme-material .bme-name label{width:100%}.bme-material .bme-line-note{grid-column:1/-1;font-size:11px;color:var(--text-muted)}
#tab-estimate #sections .sec-params,#tab-estimate #sections .sec-stale{display:none}#tab-estimate #sections .work-picker{margin-top:10px}#tab-estimate #sections th:nth-child(2),#tab-estimate #sections td[data-label="Notes"]{display:none}#tab-estimate .sections-head{display:flex;align-items:center;justify-content:space-between;gap:15px}#tab-estimate .sections-head>p{display:none}
.bme-private-notes{border:1px solid var(--border);border-radius:10px;background:var(--bg-surface);padding:17px 20px;margin-top:25px}.bme-private-notes summary{cursor:pointer;font-size:13px;font-weight:600;min-height:27px}.bme-private-notes p{font-size:11px;color:var(--text-muted);margin:10px 0}.bme-private-notes textarea{min-height:110px;font-size:14px}.bme-private-notes .btn{width:auto;font-size:12px}.bme-private-status{margin-left:10px;font-size:11px;color:var(--text-muted)}
#bme-draft-review{width:min(750px,calc(100% - 24px));max-height:85dvh;overflow:auto;background:var(--bg-surface);color:var(--text-main);border:1px solid var(--border);border-radius:14px;padding:24px}#bme-draft-review::backdrop{background:#111a2388}#bme-draft-review h2{font:600 22px system-ui,sans-serif;margin-bottom:10px}#bme-draft-review p{font-size:12px;line-height:1.6;margin:10px 0;color:var(--text-muted)}#bme-draft-review li{margin:8px 0;font-size:13px}#bme-draft-review ul{padding-left:20px}.bme-dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.bme-dialog-actions .btn{width:auto}
@media(max-width:700px){.bme-material{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.bme-material .bme-name{grid-column:1/-1}.bme-material .bme-amount{grid-column:1/3;padding-bottom:0}.bme-material .del{justify-self:end}#tab-estimate .creator-panel{margin-bottom:18px}.bme-heading h2{font-size:24px}.bme-heading{align-items:flex-start}.bme-heading p{max-width:230px}.bme-private-notes{padding:15px}}
@media print{.bme-private-notes{display:none!important}}

.bmp-shell [data-tab="catalog"],.bmp-shell [data-go="catalog"],.bmp-shell #tab-catalog,.bmp-shell [data-tab*="material"],.bmp-shell [data-tab="expenses"],.bmp-shell [data-go="expenses"],.bmp-shell #tab-expenses{display:none!important}
#tab-estimate .materials-heading .btn-row{grid-template-columns:1fr}.bme-categories{margin:10px 0 18px;font-size:12px;color:var(--text-muted)}.bme-categories>summary{cursor:pointer;min-height:35px;padding:8px 0}#bme-expenses-details>summary{font:600 17px system-ui,sans-serif;cursor:pointer;min-height:35px}#bme-expenses-host{margin-top:18px}#bme-expenses-host .grid-top{grid-template-columns:1fr}#tab-estimate .sections-head{flex-direction:row-reverse}#tab-estimate #bmg-suggestions:empty{display:none}#tab-estimate .material-category>summary{font-size:13px}#tab-estimate .sec-sub,#tab-estimate .sec-meta{font-size:12px}
