/* Approved ScopeMatch system. Presentation only; existing business logic stays in app.js. */
body {
 --ui-canvas:#fcfcf9; --ui-surface:#fff; --ui-soft:#f5f4ee; --ui-sidebar:#f6f5f1;
 --ui-ink:#242820; --ui-muted:#74776e; --ui-line:#e3e4dc; --ui-accent:#edcb59;
 --ui-selected:#faf3d7; --ui-success:#586c3e; --ui-shadow:0 20px 65px #25282018;
 --radius-xl:16px; --radius-lg:12px; --radius-md:10px; --radius-sm:8px;
 --bg-0:var(--ui-canvas); --bg-1:var(--ui-surface); --bg-2:var(--ui-soft);
 --surface:var(--ui-surface); --surface-soft:var(--ui-soft); --surface-strong:var(--ui-surface); --surface-field:var(--ui-surface);
 --text:var(--ui-ink); --text-soft:var(--ui-muted); --line:var(--ui-line); --line-strong:var(--ui-line);
 --sage-canvas:var(--ui-canvas); --sage-surface:var(--ui-surface); --sage-ivory:var(--ui-ink); --sage-muted:var(--ui-muted); --sage-line:var(--ui-line); --sage-line-strong:var(--ui-line);
 --accent:var(--ui-accent); --accent-ink:#242820; --product-accent-hint:var(--ui-accent);
 background:var(--ui-canvas)!important; color:var(--ui-ink)!important; font-family:Manrope,"Segoe UI",sans-serif;
}
body[data-appearance="dark"]:not(.landing-mode) {--ui-canvas:#131610;--ui-surface:#1d2119;--ui-soft:#252a20;--ui-sidebar:#20251c;--ui-ink:#f3f3ec;--ui-muted:#adb0a3;--ui-line:#373e30;--ui-selected:#38321f;--ui-success:#b7c893;--ui-shadow:0 24px 80px #0006;--mono-paper:var(--ui-ink);--mono-black:var(--ui-canvas);--mono-surface:var(--ui-surface);--mono-muted:var(--ui-muted);--mono-line:var(--ui-line)}
body::before,.orb{display:none!important}
body :is(h1,h2,h3,h4,h5){font-family:Manrope,"Segoe UI",sans-serif!important;letter-spacing:-.045em;color:var(--ui-ink)}
body :is(h1,h2){line-height:1.15}body :is(p,small,label,li){line-height:1.65}
body :is(button,input,select,textarea){font-family:inherit;font-size:14px}
body button{min-height:42px;border-radius:9px;transition:background 150ms,color 150ms,border-color 150ms,transform 150ms}
body button:active{transform:translateY(1px)}body button:disabled{opacity:.5;cursor:not-allowed}
body :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #aa8933!important;outline-offset:4px}
body :is(.primary,.sage-primary-action){background:var(--ui-ink)!important;color:var(--ui-canvas)!important;border:1px solid var(--ui-ink)!important;box-shadow:none!important;font-weight:750}
body :is(.secondary,.ghost){background:var(--ui-surface)!important;color:var(--ui-ink)!important;border:1px solid var(--ui-line)!important;box-shadow:none!important}
body .ghost{background:transparent!important}body :is(.secondary,.ghost):hover{background:var(--ui-soft)!important}
body :is(input,select,textarea){background:var(--ui-surface)!important;color:var(--ui-ink)!important;border:1px solid var(--ui-line)!important;border-radius:8px!important;padding:12px;box-shadow:none!important}
body :is(input,textarea)::placeholder{color:var(--ui-muted)!important;opacity:1}
body :is(.helper,.eyebrow,.subline,.setting-list,.empty-state){color:var(--ui-muted)!important}
body .eyebrow{font-size:11px;font-weight:750;letter-spacing:.14em;line-height:1.5}
body :is(.pill,.tag,.badge,.status-chip){font-size:11px;border-radius:5px!important;padding:4px 7px;background:var(--ui-soft)!important;color:var(--ui-muted)!important;border:0!important;box-shadow:none!important}
body :is(.pill.good,.pill.intent){background:var(--ui-selected)!important;color:var(--ui-success)!important}
body :is(.panel,.card,.today-card,.account-card,.profile-card,.detail-section,.detail-stat,.match-card,.trust-card,.subscription-card,.lead-map-card,.map-sidebar-card,.subsection,.modal-card,.onboarding-card,.landing-login-panel,.homeowner-projects-drawer,.project-posting-drawer,.discovery-tools,.empty-state,.scope-range-shell){background:var(--ui-surface)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important;box-shadow:none!important}
body :is(.panel,.subsection,.detail-section){border-radius:12px}
body :is(.detail-section,.account-card,.modal-card,.onboarding-card,.trust-card,.subscription-card,.card) :is(p,span,small,strong,h3,h4,label){color:inherit}
body :is(.detail-section,.account-card,.modal-card,.onboarding-card,.trust-card,.subscription-card,.card) :is(p,small){color:var(--ui-muted)}
body :is(.detail-drawer-shell,.detail-drawer-panel,.detail-sheet,#detail-drawer-content){background:var(--ui-canvas)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important}
body :is(.detail-backdrop,.modal-backdrop,.landing-login-backdrop){background:#10150d65!important;backdrop-filter:blur(5px)}
body :is(.detail-drawer .detail-section,.detail-stat-grid,.scope-factors,.setting-list){border-color:var(--ui-line)!important}
body :is(.detail-stat,.scope-factors span,.bid-history-item,.ranked-contractor-row,.comparison-card,.shortlist-card,.today-step,.today-highlight){background:var(--ui-soft)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important;box-shadow:none!important}
body :is(.project-posting-drawer-header,.wizard-nav,.account-actions,.drawer-action-row){background:var(--ui-surface)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important;box-shadow:none!important}
body .drawer-action-row{padding:20px 0;gap:10px}
body .detail-hero{gap:28px}body .detail-hero h2{font-size:32px}body .detail-section{padding:24px}
body .detail-carousel-main{max-height:300px;object-fit:cover;border-radius:12px}
body :is(.detail-hero-copy .price-headline,.detail-hero-copy .market-typical-line){display:none}
body .detail-hero-copy .budget-line{font-size:20px;color:var(--ui-ink)!important}
body :is(.pricing-compare,.pricing-metric,.scope-range-details,.pricing-detail-disclosure,.project-secondary-details){background:var(--ui-surface)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important}
body :is(.scope-range-shell,.pricing-compare) :is(strong,.price-headline,.scope-range-value){color:var(--ui-ink)!important}
body .approved-tabs{display:flex;gap:24px;border-bottom:1px solid var(--ui-line);margin:24px 0;overflow-x:auto;scrollbar-width:thin}
body .approved-tabs button{flex-shrink:0;border:0;border-bottom:2px solid transparent;border-radius:0;padding:13px 0;background:transparent;color:var(--ui-muted);font-size:13px}
body .approved-tabs button[aria-selected="true"]{border-bottom-color:var(--ui-accent);color:var(--ui-ink);font-weight:800}
body [data-ui-panel][hidden]{display:none!important}
body :is(.match-mode,.view-toggle,.discovery-mode-switch,.wizard-progress){background:transparent!important;border-color:var(--ui-line)!important;box-shadow:none!important}
body :is(.match-mode button.active,.view-toggle button.active,.wizard-step.active){background:var(--ui-selected)!important;color:var(--ui-ink)!important;border-color:var(--ui-accent)!important}
body :is(.messages-workspace,.messages-inbox-pane,.chat-active-panel,.chat-message-list,.chat-composer-wrap,.chat-thread-row){background:var(--ui-surface)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important;box-shadow:none!important}
body :is(.chat-thread-row.active,.chat-bubble){background:var(--ui-soft)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important}
body .chat-bubble.mine{background:var(--ui-selected)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important}
body .chat-bubble :is(p,span){color:inherit!important}body .chat-bubble.system{background:transparent!important;color:var(--ui-muted)!important}
body .chat-composer-wrap{border-top:1px solid var(--ui-line);padding:16px}body .chat-message-list{padding:24px}
body :is(.posted-project-summary-row,.ranked-project-feed-item,.deck-card,.homeowner-market-picture){background:var(--ui-surface)!important;color:var(--ui-ink)!important;border:1px solid var(--ui-line)!important;box-shadow:none!important;border-radius:12px!important}
body :is(.ranked-project-feed-item,.posted-project-summary-row,.deck-card) :is(h3,h4,strong,.job-profile-label){color:var(--ui-ink)!important}
body :is(.ranked-project-feed-item,.posted-project-summary-row,.deck-card) :is(p,small,.posted-project-summary-meta){color:var(--ui-muted)!important}
body .posted-project-summary-row{padding:16px 18px!important}body .ranked-project-feed-item{padding:20px!important}
body :is(.filter-note,.ranked-project-signals span,.opportunity-signals span){background:var(--ui-soft)!important;color:var(--ui-muted)!important;border-color:var(--ui-line)!important}
body .dashboard{background:var(--ui-canvas)!important;padding-top:48px}
body .app-screen{border:0!important;background:transparent!important;padding:0!important}
body .section-title{border-bottom:0;margin-bottom:12px}body .section-title h2{font-size:36px;font-weight:800}
body .today-hero{padding:0!important;border:0!important;background:transparent!important;margin-bottom:32px!important}
body #today-title{font-size:40px;max-width:900px}body #today-subtitle{font-size:14px}
body #for-you-feed-card{background:transparent!important;border:0!important;padding:0!important}
body #for-you-feed-card>.card-top,body #sample-feed-helper{display:none!important}
body .homeowner-market-picture{display:grid!important;grid-template-columns:minmax(0,1fr) 34%!important;gap:0!important;padding:28px!important;overflow:hidden}
body .homeowner-market-media{grid-column:2;grid-row:1;max-height:330px!important;border-radius:12px;overflow:hidden}
body .homeowner-market-media :is(img,.project-media){height:100%!important;max-height:330px!important;object-fit:cover}
body .homeowner-market-body{grid-column:1;grid-row:1;padding:0 28px 0 0!important;display:flex!important;flex-direction:column;align-items:flex-start;gap:14px}
body .homeowner-market-head{display:block!important}body .homeowner-market-head h3{font-size:32px!important;margin:12px 0}
body .homeowner-market-head>.pill{display:none}body .homeowner-market-location{font-size:13px!important;margin:0!important}
body .homeowner-market-scope{display:none!important}body .homeowner-market-actions{margin-top:0!important;order:2}
body .homeowner-market-body>.pricing-summary{order:4;width:100%;margin-top:20px}
body .approved-project-progress{display:flex;gap:10px;width:100%;order:3;margin:12px 0;font-size:11px;color:var(--ui-muted)}
body .approved-project-progress span{flex:1;padding-top:12px;border-top:2px solid var(--ui-line)}body .approved-project-progress .current{border-color:var(--ui-accent);color:var(--ui-ink);font-weight:800}
body .approved-other-projects{margin-top:26px;padding:24px;border:1px solid var(--ui-line);background:var(--ui-surface);border-radius:12px}body .approved-other-projects h3{margin:0 0 18px;font-size:18px}
body .approved-other-row{display:flex;align-items:center;gap:18px;padding:14px 0;border-top:1px solid var(--ui-line)}body .approved-other-row>span{margin-left:auto;color:var(--ui-muted);font-size:12px}body .approved-other-row button{border:0;background:transparent;color:var(--ui-ink);text-align:left;font-weight:700;padding:0}
body .for-you-project-tools{margin-top:28px!important;border:0!important;border-top:1px solid var(--ui-line)!important;background:transparent!important;box-shadow:none!important}
body .for-you-secondary-feed{border:0!important;background:transparent!important;margin-top:28px!important}
body #account-summary{grid-template-columns:1fr!important;max-width:900px}body #account-summary .account-card{padding:28px;border-radius:12px}body #account-panel .account-actions{margin-top:24px}
body :is(.topbar,.mobile-nav){background:var(--ui-sidebar)!important;color:var(--ui-ink)!important;box-shadow:none!important;border-color:var(--ui-line)!important}
body .screen-nav-item{font-weight:600;color:var(--ui-muted)!important;border:0!important;background:transparent!important;min-height:48px}
body .screen-nav-item.active{color:var(--ui-ink)!important;background:transparent!important;box-shadow:inset 2px 0 var(--ui-accent)!important}
body .screen-nav-item.active .sage-icon{filter:none!important}body[data-appearance="dark"] .screen-nav-item .sage-icon{filter:invert(.85)!important}
body .brand-home-button{font-size:25px!important;font-weight:800!important;color:var(--ui-ink)!important;letter-spacing:-.06em}
body .topbar :is(.sidebar-avatar,#active-user-name,#active-role-pill,#switch-role){color:var(--ui-ink)!important}
body .topbar .appearance-toggle{background:transparent!important;color:var(--ui-muted)!important;border:0!important;box-shadow:none!important}
body .appearance-switch{background:var(--ui-selected)!important;border-color:var(--ui-line)!important}body .appearance-switch::after{background:var(--ui-ink)!important}
body .mobile-nav-item{color:var(--ui-muted)!important;background:transparent!important}body .mobile-nav-item.active{color:var(--ui-ink)!important;background:var(--ui-selected)!important}
body .local-demo-banner{background:var(--ui-soft)!important;color:var(--ui-muted)!important;border-color:var(--ui-line)!important}
/* Public welcome page, using the same warm light system. */
body.landing-mode{color-scheme:light;background:#fcfcf9!important;--ui-ink:#242820;--ui-muted:#74776e;--ui-canvas:#fcfcf9;--ui-surface:#fff;--ui-soft:#f5f4ee;--ui-line:#e3e4dc;--ui-selected:#faf3d7}
.landing-page{background:var(--ui-canvas)!important;color:var(--ui-ink)!important;padding:0!important;overflow:hidden}
.landing-nav,.landing-section,.landing-hero,.landing-footer{max-width:1280px!important;width:calc(100% - 112px)!important;margin-inline:auto!important}
.landing-nav{height:100px;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;display:flex;align-items:center;gap:32px}
.landing-brand{display:inline-block!important;white-space:nowrap;font:800 26px Manrope,sans-serif!important;letter-spacing:-.07em;text-decoration:none;color:var(--ui-ink)!important}
.landing-nav-links{display:flex;gap:28px;margin:auto}.landing-nav-links a{font-size:13px;font-weight:600;color:var(--ui-muted)!important;text-decoration:none}
.landing-nav-actions{display:flex;gap:12px}.landing-nav-actions button{font-size:12px;min-height:40px;padding:10px 17px}
.landing-nav-actions .landing-open-app{border:0!important}.landing-nav-actions .primary,.landing-cta-row .primary,.landing-final .primary{background:var(--ui-accent)!important;border-color:#ddbd4d!important;color:#242820!important}
.landing-main{display:block!important;gap:0!important}.landing-hero{display:grid!important;grid-template-columns:1.05fr 1fr;align-items:center;gap:70px;padding:58px 0 92px!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;min-height:680px}
.landing-hero::before,.landing-section::before{display:none!important}.landing-hero-copy>.eyebrow{margin-bottom:24px;color:#767869!important}
.landing-hero h1{font-size:clamp(42px,4.7vw,68px)!important;font-weight:800;line-height:1.055!important;letter-spacing:-.065em!important;max-width:650px;margin:0 0 28px!important;color:var(--ui-ink)!important}
.landing-lede{font-size:16px!important;line-height:1.9!important;max-width:460px!important;color:var(--ui-muted)!important;margin:0 0 30px!important}
.landing-cta-row{display:flex;align-items:center;gap:25px;margin:0!important}.landing-cta-row button{font-size:14px;padding:15px 24px!important;min-height:52px}
.landing-cta-row button span,.landing-final button span{margin-left:16px}.landing-text-link{color:var(--ui-ink)!important;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:5px;border:0!important;background:transparent!important;padding:0!important}
.landing-small-proof{font-size:12px;color:var(--ui-muted);margin:18px 0 0}.landing-local{font-size:11px;color:var(--ui-muted);margin:42px 0 0}
.landing-hero-product{position:relative!important;transform:none!important;margin:0;display:block!important;padding:0!important;height:560px;min-height:0!important;align-self:center}
.landing-main-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:15px}
.landing-example{position:absolute;left:-30px;right:36px;bottom:24px;background:#ffffffed;backdrop-filter:blur(14px);border:1px solid #fff;border-radius:12px;padding:24px;box-shadow:0 12px 30px #24282012}
.landing-example .eyebrow{font-size:9px}.landing-example h2{font-size:24px;margin:9px 0}.landing-example p{font-size:12px;color:var(--ui-muted);margin:0 0 18px}.landing-example small{font-size:9px;color:var(--ui-muted)}
.landing-example-progress{display:flex;gap:16px;margin-bottom:12px;font-size:10px;font-weight:650}.landing-example-progress span{border-top:2px solid var(--ui-accent);padding-top:8px;flex:1}
.landing-section{padding:84px 0!important;border:0!important;border-top:1px solid var(--ui-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.landing-section-head{max-width:680px;margin-bottom:42px}.landing-section-head h2,.landing-clarity h2,.landing-contractor h2{font-size:40px!important;line-height:1.17;letter-spacing:-.055em;margin:15px 0 20px}.landing-section-head p,.landing-clarity p,.landing-contractor p{font-size:15px;color:var(--ui-muted);line-height:1.8}
.landing-step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:50px}.landing-step-grid article{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}.landing-step-grid article>span{display:block!important;background:transparent!important;border:0!important;color:#9b8750!important;font-size:12px;width:auto!important;height:auto!important;margin:0 0 28px!important}.landing-step-grid h3{font-size:20px!important;margin:0 0 12px}.landing-step-grid p{font-size:14px!important;color:var(--ui-muted)!important;line-height:1.85}
.landing-clarity{display:grid;grid-template-columns:1fr 1fr;gap:100px}.landing-clarity>div>p{max-width:430px}.landing-principles article{padding:22px 0;border-bottom:1px solid var(--ui-line)}.landing-principles article:first-child{padding-top:0}.landing-principles article:last-child{border:0}.landing-principles h3{font-size:18px;margin:0 0 10px}.landing-principles p{font-size:14px;margin:0}
.landing-contractor{display:grid;grid-template-columns:1fr 1fr;gap:88px;align-items:center}.landing-contractor>img{width:100%;height:400px;object-fit:cover;border-radius:14px}.landing-contractor>div{max-width:440px}.landing-contractor button{margin-top:18px;padding:14px 22px}.landing-contractor button span{margin-left:20px}
.landing-pricing-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:24px;max-width:960px}.landing-price-card{border:1px solid var(--ui-line)!important;background:var(--ui-surface)!important;border-radius:12px!important;padding:32px!important;box-shadow:none!important;transform:none!important}.landing-price-card.featured{background:var(--ui-soft)!important}.landing-price-card h3{font-size:44px!important;margin:20px 0!important}.landing-price-card h3 small{font-size:15px;font-weight:500;color:var(--ui-muted);letter-spacing:0}.landing-price-card p{font-size:14px;color:var(--ui-muted)!important}.landing-price-card ul{padding:0 0 0 18px;margin:25px 0;font-size:14px;line-height:2}.landing-price-card li{margin:8px 0}.landing-price-card button{padding:13px 22px}.landing-payment-note{font-size:12px;color:var(--ui-muted);margin:24px 0 0}
.landing-faq{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px}.landing-faq-grid{display:block!important}.landing-faq-grid details{border:0!important;border-bottom:1px solid var(--ui-line)!important;background:transparent!important;padding:22px 0!important;border-radius:0!important;box-shadow:none!important}.landing-faq-grid summary{font-size:15px;font-weight:700;color:var(--ui-ink)!important;cursor:pointer}.landing-faq-grid p{font-size:14px;line-height:1.8;color:var(--ui-muted)!important;max-width:580px}
.landing-final{background:#f4f1e6;text-align:center;padding:76px 24px 66px}.landing-final h2{font-size:44px;line-height:1.18;margin:18px 0 28px}.landing-final button.primary{padding:15px 24px}.landing-final p:last-child{font-size:12px;color:var(--ui-muted);margin-top:22px}
.landing-footer{padding:42px 0!important;display:flex;align-items:center;justify-content:space-between;border:0!important;background:transparent!important}.landing-footer p{font-size:12px;color:var(--ui-muted)}.landing-footer nav{display:flex;gap:22px}.landing-footer a{font-size:12px;color:var(--ui-muted)}
@media(min-width:900px){body:not(.landing-mode) .topbar{width:246px!important;padding:40px 22px 24px!important}body:not(.landing-mode) .dashboard{margin-left:246px!important;width:calc(100% - 246px)!important;padding:52px 46px!important;max-width:none!important}body .screen-nav{gap:10px!important}.approved-tabs{position:relative}body .detail-drawer .detail-sheet{max-width:1100px;margin:auto}}
@media(max-width:1100px){.landing-nav,.landing-section,.landing-hero,.landing-footer{width:calc(100% - 64px)!important}.landing-nav-links{gap:16px}.landing-hero{gap:40px}.landing-hero-product{height:490px}.landing-example{left:-16px;right:18px}.landing-clarity,.landing-contractor,.landing-faq{gap:48px}body .homeowner-market-picture{grid-template-columns:minmax(0,1fr) 30%!important;padding:22px!important}body .homeowner-market-head h3{font-size:26px!important}}
@media(max-width:899px){body .dashboard{padding:28px 20px 110px!important}body .topbar{padding:16px 20px!important}body #today-title,body .section-title h2{font-size:30px!important}body .today-hero{gap:20px!important;flex-wrap:wrap}body .homeowner-market-picture{grid-template-columns:1fr!important;padding:22px!important}body .homeowner-market-media{grid-column:1;grid-row:2;height:200px!important;margin-top:20px}body .homeowner-market-body{grid-column:1;grid-row:1;padding:0!important}body .detail-hero{grid-template-columns:1fr!important}body .detail-carousel-main{max-height:220px}body .detail-stat-grid{grid-template-columns:repeat(2,1fr)!important}body .detail-section{padding:20px}body .approved-tabs{gap:20px;margin:18px 0}body .approved-tabs button{font-size:12px}body .mobile-nav{padding-bottom:env(safe-area-inset-bottom);gap:0!important}.landing-nav-links{display:none}.landing-nav-actions{margin-left:auto}.landing-hero{grid-template-columns:1fr 1fr;gap:25px;padding-top:30px!important}.landing-hero h1{font-size:45px!important}.landing-example{padding:18px}.landing-step-grid{gap:24px}.landing-section-head h2,.landing-clarity h2,.landing-contractor h2{font-size:34px!important}}
@media(max-width:650px){.landing-nav,.landing-section,.landing-hero,.landing-footer{width:calc(100% - 40px)!important}.landing-nav{height:78px;gap:12px}.landing-brand{font-size:23px!important}.landing-nav-actions{gap:8px}.landing-nav-actions>.primary{display:none}.landing-hero{grid-template-columns:1fr!important;gap:35px!important;padding:36px 0 55px!important}.landing-hero h1{font-size:48px!important}.landing-lede{font-size:15px!important;margin-bottom:25px!important}.landing-local{margin-top:25px}.landing-hero-product{height:450px;width:100%;margin-top:8px}.landing-example{left:12px;right:12px;bottom:16px;padding:20px}.landing-example h2{font-size:23px}.landing-section{padding:48px 0!important}.landing-section-head{margin-bottom:30px}.landing-section-head h2,.landing-clarity h2,.landing-contractor h2{font-size:32px!important}.landing-step-grid,.landing-clarity,.landing-contractor,.landing-pricing-grid,.landing-faq{grid-template-columns:1fr!important;gap:30px}.landing-step-grid article>span{margin-bottom:12px!important}.landing-step-grid article{padding-bottom:15px!important}.landing-contractor>img{height:280px}.landing-price-card{padding:26px!important}.landing-final{padding:54px 20px}.landing-final h2{font-size:34px}.landing-footer{display:block;padding:32px 0!important}.landing-footer nav{flex-wrap:wrap;margin-top:24px;gap:20px}body .today-actions{display:flex;flex-wrap:wrap}body .homeowner-market-head h3{font-size:25px!important}body .homeowner-market-actions{flex-wrap:wrap}body .approved-other-projects{padding:18px}body .approved-other-row{gap:12px}body .detail-drawer .detail-sheet{padding:16px}body .detail-hero h2{font-size:28px}body .drawer-action-row{flex-wrap:wrap}body #account-summary .account-card{padding:20px}body .account-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){body *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Ensure old per-section white foreground rules cannot leak into the welcome page. */
body.landing-mode .landing-page :is(h1,h2,h3,h4,li,strong){color:var(--ui-ink)!important}
body.landing-mode .landing-page :is(.landing-step-grid article,.landing-principles article,.landing-footer){box-shadow:none!important;border-radius:0!important}
body.landing-mode .landing-page .landing-price-card li{color:var(--ui-ink)!important}
body .homeowner-market-picture>.scope-range-shell{grid-column:1/-1;display:grid!important;grid-template-columns:1fr 1.3fr 1fr;align-items:start;gap:24px;max-width:none!important;width:100%;border:0!important;border-top:1px solid var(--ui-line)!important;border-radius:0!important;padding:22px 0 0!important;margin-top:26px!important}
body .homeowner-market-picture>.scope-range-shell .scope-range-band{display:none}
body .homeowner-market-picture>.scope-range-shell .scope-range-heading{grid-column:2;grid-row:1;display:block!important;padding-left:24px;border-left:1px solid var(--ui-line)}
body .homeowner-market-picture>.scope-range-shell .scope-range-budget{grid-column:1;grid-row:1;display:flex;align-items:flex-start;flex-direction:column;background:transparent!important;border:0!important;padding:0!important}
body .homeowner-market-picture>.scope-range-shell .scope-range-details{grid-column:3;grid-row:1;border:0!important;background:transparent!important;padding:0!important}
body .homeowner-market-picture>.scope-range-shell .scope-range-heading strong,body .homeowner-market-picture>.scope-range-shell .scope-range-budget strong{font-size:24px!important;line-height:1.5}
body .homeowner-market-picture>.scope-range-shell :is(.scope-range-heading>div>span,.scope-range-budget>span){font-size:11px!important;text-transform:none;letter-spacing:0;color:var(--ui-muted)!important}
body .homeowner-market-picture>.scope-range-shell .scope-range-confidence{font-size:9px;margin-top:8px;display:inline-flex}
body .homeowner-market-picture>.scope-range-shell .scope-range-details summary{font-size:12px;padding:4px 0}
body .homeowner-market-picture>.scope-range-shell .scope-range-details[open]{grid-column:1/-1;grid-row:2}
body .homeowner-market-media{align-self:start!important;height:290px!important;min-height:0!important}.homeowner-market-media .project-media{min-height:0!important}
body .homeowner-market-picture .homeowner-market-media>div{height:100%!important;min-height:0!important}
body .approved-detail-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px!important;padding:26px!important}
body .approved-detail-workspace>.detail-hero-copy{grid-column:1/-1;padding:0!important;background:transparent!important}
body .approved-detail-workspace .detail-hero-copy h2{font-size:34px!important;margin:10px 0!important}
body .approved-detail-main{min-width:0}.approved-detail-aside{min-width:0;border-left:1px solid var(--ui-line);padding-left:24px}
body .approved-detail-aside>h3{font-size:15px;margin:0 0 20px}
body .approved-detail-aside :is(.project-media,.detail-carousel-main,.detail-photo-rail){width:100%;max-height:220px;min-height:0!important;object-fit:cover}
body .approved-detail-aside .market-estimate-detail{padding:20px 0!important;border:0!important;background:transparent!important}
body .approved-detail-aside .market-estimate-detail>.card-top{display:none}
body .approved-detail-aside .scope-range-shell{padding:0!important;border:0!important;background:transparent!important}
body .approved-detail-aside .scope-range-heading{display:block!important}.approved-detail-aside .scope-range-confidence{margin-top:12px}.approved-detail-aside .scope-range-heading strong{font-size:24px!important}
body .approved-detail-main>.approved-tabs{margin-top:0}
body .approved-detail-main .detail-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:0 0 24px}
body .approved-detail-main .detail-section{border:0!important;border-bottom:1px solid var(--ui-line)!important;border-radius:0;padding:22px 0!important;background:transparent!important}
body .approved-detail-main :is(.detail-stat,.ranked-contractor-row,.bid-history-item){border-radius:8px;padding:14px}
body .approved-detail-main .projected-outcomes-card{font-size:13px}
@media(max-width:899px){body .approved-detail-workspace{grid-template-columns:1fr;padding:20px!important;gap:24px!important}body .approved-detail-aside{border-left:0;border-top:1px solid var(--ui-line);padding:24px 0 0}body .homeowner-market-picture>.scope-range-shell{grid-template-columns:1fr 1fr;gap:16px}body .homeowner-market-picture>.scope-range-shell .scope-range-details{grid-column:1/-1;grid-row:2}body .homeowner-market-picture>.scope-range-shell .scope-range-heading{padding-left:16px}body .homeowner-market-picture>.scope-range-shell .scope-range-heading strong,body .homeowner-market-picture>.scope-range-shell .scope-range-budget strong{font-size:20px!important}body .homeowner-market-media{height:200px!important}}
/* Detail workspaces need room for the same two-column hierarchy as the approved design. */
body .detail-drawer>.drawer-panel{width:min(1180px,calc(100vw - 32px));max-width:calc(100vw - 32px);background:var(--ui-canvas)!important;color:var(--ui-ink)!important;z-index:1;box-shadow:var(--ui-shadow);animation:none}
body .drawer-backdrop{background:#10150d65!important;backdrop-filter:blur(5px);transform:none!important}
body .approved-detail-main .detail-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body .approved-detail-aside .scope-range-heading{display:block!important}
body .approved-detail-aside .scope-range-budget{display:flex!important}
@media(max-width:899px){body .detail-drawer>.drawer-panel{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}body .approved-detail-main .detail-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
body .approved-detail-aside .detail-carousel{height:auto!important;background:transparent!important;gap:10px}
body .approved-detail-aside .detail-carousel-main-frame{height:220px!important;min-height:0!important;background:var(--ui-soft)!important;border-radius:12px;overflow:hidden}
body .approved-detail-aside .detail-carousel-main{height:100%!important;width:100%;object-fit:cover}
body .detail-metric{background:var(--ui-soft)!important;border:1px solid var(--ui-line)!important;border-radius:10px;padding:16px;min-width:0}
body .detail-metric>span{color:var(--ui-muted)!important;font-size:11px}
body .detail-metric>strong{color:var(--ui-ink)!important;font-size:16px;line-height:1.5}
body .projected-outcome-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
body .outcome-band-list>span{background:var(--ui-soft)!important;color:var(--ui-muted)!important;border-color:var(--ui-line)!important}
body .scope-range-heading>div>span,body .scope-range-budget>span{color:var(--ui-muted)!important}
body #contractor-project-filters{display:block!important;margin-bottom:20px}
body #contractor-discovery .lead-feed-first{padding:0!important;background:transparent!important;border:0!important}
body #contractor-discovery .lead-feed-first>.helper{display:none}
body .discovery-momentum>summary{background:var(--ui-soft)!important;color:var(--ui-ink)!important;border:1px solid var(--ui-line);border-radius:8px}
body .approved-feed-workspace{display:grid!important;grid-template-columns:280px minmax(0,1fr);gap:0 28px;align-items:start}
body .approved-project-list{grid-column:1;grid-row:1/5;display:grid;gap:12px;padding-right:24px;border-right:1px solid var(--ui-line)}
body .approved-project-choice{display:grid;text-align:left;gap:8px;padding:20px;background:var(--ui-surface);border:1px solid var(--ui-line);color:var(--ui-ink)}
body .approved-project-choice[aria-pressed="true"]{background:var(--ui-selected);border-color:#b79a45}
body .approved-project-choice>span{color:var(--ui-muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}
body .approved-project-choice>strong{font-size:17px;line-height:1.45}
body .approved-project-choice>small{font-size:12px;color:var(--ui-muted)}
body .approved-feed-workspace>.project-deck-stack,body .approved-feed-workspace>.project-deck-actions,body .approved-feed-workspace>.deck-queue-note{grid-column:2;min-width:0}
body .approved-feed-workspace>.ranked-project-feed{display:none!important}
body .approved-feed-workspace .ranked-project-hero{display:flex!important;flex-direction:column;padding:24px!important;border:1px solid var(--ui-line)!important;border-radius:12px;background:var(--ui-surface)!important}
body .approved-feed-workspace .ranked-project-hero .project-media{height:220px!important;min-height:0!important;width:100%;order:2;margin-top:20px}
body .approved-feed-workspace .ranked-project-hero .project-cover,body .approved-feed-workspace .ranked-project-hero .project-media-fallback{height:220px!important;min-height:0!important;max-height:220px!important;border-radius:10px}
body .approved-feed-workspace .ranked-project-body{padding:0!important}
body .approved-feed-workspace .ranked-project-body h4{font-size:30px!important;line-height:1.2}
body .approved-feed-workspace .ranked-project-signals{display:grid!important;grid-template-columns:1fr 1fr!important;padding:0!important}
body .approved-feed-workspace .ranked-project-signals>span{display:block!important;padding:10px!important;background:var(--ui-soft)!important;color:var(--ui-ink)!important;border:0!important}
body .approved-feed-workspace .ranked-project-signals strong{display:block!important;color:var(--ui-muted)!important;font-size:10px!important}
body .approved-feed-workspace .scope-range-budget{display:flex!important}
body .approved-feed-workspace .scope-range-details{display:block!important}
body .approved-feed-workspace .scope-range-band{display:none!important}
body .approved-feed-workspace .scope-range-heading>div>span{font-size:11px!important}
body .approved-feed-workspace .scope-range-heading>div>span::after{display:none!important}
body .approved-feed-workspace .project-deck-actions{display:flex!important;flex-wrap:wrap;padding:18px 0!important;gap:8px!important}
body .approved-feed-workspace .project-deck-actions>button{min-height:44px!important;padding:12px 18px!important;flex:1}
body .contractor-discovery-tools>summary{display:none}
body .contractor-discovery-tools,body .filter-panel,body .saved-searches{background:var(--ui-surface)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important;box-shadow:none!important}
@media(max-width:1100px){body .approved-feed-workspace{grid-template-columns:220px minmax(0,1fr);gap:20px}}
@media(max-width:899px){body .approved-feed-workspace{display:block!important}body .approved-project-list{display:flex;overflow-x:auto;padding:0 0 20px;border:0}body .approved-project-list>.eyebrow{display:none}body .approved-project-choice{min-width:230px}body .approved-feed-workspace .ranked-project-hero{padding:18px!important}}
body .chat-bubble :is(time,small){color:var(--ui-muted)!important;background:transparent!important}
body .chat-bubble.system :is(p,time){background:transparent!important;color:var(--ui-muted)!important}
body #discovery-panel>.section-title{margin-bottom:24px!important;padding-bottom:20px!important}
body #discovery-panel .approved-tabs{margin-top:0!important}
body .approved-feed-workspace .project-deck-actions{margin-left:0!important;width:100%!important}
body .approved-feed-workspace .project-deck-actions>button{max-width:none!important}
body #inbox-panel .match-grid{display:block!important}
body .approved-message-filters{margin:0 16px!important;gap:22px;padding:0!important;flex-shrink:0}
body .approved-message-filters button[aria-pressed="true"]{color:var(--ui-ink);border-bottom-color:var(--ui-accent);font-weight:800}
body .chat-thread[hidden],body .empty-state[hidden]{display:none!important}
body .inbox-column{background:transparent!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important}
@media(max-width:899px){body:not(.landing-mode) .mobile-nav{grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;border-radius:12px!important}body:not(.landing-mode) .mobile-nav-item{min-width:0!important;padding:10px 2px!important}body:not(.landing-mode) .mobile-nav-item .nav-label{font-size:10px!important}body #discovery-panel{padding:0!important;border:0!important;background:transparent!important}body #discovery-panel>.section-title{display:flex!important}body #discovery-panel .approved-tabs{gap:20px}}
body .project-posting-drawer h2{font-size:36px!important;line-height:1.2!important}
body :is(.drawer-close,.project-posting-drawer-close){color:var(--ui-ink)!important;background:var(--ui-surface)!important;border-color:var(--ui-line)!important}
body :is(.project-posting-drawer,.onboarding-card) a{color:var(--ui-ink)!important;text-decoration:underline;text-underline-offset:3px}
body input:is([type="checkbox"],[type="radio"]){padding:0!important;accent-color:#8b7230}
@media(max-width:650px){body .project-posting-drawer h2{font-size:28px!important}}
body[data-appearance="light"]:not(.landing-mode) .mobile-nav-item.active .sage-icon{filter:none!important}
body[data-appearance="dark"]:not(.landing-mode) .mobile-nav-item.active .sage-icon{filter:invert(1)!important}

body{--ui-canvas:#fdfdfd;--ui-surface:#fff;--ui-soft:#f5f5f5;--ui-sidebar:#f5f5f5;--ui-ink:#242424;--ui-muted:#747474;--ui-line:#e3e3e3;--ui-success:#585858;--ui-shadow:0 20px 65px #25252518}
body[data-appearance="dark"]:not(.landing-mode){--ui-canvas:#141414;--ui-surface:#1d1d1d;--ui-soft:#252525;--ui-sidebar:#202020;--ui-ink:#f3f3f3;--ui-muted:#adadad;--ui-line:#373737;--ui-success:#b7b7b7}

body.landing-mode{background:#fdfdfd!important;--ui-canvas:#fdfdfd;--ui-ink:#242424;--ui-muted:#747474;--ui-soft:#f5f5f5;--ui-line:#e3e3e3}
