/* Compact estimate list only; preserve all quote actions and financial content. */
.app.product-pages-shell #estimates.active #estimateList .pages-estimate-row{min-height:0!important;align-content:start!important;background:var(--brand-surface)!important;border-color:var(--brand-line)!important}
.app.product-pages-shell #estimates.active #estimateList .pages-estimate-row>.dev2944-estimate-head>div:first-child{min-height:0!important;padding:0!important}
.app.product-pages-shell #estimates.active #estimateList .pages-estimate-row .pages-record-title{color:var(--brand-text)!important;line-height:1.4!important}
.app.product-pages-shell #estimates.active #estimateList .pages-estimate-row>.dev2944-estimate-head>div:first-child>span{color:var(--brand-muted)!important;line-height:1.4!important;margin-top:4px!important}
.app.product-pages-shell #estimates.active #estimateList .pages-estimate-row .dev2944-status>strong{border:1px solid var(--brand-line)!important;background:var(--brand-surface-soft)!important;color:var(--brand-text)!important;border-radius:999px!important;padding:4px 9px!important;font-weight:500!important}
.app.product-pages-shell #estimates.active #estimateList .pages-record-date{color:var(--brand-muted)!important}
@media(max-width:1000px){
.app.product-pages-shell #estimates.active #estimateList .pages-estimate-row{padding:16px!important;gap:8px 12px!important;grid-template-columns:minmax(0,1fr) auto!important}
.app.product-pages-shell #estimates.active #estimateList .pages-estimate-row .pages-record-title{font-size:16px!important;font-weight:600!important}
.app.product-pages-shell #estimates.active #estimateList .pages-estimate-row>.dev2944-estimate-head>div:first-child>strong:not(.pages-record-title){font-size:11px!important;color:var(--brand-muted)!important;margin-top:4px!important;line-height:1.4!important}
.app.product-pages-shell #estimates.active #estimateList .pages-estimate-row>.dev2944-estimate-head>div:first-child>span{font-size:13px!important}
.app.product-pages-shell #estimates.active #estimateList .pages-estimate-row .dev2944-status{align-self:start!important;justify-self:end!important}
.app.product-pages-shell #estimates.active #estimateList .pages-estimate-row .dev2944-status>strong{font-size:11px!important}
.app.product-pages-shell #estimates.active #estimateList .pages-estimate-row>.pages-record-date{font-size:12px!important;align-self:center!important}
.app.product-pages-shell #estimates.active #estimateList .pages-estimate-row>.pages-record-amount{font-size:16px!important;text-align:right!important;white-space:nowrap}
.app.product-pages-shell #estimates.active #estimateList .pages-estimate-row>.pages-record-details{margin:0!important;padding:0!important;min-height:0!important}
.app.product-pages-shell #estimates.active #estimateList .pages-record-details>summary{font-size:13px!important;min-height:44px!important;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-end;padding:8px 0!important}
.app.product-pages-shell #estimates.active #estimateList .pages-record-details[open]>.pages-expanded{padding-top:12px}
}
@media(max-width:1000px){
.app.product-pages-shell #estimates.active .estimate-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.app.product-pages-shell #estimates.active .estimate-stats>div{min-height:0!important;padding:14px!important;border-radius:12px!important}
.app.product-pages-shell #estimates.active .estimate-stats>div strong{font-size:22px!important;line-height:1.3!important}
.app.product-pages-shell #estimates.active .estimate-stats>div span{font-size:12px!important}
}
/* Estimates page rhythm: scoped to this view, with comfortable touch targets. */
html body .app.product-pages-shell #estimates.active .estimate-page-shell{width:100%;max-width:1240px;margin-inline:auto;box-sizing:border-box}
html body .app.product-pages-shell #estimates.active .estimate-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;margin-bottom:24px!important}
html body .app.product-pages-shell #estimates.active .estimate-head h1{font-size:clamp(26px,3vw,36px)!important;line-height:1.2!important;margin:0 0 8px!important}
html body .app.product-pages-shell #estimates.active .estimate-head p{font-size:14px!important;line-height:1.5!important;margin:0!important;color:var(--brand-muted)!important}
html body .app.product-pages-shell #estimates.active #newEstimateBtn{width:auto!important;min-width:0!important;flex:0 0 auto!important;min-height:44px!important;padding:11px 18px!important;font-size:14px!important;border-radius:12px!important;white-space:nowrap!important}
html body .app.product-pages-shell #estimates.active .estimate-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0 0 24px!important}
html body .app.product-pages-shell #estimates.active .estimate-stats>div{min-height:0!important;padding:18px!important;border-radius:14px!important;box-sizing:border-box}
html body .app.product-pages-shell #estimates.active .estimate-stats span{font-size:12px!important;line-height:1.4!important}
html body .app.product-pages-shell #estimates.active .estimate-stats strong{font-size:24px!important;line-height:1.3!important;margin-top:8px!important;overflow-wrap:anywhere}
html body .app.product-pages-shell #estimates.active .estimate-stats small{font-size:11px!important;line-height:1.4!important;margin-top:5px!important}
html body .app.product-pages-shell #estimates.active .estimate-toolbar{gap:12px!important;margin-bottom:16px!important;padding:0!important}
@media(max-width:760px){
html body .app.product-pages-shell #estimates.active .estimate-head{align-items:flex-start!important;flex-direction:column!important;gap:16px!important;margin-bottom:20px!important}
html body .app.product-pages-shell #estimates.active .estimate-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-bottom:20px!important}
html body .app.product-pages-shell #estimates.active .estimate-stats>div{padding:14px!important}
html body .app.product-pages-shell #estimates.active .estimate-stats strong{font-size:22px!important}
html body .app.product-pages-shell #estimates.active .estimate-toolbar{display:flex!important;flex-wrap:wrap!important}
html body .app.product-pages-shell #estimates.active .estimate-toolbar .project-search{flex:1 1 100%!important;min-width:0!important}
html body .app.product-pages-shell #estimates.active .estimate-toolbar select{width:auto!important;max-width:100%!important;min-height:44px!important;font-size:14px!important}
}
/* File-first overview: search before the compact totals. */
html body .app.product-pages-shell #estimates.active .estimate-page-shell{display:flex!important;flex-direction:column!important;gap:0!important}
html body .app.product-pages-shell #estimates.active .estimate-page-shell>.app-back{order:0}
html body .app.product-pages-shell #estimates.active .estimate-head{order:1;margin-bottom:14px!important}
html body .app.product-pages-shell #estimates.active .estimate-toolbar{order:2;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important;margin:0 0 12px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body .app.product-pages-shell #estimates.active .estimate-toolbar .project-search{flex:1 1 auto!important;min-width:0!important;margin:0!important;min-height:44px!important;border:1px solid var(--brand-line)!important;border-radius:10px!important;background:var(--brand-surface)!important;box-shadow:none!important;padding:0 10px!important}
html body .app.product-pages-shell #estimates.active #estimateSearch{height:42px!important;min-height:42px!important;padding:8px!important;font-size:14px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-width:0!important;width:100%!important}
html body .app.product-pages-shell #estimates.active #estimateStatusFilter{flex:0 0 auto!important;width:112px!important;min-width:0!important;min-height:44px!important;padding:8px!important;font-size:13px!important;border-radius:10px!important}
html body .app.product-pages-shell #estimates.active .estimate-stats{order:3;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;margin:0 0 16px!important;border:1px solid var(--brand-line)!important;border-radius:12px!important;background:var(--brand-surface)!important;overflow:hidden}
html body .app.product-pages-shell #estimates.active .estimate-stats>div{padding:12px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-width:0!important}
html body .app.product-pages-shell #estimates.active .estimate-stats>div+div{border-left:1px solid var(--brand-line)!important}
html body .app.product-pages-shell #estimates.active .estimate-stats span{font-size:11px!important;line-height:1.3!important}
html body .app.product-pages-shell #estimates.active .estimate-stats strong{font-size:19px!important;margin-top:4px!important;line-height:1.2!important}
html body .app.product-pages-shell #estimates.active .estimate-stats small{display:none!important}
html body .app.product-pages-shell #estimates.active #estimateList{order:4}
@media(max-width:760px){
html body .app.product-pages-shell #estimates.active .estimate-head{flex-direction:row!important;align-items:center!important;gap:10px!important}
html body .app.product-pages-shell #estimates.active .estimate-head h1{font-size:25px!important;margin:0!important}
html body .app.product-pages-shell #estimates.active .estimate-head p{display:none!important}
html body .app.product-pages-shell #estimates.active #newEstimateBtn{font-size:12px!important;padding:10px 12px!important;min-height:44px!important;box-shadow:none!important}
html body .app.product-pages-shell #estimates.active .estimate-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body .app.product-pages-shell #estimates.active .estimate-stats>div{padding:10px 12px!important}
html body .app.product-pages-shell #estimates.active .estimate-stats>div:last-child{grid-column:1/-1!important;border-left:0!important;border-top:1px solid var(--brand-line)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
html body .app.product-pages-shell #estimates.active .estimate-stats>div:last-child strong{margin:0!important;font-size:17px!important;white-space:nowrap!important}
}
/* Reference-inspired record rows: restrained surfaces, dense readable metadata. */
html body .app.product-pages-shell #estimates.active #estimateList{border:1px solid var(--brand-line)!important;border-radius:14px!important;overflow:hidden;background:var(--brand-surface)!important}
html body .app.product-pages-shell #estimates.active #estimateList .pages-estimate-row{padding:14px 16px!important;min-height:0!important;gap:6px 12px!important;box-shadow:none!important;border:0!important;border-bottom:1px solid var(--brand-line)!important;align-content:start!important}
html body .app.product-pages-shell #estimates.active #estimateList .pages-estimate-row:last-child{border-bottom:0!important}
html body .app.product-pages-shell #estimates.active #estimateList .pages-record-title{font-size:15px!important;font-weight:600!important;line-height:1.35!important}
html body .app.product-pages-shell #estimates.active #estimateList .pages-estimate-row>.dev2944-estimate-head>div:first-child>strong:not(.pages-record-title){font-size:10px!important;line-height:1.3!important;margin:3px 0!important}
html body .app.product-pages-shell #estimates.active #estimateList .pages-estimate-row>.dev2944-estimate-head>div:first-child>span{font-size:12px!important;margin:2px 0 0!important}
html body .app.product-pages-shell #estimates.active #estimateList .pages-record-amount{font-size:15px!important;line-height:1.3!important}
html body .app.product-pages-shell #estimates.active #estimateList .pages-record-date{font-size:11px!important}
html body .app.product-pages-shell #estimates.active #estimateList .pages-record-details>summary{font-size:12px!important;min-height:44px!important;padding:6px 0!important}
@media(max-width:760px){
html body .app.product-pages-shell #estimates.active #estimateList .pages-estimate-row{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important}
html body .app.product-pages-shell #estimates.active #estimateList .pages-estimate-row>.pages-record-date{grid-column:1!important;grid-row:2!important;align-self:center!important}
html body .app.product-pages-shell #estimates.active #estimateList .pages-estimate-row>.pages-record-amount{grid-column:2!important;grid-row:2!important;align-self:center!important}
html body .app.product-pages-shell #estimates.active #estimateList .pages-estimate-row>.pages-record-details{grid-column:1/-1!important;grid-row:3!important;margin:0!important;padding:0!important}
html body .app.product-pages-shell #estimates.active #estimateList .pages-estimate-row .dev2944-status>strong{font-size:10px!important;padding:3px 8px!important}
}
