/* SITEHUB v1.4 – unified public / portal / admin brand overrides.
 * Loaded last. Keeps existing HTML/JS actions intact while removing legacy
 * white/blue treatment. Brand tokens are defined in sitehub-brand.css.
 */
:root{color-scheme:dark;--accent:var(--sh-orange);--accent2:var(--sh-red);--bg:var(--sh-bg);--bg2:var(--sh-bg-2);--panel:var(--sh-surface);--panel2:var(--sh-surface-2);--text:var(--sh-text);--muted:var(--sh-text-2);--cyan:var(--sh-orange);--line:var(--sh-border-2);--brand:#FF8A00}
html,body{background:var(--sh-bg)!important;color:var(--sh-text);font-family:var(--sh-font)!important}
body,body input,body button,body select,body textarea{font-family:var(--sh-font)!important}
body :is(h1,h2,h3,h4,h5,h6){text-wrap:balance}
body :is(p,small,span,label,a,button,strong){overflow-wrap:break-word}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--sh-orange)!important;outline-offset:3px}
:where(.btn-primary,.sh-btn-primary,.ad26-btn-primary,.a26p-btn-primary,.sv26-btn-blue,.a26p-submit,.privacy-banner-btn.is-primary,.market26-adept .btn-primary){background:var(--sh-grad)!important;border-color:transparent!important;color:var(--sh-black)!important}
:where(.btn-primary,.sh-btn-primary,.ad26-btn-primary,.a26p-btn-primary,.a26p-submit) svg{color:currentColor}
a:not([class]):hover{color:var(--sh-orange)}
/* Brand — original transparent SVGs from Claude, not bitmap crops. */
.site-header .sh-brand{display:inline-flex;align-items:center;min-width:0;padding:0;max-width:220px}
.site-header .sh-brand picture{display:block;width:auto;height:auto;line-height:0;max-width:100%}
.site-header .sh-brand picture img{display:block!important;width:auto!important;height:52px!important;max-width:220px!important;object-fit:contain!important;background:transparent!important;filter:none!important;box-shadow:none!important;animation:none!important}
.sh-footer-wordmark{height:58px!important;width:auto!important;max-width:230px!important;object-fit:contain!important;background:transparent!important;filter:none!important;animation:none!important}
.brand .sh-mobile-brand-logo{display:block!important;width:160px!important;height:auto!important;max-height:54px;object-fit:contain}
:is(.privacy-banner-brand,.privacy-brand,.adev-support-launcher-mark,.adev-support-avatar,.adev-support-message-avatar,.portal-login-brand,.portal-brand,.sh-workspace-bar,.sh-workspace-logo) img[src*='/brand/']{background:transparent!important;object-fit:contain!important;filter:none!important}
.sh-stage-brand-lockup.sh-brand-emblem{display:flex!important;flex-direction:column;align-items:center;gap:9px;width:100%;max-width:100%;text-align:center}
.sh-stage-brand-lockup.sh-brand-emblem img{width:auto!important;height:clamp(118px,15vw,196px)!important;max-width:88%!important;object-fit:contain!important;filter:drop-shadow(0 10px 38px rgba(255,59,48,.14))!important;animation:none!important}
.sh-stage-brand-lockup.sh-brand-emblem strong{font:800 clamp(36px,5vw,64px)/1 var(--sh-font);letter-spacing:-.065em;color:var(--sh-text)}
.sh-stage-brand-lockup.sh-brand-emblem strong span{background:var(--sh-grad);color:transparent;background-clip:text;-webkit-background-clip:text}
.sh-stage-brand-lockup.sh-brand-emblem small{font:650 clamp(8px,.9vw,11px)/1.2 var(--sh-font);letter-spacing:.24em;color:var(--sh-text-2)}
.sh-stage-core{background:transparent!important;isolation:isolate}
/* Header / navigation / announcements */
.site-header,.site-header.scrolled,.site-header .header-inner{background:var(--sh-bg)!important;border-color:var(--sh-border)!important}
.site-header :is(.nav-link,.desktop-nav>a,.site-nav>a,.header-nav a,.nav-trigger,.mega-nav-trigger,.header-inner a:not(.btn)),.mega-nav a{color:var(--sh-text-2)!important}
.site-header :is(.nav-link,.desktop-nav>a,.site-nav>a,.header-nav a,.nav-trigger,.mega-nav-trigger,.header-inner a:not(.btn)):hover,.site-header [aria-expanded=true]{color:var(--sh-text)!important}
.site-header :is(.nav-link,.desktop-nav>a,.site-nav>a,.header-nav a,.nav-trigger,.mega-nav-trigger,.header-inner a:not(.btn)):focus-visible{color:var(--sh-orange)!important}
:is(.site-client-portal-v185,.site-client-portal-v185 *, .mega-nav-panel,.mega-nav-dropdown,.mobile-panel){border-color:var(--sh-border-2)}
.site-client-portal-v185{background:var(--sh-surface)!important;color:var(--sh-text)!important}
.site-client-portal-v185 :is(h2,h3,strong,b,a){color:var(--sh-text)!important}
.site-client-portal-v185 :is(p,small,span){color:var(--sh-text-2)!important}
.mobile-panel,.mobile-panel nav,.mega-nav-panel,.mega-nav-dropdown{background:var(--sh-surface)!important;color:var(--sh-text)!important}
.mobile-panel :is(a,b,span,small){color:var(--sh-text-2)!important}
.mobile-panel a:hover,.mobile-panel a:focus-visible{color:var(--sh-orange)!important}
/* Blue and white homepage islands: dark surfaces, legible text, consistent cards. */
.home192,:is(.home192,.home192-clients,.home192-services-matrix,.home192-calc,.home192-delivery-band,.home192-band,.home192-solutions,.home192-process,.home192-blog,.home192-partners,.home192-about,.home192-pricing){background-color:var(--sh-bg)!important;color:var(--sh-text)!important}
:where(.home192,.ad26-showcase,.ad26-comparison,.adp-direct-comparison,.market26,.a26p,.services191,.sv26,.pricing26,.public-calc) :is(h1,h2,h3,h4,strong){color:var(--sh-text)!important}
:where(.home192,.ad26-showcase,.ad26-comparison,.adp-direct-comparison,.market26,.a26p,.services191,.sv26,.pricing26,.public-calc) :is(p,small,figcaption){color:var(--sh-text-2)!important}
:where(.home192,.ad26-showcase,.ad26-comparison,.adp-direct-comparison,.market26,.a26p,.services191,.sv26,.pricing26,.public-calc) :is(.eyebrow,.kicker,.overline,[class*='eyebrow'],[class*='kicker']){color:var(--sh-orange)!important}
.home192 :is(.home192-solution-card,.home192-proof-card,.home192-service-card,.home192-blog-card,.home192-calc-layout,.home192-delivery-copy){background:var(--sh-surface)!important;border-color:var(--sh-border-2)!important;box-shadow:none!important}
.home192 :is(.home192-solution-card,.home192-proof-card,.home192-service-card,.home192-blog-card) :is(h2,h3,strong,b){color:var(--sh-text)!important}
/* Allow pale card surfaces only around third-party brand artwork when essential. */
.home192-client-logo{background:var(--sh-surface)!important;border-color:var(--sh-border-2)!important;box-shadow:none!important}
.home192-client-logo:focus-visible{outline-color:var(--sh-orange)!important}
/* Previously blue international/market sections */
.market26,.market26 :is(section,article,.market26-tabs,.market26-panel,.market26-price,.market26-card,.market26-adept,.market26-typical,.market26-container){background-color:var(--sh-bg-2)!important;color:var(--sh-text)!important}
.market26 :is([class*='card'],[class*='panel'],[class*='tab'],[class*='summary'],[class*='offer']){border-color:var(--sh-border-2)!important;box-shadow:none!important}
.market26 :is(h2,h3,h4,strong,b,[class*='price']){color:var(--sh-text)!important}
.market26 :is(p,small,label){color:var(--sh-text-2)!important}
.market26 button:is(.is-active,[aria-selected=true]),.market26 [role=tab][aria-selected=true]{background:var(--sh-grad)!important;color:var(--sh-black)!important;border-color:var(--sh-orange)!important}
.market26 :is([class*='adept'],[class*='market']) [class*='price']{color:var(--sh-orange)!important}
/* Previously nearly invisible blue-on-black heading / white-on-white proof cards */
.ad26-showcase-summary-v137 .ad26-proof-card,.ad26-showcase-summary-v137 .ad26-proof-card-primary{background:var(--sh-surface)!important;border:1px solid var(--sh-border-2)!important;box-shadow:none!important}
.ad26-showcase-summary-v137 .ad26-proof-card::after{background:var(--sh-glow)!important}
.ad26-showcase-summary-v137 .ad26-proof-card>strong,.ad26-showcase-summary-v137 .ad26-proof-top strong{color:var(--sh-text)!important}
.ad26-showcase-summary-v137 .ad26-proof-card>p,.ad26-proof-top small,.ad26-proof-metric span,.ad26-proof-action span{color:var(--sh-text-2)!important}
.ad26-proof-metric,.ad26-proof-action{border-top-color:var(--sh-border-2)!important}
.ad26-proof-index{background:var(--sh-surface-2)!important;color:var(--sh-orange)!important}
.ad26-proof-metric b{color:var(--sh-orange)!important}
.ad26-proof-action b{background:var(--sh-orange)!important;color:var(--sh-black)!important}
.ad26-proof-live{background:var(--sh-surface-2)!important;color:var(--sh-success)!important}
/* Pricing / comparison / catalog. The calculations and JS selectors remain intact. */
.a26p,.a26p :is(.a26p-hero,.a26p-builder-main,.a26p-summary,.a26p-final,.a26p-price-card,.a26p-plan,.a26p-option,.a26p-panel){background:var(--sh-surface)!important;border-color:var(--sh-border-2)!important;box-shadow:none!important;color:var(--sh-text)!important}
.a26p :is(.a26p-plan.is-selected,.a26p-plan:has(input:checked),.a26p-option.is-selected,.a26p-option:has(input:checked)){background:var(--sh-surface-2)!important;border-color:var(--sh-orange)!important;box-shadow:0 0 0 1px var(--sh-orange)!important}
.a26p :is([class*='price'],[class*='total'],.a26p-plan>b,.a26p-summary-total>strong){color:var(--sh-text)!important}
.a26p :is(.a26p-progress button.is-active,.a26p-filter button.is-active,.a26p-plan-types button.is-active){background:var(--sh-grad)!important;border-color:var(--sh-orange)!important;color:var(--sh-black)!important}
.a26p :is(input,textarea,select),.sh-input{background:var(--sh-surface-2)!important;border-color:var(--sh-border-2)!important;color:var(--sh-text)!important}
.a26p :is(input,textarea,select):focus{border-color:var(--sh-orange)!important;box-shadow:var(--sh-focus)!important}
.a26p :is(.a26p-summary-top,.a26p-summary-foot,.a26p-summary-items,.a26p-summary-payment,.a26p-plan-tick,.a26p-option-end i){background:var(--sh-surface-2)!important;border-color:var(--sh-border-2)!important}
.a26p :is([class*='tick'],[class*='check']) svg{stroke:var(--sh-orange)!important}
.a26p :is(.a26p-summary-top,.a26p-summary-foot,.a26p-summary-items) :is(p,small,span){color:var(--sh-text-2)!important}
/* Additional service and editorial sections */
:where(.ad26-services-grid,.services191,.sv26,.ad26-showcase,.ad26-comparison,.adp-direct-comparison,.pr26,.seo-locality) :is([class*='card'],[class*='panel'],[class*='tile'],[class*='box']){background-color:var(--sh-surface)!important;border-color:var(--sh-border-2)!important}
/* Cookies — use the same dark theme, including the fine-print link */
.privacy-banner,.privacy-banner-inner,.privacy-dialog,.privacy-dialog-panel{background:var(--sh-surface)!important;border-color:var(--sh-border-2)!important;color:var(--sh-text)!important;box-shadow:0 18px 65px rgba(0,0,0,.55)!important}
.privacy-banner-brand{background:var(--sh-surface-2)!important;border:1px solid var(--sh-border-2)!important;box-shadow:none!important}
.privacy-banner :is(h2,h3,strong,b),.privacy-banner-brand b,.privacy-dialog :is(h2,h3,strong,b){color:var(--sh-text)!important}
.privacy-banner :is(p,small),.privacy-dialog :is(p,small,span){color:var(--sh-text-2)!important}
.privacy-banner a,.privacy-dialog a{color:var(--sh-orange)!important}
.privacy-banner-btn,.privacy-btn{background:var(--sh-surface-2)!important;border:1px solid var(--sh-border-2)!important;color:var(--sh-text)!important}
.privacy-banner-btn.is-primary,.privacy-btn-primary{background:var(--sh-grad)!important;color:var(--sh-black)!important;border-color:transparent!important}
/* Chat launcher: compact, visible, does not cover CTAs and consent dialog. */
.adev-support{z-index:990!important;right:16px!important;bottom:18px!important;max-width:calc(100vw - 32px)}
.adev-support-launcher{width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important;padding:0!important;border-radius:50%!important;justify-content:center!important;background:var(--sh-surface)!important;color:var(--sh-text)!important;border:1px solid var(--sh-border-2)!important;box-shadow:0 8px 28px rgba(0,0,0,.45)!important}
.adev-support-launcher-copy{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
.adev-support-launcher-mark{background:var(--sh-surface-2)!important;border-radius:50%!important}
.adev-support-launcher-mark img{max-height:34px;max-width:30px;object-fit:contain}
.adev-support-panel{z-index:991!important;background:var(--sh-surface)!important;color:var(--sh-text)!important;border-color:var(--sh-border-2)!important}
.adev-support-panel :is(input,textarea,.adev-support-compose){background:var(--sh-surface-2)!important;color:var(--sh-text)!important;border-color:var(--sh-border-2)!important}
.adev-support-panel :is(p,small,span){color:var(--sh-text-2)}
body:has(.privacy-banner:not([hidden]):not(.is-hidden)) .adev-support:not(.is-open){bottom:148px!important}
/* Client portal and admin panels: consistent brand without replacing their backend. */
.portal-body,.portal-shell,.portal-login,.portal-login-panel,.portal-sidebar,.portal-main,.sh-workspace,.sh-workspace-shell{background:var(--sh-bg)!important;color:var(--sh-text)!important}
.portal-body :is(.portal-card,.portal-login-box,.portal-help,.portal-login-art,.portal-stat,.portal-panel),.sh-workspace :is([class*='card'],[class*='panel']){background:var(--sh-surface)!important;border-color:var(--sh-border-2)!important;color:var(--sh-text)!important}
.portal-body :is(h1,h2,h3,h4,strong,b),.sh-workspace :is(h1,h2,h3,strong,b){color:var(--sh-text)!important}
.portal-body :is(p,small,label),.sh-workspace :is(p,small,label){color:var(--sh-text-2)!important}
.portal-body :is(input,textarea,select),.sh-workspace :is(input,textarea,select){background:var(--sh-surface-2)!important;color:var(--sh-text)!important;border-color:var(--sh-border-2)!important}
.portal-body .portal-nav a.is-active{background:var(--sh-surface-2)!important;color:var(--sh-orange)!important}
.portal-body :is(.portal-login-brand,.portal-brand) img{width:auto;max-height:45px}
.sh-workspace-logo img{width:auto;max-height:65px}
/* Device width and layout parity. */
@media(max-width:768px){
 .site-header .sh-brand picture img{height:36px!important;max-width:160px!important}
 .sh-hero-stage{min-height:330px!important}
 .sh-stage-brand-lockup.sh-brand-emblem img{height:120px!important}
 .sh-stage-brand-lockup.sh-brand-emblem strong{font-size:clamp(31px,9vw,48px)!important}
 .sh-stage-brand-lockup.sh-brand-emblem small{font-size:8px;letter-spacing:.16em}
 :is(.market26,.a26p,.home192,.ad26-showcase) [class*='eyebrow'],:is(.market26,.a26p,.home192,.ad26-showcase) [class*='kicker']{max-width:100%!important;width:auto!important;min-width:0!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
 .adev-support{bottom:calc(16px + env(safe-area-inset-bottom))!important;right:16px!important}
 body:has(.privacy-banner:not([hidden]):not(.is-hidden)) .adev-support:not(.is-open){bottom:calc(175px + env(safe-area-inset-bottom))!important}
 .adev-support-panel{z-index:991!important}
 .privacy-banner-inner{max-height:min(70dvh,480px);overflow:auto}
 .a26p,.market26,.home192,.site-footer{max-width:100%;min-width:0}
}
@media(max-width:390px){.site-header .sh-brand picture img{height:31px!important}.sh-stage-brand-lockup.sh-brand-emblem strong{font-size:32px!important}}
@media(prefers-reduced-motion:reduce){.sh-brand-emblem img,.site-header .sh-brand picture img{animation:none!important;transition:none!important}}
