/* Prototype typography, spacing and table-style lists; business controls keep their own rules. */
.app.product-pages-shell .pages-designed{padding:0!important;background:none!important}
.app.product-pages-shell .pages-designed :is(.crm-page,.estimate-page-shell){padding:0;max-width:none;margin:0}
.app.product-pages-shell .pages-designed :is(.page-head,.crm-head,.estimate-head){display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 30px}
.app.product-pages-shell .pages-designed h1,.pages-page-head h1{font-size:30px;font-weight:650;letter-spacing:-1px;line-height:1.25;margin:0 0 9px}
.app.product-pages-shell .pages-designed :is(.page-head,.crm-head,.estimate-head)>div>p:not(.eyebrow),.pages-page-head>p:not(.eyebrow){font-size:13px;color:var(--brand-muted);margin:0;line-height:1.55}
.app.product-pages-shell .pages-designed .eyebrow,.pages-page-head>.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:700;color:var(--brand-gold);margin:0 0 8px}
.app.product-pages-shell .pages-designed button{font-size:12px;box-shadow:none;border-radius:9px;padding:10px 16px;min-height:40px}
.app.product-pages-shell .pages-designed> .app-back,.app.product-pages-shell #estimates>.estimate-page-shell>.app-back{display:none}
.app.product-pages-shell .pages-designed :is(.crm-toolbar,.estimate-toolbar,.project-tools){padding:15px 22px;margin:0;background:var(--brand-surface);border:1px solid var(--brand-line);border-radius:12px 12px 0 0;display:flex;align-items:center;gap:15px}
.app.product-pages-shell .pages-designed :is(.crm-toolbar,.estimate-toolbar,.project-tools)>label{flex:1;max-width:420px}
.app.product-pages-shell .pages-designed :is(input,textarea,select){font:inherit;font-size:12px;border:1px solid var(--brand-control-line);border-radius:8px;background:var(--brand-input);color:var(--brand-text);padding:12px 13px;min-height:42px}
.app.product-pages-shell .pages-designed :is(.project-search,.project-search input){border:0;box-shadow:none;background:none}
.app.product-pages-shell .pages-designed .project-search{border:1px solid var(--brand-control-line);border-radius:8px;min-height:42px;padding:0 12px}
.app.product-pages-shell .pages-designed .project-search input{padding:10px 0;width:100%}
.app.product-pages-shell .pages-designed :is(.estimate-stats,.crm-metrics,.project-summary){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:0 0 25px}
.app.product-pages-shell .pages-designed .project-summary{grid-template-columns:repeat(3,minmax(0,1fr));margin:25px 0}
.app.product-pages-shell .pages-designed :is(.estimate-stats,.crm-metrics,.project-summary)>div{padding:21px 23px;background:var(--brand-surface);border:1px solid var(--brand-line);border-radius:12px;margin:0;min-width:0}
.app.product-pages-shell .pages-designed :is(.estimate-stats,.crm-metrics,.project-summary) span{font-size:11px;color:var(--brand-muted)}
.app.product-pages-shell .pages-designed :is(.estimate-stats,.crm-metrics,.project-summary) strong{font-size:28px;font-weight:600;letter-spacing:-1px;margin:8px 0 3px;display:block}
.app.product-pages-shell .pages-designed :is(.estimate-stats,.crm-metrics,.project-summary) small{font-size:10px;color:var(--brand-muted)}
.pages-table-head{display:grid;gap:18px;padding:14px 22px;background:#1c2022;border:1px solid var(--brand-line);border-top:0;border-bottom:0;color:#929fa3;text-transform:uppercase;font-size:10px;letter-spacing:.8px;font-weight:500}
.pages-customerList-head{grid-template-columns:1.3fr 1fr 1.2fr 70px}.pages-estimateList-head,.pages-dev29InvoiceList-head{grid-template-columns:var(--pages-record-columns)}
.app.product-pages-shell #customers .crm-layout{display:block;margin:0}
.app.product-pages-shell #customerList{display:block;border:1px solid var(--brand-line);border-top:0;border-radius:0 0 12px 12px;overflow:hidden;background:var(--brand-surface);max-height:none}
.app.product-pages-shell #customerList .crm-customer{width:100%;display:grid;grid-template-columns:1.3fr 1fr 1.2fr 70px;gap:18px;text-align:left;padding:19px 22px;border:0;border-top:1px solid var(--brand-line);border-radius:0;background:var(--brand-surface);min-height:80px;align-items:center;margin:0}
.app.product-pages-shell #customerList .crm-customer:hover{background:#202527}
.app.product-pages-shell #customerList :is(.crm-avatar,.crm-badge){display:none}
.app.product-pages-shell #customerList .crm-customer-copy{min-width:0;display:block}.app.product-pages-shell #customerList .crm-customer-copy strong{display:block;font-size:12px}.app.product-pages-shell #customerList .crm-customer-copy>span{display:block;font-size:10px;color:var(--brand-muted);margin-top:3px}
.pages-property,.pages-activity{font-size:12px;font-weight:400;color:#b1b7b9}.pages-open{color:var(--brand-gold);font-size:11px;white-space:nowrap}
.app.product-pages-shell #estimateList,.app.product-pages-shell #dev29InvoiceList{display:block;background:var(--brand-surface);border:1px solid var(--brand-line);border-top:0;border-radius:0 0 12px 12px;overflow:visible}
.app.product-pages-shell #estimateList .pages-estimate-row{display:grid!important;grid-template-columns:var(--pages-record-columns);gap:18px;align-items:center;padding:19px 22px;margin:0;border:0!important;border-top:1px solid var(--brand-line)!important;border-radius:0!important;background:var(--brand-surface)!important}
.pages-estimate-row>.dev2944-estimate-head{display:contents!important}.pages-estimate-row>.dev2944-estimate-head>div:first-child{grid-column:1;grid-row:1;min-width:0}.pages-estimate-row>.dev2944-estimate-head>.dev2944-status{grid-column:3;grid-row:1;display:block;text-align:left}
.app.product-pages-shell .pages-estimate-row>.dev2944-estimate-head>div:first-child>.pages-record-title{display:block;font-size:12px;font-weight:650;color:var(--brand-text);line-height:1.5}
.pages-estimate-row>.dev2944-estimate-head>div:first-child>strong:not(.pages-record-title),.pages-estimate-row>.dev2944-estimate-head>div:first-child>span{font-size:10px;color:var(--brand-muted);font-weight:400;display:block;line-height:1.5}.pages-estimate-row>.dev2944-estimate-head>div:first-child>br,.pages-estimate-row .dev2944-status>small{display:none}
.pages-estimate-row .dev2944-status>strong{display:inline-block;padding:3px 8px;border:1px solid #465153;border-radius:5px;background:#252d2f;color:#bac7cc;font-size:10px;font-weight:500;white-space:normal}
.pages-estimate-row>.pages-record-date{grid-column:2;grid-row:1}.pages-estimate-row>.pages-record-amount{grid-column:4;grid-row:1;font-size:12px}.pages-record-date{font-size:12px;color:var(--brand-muted)}
.pages-estimate-row>.pages-record-details{grid-column:5;grid-row:1;text-align:right}.pages-record-details>summary,.pages-invoice-actions>summary{list-style:none;color:var(--brand-gold);cursor:pointer;font-size:11px;font-weight:600;padding:10px 0}.pages-record-details>summary::-webkit-details-marker,.pages-invoice-actions>summary::-webkit-details-marker{display:none}
.pages-estimate-row>.pages-record-details[open]{grid-column:1/-1;grid-row:2;border-top:1px solid var(--brand-line);padding-top:12px;text-align:left}.pages-record-details[open]>summary{text-align:right}.pages-expanded{clear:both}.pages-expanded .dev2944-package-grid{margin:8px 0 16px}.pages-expanded .estimate-row-actions{justify-content:flex-end;flex-wrap:wrap;display:flex;gap:8px}
.pages-estimate-row>.dev293-inline-notice{grid-column:1/-1;grid-row:3;margin:0}
.app.product-pages-shell #dev29InvoiceList .dev29-invoice-row{display:grid;grid-template-columns:var(--pages-record-columns);gap:18px;align-items:center;padding:19px 22px;border:0;border-top:1px solid var(--brand-line);border-radius:0;background:var(--brand-surface);margin:0}
.app.product-pages-shell #dev29InvoiceList .dev29-invoice-row strong{font-size:12px}.app.product-pages-shell #dev29InvoiceList .dev29-invoice-row small{font-size:10px;color:var(--brand-muted);display:block;line-height:1.5}.pages-invoice-actions{position:relative;text-align:right}.pages-invoice-actions[open] .dev29-invoice-actions{display:flex;flex-direction:column;position:absolute;right:0;z-index:20;background:var(--brand-surface-soft);border:1px solid #465153;border-radius:9px;box-shadow:0 10px 30px #0007;padding:12px;min-width:170px;gap:8px}
.pages-jobs-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr);gap:24px;align-items:start;margin-top:24px}.pages-jobs-layout #projectsGrid{display:block;background:var(--brand-surface);border:1px solid var(--brand-line);border-radius:13px;overflow:hidden;padding:0}
.app.product-pages-shell .pages-jobs-layout .project-card{display:block;border:0;border-top:1px solid var(--brand-line);border-radius:0;background:none;box-shadow:none;cursor:pointer;margin:0}
.app.product-pages-shell .pages-jobs-layout .project-cover{height:auto;min-height:0;position:relative;background:none;padding:18px 23px 0;text-align:right}.app.product-pages-shell .pages-jobs-layout .project-cover:before{display:none}.app.product-pages-shell .pages-jobs-layout .project-status{position:static;display:inline-block;font-size:10px;padding:3px 8px;border-radius:5px}
.app.product-pages-shell .pages-jobs-layout .project-body{padding:0 23px 18px}.app.product-pages-shell .pages-jobs-layout h3{font-size:13px;margin:0 0 4px}.app.product-pages-shell .pages-jobs-layout :is(.project-customer,.project-address,.project-meta span,.project-progress-head){font-size:11px;color:var(--brand-muted)}.app.product-pages-shell .pages-jobs-layout .project-meta strong{font-size:12px}.app.product-pages-shell .pages-jobs-layout .project-meta{display:flex;gap:24px;padding:12px 0}.app.product-pages-shell .pages-jobs-layout .project-progress{margin:0}.app.product-pages-shell .pages-jobs-layout .progress-track{height:4px}.app.product-pages-shell .pages-jobs-layout .project-footer{border:0;padding-top:12px}.app.product-pages-shell .pages-jobs-layout .project-footer small{display:none}
.pages-aside,.pages-settings-card{background:var(--brand-surface);border:1px solid var(--brand-line);border-radius:12px;padding:25px}.pages-aside h2{font-size:21px;margin:0 0 10px}.pages-aside h3{font-size:14px;margin:0 0 8px}.pages-aside ol{padding-left:17px;color:var(--brand-muted);font-size:12px;line-height:2.2}.pages-aside p{font-size:12px;color:var(--brand-muted);line-height:1.6}
.pages-page-head{margin:0 0 30px}.pages-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.pages-settings-card h2{font-size:17px;margin:0 0 10px}.pages-settings-card p{font-size:12px;color:var(--brand-muted);line-height:1.6;margin:0 0 18px}.pages-settings-card button{font-size:12px}.pages-report-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.pages-report-actions button{background:var(--brand-surface-soft);color:var(--brand-text);border:1px solid var(--brand-line);border-radius:9px;padding:10px 16px}
.pages-owned-view[hidden]{display:none!important}.pages-owned-view>.product-tools{margin-top:30px;padding:20px;border:1px solid var(--brand-line);border-radius:12px;background:var(--brand-surface)}.pages-reports-link{background:none;border:0;text-align:left}
.pages-dialog{width:min(900px,94vw);max-height:90vh;overflow:auto;padding:35px;border:1px solid #59605d;background:var(--brand-surface);color:var(--brand-text);border-radius:15px}.pages-dialog::backdrop{background:#000a;backdrop-filter:blur(4px)}.pages-dialog-close{position:absolute;right:10px;top:8px;color:var(--brand-gold);font-size:24px;background:none;border:0;cursor:pointer}.pages-dialog #customerDetail{position:static;width:100%;max-height:none;border:0;margin:0;box-shadow:none;background:transparent}
.app.product-pages-shell #new-estimate-page .estimate-builder-shell{padding:0;max-width:none}.app.product-pages-shell #new-estimate-page .estimate-builder-head h1{font-size:30px;letter-spacing:-1px}.app.product-pages-shell #new-estimate-page .estimate-builder-grid{grid-template-columns:minmax(0,1fr) 310px;gap:25px}.app.product-pages-shell #new-estimate-page :is(.create-form-card,.ai-estimator-card,.estimate-summary-panel){border-radius:12px;background:var(--brand-surface);border:1px solid var(--brand-line);padding:28px;box-shadow:none}.app.product-pages-shell #new-estimate-page .estimate-summary-panel{grid-column:2;grid-row:1;position:sticky;top:95px}.app.product-pages-shell #new-estimate-page .pages-estimate-help{grid-column:2;grid-row:2;padding:23px}.app.product-pages-shell #new-estimate-page .estimate-builder-main{grid-column:1;grid-row:1/span 3}.app.product-pages-shell #new-estimate-page .ai-estimate-prompt{font-size:12px}.app.product-pages-shell #new-estimate-page .ai-estimate-prompt textarea{background:var(--brand-input);border:1px solid var(--brand-control-line);padding:13px;border-radius:8px;font-size:14px;min-height:155px}
.pages-builder-steps{display:flex;max-width:660px;gap:12px;margin:5px 0 30px}.pages-builder-steps span{flex:1;font-size:11px;padding:10px 0;border-bottom:1px solid var(--brand-line);color:#7f8c90}.pages-builder-steps .current{color:var(--brand-gold);border-color:var(--brand-gold)}
.app.product-pages-shell .pages-designed [hidden]{display:none!important}
@media(max-width:1180px){.pages-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app.product-pages-shell #new-estimate-page .estimate-builder-grid{grid-template-columns:minmax(0,1fr) 270px}.pages-table-head.pages-estimateList-head,.pages-table-head.pages-dev29InvoiceList-head,.app.product-pages-shell #estimateList .pages-estimate-row,.app.product-pages-shell #dev29InvoiceList .dev29-invoice-row{grid-template-columns:minmax(120px,1.5fr) 85px 80px 100px 80px;gap:12px}}
@media(max-width:1000px){.pages-jobs-layout{grid-template-columns:1fr}.app.product-pages-shell .pages-designed :is(.estimate-stats,.crm-metrics){grid-template-columns:repeat(2,minmax(0,1fr))}.app.product-pages-shell #new-estimate-page .estimate-builder-grid{display:block}.app.product-pages-shell #new-estimate-page .estimate-summary-panel{position:static;margin-top:20px}.app.product-pages-shell .pages-estimate-help{display:none}.pages-table-head{display:none}.app.product-pages-shell #customerList .crm-customer{grid-template-columns:minmax(0,1fr) 1fr;gap:10px}.app.product-pages-shell #customerList .pages-open{text-align:right}.app.product-pages-shell #estimateList .pages-estimate-row{grid-template-columns:minmax(0,1fr) 100px;gap:12px}.pages-estimate-row>.dev2944-estimate-head>div:first-child{grid-column:1;grid-row:1}.pages-estimate-row>.dev2944-estimate-head>.dev2944-status{grid-column:2;grid-row:1}.pages-estimate-row>.pages-record-date{grid-column:1;grid-row:2}.pages-estimate-row>.pages-record-amount{grid-column:2;grid-row:2}.pages-estimate-row>.pages-record-details{grid-column:1/-1;grid-row:3}.pages-estimate-row>.pages-record-details[open]{grid-row:3}.pages-estimate-row>.dev293-inline-notice{grid-row:4}.app.product-pages-shell #dev29InvoiceList .dev29-invoice-row{grid-template-columns:1fr 1fr;gap:12px}.pages-invoice-actions{grid-column:1/-1}.pages-invoice-actions[open] .dev29-invoice-actions{position:static;box-shadow:none;min-width:0}}
@media(max-width:640px){.app.product-pages-shell .pages-designed :is(.page-head,.crm-head,.estimate-head){align-items:flex-start;flex-direction:column;gap:17px}.app.product-pages-shell .pages-designed h1,.pages-page-head h1{font-size:26px}.app.product-pages-shell .pages-designed :is(.crm-toolbar,.estimate-toolbar,.project-tools){flex-wrap:wrap;padding:15px}.app.product-pages-shell .pages-designed :is(.crm-toolbar,.estimate-toolbar,.project-tools)>label{width:100%;min-width:0;flex-basis:100%}.app.product-pages-shell .pages-designed :is(.estimate-stats,.crm-metrics,.project-summary)>div{padding:16px}.app.product-pages-shell .pages-designed :is(.estimate-stats,.crm-metrics,.project-summary) strong{font-size:25px}.app.product-pages-shell .pages-designed .project-summary{grid-template-columns:1fr 1fr}.app.product-pages-shell #new-estimate-page :is(.create-form-card,.estimate-summary-panel){padding:20px}.app.product-pages-shell #customerList .crm-customer{padding:17px}.pages-record-details .dev2944-package-grid{display:block}.pages-record-details .dev2944-package-card{margin-bottom:12px}.pages-builder-steps span{font-size:10px}}

.pages-job-list #projectsGrid:empty{display:none}.pages-job-list .empty-state{padding:40px 24px;border:1px solid var(--brand-line);border-radius:13px;background:var(--brand-surface);font-size:12px;min-height:160px}.pages-job-list .empty-state strong{font-size:16px}.app.product-pages-shell .pages-designed :is(.crm-empty,.dev29-empty){padding:40px 22px;font-size:12px;color:var(--brand-muted);min-height:140px}

.app.product-pages-shell #new-customer-page .customer-create-page{padding:0;max-width:none;margin:0}.app.product-pages-shell #new-customer-page .customer-form-grid{gap:24px}.app.product-pages-shell #new-customer-page .create-form-card{padding:28px;border:1px solid var(--brand-line);border-radius:12px;background:var(--brand-surface)}.app.product-pages-shell #new-customer-page .create-section-head h2{font-size:18px}.app.product-pages-shell #new-customer-page .create-section-head p{font-size:12px}.app.product-pages-shell #new-customer-page label{font-size:12px}.app.product-pages-shell #new-customer-page .back-link{margin-bottom:18px}.app.product-pages-shell .pages-owned-view>.product-tools summary{font-size:12px;color:var(--brand-muted);cursor:pointer}.app.product-pages-shell .pages-owned-view>.product-tools .nav{margin-top:8px;border:1px solid var(--brand-line);border-radius:8px;padding:10px 15px;background:var(--brand-surface-soft);font-size:12px;text-align:left}

/* Override older card-specific important rules within the new presentation only. */
.app.product-pages-shell #customerList{min-height:0}
.app.product-pages-shell .sidebar>.pages-reports-link{background:none!important;border:0!important;box-shadow:none!important;text-align:left;white-space:normal;font-size:13px!important;font-weight:500;line-height:1.5;padding:13px 12px!important;width:100%}
.app.product-pages-shell #main .pages-designed [hidden]{display:none!important}
.app.product-pages-shell #estimates.active .pages-estimate-row{display:grid!important;grid-template-columns:var(--pages-record-columns)!important;padding:19px 22px!important;gap:18px!important;box-shadow:none!important;overflow:visible!important;border:0!important;border-top:1px solid var(--brand-line)!important;border-radius:0!important}
.app.product-pages-shell #estimates.active .pages-estimate-row:before,.app.product-pages-shell #invoices.active .dev29-invoice-row:before,.app.product-pages-shell #invoices.active .crm-metrics>div:before{display:none!important}
.app.product-pages-shell #estimates.active .pages-estimate-row>.dev2944-estimate-head{display:contents!important;padding:0!important;background:none!important;border:0!important}
.app.product-pages-shell #estimates.active .pages-estimate-row>.dev2944-estimate-head>div:first-child>strong:not(.pages-record-title){font-size:10px!important;font-weight:400!important;color:var(--brand-muted)!important}
.app.product-pages-shell #estimates.active .pages-estimate-row>.dev2944-estimate-head>div:first-child>.pages-record-title{font-size:12px!important;font-weight:650!important;color:var(--brand-text)!important}
.app.product-pages-shell #estimates.active .pages-estimate-row>.dev2944-estimate-head>div:first-child>span{font-size:10px!important;font-weight:400!important;color:var(--brand-muted)!important}
.app.product-pages-shell #estimates.active .pages-estimate-row .dev2944-status{margin:0!important;text-align:left!important;min-width:0!important}
.app.product-pages-shell #estimates.active .pages-estimate-row .dev2944-status>strong{font-size:10px!important;font-weight:500!important;background:#252d2f!important;color:#bac7cc!important;padding:3px 8px!important}
.app.product-pages-shell #estimates.active .pages-estimate-row .dev2944-status>small{display:none!important}
.app.product-pages-shell #estimates.active .pages-estimate-row .estimate-row-actions button{font-size:12px!important;min-height:40px!important;font-weight:600!important}
.app.product-pages-shell #estimates.active .pages-estimate-row>.pages-record-amount{font-size:12px!important}
.app.product-pages-shell #invoices.active .dev29-invoices-page{padding:0!important}
.app.product-pages-shell #invoices.active .crm-head h1{font-size:30px!important;line-height:1.25!important;letter-spacing:-1px!important}
.app.product-pages-shell #invoices.active .crm-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:15px!important;margin:0 0 25px!important}
.app.product-pages-shell #invoices.active .crm-metrics>div{padding:21px 23px!important;border-radius:12px!important;box-shadow:none!important}
.app.product-pages-shell #invoices.active .crm-metrics span{font-size:11px!important;text-transform:none!important;letter-spacing:0!important;font-weight:500!important}
.app.product-pages-shell #invoices.active .dev29-invoice-row{display:grid!important;grid-template-columns:var(--pages-record-columns)!important;padding:19px 22px!important;gap:18px!important;box-shadow:none!important;border:0!important;border-top:1px solid var(--brand-line)!important;border-radius:0!important;overflow:visible!important}
.app.product-pages-shell #invoices.active .dev29-invoice-row>div:first-child>strong{font-size:12px!important}
.app.product-pages-shell #invoices.active .dev29-invoice-row>.pages-invoice-status>strong{display:inline-block!important;font-size:10px!important;border:1px solid #465153;border-radius:5px;background:#252d2f;color:#bac7cc!important;padding:3px 8px!important;font-weight:500}
.app.product-pages-shell #invoices.active .pages-invoice-status>small:first-child,.app.product-pages-shell #invoices.active .pages-invoice-total>small:first-child{display:none!important}
.app.product-pages-shell #invoices.active .dev29-invoice-row>.pages-invoice-total>strong{font-size:12px!important}
.app.product-pages-shell #invoices.active .dev29-package{font-size:10px!important;padding:3px 7px!important;border-radius:5px!important}
@media(min-width:1051px){.app.product-pages-shell .sidebar>.pages-reports-link{font-size:11px!important;white-space:nowrap}}
@media(max-width:1180px){.app.product-pages-shell #estimates.active .pages-estimate-row,.app.product-pages-shell #invoices.active .dev29-invoice-row{grid-template-columns:minmax(120px,1.5fr) 85px 80px 100px 80px!important;gap:12px!important}}
@media(max-width:1000px){.app.product-pages-shell #estimates.active .pages-estimate-row{grid-template-columns:minmax(0,1fr) 100px!important}.app.product-pages-shell #invoices.active .dev29-invoice-row{grid-template-columns:1fr 1fr!important}.app.product-pages-shell #invoices.active .crm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){.app.product-pages-shell #invoices.active .crm-head h1{font-size:26px!important}.app.product-pages-shell #invoices.active .crm-metrics>div{padding:16px!important}}

.app.product-pages-shell #estimates.active .estimate-page-shell{padding:0!important}
.app.product-pages-shell #estimates.active .estimate-stats{gap:15px!important;margin:0 0 25px!important}
.app.product-pages-shell #estimates.active .estimate-stats>div{padding:21px 23px!important;border-radius:12px!important;box-shadow:none!important}
.app.product-pages-shell #estimates.active .estimate-stats>div:before{display:none!important}
.app.product-pages-shell #estimates.active .estimate-stats span{font-size:11px!important;font-weight:500!important;text-transform:none!important;letter-spacing:0!important}
.app.product-pages-shell #estimates.active .estimate-stats strong{font-size:28px!important;line-height:1.3!important;letter-spacing:-1px!important}
.app.product-pages-shell #estimates.active .estimate-toolbar{margin:0!important;gap:15px!important}
.app.product-pages-shell .pages-settings-card button.product-text{font-size:12px!important;padding:0!important;min-height:32px!important;background:none!important;border:0!important;box-shadow:none!important;line-height:1.5!important}
.app.product-pages-shell #projects .filter-tabs{background:none!important;box-shadow:none!important;border:0!important;border-radius:0;display:flex;gap:0;overflow:auto}
.app.product-pages-shell #projects .filter-tabs button{background:none!important;box-shadow:none!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;padding:10px 14px!important;font-size:11px!important;white-space:nowrap}
.app.product-pages-shell #projects .filter-tabs button.active{border-bottom-color:var(--brand-gold)!important;color:var(--brand-gold)!important}
.app.product-pages-shell .pages-jobs-layout .project-card{position:relative}
.app.product-pages-shell .pages-jobs-layout .project-cover{position:absolute;right:23px;top:19px;padding:0!important;z-index:1}
.app.product-pages-shell .pages-jobs-layout .project-body{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 20px;padding:19px 23px!important}
.app.product-pages-shell .pages-jobs-layout .project-body h3{grid-column:1/-1;grid-row:1;margin:0 100px 0 0!important;font-size:13px!important}
.app.product-pages-shell .pages-jobs-layout .project-customer{grid-column:1;grid-row:2;margin:0;font-size:11px!important}
.app.product-pages-shell .pages-jobs-layout :is(.project-address,.project-progress){display:none!important}
.app.product-pages-shell .pages-jobs-layout .project-meta{display:contents!important}
.app.product-pages-shell .pages-jobs-layout .project-meta>div:first-child{grid-column:2;grid-row:2;text-align:right}
.app.product-pages-shell .pages-jobs-layout .project-meta>div:first-child>span{display:none}
.app.product-pages-shell .pages-jobs-layout .project-meta>div:nth-child(2){grid-column:1;grid-row:3;display:flex;align-items:center;gap:6px}
.app.product-pages-shell .pages-jobs-layout .project-meta>div:nth-child(2) strong{font-size:11px;font-weight:400}
.app.product-pages-shell .pages-jobs-layout .project-footer{grid-column:2;grid-row:3;padding:0!important;margin:0!important}
.app.product-pages-shell .pages-jobs-layout .project-footer button{font-size:11px!important;min-height:36px!important;padding:7px 10px!important;border:1px solid #465153!important;border-radius:7px!important;background:var(--brand-surface-soft)!important;box-shadow:none!important}
.app.product-pages-shell #invoice-detail-page.active .dev293-page-shell{padding:0!important;max-width:none!important}

@media(max-width:640px){.app.product-pages-shell #estimates.active .estimate-stats>div{padding:16px!important}.app.product-pages-shell #estimates.active .estimate-stats strong{font-size:25px!important}.app.product-pages-shell .pages-settings-card button.product-text{min-height:44px!important}.app.product-pages-shell .pages-jobs-layout .project-body{gap:8px 12px}.app.product-pages-shell .pages-jobs-layout .project-body h3{font-size:12px!important;margin-right:85px!important}.app.product-pages-shell .pages-jobs-layout .project-meta>div:nth-child(2){display:block}}

.app.product-pages-shell #new-estimate-page.quote-guided-intake .pages-estimate-help{grid-row:1;align-self:start}

/* One shared record layout keeps headings and rows aligned as the screen grows. */
.app.product-pages-shell{--pages-record-columns:minmax(180px,2fr) minmax(110px,1fr) minmax(100px,.8fr) minmax(120px,1fr) minmax(80px,.65fr)}
.app.product-pages-shell :is(.pages-settings-grid,.pages-jobs-layout,.customer-form-grid,.estimate-builder-grid)>*{min-width:0}
.app.product-pages-shell .pages-settings-card{overflow-wrap:anywhere}
.app.product-pages-shell .pages-designed :is(.page-head,.crm-head,.estimate-head){flex-wrap:wrap}
@media(min-width:2300px){.pages-settings-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:640px){.pages-settings-grid{grid-template-columns:minmax(0,1fr)}}
/* Filter buttons wrap within the screen instead of widening the job list. */
.app.product-pages-shell #projectFilters{min-width:0;max-width:100%;flex-wrap:wrap}
.app.product-pages-shell #projectFilters button{min-width:0;white-space:normal}
.app.product-pages-shell .pages-designed .page-create{width:auto;max-width:100%;white-space:normal;flex-shrink:0}
#team-assignments .pages-invite-link{display:inline-flex;align-items:center;min-height:42px;padding:10px 16px;border-radius:9px;background:var(--brand-gold);color:#171a1b;text-decoration:none;font-weight:650;font-size:13px}

/* Accepted evidence hashes and timestamps must wrap on phone screens. */
#ecRecord{min-width:0;overflow-wrap:anywhere}
#projectEstimateContractScreen .ec-card{min-width:0}
#projectEstimateContractScreen [data-ec-download]{max-width:100%;white-space:normal;min-height:44px}
#betaProfileForm input{width:100%;min-width:0;box-sizing:border-box}
.beta-commercial-source{display:block;overflow-wrap:anywhere;font-size:.75rem;line-height:1.5;color:var(--text-muted,#adb4b6)}
/* Keep short job-tab labels intact and remove repeated framing in agreement view. */
@media(max-width:700px){body #project-workspace .workspace-primary{gap:6px;flex-wrap:wrap}body #project-workspace .workspace-primary button{flex:0 0 auto;white-space:nowrap;word-break:normal;overflow-wrap:normal;font-size:.84rem;padding:10px 11px}}
#project-workspace:has(#projectEstimateContractScreen:not([hidden]))>.project-hero-card,#project-workspace:has(#projectEstimateContractScreen:not([hidden]))>.workspace-back{display:none}

/* Focused settings: comfortable form width and one section at a time. */
.app.product-pages-shell #product-settings-page{max-width:1240px!important;margin-inline:auto!important;width:100%!important;min-width:0;}
#product-settings-page .beta-settings-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;align-items:start;}
#product-settings-page .beta-settings-nav{display:flex;flex-direction:column;gap:6px;min-width:0;}
.app.product-pages-shell #product-settings-page .beta-settings-nav button{width:100%;min-height:44px;text-align:left;white-space:normal;padding:12px 16px!important;border:1px solid transparent!important;border-radius:8px;background:transparent!important;color:#aeb6b7!important;font-size:14px!important;box-shadow:none!important;}
.app.product-pages-shell #product-settings-page .beta-settings-nav button:hover{background:#1b2021!important;color:#f4f1e9!important;}
.app.product-pages-shell #product-settings-page .beta-settings-nav button[aria-current=page]{background:#302919!important;color:#edbd59!important;border-color:#54462c!important;}
#product-settings-page .beta-settings-content{min-width:0;}
.app.product-pages-shell #product-settings-page :is(#betaCompanyProfile,#betaPayments,#betaSubscription){padding:28px!important;background:#181c1d;border:1px solid #303638;border-radius:12px;margin:0!important;min-width:0;}
#product-settings-page :is(#betaCompanyProfile,#betaPayments,#betaSubscription)[hidden]{display:none!important;}
#product-settings-page .beta-settings-content h2{margin:0 0 10px;font-size:22px;line-height:1.3;}
#product-settings-page .beta-settings-content h2+p{color:#a1abad;line-height:1.6;margin-bottom:26px;max-width:60ch;}
#product-settings-page #betaCompanyProfile .pages-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
#product-settings-page #betaCompanyProfile label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:13px;color:#c2c8c8;}
#product-settings-page .beta-settings-wide{grid-column:1/-1;}
#product-settings-page :is(input,textarea){width:100%;min-width:0;box-sizing:border-box;}
#product-settings-page textarea{resize:vertical;min-height:90px;font:inherit;padding:12px;border:1px solid #756e60;border-radius:8px;background:#101313;color:#f4f1e9;}
#product-settings-page .beta-company-logo{padding:18px;margin-bottom:26px;border:1px dashed #404747;border-radius:10px;}
#product-settings-page .beta-company-logo p{font-size:12px;line-height:1.6;color:#98a3a5;margin:10px 0 0;}
#product-settings-page #betaProfileForm>button{margin-top:8px;min-height:44px;}
#product-settings-page #betaPlans button{margin:8px 8px 0 0;min-height:44px;}
@media(max-width:760px){#product-settings-page .beta-settings-layout{grid-template-columns:minmax(0,1fr);gap:20px;}#product-settings-page .beta-settings-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;}.app.product-pages-shell #product-settings-page :is(#betaCompanyProfile,#betaPayments,#betaSubscription){padding:20px!important;}}
@media(max-width:480px){#product-settings-page #betaCompanyProfile .pages-settings-grid{grid-template-columns:minmax(0,1fr);gap:18px;}#product-settings-page .beta-settings-nav button{font-size:13px!important;}}

#product-settings-page #betaCollectionForm{display:grid;gap:20px;}
#product-settings-page #betaCollectionForm>label{display:grid;gap:8px;}
#product-settings-page .beta-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
#product-settings-page #betaCollectionForm fieldset{border:1px solid #404747;border-radius:8px;padding:20px;}
#product-settings-page .beta-methods label,#product-settings-page .beta-method-toggle{display:flex!important;align-items:center;gap:10px;min-height:32px;}
#product-settings-page #betaCollectionForm input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;}
#product-settings-page #betaCollectionForm p{color:#a1abad;line-height:1.6;margin:0;}
#product-settings-page #betaPlans button{margin:8px 8px 0 0;}
@media(max-width:480px){#product-settings-page .beta-methods{grid-template-columns:minmax(0,1fr);}}

/* Clear monthly plan selection and a compact, verified trial status. */
.omni-plan-page{max-width:1120px;margin:0 auto;padding:32px;}
.omni-plan-page h1{font-size:clamp(28px,4vw,40px);margin:8px 0 12px;}
.omni-plan-intro{font-size:18px;line-height:1.6;}
.omni-plan-includes,.omni-plan-terms{color:#aeb6b7;line-height:1.65;max-width:80ch;}
.omni-plan-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px 0;}
.omni-plan-card{background:#181c1d;border:1px solid #394040;border-radius:16px;padding:24px;min-width:0;}
.omni-plan-card h3{font-size:22px;margin-top:0;}
.omni-plan-card .omni-plan-price{font-size:36px;font-weight:750;margin:20px 0 0;color:#f4f1e9;}
.app .omni-plan-card button{width:100%;white-space:normal;margin-top:20px;min-height:48px;}
.omni-plan-content a{color:#edbd59;}
.omni-plan-content>button{margin:12px 12px 12px 0;}
.omni-trial-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 24px;padding:12px 18px;border:1px solid #665331;border-radius:12px;background:#292416;color:#edcd8c;}
.omni-trial-banner[hidden]{display:none;}
.omni-trial-banner button{min-height:44px;}
@media(max-width:960px){.omni-plan-cards{grid-template-columns:1fr;}.omni-plan-page{padding:24px 16px;}.omni-plan-card{padding:22px;}.omni-trial-banner{margin:12px;align-items:flex-start;flex-direction:column;}}

.app:has(#omni-plan-page.active) .dev293-inline-notice{display:none;}
.omni-billing-email{margin:20px 0;padding:20px;border:1px solid #665331;border-radius:12px;}.omni-billing-email input{display:block;width:100%;box-sizing:border-box;margin:10px 0 16px;}

/* Keep the quote total readable when the sidebar reduces editor width. */
.app.product-pages-shell #new-estimate-page.estimate-quote-editor .estimate-summary-panel{display:block;}
@media(max-width:1250px){.app.product-pages-shell #new-estimate-page.estimate-quote-editor .estimate-builder-grid{display:block;}.app.product-pages-shell #new-estimate-page.estimate-quote-editor .estimate-summary-panel{position:static;margin-top:24px;}.app.product-pages-shell #new-estimate-page.estimate-quote-editor .pages-estimate-help{display:none;}}

/* Trial reminders are compact and dismissible; billing keeps the full details. */
.app .omni-trial-banner{padding:4px 12px;margin:8px 12px;border-radius:8px;gap:12px;flex-direction:row;align-items:center;flex-wrap:wrap;font-size:14px;}
.app .omni-trial-banner>span{flex:1 1 auto;}
.app .omni-trial-banner button{min-height:44px;padding:6px 10px;background:transparent;border:0;box-shadow:none;font-size:14px;}
.app .omni-trial-banner .omni-trial-dismiss{width:44px;min-width:44px;font-size:22px;}

.app.product-shell #appSidebar .profile #productProfileName{overflow-wrap:anywhere;white-space:normal;max-width:180px;}
