/* Presentation only. Shared semantic palette; no service or state changes. */
body :is(.bottom-nav,.agent-bottom-nav) button{touch-action:manipulation;min-height:44px;-webkit-tap-highlight-color:transparent}
body:not(.agent-mode) .agent-menu-only{display:none!important}
body .client-action-center{padding:20px 16px;border-top:1px solid #d9e3e3;background:#edf4f4;color:#202a2b}
body .client-action-center :is(h3,h4,b){color:#202a2b!important}
body .client-action-center :is(p,small,label){color:#40595d!important}
body .client-action-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;background:white;border:1px solid #d9e3e3;border-radius:8px;margin:12px 0}
body .client-action-row>div{min-width:0;overflow-wrap:anywhere}
body .client-action-row label{display:grid;gap:6px}
body .client-action-row select{min-height:44px;background:white;color:#202a2b;border:1px solid #a9bdbf;border-radius:8px;padding:8px}
@media(max-width:500px){body .client-action-row{align-items:stretch;flex-direction:column}}
/* Native chrome must not participate in browser anchor scrolling or smooth root scroll. */
html.native-app{scroll-behavior:auto!important;overflow-anchor:none}
html.native-app body{overflow-anchor:none}
html.native-app main{overflow-anchor:none}
html.native-app :is(.bottom-nav,.agent-bottom-nav) button:active{transform:none!important}
body :is(.bottom-nav,.agent-bottom-nav) button>*{pointer-events:none}
body .agent-hero{background:#edf4f4!important;color:#202a2b!important}
body :is(.agent-hero h1,.agent-metrics b,.agent-section-head h2,.panel h2,.panel h3){color:#202a2b!important}
body :is(.agent-view-client,.agent-client-snapshot){background:#fff!important;color:#202a2b!important;border-color:#c8d7d7!important}
body .agent-client-snapshot :is(b,strong){color:#202a2b!important}
body .gallery{background:#edf4f4!important;color:#202a2b!important}
body #notification-dot{background:#bc0014}
:root{--bb-space-1:8px;--bb-space-2:16px;--bb-space-3:24px;--bb-space-4:32px;--bb-radius:8px;--bb-motion-fast:160ms;--bb-motion-enter:260ms;--bb-ease:cubic-bezier(.2,.7,.2,1)}
@media(prefers-reduced-motion:no-preference){body .view:not(.hidden){animation:bb-screen 160ms cubic-bezier(.2,.7,.2,1)}body dialog[open]{animation:bb-sheet 160ms cubic-bezier(.2,.7,.2,1)}body button:active{transform:scale(.98)}@keyframes bb-screen{from{opacity:.94}to{opacity:1}}@keyframes bb-sheet{from{opacity:.94;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}
:root{--paper:#fff;--obsidian:#fff;--graphite:#f3f7f7;--elevated:#edf4f4;--porcelain:#202a2b;--silver:#556769;--navy-soft:#f3f7f7;--gold-light:#386767;--shadow:0 8px 24px #2347470d}
body .actions :is(.account-button,.menu-button){width:44px;height:44px;min-width:44px}
@media(min-width:701px){body .actions .account-button{width:auto}}
html.native-app,html.native-app body{background:#fff!important}
html.native-app #inbox .composer{background:#fff!important}
body #inbox .composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
body #inbox .composer button[type="submit"]{display:flex;align-items:center;justify-content:center;gap:6px;width:auto;min-width:84px;height:48px;min-height:48px;padding:0 12px;border:0;border-radius:8px;background:#b90019!important;color:#fff!important;touch-action:manipulation;transform:none!important;opacity:1}
body #inbox .composer button[type="submit"] svg{width:22px;height:22px;fill:none;stroke:#fff!important;stroke-width:2;pointer-events:none}
body #inbox .composer button[type="submit"] span{color:#fff!important;font-size:14px;font-weight:700;pointer-events:none}
body #inbox .composer button:disabled{background:#596b70!important;cursor:wait}
body #inbox .composer [role="status"]{grid-column:1/-1;min-height:18px;color:#344e54!important;font-size:12px;line-height:18px}
body .discovery-heading h1{color:#202a2b!important;text-shadow:none!important}
body .discovery-preview-head,body .discovery-preview-head b{color:#202a2b!important}
body .discovery-preview-head button{color:#386767!important}
body .quick button.active{background:#e5f1f1!important;color:#284e50!important}
body :is(.team-title h2,.team-info h3,.team-info>span,.team-actions a,.client-command h2,.client-command h3,.client-command b,.client-detail-grid li,.crm-activity strong,.settings-identity h2,.notification-settings h3,.notification-settings label b,.settings-workspace-link,.settings-tabs button.active,.client-list-heading h3){color:#202a2b!important}
body :is(.client-command-metrics span,.client-saved-card,.crm-activity li,.profile-form,.password-form,.journey-manager,.settings-panel,.messenger){background:#f3f7f7!important;color:#202a2b!important;border-color:#d9e3e3!important;box-shadow:none!important}
body .team-card>img{filter:none!important}
body .discovery-heading{display:block!important}
body .discovery-heading>p{margin:16px 0 0!important;max-width:560px!important}
body .discovery-feed-head p{color:#202a2b!important}
body .attribution b{color:#556769!important}
body .property-direct-actions b{color:#202a2b!important}
body .map{filter:none!important}
body :is(.journal-card>img,.article-card>img){filter:none!important}
body .description p{color:#556769!important}
body :is(.property-contact-identity h3,.hero-facts b,.hero-facts strong,.spec-grid b,.spec-grid strong){color:#202a2b!important}
body .journey-guest{background:#f3f7f7!important;color:#202a2b!important;border-color:#d9e3e3!important}
body .journey-guest h2{color:#202a2b!important}
body :is(.auth-switch,.auth-switch button,.journey-actions button,.client-metrics span){background:#f3f7f7!important;color:#386767!important;border-color:#d9e3e3!important}
body .auth-switch button[aria-selected=true]{background:#fff!important;color:#202a2b!important}
body :is(.milestone h3,.client-metrics b,.quiet-close){color:#202a2b!important}
body :is(.page-hero h1,.page-hero.small h1,.signin-prompt h2,.auth-card h2,.auth-card label){color:#202a2b!important}
body :is(.journey-access,.journey-invite,.journey-intro,.sheet-toolbar,.auth-tabs,.auth-toggle){background:#f3f7f7!important;color:#202a2b!important}
body :is(.sheet-cancel,.auth-tabs button,.auth-toggle button){background:#fff!important;color:#386767!important;border-color:#c8d7d7!important}
body :is(.card-body h3,.section-head h2,.home-content h2,.property-main h1,.property-main h2,.property-main h3,.article-page h1){color:#202a2b!important}
body .view-toggle button{color:#556769!important}
body :is(.property-card-actions,.property-detail-actions) :is(.save,.showing-bell) svg{stroke:currentColor!important;color:inherit!important}
body :is(.property-card-actions,.property-detail-actions) .showing-bell{color:#202a2b!important}
body .discovery-feed-head button{color:#386767!important}
body .discovery-modes button{background:#fff!important;color:#344c4e!important;border-color:#c8d7d7!important;border-radius:8px!important;min-height:44px}
body .discovery-modes button.active{background:#e5f1f1!important;color:#284e50!important;border-color:#a4c5c5!important}
body :is(.journal-hero,.journey-summary,.journey-step,.settings-panel,.settings-panel section){background:#f3f7f7!important;color:#202a2b!important;box-shadow:none!important}
body :is(.journal-hero h1,.journal-heading h2,.journal-card h3,.article-card h3,.journey-step h3,.settings-panel h2,.settings-panel a,.settings-legal-links a,.settings-signout,.settings-pane-title,.journal-link,.journey-summary h2){color:#202a2b!important}
body :is(.journal-hero p,.journal-heading p,.journal-card p,.journey-summary p){color:#556769!important}
:root,body.big-brothers-template{color-scheme:light;--bb-bg:#fff;--bb-panel:#fff;--bb-raised:#f3f7f7;--bb-border:#d9e3e3;--bb-text:#202a2b;--bb-muted:#556769;--bb-accent:#386767;--bb-white:#202a2b;--bb-cream:#fff;--bb-gold:#386767;--rcr-red:#bc0014;--rcr-teal:#669999;--rcr-tint:#99cccc;--ink:#202a2b;--muted:#556769;--slate:#556769;--line:#d9e3e3;--signal:#386767;--signal-cold:#386767;--gold:#386767;--cream:#fff;--navy:#fff;--navy2:#f3f7f7}
html,body,body.big-brothers-template{background:#fff!important;color:#202a2b!important}
body :is(h1,h2,h3,h4,h5,h6){color:#202a2b}
body :is(p,dd,small){color:inherit}
body :is(button,a,input,select,textarea):focus-visible{outline:3px solid #386767!important;outline-offset:3px}
body :is(input,select,textarea){color-scheme:light;background:#fff!important;color:#202a2b!important;border-color:#aebfc0!important;font-size:max(16px,1em)}
body :is(input,textarea)::placeholder{color:#627577!important;opacity:1}
body :is(.topbar,.bottom-nav,.agent-bottom-nav,.header-menu,.site-header,.main-nav,.nav-menu){background:#fff!important;color:#202a2b!important;box-shadow:none!important;backdrop-filter:none!important;border-color:#d9e3e3!important}
body :is(.page-hero,.discovery-deck,.editorial,.thumbs,.bb-hero-v3,.bb-trust-strip,.site-footer){background:#f3f7f7!important;color:#202a2b!important;box-shadow:none!important}
body :is(.page-hero,.discovery-deck,.bb-hero-v3)::after{background:none!important}
body :is(.panel,.empty,.loading-screen,.signin-prompt,.team-card,.journal-card,.article-card,.notification,.search-alert-card,.agent-alert-row,.profile-card,.account-settings-shell,.client-command,.property-contact-compact,.property-card,.agent-metrics article,dialog){background:#fff!important;color:#202a2b!important;border:1px solid #d9e3e3!important;border-radius:8px!important;box-shadow:none!important}
body :is(.eyebrow,.eyebrow.dark,.kicker,.section-head .eyebrow){color:#386767!important}
body :is(.glass,.outline,.icon-button,.light-button,.quick button,.view-toggle,.category-filter button){background:#fff!important;color:#344c4e!important;border:1px solid #c8d7d7!important;box-shadow:none!important;border-radius:8px!important}
body :is(.gold,.search button,.discovery-search button){background:#bc0014!important;color:#fff!important;border:1px solid #bc0014!important;box-shadow:none!important}
body :is(.search,.discovery-search){background:#fff!important;border:1px solid #aebfc0!important;box-shadow:0 6px 20px #203b3b08!important}
body :is(.quick button.active,.view-toggle button.active,.category-filter button.active){background:#e5f1f1!important;color:#284e50!important;box-shadow:none!important}
body :is(.bottom-nav,.agent-bottom-nav,.desktop-nav) button{color:#596e70!important}
body :is(.bottom-nav,.agent-bottom-nav,.desktop-nav) button.active{color:#b00000!important}
body :is(.facts,.prose,.property-main,.spec-grid,.settings-pane,.settings-identity,.thread-head,.conversation,.agent-row,.article-page,.team-card-copy){color:#202a2b!important}
body :is(.card-body p,.attribution,.agent-row small,.agent-row em,.discovery-heading>p,.team-card p,.settings-identity p,.thread-head span,.notification small){color:#556769!important}
body :is(.discovery-heading h1 em,.page-hero a,.team-contact a){color:#386767!important}
body .property-card:hover{box-shadow:0 10px 26px #2347470d!important;transform:translateY(-2px)}
body :is(.property-card-actions,.property-detail-actions) :is(.save,.showing-bell){background:#fffffff5!important;color:#202a2b!important;border:1px solid #c8d7d7!important;backdrop-filter:none!important;box-shadow:0 2px 8px #0001!important}
body :is(.property-card-actions,.property-detail-actions) .save.saved{background:#fff!important;color:#bc0014!important;border-color:#bc0014!important}
body :is(.status,.photo-count,.gallery-controls){background:#fffffff2!important;color:#202a2b!important;border:1px solid #d9e3e3;backdrop-filter:none!important}
body .gallery-controls button{background:#edf3f3!important;color:#202a2b!important}
body :is(.bubble,.message-bubble){background:#eff5f5!important;color:#202a2b!important;border:1px solid #d9e3e3}
body :is(.bubble.mine,.message-bubble.mine){background:#dceeee!important;color:#183f40!important}
body :is(.settings-nav,.settings-pane,.settings-row,.inbox-list,.thread,.thread-head,.composer,.message-composer,.account-links,.auth-card){background:#fff!important;color:#202a2b!important;border-color:#d9e3e3!important}
body :is(.settings-nav button,.account-links button,.header-menu button,.auth-card .close){color:#202a2b!important;background:transparent!important}
body .error{color:#b00020!important}
body dialog::backdrop{background:#213c3c66;backdrop-filter:blur(3px)}
/* Keep supplied composite brand artwork legible without changing its colors. */
body :is(.brand img,.brand-logo,.auth-card>img){border-radius:0;background:transparent;padding:0;object-fit:contain}
/* The supplied master has transparent canvas above and below the lockup.
   Fit its artwork into a bounded header without stretching or resampling it. */
body .brand{display:block;width:300px;height:64px;overflow:hidden;flex-shrink:1}
body .brand img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center!important}
body .auth-brand{height:80px;width:100%;max-width:340px;margin:0 auto 24px;overflow:hidden;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
body .auth-brand img{width:100%;height:100%;object-fit:cover;background:transparent}
body .account-button{background:#edf4f4!important;color:#202a2b!important;border:1px solid #c8d7d7!important;border-radius:8px!important}
body :is(.account-initials,.avatar-initials){color:#202a2b!important;background:#e5f1f1!important}
body :is(.spec-grid,.facts) :is(dd,span,strong,b){color:#202a2b!important}
body :is(.settings-tabs,.client-command-metrics){border-color:#d9e3e3!important}
body .settings-tabs button{color:#556769!important}
body .settings-tabs button.active{background:#e5f1f1!important;color:#284e50!important}
body :is(.journal-card,.article-card){padding:24px!important}
body :is(.bottom-nav,.agent-bottom-nav) button.active{background:#f6e9eb!important}
@media(max-width:700px){body .brand{height:52px;width:240px}body .discovery-heading h1{font-size:34px!important}body .discovery-heading>p{font-size:14px!important}body .settings-identity{flex-wrap:wrap}body .settings-identity>div{min-width:0}body .settings-identity p{overflow-wrap:anywhere}}
body .discovery-deck{padding-top:32px;padding-bottom:32px}
body .discovery-heading h1{font-size:clamp(38px,5vw,64px);max-width:850px;line-height:1.1}
body .property-card{transition:transform .16s ease,box-shadow .16s ease}
body .content{padding-top:32px}
body :is(.section-head h2,.home-content h2){font-weight:600;letter-spacing:-.035em}
body .agent-pill{background:#fff!important;color:#202a2b!important;border-color:#c8d7d7!important;box-shadow:none!important}
body .topbar{box-sizing:border-box}
/* Keep consumer navigation available between phone and desktop breakpoints. */
@media(min-width:701px) and (max-width:900px){
 body:not(.agent-mode){padding-bottom:84px}
 body:not(.agent-mode) .bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;height:72px;justify-content:space-around;padding:8px 16px;border-top:1px solid #d9e3e3}
 body .bottom-nav button{display:grid;place-items:center;gap:4px;flex:1;border:0;background:transparent}
 body .bottom-nav small{display:block;font-size:11px}
}
@media(max-width:700px){body .property-card:hover{transform:none}body .discovery-heading h1{font-size:40px}body .topbar{padding-inline:16px!important}body .brand img{max-height:44px}body :is(.property-shell,.content,.page-hero,.discovery-deck){min-width:0;max-width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Search/showing states belong to their cards, separate from property-photo badges. */
.search-alert-card > .status,.agent-alert-row > .status{position:static;display:inline-flex;align-self:start;justify-self:start;width:max-content;max-width:100%;margin:0 0 12px;line-height:1.25}
.search-alert-card > h3{overflow-wrap:anywhere}
.search-alert-card > small{display:block;margin:16px 0 12px}
.search-alert-card > .outline{margin-top:0}

/* Native button semantics keep notification routes keyboard-accessible. */
body .notification-action{width:100%;text-align:left;cursor:pointer;font:inherit;align-items:center}
body .notification-action .notification-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}
body .notification-action .notification-copy>span{line-height:1.5;color:#556769}
body .notification-action:focus-visible{outline:3px solid #17676a;outline-offset:3px}

/* Allow the longer Spanish agent action to fit beside the mobile title. */
@media(max-width:700px){
 body .agent-hero{gap:16px}
 body .agent-hero>div{flex:1;min-width:0}
 body #agent-preview{flex:0 1 124px;max-width:40%;white-space:normal;line-height:1.35;overflow-wrap:anywhere}
}
