/* Shared prototype-inspired presentation. No auth, routing, or financial behavior. */
html[data-theme=light],html[data-theme=light] .app{--brand-bg:#f8f6f2;--brand-surface:#fffefd;--brand-surface-soft:#f2eae0;--brand-input:#fffefd;--brand-text:#29241f;--brand-muted:#6b6259;--brand-line:#ded6cc;--brand-control-line:#a69a8b;--brand-gold:#754719;--brand-gold-hover:#583213;--brand-gold-soft:#f8ead4;--brand-on-gold:#fffaf3;--brand-shadow:0 2px 8px #38250e0b}
html[data-theme=dark],html[data-theme=dark] .app{--brand-bg:#151310;--brand-surface:#211e19;--brand-surface-soft:#2d271f;--brand-input:#191612;--brand-text:#faf4e9;--brand-muted:#c2b7a7;--brand-line:#4a4033;--brand-control-line:#99866e;--brand-gold:#ecc580;--brand-gold-hover:#f4d69f;--brand-gold-soft:#3c2c19;--brand-on-gold:#26190e}
html body .app.product-pages-shell .view :is(.create-form-card,.workspace-card,.omni-board-card,.pages-settings-card,.crm-detail-card){background:var(--brand-surface)!important;border:1px solid var(--brand-line)!important;border-radius:14px!important;box-shadow:0 2px 6px #38250e08!important}
html body .app.product-pages-shell .view :is(.create-form-card,.workspace-card,.pages-settings-card){padding:20px!important}
html body .app.product-pages-shell .view :is(h1,h2,h3){letter-spacing:-.025em;line-height:1.25}
html body .app.product-pages-shell .view :is(.primary,button.primary){background:var(--brand-gold)!important;color:var(--brand-on-gold)!important;border:1px solid var(--brand-gold)!important;border-radius:10px!important;box-shadow:0 2px 4px #38250e14!important;min-height:44px}
html body .app.product-pages-shell .view :is(.secondary,.app-back){background:var(--brand-surface)!important;color:var(--brand-text)!important;border:1px solid var(--brand-control-line)!important;border-radius:10px!important;box-shadow:0 1px 3px #38250e0a!important;min-height:44px}
html body .app.product-pages-shell .view :is(input,textarea,select){border-radius:9px!important;border-color:var(--brand-control-line)!important;background-color:var(--brand-input)!important;color:var(--brand-text)!important}
html body .app.product-pages-shell .view :is(input,textarea,select):focus-visible{outline:2px solid var(--brand-gold)!important;outline-offset:2px!important}
html body .app.product-pages-shell #customerList,html body .app.product-pages-shell #dev29InvoiceList{border:1px solid var(--brand-line)!important;border-radius:14px!important;background:var(--brand-surface)!important}
html body .app.product-pages-shell #customerList .crm-customer,html body .app.product-pages-shell #dev29InvoiceList .dev29-invoice-row{background:var(--brand-surface)!important;border-color:var(--brand-line)!important;box-shadow:none!important}
html body .app.product-pages-shell .pages-settings-card h2{font-size:17px!important}
html body .app.product-pages-shell .pages-settings-card p{font-size:13px!important;line-height:1.5!important;color:var(--brand-muted)!important}
html body .app.product-pages-shell #project-workspace .workspace-primary{background:var(--brand-surface)!important;border:1px solid var(--brand-line)!important;border-radius:12px!important;padding:4px!important;gap:3px!important}
html body .app.product-pages-shell #project-workspace .workspace-primary button{border:0!important;border-radius:9px!important;min-height:44px!important;font-size:13px!important;padding:8px 12px!important;box-shadow:none!important}
html body .app.product-pages-shell #project-workspace .workspace-primary button[aria-current=page]{background:var(--brand-gold)!important;color:var(--brand-on-gold)!important}
@media(max-width:760px){
 html body .app.product-pages-shell .view :is(.crm-head,.estimate-builder-head,.omni-page-head,.pages-page-head){margin-bottom:16px!important;gap:12px!important}
 html body .app.product-pages-shell .view :is(.crm-head,.estimate-builder-head,.omni-page-head,.pages-page-head) h1{font-size:25px!important;margin-bottom:6px!important}
 html body .app.product-pages-shell .view :is(.create-form-card,.workspace-card,.pages-settings-card){padding:16px!important;margin-bottom:12px!important}
 html body .app.product-pages-shell .view .create-section-head{gap:10px!important;margin-bottom:14px!important}
 html body .app.product-pages-shell .view .create-section-head h2{font-size:17px!important}
 html body .app.product-pages-shell .view .create-section-head p{font-size:12px!important;line-height:1.45!important;margin:4px 0 0!important}
 html body .app.product-pages-shell .view .create-form-grid{gap:12px!important}
 html body .app.product-pages-shell .view .create-form-grid label{font-size:13px!important;gap:5px!important}
 html body .app.product-pages-shell .view .create-form-grid :is(input,select){font-size:16px!important;min-height:44px!important;padding:10px 12px!important}
 html body .app.product-pages-shell #customerList .crm-customer{padding:14px!important;min-height:76px!important;gap:8px!important}
 html body .app.product-pages-shell #customerList .crm-customer-copy strong{font-size:15px!important;line-height:1.3!important}
 html body .app.product-pages-shell #customerList .crm-customer-copy>span{font-size:12px!important;line-height:1.4!important}
 html body .app.product-pages-shell #dev29InvoiceList .dev29-invoice-row{padding:14px!important;gap:8px!important;min-height:80px!important}
 html body .app.product-pages-shell #dev29InvoiceList .dev29-invoice-row strong{font-size:14px!important}
 html body .app.product-pages-shell #dev29InvoiceList .dev29-invoice-row small{font-size:12px!important}
 html body .app.product-pages-shell .pages-settings-grid{grid-template-columns:1fr!important;gap:10px!important}
 html body .app.product-pages-shell .pages-settings-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 12px!important;margin:0!important}
 html body .app.product-pages-shell .pages-settings-card h2{grid-column:1;grid-row:1;margin:0!important}
 html body .app.product-pages-shell .pages-settings-card p{grid-column:1;grid-row:2;margin:0!important}
 html body .app.product-pages-shell .pages-settings-card button{grid-column:2;grid-row:1/3;align-self:center;font-size:12px!important;padding:8px!important;min-height:44px!important}
 html body .app.product-pages-shell #project-workspace .workspace-primary{overflow-x:auto!important;flex-wrap:nowrap!important}
 html body .app.product-pages-shell #project-workspace .workspace-primary button{flex:1 0 auto!important;font-size:12px!important;padding:8px!important;white-space:nowrap!important}
 html body .app.product-pages-shell .omni-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 html body .app.product-pages-shell .omni-metrics article{padding:14px!important;border-radius:12px!important;min-height:0!important}
 html body .app.product-pages-shell .omni-metrics strong{font-size:22px!important}
 html body .app.product-pages-shell .omni-board-card>header{padding:16px!important}
 html body .app.product-pages-shell .omni-board-card h2{font-size:17px!important}
 html body .app.product-pages-shell .omni-work-row{padding:14px 16px!important;gap:10px!important}
}
@media(max-width:760px){
 html body .app.product-pages-shell .view.active{background-color:var(--brand-bg)!important}
 html body .app.product-pages-shell .pages-designed :is(.crm-head,.page-head){display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;margin-bottom:14px!important}
 html body .app.product-pages-shell .pages-designed :is(.crm-head,.page-head)>div{min-width:0!important}
 html body .app.product-pages-shell .pages-designed :is(.crm-head,.page-head)>div>p{display:none!important}
 html body .app.product-pages-shell .pages-designed :is(.crm-head,.page-head)>button{width:auto!important;min-width:44px!important;font-size:12px!important;padding:10px 12px!important;flex:0 0 auto!important}
 html body .app.product-pages-shell .pages-designed :is(.crm-toolbar,.project-tools){padding:10px!important;gap:8px!important;flex-wrap:wrap!important;border-radius:12px!important;margin-bottom:12px!important;background:var(--brand-surface)!important}
 html body .app.product-pages-shell .pages-designed :is(.crm-toolbar,.project-tools) .project-search{flex:1 1 180px!important;min-width:0!important;max-width:none!important;padding:0 10px!important;border:1px solid var(--brand-line)!important;background:var(--brand-input)!important}
 html body .app.product-pages-shell .pages-designed :is(.crm-toolbar,.project-tools) input{font-size:16px!important;min-width:0!important;padding:8px 0!important;min-height:44px!important}
 html body .app.product-pages-shell .pages-designed :is(.crm-toolbar,.project-tools) select{width:auto!important;flex:0 1 auto!important;font-size:13px!important;padding:8px 10px!important;min-height:44px!important}
}
@media(max-width:760px){
html body .app.product-pages-shell .pages-designed :is(.crm-toolbar,.project-tools){flex-direction:row!important;align-items:center!important}
html body .app.product-pages-shell .pages-designed :is(.crm-toolbar,.project-tools) .project-search{display:flex!important;align-items:center!important;height:44px!important;max-height:44px!important;box-sizing:border-box!important;flex-basis:180px!important}
html body .app.product-pages-shell .pages-designed :is(.crm-toolbar,.project-tools) .project-search input{height:42px!important;max-height:42px!important;box-sizing:border-box!important;border:0!important;box-shadow:none!important}
}
