/* White and forest theme used throughout the Home Braine prototype. */
html{--demo-outer:#fff;--demo-page:#fff;--demo-sidebar:#fff;--demo-header:#fff;--demo-card:#fff;--demo-soft:#f5f7f5;--demo-border:#e0e5e1;--demo-ink:#193027;--demo-muted:#6f7b75;--demo-green:#1f3a2e;--demo-green-2:#294b3c;--demo-pink:#f5c7d6;--demo-pink-strong:#e8759f;--demo-radius:13px;--demo-shadow:0 14px 40px rgba(26,58,46,.08);}
html[data-demo-theme="warm"]{--demo-outer:#f6f1e8;--demo-page:#faf8f4;--demo-sidebar:#fbf8f1;--demo-header:#fffdf8;--demo-card:#fffdfa;--demo-soft:#f3eee5;--demo-border:#e5ddd0;--demo-ink:#393d36;--demo-muted:#7e7a70;--demo-green:#354b3c;--demo-green-2:#526958;--demo-pink:#edc3c0;--demo-pink-strong:#c9888b;--demo-radius:10px;--demo-shadow:0 12px 34px rgba(70,59,39,.07);}
html[data-demo-theme="sage"]{--demo-outer:#edf3ef;--demo-page:#f4f8f5;--demo-sidebar:#f5f8f5;--demo-header:#fff;--demo-card:#fff;--demo-soft:#eaf1ec;--demo-border:#d6e2d9;--demo-ink:#233b30;--demo-muted:#718078;--demo-green:#2c4f3e;--demo-green-2:#486b58;--demo-pink:#f0c6c5;--demo-pink-strong:#d58f97;--demo-radius:15px;--demo-shadow:0 10px 32px rgba(31,68,49,.07);}
html[data-demo-theme="blush"]{--demo-outer:#f6eeee;--demo-page:#fcf8f7;--demo-sidebar:#fffafa;--demo-header:#fffdfc;--demo-card:#fff;--demo-soft:#f8eeee;--demo-border:#eadcda;--demo-ink:#2d3b34;--demo-muted:#7c7774;--demo-green:#244638;--demo-green-2:#466653;--demo-pink:#f3c9c8;--demo-pink-strong:#cc8a8d;--demo-radius:14px;--demo-shadow:0 13px 36px rgba(71,46,45,.07);}
html[data-demo-theme="slate"]{--demo-outer:#eef1f2;--demo-page:#f6f8f8;--demo-sidebar:#f9fbfb;--demo-header:#fff;--demo-card:#fff;--demo-soft:#edf1f0;--demo-border:#dce3e3;--demo-ink:#273732;--demo-muted:#708078;--demo-green:#233f34;--demo-green-2:#466256;--demo-pink:#ecc4c5;--demo-pink-strong:#c8888d;--demo-radius:8px;--demo-shadow:0 8px 26px rgba(36,54,46,.06);}
html[data-demo-theme]{--pine:var(--demo-green);--pine-2:var(--demo-green-2);--pink:var(--demo-pink);--pink-strong:var(--demo-pink-strong);--paper:var(--demo-header);--white:var(--demo-card);--ink:var(--demo-ink);--muted:var(--demo-muted);--line:var(--demo-border);--soft:var(--demo-soft);--shadow:var(--demo-shadow);}
html[data-demo-theme] body,html[data-demo-theme] #product-view{background:var(--demo-page)!important;color:var(--demo-ink)}
html[data-demo-theme] .product-header{background:var(--demo-header)!important;border-bottom:1px solid var(--demo-border)!important}
html[data-demo-theme] .dashboard-shell:not(.mode-agent)>aside{background:var(--demo-sidebar)!important;border-color:var(--demo-border)!important}
html[data-demo-theme] .mode-agent.dashboard-shell>aside{background:var(--demo-sidebar)!important;color:var(--demo-ink)!important;border-right:1px solid var(--demo-border)!important}
html[data-demo-theme] .mode-agent .side-property-card,html[data-demo-theme] .mode-agent .side-property-item,html[data-demo-theme] .mode-agent .side-workflow button{background:transparent!important;border-color:var(--demo-border)!important;color:var(--demo-ink)!important}
html[data-demo-theme] .mode-agent .side-brand b,html[data-demo-theme] .mode-agent .side-property-card *,html[data-demo-theme] .mode-agent .side-property-item *,html[data-demo-theme] .mode-agent .side-workflow b,html[data-demo-theme] .mode-agent .side-workflow small,html[data-demo-theme] .mode-agent .side-home-heading button,html[data-demo-theme] .mode-agent .homeowner-folder summary,html[data-demo-theme] .mode-agent .side-home-sections button,html[data-demo-theme] .mode-agent .side-ai-group button{color:var(--demo-ink)!important}
html[data-demo-theme] .mode-agent .side-workflow button.active,html[data-demo-theme] .mode-agent .side-home-sections button.selected,html[data-demo-theme] .mode-agent .side-ai-group button.selected{background:var(--demo-soft)!important;color:var(--demo-green)!important}
html[data-demo-theme] .mode-agent .side-brand .side-add-property{color:var(--demo-green)!important}
html[data-demo-theme] .mode-agent .side-brand img,html[data-demo-theme] .product-brand .logo.small,html[data-demo-theme] .product-header .logo{background:var(--demo-green)!important;border-radius:9px!important;padding:3px}
html[data-demo-theme] .mode-agent .dashboard-main,html[data-demo-theme] .dashboard-main{background:var(--demo-page)!important}
html[data-demo-theme] .dashboard-top,html[data-demo-theme] .dashboard-panel,html[data-demo-theme] .panel:not(#panel-start){color:var(--demo-ink)}
html[data-demo-theme] .dashboard-top h2,html[data-demo-theme] .dashboard-main h1,html[data-demo-theme] .dashboard-main h2,html[data-demo-theme] .dashboard-main h3{color:var(--demo-ink)}
html[data-demo-theme] #dashboard-shell.basics-fullpage>.dashboard-main{background:var(--demo-page)!important}
html[data-demo-theme] #hb-green-frame{background:var(--demo-outer)!important;border:1px solid var(--demo-border);border-radius:var(--demo-radius)!important;padding:10px!important}
html[data-demo-theme] #hb-welcome-tabs{background:var(--demo-card)!important;color:var(--demo-ink)!important;border:1px solid var(--demo-border)!important;border-radius:var(--demo-radius)!important;box-shadow:var(--demo-shadow)!important}
html[data-demo-theme] #hb-welcome-tabs .welcome,html[data-demo-theme] #hb-welcome-tabs .hb-page-content,html[data-demo-theme] #hb-welcome-tabs .tabs,html[data-demo-theme] #hb-welcome-tabs .simple-basics,html[data-demo-theme] #hb-welcome-tabs .seller-collaboration{background:var(--demo-card)!important;color:var(--demo-ink)!important}
html[data-demo-theme] #hb-welcome-tabs .tabs button[aria-selected="true"]{background:var(--demo-soft)!important;border-color:var(--demo-border)!important;color:var(--demo-green)!important}
html[data-demo-theme] #hb-welcome-tabs .tabs button,html[data-demo-theme] #hb-welcome-tabs button{border-color:var(--demo-border)!important;border-radius:var(--demo-radius)!important}
html[data-demo-theme] #hb-welcome-tabs .simple-basics .sb-chat-proposal,html[data-demo-theme] #hb-welcome-tabs .simple-basics .sb-detail,html[data-demo-theme] #hb-welcome-tabs .simple-basics .sb-overview,html[data-demo-theme] #hb-welcome-tabs .provider,html[data-demo-theme] #hb-welcome-tabs .question-card{background:var(--demo-card)!important;border-color:var(--demo-border)!important;color:var(--demo-ink)!important;border-radius:var(--demo-radius)!important}
html[data-demo-theme] .dashboard-shell .side-address,html[data-demo-theme] #dashboard-nav{border-color:var(--demo-border)!important}
html[data-demo-theme] .dashboard-shell aside nav button.selected,html[data-demo-theme] .dashboard-shell aside nav button[aria-current="page"]{background:var(--demo-soft)!important;color:var(--demo-green)!important}
html[data-demo-theme] .dashboard-shell .invite-button,html[data-demo-theme] .dashboard-shell .side-add-property{border-color:var(--demo-border)!important;color:var(--demo-green)!important}
html[data-demo-theme] .dashboard-main :is(.attention-row article,.home-grid button,.story-preview,.handoff-panel>div span,.agent-output,.agent-path,.presentation-preview,.campaign-preview,.handoff-sheet){border-color:var(--demo-border)!important;border-radius:var(--demo-radius)!important;box-shadow:var(--demo-shadow)}
html[data-demo-theme] .dashboard-main :is(.attention-row article,.home-grid button,.story-preview,.handoff-panel>div span,.agent-output,.agent-path,.presentation-preview,.campaign-preview,.handoff-sheet){background-color:var(--demo-card)}
html[data-demo-theme] .dashboard-main :is(.section-row,.home-record-header,.homeowner-header,.records-workspace>header,.handoff-copy>header){border-color:var(--demo-border)!important}
html[data-demo-theme] .dashboard-main :is(.ask-card,.bottom-ai-card,.agent-ai-prompt,.simple-basics .sb-composer){border-color:var(--demo-border)!important;border-radius:var(--demo-radius)!important;box-shadow:var(--demo-shadow)}
html[data-demo-theme] .dashboard-main :is(button.primary,button.continue-button,.continue-button,.ask-card button,.agent-ai-prompt button[type="submit"]){background:var(--demo-green)!important;border-color:var(--demo-green)!important;color:#fff!important}
html[data-demo-theme] .dashboard-main :is(input,textarea,select){border-color:var(--demo-border)!important;background:var(--demo-card)!important;color:var(--demo-ink)!important}
html[data-demo-theme] .dashboard-main .overline,html[data-demo-theme] .dashboard-main .section-row span{color:var(--demo-muted)!important}
html[data-demo-theme] .dashboard-main .attention-row article:first-child{background:var(--demo-soft)!important;border-color:var(--demo-border)!important}
html[data-demo-theme] #found-screen{background:var(--demo-page)!important;color:var(--demo-ink)!important}
html[data-demo-theme] #found-screen .orb-heading h2,html[data-demo-theme] #found-screen .orb-heading .preview-address,html[data-demo-theme] #found-screen .value-half h3,html[data-demo-theme] #found-screen .value-half button{color:var(--demo-ink)!important}
html[data-demo-theme] #found-screen .value-brain,html[data-demo-theme] #found-screen .property-orb{background:var(--demo-card)!important;color:var(--demo-ink)!important;border:1px solid var(--demo-border)!important;box-shadow:var(--demo-shadow)!important}
html[data-demo-theme] #found-screen .value-half button{border-color:var(--demo-border)!important}
html[data-demo-theme] #found-screen .orb-signal,html[data-demo-theme] #found-screen .orb-heading>p,html[data-demo-theme] #found-screen .orb-footer>p{color:var(--demo-muted)!important}
html[data-demo-theme] .scanner-logo .logo{background:var(--demo-green)!important}
html[data-demo-theme] .product-brand,html[data-demo-theme] .exit-demo{color:var(--demo-ink)}
.demo-visual-options{position:sticky;top:66px;z-index:54;display:flex;align-items:center;gap:12px;min-height:48px;padding:7px clamp(14px,3vw,30px);background:var(--demo-header);border-bottom:1px solid var(--demo-border);box-shadow:0 4px 13px rgba(30,53,41,.035)}
.demo-visual-label{flex:none;color:var(--demo-muted);font-size:9px;font-weight:700;letter-spacing:.13em}
.demo-visual-buttons{display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin}
.demo-visual-buttons button{flex:none;padding:7px 10px;border:1px solid var(--demo-border);border-radius:999px;background:var(--demo-card);color:var(--demo-ink);font:600 10px var(--sans,system-ui,sans-serif);cursor:pointer;white-space:nowrap}
.demo-visual-buttons button[aria-selected="true"]{border-color:var(--demo-green);background:var(--demo-green);color:#fff}
.demo-visual-buttons button:focus-visible{outline:2px solid var(--demo-pink-strong);outline-offset:2px}
@media(max-width:650px){.demo-visual-options{top:60px;display:block;padding:7px 10px 8px}.demo-visual-label{display:block;margin:0 0 5px}.demo-visual-buttons{gap:5px}.demo-visual-buttons button{padding:6px 8px;font-size:9px}}
/* Query-only gallery that exposes all five clickable theme choices. */
.visual-demo-gallery{min-height:100vh;padding:clamp(22px,5vw,64px);background:#f7f9f7;color:#193027;font-family:var(--sans,system-ui,sans-serif)}
.demo-gallery-heading{display:flex;align-items:center;gap:22px;max-width:1120px;margin:0 auto 34px}
.demo-gallery-heading img{width:78px;height:78px;padding:13px;border-radius:20px;background:#1f3a2e;object-fit:contain}
.demo-gallery-heading p,.demo-choice-copy>p{margin:0 0 7px;color:#738078;font-size:10px;font-weight:700;letter-spacing:.14em}
.demo-gallery-heading h1{margin:0 0 8px;font:500 clamp(25px,4vw,42px)/1.12 var(--serif,Georgia,serif);color:#193027}
.demo-gallery-heading span,.demo-choice-copy>span{color:#6f7b75;font-size:14px;line-height:1.5}
.demo-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:17px;max-width:1120px;margin:auto}
.demo-choice{overflow:hidden;border:1px solid #dde4df;border-radius:16px;background:#fff;box-shadow:0 14px 40px rgba(26,58,46,.07)}
.demo-mini-screen{height:126px;padding:9px;background:var(--demo-page);border-bottom:1px solid var(--demo-border)}
.demo-mini-top{height:16px;margin-bottom:8px;border-radius:5px;background:var(--demo-header);border:1px solid var(--demo-border)}
.demo-mini-body{display:flex;height:84px;gap:8px}
.demo-mini-side{width:27%;border-radius:5px;background:var(--demo-sidebar);border:1px solid var(--demo-border)}
.demo-mini-content{display:grid;flex:1;grid-template-columns:repeat(3,1fr);gap:7px;padding:5px;border-radius:5px;background:var(--demo-page)}
.demo-mini-content i{border-radius:5px;background:var(--demo-card);border:1px solid var(--demo-border)}
.demo-choice-copy{padding:17px 18px 19px}
.demo-choice-copy h2{margin:0 0 6px;color:var(--demo-ink);font:600 19px var(--sans,system-ui,sans-serif)}
.demo-choice-copy a{display:flex;justify-content:space-between;align-items:center;margin-top:17px;padding:11px 13px;border-radius:9px;background:var(--demo-green);color:#fff;text-decoration:none;font-size:13px;font-weight:600}
.demo-choice-copy a b{font-size:19px;font-weight:400}
.demo-gallery-home{display:block;width:max-content;margin:28px auto 0;color:#53655b;font-size:13px}
.demo-choice[data-gallery-theme="warm"]{--demo-page:#faf8f4;--demo-header:#fffdf8;--demo-sidebar:#fbf8f1;--demo-card:#fffdfa;--demo-border:#e5ddd0;--demo-ink:#393d36;--demo-green:#354b3c}
.demo-choice[data-gallery-theme="sage"]{--demo-page:#f4f8f5;--demo-header:#fff;--demo-sidebar:#f5f8f5;--demo-card:#fff;--demo-border:#d6e2d9;--demo-ink:#233b30;--demo-green:#2c4f3e}
.demo-choice[data-gallery-theme="blush"]{--demo-page:#fcf8f7;--demo-header:#fffdfc;--demo-sidebar:#fffafa;--demo-card:#fff;--demo-border:#eadcda;--demo-ink:#2d3b34;--demo-green:#244638}
.demo-choice[data-gallery-theme="slate"]{--demo-page:#f6f8f8;--demo-header:#fff;--demo-sidebar:#f9fbfb;--demo-card:#fff;--demo-border:#dce3e3;--demo-ink:#273732;--demo-green:#233f34}
@media(max-width:560px){.visual-demo-gallery{padding:22px 15px}.demo-gallery-heading{align-items:flex-start;gap:13px;margin-bottom:22px}.demo-gallery-heading img{width:56px;height:56px;padding:9px;border-radius:15px}.demo-gallery-heading span{font-size:12px}}

/* Keep the original forest-green navigation bar above the white Option 2 screen. */
html[data-demo-theme="one"] #product-view .product-header{background:#1f3a2e!important;border-bottom:1px solid #1f3a2e!important}
html[data-demo-theme="one"] #product-view .product-brand,html[data-demo-theme="one"] #product-view .agent-menu-toggle{color:#fff!important}
html[data-demo-theme="one"] #product-view .exit-demo{color:#e0e9e3!important}

/* Keep the current address visibly selected on every prototype theme. */
html[data-demo-theme] .mode-agent .side-property-row>.side-property-button.active{background:var(--demo-soft)!important;border:1px solid var(--demo-green)!important;color:var(--demo-green)!important;box-shadow:inset 3px 0 var(--demo-green)!important}
html[data-demo-theme] .mode-agent .side-property-row>.side-property-button.active small{color:var(--demo-muted)!important}


/* Tablet widths sit between the five-column desktop row and the three-column phone layout. */
@media (min-width:651px) and (max-width:900px){
 #dashboard-shell.basics-fullpage #hb-welcome-tabs .tabs{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:center}
}

/* Keep the existing navigation and flow comfortable to tap on small screens. */
@media(max-width:650px){
 #product-view .product-header{gap:8px;padding-inline:10px}
 #product-view .agent-menu-toggle{box-sizing:border-box;display:grid!important;place-items:center;width:44px;height:44px;min-width:44px;padding:0;font-size:20px;line-height:1}
 #product-view .product-brand{box-sizing:border-box;min-width:0;min-height:44px;gap:6px;font-size:11px;letter-spacing:.1em}
 #product-view .product-brand .logo.small{width:30px;height:30px;flex:none}
 #product-view .exit-demo{box-sizing:border-box;min-height:44px;padding:0 4px;font-size:12px;white-space:nowrap}
 #product-view #hb-welcome-tabs :is(input,select,textarea){font-size:16px!important}
 #dashboard-shell.basics-fullpage #hb-welcome-tabs .hb-page-content{overflow:visible}
 #dashboard-shell.basics-fullpage #hb-welcome-tabs .tabs{position:sticky;top:60px;z-index:54;padding-top:8px;padding-bottom:8px;background:#fff!important;box-shadow:0 5px 12px rgba(25,48,39,.07)}
 #dashboard-shell.basics-fullpage #hb-welcome-tabs .tabs button{min-height:66px;padding:8px 5px;font-size:12px;line-height:1.2}
 #dashboard-shell.basics-fullpage #hb-welcome-tabs .tabs .tab-icon{width:20px;height:20px;margin-bottom:4px}
}
