/* Three-state appearance picker. System is the default and follows the device. */
.slo-theme-picker{position:relative}
.slo-theme-picker:not(.is-open)>.slo-theme-menu{opacity:0!important;visibility:hidden!important;transform:translateY(-7px)!important;pointer-events:none!important}
.slo-theme-picker.is-open>.slo-theme-menu{opacity:1!important;visibility:visible!important;transform:translateY(0)!important;pointer-events:auto!important}
.slo-theme-toggle{width:42px;padding:0!important}
.slo-theme-toggle:after{display:none}
.slo-theme-icon{display:inline-flex;width:21px;height:21px;align-items:center;justify-content:center;flex:0 0 21px}
.slo-theme-icon svg,.slo-theme-menu svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.slo-theme-toggle-copy,.slo-theme-toggle>[data-slo-theme-current],.slo-theme-toggle>.slo-header-chevron{display:none}
.slo-theme-menu{width:268px;padding:8px}
.slo-theme-menu-head{display:grid;gap:2px;padding:10px 11px 11px;border-bottom:1px solid #e5ebe7}
.slo-theme-menu-head strong{color:#1d3929;font:700 15px/1.25 var(--slo-font-display,Georgia,serif)}
.slo-theme-menu-head span{color:#6a776f;font-size:10px}
.slo-theme-menu>button{display:grid;grid-template-columns:30px minmax(0,1fr) 17px;align-items:center;gap:9px;width:100%;min-height:54px;padding:8px 10px;border:0;border-radius:9px;background:transparent;color:#263c30;text-align:left;cursor:pointer}
.slo-theme-menu>button:hover,.slo-theme-menu>button:focus-visible{background:#eef5f0}
.slo-theme-menu>button:focus-visible{outline:3px solid rgba(201,151,62,.34);outline-offset:1px}
.slo-theme-menu>button>span:first-child{display:flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:8px;background:#f1f5f2;color:#285d43}
.slo-theme-menu>button strong,.slo-theme-menu>button small{display:block}
.slo-theme-menu>button strong{font-size:12px;line-height:1.2}.slo-theme-menu>button small{margin-top:3px;color:#738078;font-size:9px;line-height:1.3}
.slo-theme-menu>button i{display:block;width:10px;height:10px;border:2px solid #a7b5ac;border-radius:50%}
.slo-theme-menu>button[aria-pressed="true"]{background:#edf5ef}.slo-theme-menu>button[aria-pressed="true"] i{border:3px solid #fff;background:#2e7950;box-shadow:0 0 0 2px #2e7950}
.slo-workspace-user-tools .slo-theme-toggle{height:42px;min-height:42px;border:1px solid #d6e0d9;background:#fff;box-shadow:0 4px 12px rgba(23,63,45,.06)}
.slo-workspace-user-tools .slo-theme-menu{right:0;left:auto;z-index:99992;top:calc(100% + 9px)}

/* Shared dark palette. Brand green and gold remain unchanged for recognition. */
html[data-slo-theme="dark"]{color-scheme:dark;--slo-dark-page:#101713;--slo-dark-surface:#1b2620;--slo-dark-surface-2:#243229;--slo-dark-soft:#2a3a31;--slo-dark-line:#4b6253;--slo-dark-text:#f6faf7;--slo-dark-muted:#c7d1cb;--slo-dark-label:#e4ebe6;--slo-dark-placeholder:#aebbb3;--slo-dark-green:#91d2aa;--slo-dark-link:#a7e1ba;--slo-dark-gold:#f0c672;--slo-dark-danger:#ffb4ab;--slo-dark-success:#9dd8ae}
html[data-slo-theme="dark"] body,
html[data-slo-theme="dark"] body.slo-native-404,
html[data-slo-theme="dark"] body.home.slo-native-global-header,
html[data-slo-theme="dark"] body.slo-crm-fullscreen{background:var(--slo-dark-page)!important;color:var(--slo-dark-text)!important}
html[data-slo-theme="dark"] body :where(#page,.site,.site-content,.content-area,.site-main,article.page,.entry-content){border-color:var(--slo-dark-line)}

/* Re-map component surface and text tokens used throughout native pages. */
html[data-slo-theme="dark"] :where(.slhp,.slpp,.slcp,.slap,.sltm,.slct,.slfh,.slprivacy,.slterms,.slbtf,.slblog,.slarticle,.slcity,.slfaq,.slpl,.slo-reviews,.slo-value,.slo-profile,.slo-landlord-tools,.slo-login-page,.slo-market,.slo-syndication,.slo-clear-fees,.slo-photo-service,.slo-lockbox,.slo-tools-hub,.slo-net-sheet,.slsk,.slo-native-form,.slo-crm,.sld-wrap,.sld-shell,.slo-reply-assistant){
  --ink:var(--slo-dark-text)!important;--text:var(--slo-dark-text)!important;--muted:var(--slo-dark-muted)!important;--cream:var(--slo-dark-surface)!important;--mint:var(--slo-dark-soft)!important;--line:var(--slo-dark-line)!important;
  --sl-ink:var(--slo-dark-text)!important;--sl-muted:var(--slo-dark-muted)!important;--sl-cream:var(--slo-dark-surface)!important;--sl-mint:var(--slo-dark-soft)!important;--sl-line:var(--slo-dark-line)!important;--sl-soft:var(--slo-dark-soft)!important;
  --faq-ink:var(--slo-dark-text)!important;--faq-muted:var(--slo-dark-muted)!important;--faq-cream:var(--slo-dark-surface)!important;--faq-mint:var(--slo-dark-soft)!important;--faq-line:var(--slo-dark-line)!important;
  --sp-ink:var(--slo-dark-text)!important;--sp-muted:var(--slo-dark-muted)!important;--sp-cream:var(--slo-dark-surface)!important;--sp-mint:var(--slo-dark-soft)!important;--sp-line:var(--slo-dark-line)!important;
  --photo-ink:var(--slo-dark-text)!important;--photo-muted:var(--slo-dark-muted)!important;--photo-cream:var(--slo-dark-surface)!important;--photo-mint:var(--slo-dark-soft)!important;--photo-line:var(--slo-dark-line)!important;
  --market-ink:var(--slo-dark-text)!important;--market-muted:var(--slo-dark-muted)!important;
  --clear-ink:var(--slo-dark-text)!important;--clear-text:var(--slo-dark-muted)!important;--clear-cream:var(--slo-dark-surface)!important;--clear-mint:var(--slo-dark-soft)!important;--clear-line:var(--slo-dark-line)!important;
  --sth-ink:var(--slo-dark-text)!important;--sth-muted:var(--slo-dark-muted)!important;--sth-cream:var(--slo-dark-surface)!important;--sth-soft:var(--slo-dark-soft)!important;--sth-line:var(--slo-dark-line)!important;
  --sn-ink:var(--slo-dark-text)!important;--sn-muted:var(--slo-dark-muted)!important;--sn-cream:var(--slo-dark-surface)!important;--sn-soft:var(--slo-dark-soft)!important;--sn-line:var(--slo-dark-line)!important;
  --slsk-ink:var(--slo-dark-text)!important;--slsk-muted:var(--slo-dark-muted)!important;--slsk-cream:var(--slo-dark-surface)!important;--slsk-mint:var(--slo-dark-soft)!important;
  --crm-line:var(--slo-dark-line)!important;--crm-muted:var(--slo-dark-muted)!important;--crm-cream:var(--slo-dark-surface)!important;
  color:var(--slo-dark-text)!important
}
html[data-slo-theme="dark"] :where(.slhp,.slpp,.slcp,.slap,.sltm,.slct,.slfh,.slprivacy,.slterms,.slbtf,.slblog,.slarticle,.slcity,.slfaq,.slpl,.slo-reviews,.slo-value,.slo-profile,.slo-landlord-tools,.slo-login-page,.slo-market,.slo-syndication,.slo-clear-fees,.slo-photo-service,.slo-lockbox,.slo-tools-hub,.slo-net-sheet,.slsk,.slo-native-form,.slo-crm,.sld-wrap,.sld-shell){background-color:var(--slo-dark-page)!important}

/* Application and content surfaces. Intentional green hero and CTA blocks stay branded. */
html[data-slo-theme="dark"] :where(.slo-crm,.sld-wrap,.sld-shell,.slo-native-form,.slo-profile,.slo-landlord-tools,.slsk,.slo-net-sheet,.slo-reply-assistant,.slblog,.slarticle,.slfaq,.slo-market,.slo-tools-hub,.slo-value,.slo-photo-service,.slo-lockbox,.slo-syndication,.slo-clear-fees,.slbtf,.slpl,.slcity) :where(
  [class$="-card"],[class*="-card "],[class$="-panel"],[class*="-panel "],[class$="-box"],[class*="-box "],[class$="-tile"],[class*="-tile "],[class$="-stage"],[class*="-stage "],[class$="-workspace"],[class*="-workspace "],[class$="-list"],[class*="-list "],details,table
){background-color:var(--slo-dark-surface)!important;border-color:var(--slo-dark-line)!important;color:var(--slo-dark-text)!important;box-shadow:none}
html[data-slo-theme="dark"] :where(.slo-crm,.sld-wrap,.sld-shell,.slo-native-form,.slo-profile,.slo-landlord-tools,.slsk,.slo-net-sheet,.slo-reply-assistant,.slblog,.slarticle,.slfaq,.slo-market,.slo-tools-hub,.slo-value,.slo-photo-service,.slo-lockbox,.slo-syndication,.slo-clear-fees,.slbtf,.slpl,.slcity) :where(header,nav,section,aside,div,article,form,details,table,thead,tbody,tr,td,th){border-color:var(--slo-dark-line)}
html[data-slo-theme="dark"] :where(.slo-crm,.sld-wrap,.sld-shell,.slo-native-form,.slo-profile,.slo-landlord-tools,.slsk,.slo-net-sheet,.slo-reply-assistant,.slblog,.slarticle,.slfaq,.slo-market,.slo-tools-hub,.slo-value,.slo-photo-service,.slo-lockbox,.slo-syndication,.slo-clear-fees,.slbtf,.slpl,.slcity) :where(h1,h2,h3,h4,h5,h6,strong,summary,dt){color:var(--slo-dark-text)!important}
html[data-slo-theme="dark"] :where(.slo-crm,.sld-wrap,.sld-shell,.slo-native-form,.slo-profile,.slo-landlord-tools,.slsk,.slo-net-sheet,.slo-reply-assistant,.slblog,.slarticle,.slfaq,.slo-market,.slo-tools-hub,.slo-value,.slo-photo-service,.slo-lockbox,.slo-syndication,.slo-clear-fees,.slbtf,.slpl,.slcity) :where(p,small,dd,label,li,time){color:var(--slo-dark-muted)}
html[data-slo-theme="dark"] :where(.slo-crm,.sld-wrap,.sld-shell,.slo-native-form,.slo-profile,.slo-landlord-tools,.slsk,.slo-net-sheet,.slo-reply-assistant,.slblog,.slarticle,.slfaq,.slo-market,.slo-tools-hub,.slo-value,.slo-photo-service,.slo-lockbox,.slo-syndication,.slo-clear-fees,.slbtf,.slpl,.slcity) :where(input:not([type="checkbox"]):not([type="radio"]),textarea,select){background:var(--slo-dark-surface-2)!important;border-color:#43594c!important;color:var(--slo-dark-text)!important;box-shadow:none!important}
html[data-slo-theme="dark"] input::placeholder,html[data-slo-theme="dark"] textarea::placeholder{color:var(--slo-dark-placeholder)!important;opacity:1}

/* Global navigation, dropdowns, notifications, notices, and consent. */
html[data-slo-theme="dark"] .slo-global-header{--sh-ink:var(--slo-dark-text);--sh-muted:var(--slo-dark-muted);--sh-mint:var(--slo-dark-soft);--sh-cream:var(--slo-dark-surface);border-color:var(--slo-dark-line);background:rgba(17,25,21,.96);box-shadow:0 8px 28px rgba(0,0,0,.28)}
html[data-slo-theme="dark"] :where(.slo-header-dropdown,.slo-header-nav,.slo-theme-menu,.slo-header-toggle,.slo-workspace-user-tools .slo-header-link,.slo-workspace-user-tools .slo-theme-toggle){background:var(--slo-dark-surface)!important;border-color:var(--slo-dark-line)!important;color:var(--slo-dark-text)!important}
html[data-slo-theme="dark"] .slo-header-logo{padding:4px 7px;border-radius:10px;background:#f8f5ee}
html[data-slo-theme="dark"] .slo-header-link:not(.is-primary),html[data-slo-theme="dark"] .slo-header-dropdown a{color:var(--slo-dark-text)!important}
html[data-slo-theme="dark"] .slo-header-link:hover,html[data-slo-theme="dark"] .slo-header-link:focus-visible,html[data-slo-theme="dark"] .slo-header-dropdown a:hover{background:var(--slo-dark-soft)!important;color:#fff!important}
html[data-slo-theme="dark"] .slo-theme-menu-head{border-color:var(--slo-dark-line)}
html[data-slo-theme="dark"] .slo-theme-menu-head strong,html[data-slo-theme="dark"] .slo-theme-menu>button{color:var(--slo-dark-text)}
html[data-slo-theme="dark"] .slo-theme-menu-head span,html[data-slo-theme="dark"] .slo-theme-menu>button small{color:var(--slo-dark-muted)}
html[data-slo-theme="dark"] .slo-theme-menu>button:hover,html[data-slo-theme="dark"] .slo-theme-menu>button:focus-visible,html[data-slo-theme="dark"] .slo-theme-menu>button[aria-pressed="true"]{background:var(--slo-dark-soft)}
html[data-slo-theme="dark"] .slo-theme-menu>button>span:first-child{background:#26372d;color:#8ed1a8}
html[data-slo-theme="dark"] :where(.slo-notice-bell,.slo-notice-drawer,.slo-notice-drawer>header,.slo-notice-card,.slo-consent-card,.slo-consent-dialog,.slo-tour-tooltip){background:var(--slo-dark-surface)!important;border-color:var(--slo-dark-line)!important;color:var(--slo-dark-text)!important}
html[data-slo-theme="dark"] :where(.slo-notice-drawer,.slo-notice-card,.slo-consent-root,.slo-tour-tooltip) :where(h1,h2,h3,strong,summary){color:var(--slo-dark-text)!important}
html[data-slo-theme="dark"] :where(.slo-notice-drawer,.slo-notice-card,.slo-consent-root,.slo-tour-tooltip) :where(p,span,small,label){color:var(--slo-dark-muted)}
html[data-slo-theme="dark"] body.slo-notice-drawer-open .slo-global-header,html[data-slo-theme="dark"] body.slo-notice-drawer-open .slo-global-header:hover{background:rgba(17,25,21,.98)!important;color:var(--slo-dark-text)!important}

/* CRM and listing workspace structures use many deliberately compact surfaces. */
html[data-slo-theme="dark"] :where(.slo-crm-header,.slo-crm-nav,.slo-crm-primary,.slo-crm-metrics>div,.slo-crm-list,.slo-crm-detail,.slo-crm-row,.slo-crm-listing-card,.slo-crm-property-controls,.slo-crm-live-search,.slo-crm-todos,.slo-crm-integrated-updates,.slo-crm-report-wrap,.slo-account-report-tabs,.slo-financial-statement,.slo-account-viewbar,.slo-account-statement,.slo-crm-customer-card,.sld-appbar,.sld-header,.sld-tabs,.sld-panel,.sl-card){background:var(--slo-dark-surface)!important;border-color:var(--slo-dark-line)!important;color:var(--slo-dark-text)!important;box-shadow:none!important}
html[data-slo-theme="dark"] :where(.slo-crm-row:hover,.slo-crm-row.is-selected,.slo-crm-listing-card-body,.slo-crm-customer-notes,.slo-crm-facts div,.slo-crm-thread article,.slo-crm-todo,.slo-account-statement,.slo-account-statement thead th,.slo-crm-report thead th,.slo-crm-report tbody tr:hover){background:var(--slo-dark-surface-2)!important;color:var(--slo-dark-text)!important}
html[data-slo-theme="dark"] :where(.slo-lockbox-kpis article,.slo-lockbox-list,.slo-lockbox-inventory,.slo-lockbox-ready-row,.slo-lockbox-row){background:var(--slo-dark-surface)!important;border-color:var(--slo-dark-line)!important;color:var(--slo-dark-text)!important;box-shadow:none!important}
html[data-slo-theme="dark"] :where(.slo-lockbox-list>header,.slo-lockbox-inventory-grid>div){background:var(--slo-dark-surface-2)!important;border-color:var(--slo-dark-line)!important}
html[data-slo-theme="dark"] :where(.slo-lockbox-kpis span,.slo-lockbox-row span,.slo-lockbox-row small,.slo-lockbox-ready-row span,.slo-lockbox-inventory-grid span,.slo-lockbox-inventory-grid small){color:var(--slo-dark-muted)!important}
html[data-slo-theme="dark"] :where(.slo-lockbox-kpis strong,.slo-lockbox-list h3,.slo-lockbox-row strong,.slo-lockbox-ready-row strong,.slo-lockbox-inventory strong,.slo-lockbox-inventory summary){color:var(--slo-dark-text)!important}
html[data-slo-theme="dark"] .slo-lockbox-state{background:#2d4637!important;color:#bce9ca!important}
html[data-slo-theme="dark"] .slo-lockbox-row.is-alert .slo-lockbox-state{background:#47391f!important;color:#ffe2a5!important}
html[data-slo-theme="dark"] :where(.slo-crm,.sld-wrap,.sld-shell) :where(h1,h2,h3,h4,h5,h6,strong,dt,th,a:not(.button)){color:var(--slo-dark-text)!important}
html[data-slo-theme="dark"] :where(.slo-crm,.sld-wrap,.sld-shell) :where(p,small,time,dd,label,td){color:var(--slo-dark-muted)}
html[data-slo-theme="dark"] :where(.slo-crm .button:not(.button-primary),.sld-wrap .button:not(.button-primary)){background:#233229!important;border-color:#43594c!important;color:#e9f1eb!important}

/* Standalone and embedded photo management screens. */
html[data-slo-theme="dark"] body.slo-photo-workspace-page{background:var(--slo-dark-page)!important}
html[data-slo-theme="dark"] :where(.sl-photo-manager,.sl-photo-appbar,.sl-photo-upload-box,.sl-photo-more>div,.sl-photo-order-row details>div,.sl-photo-order-actions,.sl-photo-empty,.sl-photo-save-state,.sl-photo-step){background-color:var(--slo-dark-surface)!important;border-color:var(--slo-dark-line)!important;color:var(--slo-dark-text)!important;box-shadow:none!important}
html[data-slo-theme="dark"] .sl-photo-manager :where(h1,h2,h3,strong,summary){color:var(--slo-dark-text)!important}
html[data-slo-theme="dark"] .sl-photo-manager :where(p,span,label,small){color:var(--slo-dark-muted)}
html[data-slo-theme="dark"] :where(.sl-photo-file-button,.sl-photo-more>summary,.sl-photo-order-row details>summary,.sl-photo-appbar a){background:var(--slo-dark-surface-2)!important;border-color:#43594c!important;color:var(--slo-dark-text)!important}

/* Preserve strong brand contrast for primary actions and intentional dark calls to action. */
html[data-slo-theme="dark"] :where(.button-primary,.is-primary,.slo-notice-action,[class$="-cta"],[class*="-cta "]) :where(h1,h2,h3,h4,strong,p,span,small){color:inherit!important}
html[data-slo-theme="dark"] a{color:#8fd3aa}
html[data-slo-theme="dark"] :focus-visible{outline-color:var(--slo-dark-gold)}

/*
 * Readability pass.
 *
 * Several public components predate the shared palette and contain specific
 * light-theme gray values. These final rules deliberately sit after the
 * component mappings so small copy, data entry, tables, and status feedback
 * remain legible in every native public page and workspace.
 */
html[data-slo-theme="dark"] :where(
  .slhp,.slpp,.slcp,.slap,.sltm,.slct,.slfh,.slprivacy,.slterms,.slbtf,.slblog,.slarticle,.slcity,.slfaq,.slpl,
  .slo-reviews,.slo-value,.slo-profile,.slo-landlord-tools,.slo-login-page,.slo-market,.slo-syndication,.slo-clear-fees,
  .slo-photo-service,.slo-lockbox,.slo-tools-hub,.slo-net-sheet,.slsk,.slo-native-form,.slo-crm,.sld-wrap,.sld-shell,
  .slo-reply-assistant,.slmk-pricing-strip,.slmk-plans,.slmk-calc,.sloh-featured,.slpf-home
) :where(h1,h2,h3,h4,h5,h6,strong,summary,dt,th,legend){color:var(--slo-dark-text)!important}

html[data-slo-theme="dark"] :where(
  .slhp,.slpp,.slcp,.slap,.sltm,.slct,.slfh,.slprivacy,.slterms,.slbtf,.slblog,.slarticle,.slcity,.slfaq,.slpl,
  .slo-reviews,.slo-value,.slo-profile,.slo-landlord-tools,.slo-login-page,.slo-market,.slo-syndication,.slo-clear-fees,
  .slo-photo-service,.slo-lockbox,.slo-tools-hub,.slo-net-sheet,.slsk,.slo-native-form,.slo-crm,.sld-wrap,.sld-shell,
  .slo-reply-assistant,.slmk-pricing-strip,.slmk-plans,.slmk-calc,.sloh-featured,.slpf-home
) :where(p,small,dd,label,li,time,figcaption,caption){color:var(--slo-dark-muted)!important}

html[data-slo-theme="dark"] :where(
  .slhp,.slpp,.slcp,.slap,.sltm,.slct,.slfh,.slprivacy,.slterms,.slbtf,.slblog,.slarticle,.slcity,.slfaq,.slpl,
  .slo-reviews,.slo-value,.slo-profile,.slo-landlord-tools,.slo-login-page,.slo-market,.slo-syndication,.slo-clear-fees,
  .slo-photo-service,.slo-lockbox,.slo-tools-hub,.slo-net-sheet,.slsk,.slo-native-form,.slo-crm,.sld-wrap,.sld-shell,
  .slo-reply-assistant,.slmk-pricing-strip,.slmk-plans,.slmk-calc,.sloh-featured,.slpf-home
) a:not(.button):not(.button-primary):not(.is-primary){color:var(--slo-dark-link)!important;text-decoration-color:rgba(167,225,186,.62)}

/* High-contrast, consistent data-entry controls. */
html[data-slo-theme="dark"] :where(
  .slhp,.slpp,.slcp,.slap,.sltm,.slct,.slfh,.slprivacy,.slterms,.slbtf,.slblog,.slarticle,.slcity,.slfaq,.slpl,
  .slo-reviews,.slo-value,.slo-profile,.slo-landlord-tools,.slo-login-page,.slo-market,.slo-syndication,.slo-clear-fees,
  .slo-photo-service,.slo-lockbox,.slo-tools-hub,.slo-net-sheet,.slsk,.slo-native-form,.slo-crm,.sld-wrap,.sld-shell,
  .slo-reply-assistant,.slmk-pricing-strip,.slmk-plans,.slmk-calc,.sloh-featured,.slpf-home
) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),textarea,select,[contenteditable="true"]){
  background:var(--slo-dark-surface-2)!important;
  border-color:#617969!important;
  color:var(--slo-dark-text)!important;
  caret-color:#fff!important;
  box-shadow:none!important;
}
html[data-slo-theme="dark"] :where(input,textarea,select){font-size:max(16px,1em)}
html[data-slo-theme="dark"] :where(input,textarea,select,[contenteditable="true"]):focus{
  border-color:var(--slo-dark-gold)!important;
  outline:3px solid rgba(240,198,114,.28)!important;
  outline-offset:1px;
}
html[data-slo-theme="dark"] :where(input,textarea,select)[disabled],
html[data-slo-theme="dark"] :where(input,textarea)[readonly]{background:#151d18!important;border-color:#3c4d42!important;color:#aeb9b2!important;opacity:1}
html[data-slo-theme="dark"] :where(input[type="checkbox"],input[type="radio"],input[type="range"]){accent-color:#82c79c}
html[data-slo-theme="dark"] option{background:#243229;color:#f6faf7}
html[data-slo-theme="dark"] input::file-selector-button{border:1px solid #617969;background:#30443a;color:#f6faf7;font-weight:750}
html[data-slo-theme="dark"] input:-webkit-autofill,
html[data-slo-theme="dark"] input:-webkit-autofill:hover,
html[data-slo-theme="dark"] input:-webkit-autofill:focus{-webkit-text-fill-color:#f6faf7!important;-webkit-box-shadow:0 0 0 1000px #243229 inset!important;caret-color:#fff!important}

/* Labels and field guidance need more weight than ordinary muted copy. */
html[data-slo-theme="dark"] :where(.slo-field,.sl-pif-field,.slo-net-field,.slmk-field,.slo-crm-field,.sld-field) > :where(label,span:first-child,strong),
html[data-slo-theme="dark"] :where(.slo-field,.sl-pif-field,.slo-net-field,.slmk-field,.slo-crm-field,.sld-field) label{color:var(--slo-dark-label)!important}
html[data-slo-theme="dark"] :where(.slo-field,.sl-pif-field,.slo-net-field,.slmk-field,.slo-crm-field,.sld-field) :where(small,.description,.help){color:var(--slo-dark-muted)!important}

/* Legacy public sections that do not use the newer card naming convention. */
html[data-slo-theme="dark"] :where(
  .slhp-proof,.slhp-process li,.slhp-included,.slhp-included article,.slhp-plan-grid article,.slhp-reviews,
  .slhp-review-grid blockquote,.slhp-local,.slhp-people article,.slmk-pricing-strip,.slmk-plan-card,.slmk-calc-controls,
  .slmk-money-input,.slmk-choice,.slmk-extras,.sloh-card,.slpf-home details
){background:var(--slo-dark-surface)!important;border-color:var(--slo-dark-line)!important;color:var(--slo-dark-text)!important;box-shadow:none!important}
html[data-slo-theme="dark"] :where(.slhp-included,.slhp-reviews,.slhp-local,.slmk-choice.is-selected){background:var(--slo-dark-soft)!important}
html[data-slo-theme="dark"] :where(.slhp-plan-grid li,.slmk-plan-card li,.slhp-proof div+div){border-color:var(--slo-dark-line)!important}
html[data-slo-theme="dark"] :where(.slhp-eyebrow,.slhp-plan-label,.slmk-plans-head>span,.slmk-calc>header>span,.slmk-plan-fit){color:var(--slo-dark-gold)!important}
html[data-slo-theme="dark"] :where(.slhp-popular,.slhp-process li>span,.slhp-plan-grid article>a,.slmk-popular,.slmk-plan-card>a){background:#2f6b4b!important;color:#fff!important}

/* Calculator output remains a deliberate brand panel with brighter detail. */
html[data-slo-theme="dark"] .slmk-calc-results{background:#174b33!important;border-color:#3f7558!important;color:#fff!important}
html[data-slo-theme="dark"] .slmk-calc-results :where(p,small,dt,.slmk-result-kicker,.slmk-equity span){color:#d6e7dc!important}
html[data-slo-theme="dark"] .slmk-calc-results :where(strong,dd){color:#fff!important}
html[data-slo-theme="dark"] .slmk-calc-results>a{background:#fff!important;color:#173f2b!important}

/* Tables and data-heavy operational views. */
html[data-slo-theme="dark"] :where(.slo-crm,.sld-wrap,.sld-shell,.slo-market,.slo-net-sheet) :where(thead th){background:#29382f!important;color:#f6faf7!important}
html[data-slo-theme="dark"] :where(.slo-crm,.sld-wrap,.sld-shell,.slo-market,.slo-net-sheet) tbody tr:nth-child(even){background:#1f2c24!important}
html[data-slo-theme="dark"] :where(.slo-crm,.sld-wrap,.sld-shell,.slo-market,.slo-net-sheet) :where(td,caption){color:#d2ddd6!important}

/* Status, confirmation, warning, and validation colors. */
html[data-slo-theme="dark"] :where([aria-invalid="true"],.has-error input,.has-error textarea,.has-error select){border-color:#e47f75!important;outline-color:rgba(255,180,171,.3)!important}
html[data-slo-theme="dark"] :where(.error,.is-error,.slo-error,.notice-error,.slo-validation-error){background:#3b2322!important;border-color:#9d5550!important;color:#ffd4cf!important}
html[data-slo-theme="dark"] :where(.success,.is-success,.slo-success,.notice-success){background:#193525!important;border-color:#4d8460!important;color:#c9f1d4!important}
html[data-slo-theme="dark"] :where(.warning,.is-warning,.slo-warning,.notice-warning){background:#3b321d!important;border-color:#8f7537!important;color:#ffe2a5!important}
html[data-slo-theme="dark"] :where(.error,.is-error,.slo-error,.notice-error,.slo-validation-error,.success,.is-success,.slo-success,.notice-success,.warning,.is-warning,.slo-warning,.notice-warning) :where(p,small,strong,span,a){color:inherit!important}

/* Fee explanations remain distinct and readable instead of inheriting white text on a pale callout. */
html[data-slo-theme="dark"] :where(.slhp-one,.slpp-fee-note,.slcp-one-percent){background:#3b321d!important;border-color:#9b7b39!important;color:#ffe2a5!important}
html[data-slo-theme="dark"] :where(.slhp-one,.slpp-fee-note,.slcp-one-percent) strong{color:#fff3cf!important;font-weight:850}

/* Do not communicate disabled state by low-contrast text alone. */
html[data-slo-theme="dark"] :where(button,.button,[role="button"]):disabled,
html[data-slo-theme="dark"] :where(button,.button,[role="button"])[aria-disabled="true"]{color:#c1cbc5!important;opacity:.72}
html[data-slo-theme="dark"] :where(button,.button,[role="button"]):not(:disabled):not([aria-disabled="true"]){text-decoration-thickness:1px}

/* Footer copy previously retained subdued light-theme greens. */
html[data-slo-theme="dark"] .slo-global-footer{background:#173323!important;border-color:#55735f!important;color:#f4f8f5!important}
html[data-slo-theme="dark"] .slo-global-footer :where(h2,h3,strong){color:#fff!important}
html[data-slo-theme="dark"] .slo-global-footer :where(p,small,li,address,span){color:#d0ddd4!important}
html[data-slo-theme="dark"] .slo-global-footer a:not(.button){color:#b8edc9!important}
html[data-slo-theme="dark"] ::selection{background:#d3a84e;color:#101713}

/* Native service-journey pages introduced after the original theme map. */
html[data-slo-theme="dark"] :where(.slo-mls-service,.slo-sign-service){
  --ms-ink:var(--slo-dark-text);--ms-text:var(--slo-dark-muted);--ms-muted:var(--slo-dark-muted);--ms-mint:var(--slo-dark-soft);--ms-cream:var(--slo-dark-surface);--ms-line:var(--slo-dark-line);--ms-gold:var(--slo-dark-gold);
  --ss-ink:var(--slo-dark-text);--ss-text:var(--slo-dark-muted);--ss-muted:var(--slo-dark-muted);--ss-mint:var(--slo-dark-soft);--ss-cream:var(--slo-dark-surface);--ss-line:var(--slo-dark-line);--ss-gold:var(--slo-dark-gold);
  background:var(--slo-dark-page)!important;color:var(--slo-dark-text)!important
}
html[data-slo-theme="dark"] :where(.slo-mls-service,.slo-sign-service) :where(h1,h2,h3,strong,summary,dt,dd){color:var(--slo-dark-text)!important}
html[data-slo-theme="dark"] :where(.slo-mls-service,.slo-sign-service) :where(p,small,li,figcaption){color:var(--slo-dark-muted)!important}
html[data-slo-theme="dark"] :where(.slo-mls-service,.slo-sign-service) a:not(.is-primary):not(.is-light):not(.is-outline){color:var(--slo-dark-link)!important}
html[data-slo-theme="dark"] :where(
  .slo-mls-proof>.slo-mls-shell,.slo-mls-timeline>article>span,.slo-mls-timeline>article>div,.slo-mls-decision section,
  .slo-mls-stage-nav>span,.slo-mls-timeline article ol li,.slo-mls-change-flow,.slo-mls-document-grid section,.slo-mls-priority li,.slo-mls-services a,
  .slo-sign-hero figure,.slo-sign-facts li,.slo-sign-options article,.slo-sign-process li,.slo-sign-separate aside
){background:var(--slo-dark-surface)!important;border-color:var(--slo-dark-line)!important;color:var(--slo-dark-text)!important;box-shadow:none!important}
html[data-slo-theme="dark"] .slo-mls-stage-nav b{background:var(--slo-dark-soft)!important;color:var(--slo-dark-link)!important}
html[data-slo-theme="dark"] :where(.slo-mls-priority,.slo-mls-faq,.slo-sign-process,.slo-sign-faq){background:var(--slo-dark-surface-2)!important}
html[data-slo-theme="dark"] .slo-sign-hero{background:linear-gradient(135deg,#17231c,#26382e)!important}
html[data-slo-theme="dark"] :where(.slo-mls-callout,.slo-mls-timing){background:#3b321d!important;border-color:#9b7b39!important;color:#ffe2a5!important}
html[data-slo-theme="dark"] .slo-mls-boundary{background:#3b2322!important;border-color:#9d5550!important;color:#ffd4cf!important}
html[data-slo-theme="dark"] :where(.slo-mls-callout,.slo-mls-timing,.slo-mls-boundary) :where(strong,span,p){color:inherit!important}
html[data-slo-theme="dark"] :where(.slo-mls-hero,.slo-mls-cta,.slo-sign-compliance,.slo-sign-cta) :where(h1,h2,h3,strong,p,span,small){color:inherit!important}

@media(max-width:960px){
  .slo-theme-toggle{width:100%;justify-content:flex-start!important;padding:12px 8px!important}
  .slo-theme-toggle-copy,.slo-theme-toggle>[data-slo-theme-current],.slo-theme-toggle>.slo-header-chevron{display:inline-flex}
  .slo-theme-toggle>[data-slo-theme-current]{height:21px;margin-left:auto;padding:3px 7px;border-radius:999px;background:#eef4ef;color:#4a6454;font-size:9px;font-weight:850}
  .slo-theme-toggle>.slo-header-chevron{margin-left:3px}
  .slo-theme-menu{width:100%}
  html[data-slo-theme="dark"] .slo-theme-toggle>[data-slo-theme-current]{background:var(--slo-dark-soft);color:#cbd8d0}
  .slo-workspace-user-tools .slo-theme-picker{display:flex;width:auto;height:42px;border:0}
  .slo-workspace-user-tools .slo-theme-toggle{width:42px!important;height:42px!important;justify-content:center!important;padding:0!important}
  .slo-workspace-user-tools .slo-theme-toggle-copy,.slo-workspace-user-tools .slo-theme-toggle>[data-slo-theme-current],.slo-workspace-user-tools .slo-theme-toggle>.slo-header-chevron{display:none}
  .slo-workspace-user-tools .slo-theme-menu{position:fixed;top:74px;right:10px;left:10px;width:auto;max-height:calc(100vh - 88px);overflow:auto}
  .admin-bar .slo-workspace-user-tools .slo-theme-menu{top:120px}
}
@media print{.slo-theme-picker{display:none!important}html[data-slo-theme="dark"]{color-scheme:light}html[data-slo-theme="dark"] body{background:#fff!important;color:#111!important}}
@media(prefers-reduced-motion:reduce){html[data-slo-theme="dark"] *{transition:none!important}}

/* CRM contrast repair: native buttons/spans do not inherit heading/link rules. */
html[data-slo-theme="dark"] .slo-crm{--crm-muted:#c7d1cb;--crm-line:#4b6253;--crm-cream:#243229;--growth-line:#4b6253;--growth-soft:#243229;--growth-green:#a7e1ba;--growth-gold:#f0c672}
html[data-slo-theme="dark"] .slo-crm :is(.slo-crm-primary,.slo-crm-nav) button{color:#e4ebe6!important;background:transparent!important}
html[data-slo-theme="dark"] .slo-crm :is(.slo-crm-primary,.slo-crm-nav) button .dashicons{color:#c7d1cb!important}
html[data-slo-theme="dark"] .slo-crm :is(.slo-crm-primary,.slo-crm-nav) button:hover{background:#2a3a31!important;color:#fff!important}
html[data-slo-theme="dark"] .slo-crm :is(.slo-crm-primary,.slo-crm-nav) button[aria-selected="true"]{background:#2f6b4b!important;color:#fff!important;box-shadow:inset 0 -3px 0 #a7e1ba!important}
html[data-slo-theme="dark"] .slo-crm :is(.slo-crm-primary,.slo-crm-nav) button[aria-selected="true"] .dashicons{color:#fff!important}
html[data-slo-theme="dark"] .slo-crm .slo-crm-eyebrow{color:#f0c672!important}
html[data-slo-theme="dark"] .slo-crm .slo-crm-row .slo-crm-row-status{color:#f0c672!important}
html[data-slo-theme="dark"] .slo-crm .slo-crm-row.has-post-closing .slo-crm-row-status{color:#ffb4ab!important}
html[data-slo-theme="dark"] .slo-crm .slo-crm-detail-empty .dashicons{color:#a7e1ba!important}
html[data-slo-theme="dark"] .slo-crm .slo-crm-row.is-selected{outline:2px solid #a7e1ba;outline-offset:-2px;box-shadow:inset 4px 0 0 #a7e1ba!important}
html[data-slo-theme="dark"] .slo-crm .slo-crm-logo img{background:#fff;border-radius:10px;padding:8px;box-sizing:border-box}
html[data-slo-theme="dark"] .slo-crm :is(.slo-crm-nav b,.slo-crm-badge){background:#a32b22!important;color:#fff!important}
html[data-slo-theme="dark"] .slo-crm :is(.slo-crm-live-state,.slo-crm-row-main small,.slo-crm-row time){color:#c7d1cb!important}
html[data-slo-theme="dark"] .slo-crm .slo-crm-live-state{background:#243229!important;border-color:#4b6253!important}
html[data-slo-theme="dark"] .slo-crm :is(.slo-growth-status,.slo-growth-kpis article,.slo-growth-funnel,.slo-growth-columns>section,.slo-growth-events,.slo-growth-foot,.slo-growth-order-coverage,.slo-site-card,.slo-site-kpis>div,.slo-site-table-wrap,.slo-pipeline-stage,.slo-pipeline-detail,.slo-pipeline-closed,.slo-crm-customer-events article,.slo-crm-customer-files article){background:#1b2620!important;border-color:#4b6253!important;color:#f6faf7!important}
html[data-slo-theme="dark"] .slo-crm :is(.slo-growth-status span,.slo-growth-funnel-grid>div){background:#243229!important;color:#e4ebe6!important}
html[data-slo-theme="dark"] .slo-crm .slo-growth-status span.is-ready{background:#193525!important;color:#c9f1d4!important}
html[data-slo-theme="dark"] .slo-crm .slo-growth-funnel-grid i{background:#354f3f!important}
html[data-slo-theme="dark"] .slo-crm :is(.slo-growth span,.slo-growth small,.slo-growth code,.slo-growth b,.slo-growth label){color:#c7d1cb!important}
html[data-slo-theme="dark"] .slo-crm .slo-growth-feedback{color:#c9f1d4!important}
html[data-slo-theme="dark"] .slo-crm .slo-growth-feedback.is-error{background:#3b2322!important;color:#ffd4cf!important;border:1px solid #9d5550;padding:12px;border-radius:8px}
html[data-slo-theme="dark"] .slo-crm :is(button,a,input,select,textarea):focus-visible{outline:3px solid #f0c672!important;outline-offset:3px!important}
