/* Translatei — supplied hunter-teal/orange identity, shared editorial layout. */
:root{
  --ti-brand:#033446;--ti-orange:#fb9e00;--ti-bg:#fff;--ti-soft:#f2f8f8;
  --ti-surface:#fff;--ti-raised:#f7fafb;--ti-text:#263e49;--ti-muted:#526975;
  --ti-heading:#033446;--ti-heading-accent:#c56b00;--ti-small-accent:#ad5900;
  --ti-link:#075d6b;--ti-line:#d5e1e5;--ti-shadow:0 12px 38px #03344610;
  --ti-control:#edf5f6;--ti-on-action:#fff;--ti-action:#075264;--ti-action-hover:#033446;
  --primary:var(--ti-heading);--secondary:var(--ti-link);--ink:var(--ti-text);
  --muted:var(--ti-muted);--line:var(--ti-line);--r6-blue:var(--ti-brand);--r7-blue:var(--ti-brand);
  color-scheme:light;
}
html[data-theme="dark"]{
  --ti-bg:#081c24;--ti-soft:#102a33;--ti-surface:#14313b;--ti-raised:#193944;
  --ti-text:#e4edf0;--ti-muted:#b8cbd2;--ti-heading:#bde7e9;
  --ti-heading-accent:#ffb23e;--ti-small-accent:#ffb23e;--ti-link:#8ddde0;
  --ti-line:#35525d;--ti-shadow:0 14px 42px #0005;--ti-control:#1a3b46;
  --ti-on-action:#09222c;--ti-action:#9bdde0;--ti-action-hover:#c0eff0;
  --primary:var(--ti-heading);--secondary:var(--ti-link);--ink:var(--ti-text);
  --muted:var(--ti-muted);--line:var(--ti-line);--r6-blue:#62aeb8;--r7-blue:#62aeb8;
  color-scheme:dark;
}
html[data-theme] body{background:var(--ti-bg)!important;color:var(--ti-text)!important}
html[data-theme] body :is(input,textarea,select){color-scheme:inherit}
html[data-theme] ::selection{background:#ffc568;color:#072e3b}
html[data-theme] :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--ti-heading-accent);outline-offset:4px}

/* This important layer deliberately supersedes legacy important heading colors. */
@layer translatei-heading-colors{
  html[data-theme] body :is(h1,h2,h3,h4,h5,h6),
  html[data-theme] body :is(h1,h2,h3,h4,h5,h6) :is(span,em,strong,b,a){color:var(--ti-heading)!important;text-shadow:none!important}
  html[data-theme] body :is(h1,h2,h3,h4,h5,h6) :is(.r7-heading-accent,.r6-heading-accent,.ti-heading-accent,.accent),
  html[data-theme] body :is(h1,h2,h3,h4,h5,h6) :is(.r7-heading-accent,.r6-heading-accent,.ti-heading-accent,.accent) :is(span,em,strong,b,a),
  html[data-theme] body :is(h1,h2)>span:not(.home-title-row),
  html[data-theme] body .home-hero h1>.home-title-row:nth-child(2),
  html[data-theme] body .home-hero h1>.home-title-row:nth-child(2) :is(span,em,strong,b,a){color:var(--ti-heading-accent)!important}
  html[data-theme] body :is(h3,h4,h5,h6) :is(.r7-heading-accent,.r6-heading-accent,.ti-heading-accent,.accent),
  html[data-theme] body :is(h3,h4,h5,h6) :is(.r7-heading-accent,.r6-heading-accent,.ti-heading-accent,.accent) :is(span,em,strong,b,a){color:var(--ti-small-accent)!important}
}
html[data-theme] body .eyebrow,html[data-theme] body .editorial-kicker{color:var(--ti-link)!important}
html[data-theme] body :is(.text-link,.translatei-related-links a,.market-priority-links a,.translatei-editorial-note a,.certified-breadcrumb a){color:var(--ti-link)!important}
html[data-theme] body :is(.button.primary,.translatei-career__button,.cert-copy .button.primary){background:var(--ti-action)!important;border-color:var(--ti-action)!important;color:var(--ti-on-action)!important}
html[data-theme] body :is(.button.primary,.translatei-career__button,.cert-copy .button.primary):is(:hover,:focus-visible){background:var(--ti-action-hover)!important;border-color:var(--ti-action-hover)!important;color:var(--ti-on-action)!important}
html[data-theme] body :is(.button.outline,.cert-copy .button.outline){background:transparent!important;color:var(--ti-link)!important;border-color:var(--ti-link)!important}
html[data-theme] body :is(.button.outline,.cert-copy .button.outline):is(:hover,:focus-visible){background:var(--ti-control)!important;color:var(--ti-heading)!important;border-color:var(--ti-heading)!important}
html[data-theme] body .button :is(.icon,svg){color:inherit!important}

/* The original header, dropdown and phone menu keep their sizing and behavior. */
html[data-theme] body .site-header{background:transparent}
html[data-theme] body .site-header:is(.scrolled,.menu-open,.mobile-open){background:var(--ti-bg)!important;box-shadow:var(--ti-shadow)}
html[data-theme] body .site-header .brand img{filter:none!important}
html[data-theme] body .site-header :is(.trigger,.nav-phone,.login,.nav-order,.translate-trigger){color:var(--ti-heading)!important}
html[data-theme] body .site-header :is(.trigger,.nav-phone,.login,.translate-trigger):is(:hover,:focus-visible){color:var(--ti-small-accent)!important}
html[data-theme] body .site-header .nav-order:is(:hover,:focus-visible){background:var(--ti-action)!important;color:var(--ti-on-action)!important}
html[data-theme] body .site-header .login .user-login-icon{filter:none!important;color:inherit!important}
html[data-theme] body :is(.mega,.navigation .mega,.site-header.mobile-open .navigation){background:var(--ti-surface)!important;color:var(--ti-text)!important;border-color:var(--ti-line)!important}
html[data-theme] body .menu-item:is(:hover,:focus-visible){background:var(--ti-control)!important}
html[data-theme] body .menu-item b{color:var(--ti-heading)!important}
html[data-theme] body .menu-item small{color:var(--ti-muted)!important}
html[data-theme] body .menu-item .item-arrow{color:var(--ti-link)!important}
html[data-theme] body .mega-foot{border-color:var(--ti-line)!important}
html[data-theme] body .mega-foot a{color:var(--ti-link)!important}
html[data-theme] body .mobile-toggle{background:var(--ti-control)!important;border-color:var(--ti-line)!important}
html[data-theme] body .mobile-toggle span{background:var(--ti-heading)!important}
html[data-theme="dark"] body .site-header .brand{background:#fff;border-radius:5px;box-shadow:0 0 0 5px #fff}
html[data-theme="dark"] body .menu-icon.reference-icon{background:color-mix(in srgb,var(--accent,#69cbd3) 16%,var(--ti-surface))!important;border-color:color-mix(in srgb,var(--accent,#69cbd3) 46%,var(--ti-surface))!important}
@layer translatei-control-colors{
  html[data-theme] body .site-header .nav-order:is(:hover,:focus-visible){background:var(--ti-action)!important;color:var(--ti-on-action)!important}
  @media(max-width:1180px){html[data-theme] body .site-header .nav-order:not(:hover):not(:focus-visible){background:var(--ti-control)!important;color:var(--ti-heading)!important}}
}

/* One-click theme change; the native button remains keyboard accessible. */
html body .ti-theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;padding:9px;margin:0;border:1px solid var(--ti-line);border-radius:50%;background:var(--ti-control);color:var(--ti-heading);cursor:pointer;box-shadow:none;transition:background .16s,color .16s,border-color .16s}
html body .ti-theme-toggle:hover{background:var(--ti-surface);border-color:var(--ti-heading-accent)}
html body .ti-theme-toggle svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
html body .ti-theme-toggle .ti-theme-sun{display:none}
html[data-theme="dark"] body .ti-theme-toggle .ti-theme-moon{display:none}
html[data-theme="dark"] body .ti-theme-toggle .ti-theme-sun{display:block}
html body .ti-theme-toggle:disabled{cursor:default;opacity:.5}
html body .ti-theme-reset{display:inline-block;border:0;background:transparent;padding:6px 2px;color:var(--ti-link);font:inherit;font-size:.875rem;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
html body .ti-theme-reset[hidden]{display:none!important}

/* Signing photo stays visible; its reading surface follows the chosen theme. */
html[data-theme] body.home main .home-hero .hero-overlay{background:linear-gradient(180deg,rgba(255,255,255,.76),rgba(255,255,255,.81) 60%,rgba(255,255,255,.93))!important}
html[data-theme="dark"] body.home main .home-hero .hero-overlay{background:linear-gradient(180deg,rgba(8,28,36,.79),rgba(8,28,36,.82) 60%,rgba(8,28,36,.96))!important}
html[data-theme] body.home main .home-hero :is(.intro,.home-delivery-note){color:var(--ti-text)!important}
html[data-theme] body.home main .home-hero .rotating-word{color:var(--ti-link)!important;text-shadow:none!important}
html[data-theme] body.home main .home-hero .rotating-word::after,
html[data-theme] body .translatei-type-cursor,
html[data-theme] body.home .home-hero .animated-underline::after{background:var(--ti-orange)!important}
html[data-theme] body.home main .home-hero .button.outline{background:color-mix(in srgb,var(--ti-bg) 82%,transparent)!important}
html[data-theme] body .floating-trust{background:var(--ti-brand)!important;color:#fff!important}
html[data-theme] body .floating-trust span{color:#fff!important}
html[data-theme="dark"] body .floating-trust{background:#173d49!important;border-color:#91acb4!important}

/* Section edges blend with the same page canvas in both modes. */
html[data-theme] body main :is(.section.wash,.section.violet-wash,.section.document-refresh,.section.certification-refresh,.section.steps-refresh,.section.refreshed-reviews,.language-profile,.translatei-us-company,.cert-promo,.local-content,.city-editorial.tone-1,.city-editorial.tone-2){background:linear-gradient(180deg,var(--ti-bg),var(--ti-soft) 48%,var(--ti-bg))!important}
html[data-theme] body:not(.home) main :is(.hero,.inner-hero,.translatei-career__hero){background:linear-gradient(180deg,var(--ti-bg),var(--ti-soft) 55%,var(--ti-bg))!important}
html[data-theme] body :is(.translatei-story,.translatei-language-story,.city-editorials,.city-editorial.tone-0,.nearby-section,.reviews-section,.translatei-career,.translatei-career__hero){background:var(--ti-bg)!important}
html[data-theme] body main .city-editorial{background-color:var(--ti-bg)!important}
html[data-theme] body main :is(.translatei-photo-accent,.translatei-photo-layout,.install-picture,.translatei-language-frame)::before,
html[data-theme] body main :is(.translatei-photo-accent,.translatei-photo-layout,.install-picture,.translatei-language-frame)::after,
html[data-theme] body main :is(.visual,.editorial-visual,.city-visual):has(>img.translatei-photo:not(.translatei-photo-art))::before,
html[data-theme] body main :is(.visual,.editorial-visual,.city-visual):has(>img.translatei-photo:not(.translatei-photo-art))::after,
html[data-theme] body main .translatei-shaped-host .translatei-photo-layout::before,
html[data-theme] body main .translatei-shaped-host .translatei-photo-layout::after,
html[data-theme] body.home main .translatei-story-media::before,
html[data-theme] body.home main .translatei-story-media::after{background:var(--r6-blue)!important;border-color:var(--r6-blue)!important}

html[data-theme] body .site-footer{background:linear-gradient(180deg,var(--ti-bg),var(--ti-soft))!important;border-top-color:var(--ti-line)!important;color:var(--ti-text)!important}
html[data-theme] body .site-footer :is(a,p,li,.footer-bottom){color:var(--ti-muted)!important}
html[data-theme] body .site-footer a:is(:hover,:focus-visible){color:var(--ti-link)!important}
html[data-theme] body .footer-actions{border-color:var(--ti-line)!important}
html[data-theme] body .footer-bottom{border-color:var(--ti-line)!important}

/* Explicit legacy light colors are translated to the dark reading palette. */
html[data-theme="dark"] body main :is(p,li,dd,dt,label,legend,td,th,figcaption,.intro,.online-service-note,.install-copy,.master-delivery,.profile-answer,.translatei-story-checks,.translatei-editorial-note,.directory-status,.directory-priority-note,.translatei-career__page-summary){color:var(--ti-text)!important}
html[data-theme="dark"] body :is(.review-location,.review-person small,.review-dialog .review-full,.review-dialog .review-location,.translatei-review-rating,.translatei-review-rating small,.cert-rating,.cert-rating b,.certified-price,.certified-inclusions,.certified-quote-note,.certified-offer-rating,.certified-breadcrumb,.translatei-greeting-note,.translatei-greeting-romanization){color:var(--ti-muted)!important}
html[data-theme="dark"] body main :is(a:not(.button):not(.translatei-career__button):not(.menu-item),.name-list a,.language-codes small,.local-services-links a,.policy-copy a,.policy-toc a){color:var(--ti-link)}
html[data-theme="dark"] body :is(.review-card,.review-dialog,.translatei-contact-panel,.translatei-career__dialog,.translatei-career__opening,.translatei-career__card,.document-service,.document-design-card,.document-label,.local-content-card,.city-topic,.price-card,.notice,.context-band,.portal-card,.contact-email-card,.career-card,.policy-toc,.policy-cards>a,.contact-options>a,.contact-options>div,.contact-card,.timeline-number,.timeline-node,.timeline-card,.visual-badge,.language-hero-flag,.translatei-language-greeting,.cert-card,.r6-cert-feature,.benefit,.install-caption){background:var(--ti-surface)!important;color:var(--ti-text)!important;border-color:var(--ti-line)!important;box-shadow:var(--ti-shadow)}
html[data-theme="dark"] body main .shape-grid .shape-card:nth-child(n){background:var(--ti-surface)!important;color:var(--ti-text)!important;border-color:var(--ti-line)!important}
html[data-theme="dark"] body main .r6-cert-centered .r6-cert-feature{border-top-color:var(--cert-accent,var(--r7-icon-color,#6ac6d1))!important}
html[data-theme="dark"] body main .contact-card{border-top-color:var(--r7-icon-color,var(--icon-ink,var(--accent,#6ac6d1)))!important}
html[data-theme="dark"] body :is(.shape-card p,.translatei-us-grid p,.translatei-story-copy>p,.translatei-language-copy>p,.editorial-copy p,.local-content-card p,.review-card>p,.cert-copy>p,.r6-cert-feature p){color:var(--ti-text)!important}
html[data-theme="dark"] body :is(.dialog-close,.translatei-contact-close,.translatei-career__dialog-close){background:var(--ti-control)!important;color:var(--ti-text)!important}
html[data-theme="dark"] body :is(.review-dialog,.translatei-career__dialog)::backdrop{background:#020b12ad}
html[data-theme="dark"] body :is(.review-avatar,.review-avatar-placeholder){background:var(--ti-control)!important;color:#abd4dc!important;border-color:var(--ti-line)!important;box-shadow:0 0 0 3px var(--ti-bg),0 0 0 4px var(--ti-line)!important}
html[data-theme="dark"] body .review-client-photo{box-shadow:0 0 0 3px var(--ti-bg),0 0 0 4px var(--ti-line)!important}
html[data-theme="dark"] body :is(.review-open-label,.review-read-more){color:var(--ti-link)!important}
html[data-theme="dark"] body .translatei-rating-summary{color:var(--ti-text)!important}
html[data-theme="dark"] body .certified-offer-summary{background:linear-gradient(90deg,transparent,var(--ti-surface) 16%,var(--ti-surface) 84%,transparent)!important}
html[data-theme] body .certified-price strong{color:var(--ti-heading)!important}
html[data-theme="dark"] body .cert-card{border-color:var(--ti-surface)!important}
html[data-theme="dark"] body :is(.cert-lines,.document-design-card .paper-lines){background:repeating-linear-gradient(to bottom,#5c7880 0,#5c7880 4px,transparent 4px,transparent 10px)!important}
html[data-theme="dark"] body .translatei-greeting-source{color:var(--ti-text)!important}
html[data-theme] body .translatei-greeting-target{color:var(--ti-heading-accent)!important}
html[data-theme="dark"] body .translatei-greeting-equals{color:var(--ti-muted)!important}
html[data-theme="dark"] body .translatei-benefit-photo{background:#1c4349!important}
html[data-theme="dark"] body .profile-answer{border-left-color:var(--ti-orange)!important}
html[data-theme="dark"] body :is(input,textarea,select,.directory-search input){background:var(--ti-surface)!important;border-color:var(--ti-line)!important;color:var(--ti-text)!important}
html[data-theme="dark"] body :is(input,textarea)::placeholder{color:#acc4cd;opacity:1}
html[data-theme="dark"] body :is(.name-list .code,.local-services-links a){background:var(--ti-control)!important;color:var(--ti-text)!important}
html[data-theme="dark"] body .name-list li:is(.search-match,.first-match) a{background:#f7c86c!important;color:#172b32!important}
html[data-theme="dark"] body mark{background:#f7c86c!important;color:#172b32!important}
html[data-theme="dark"] body :is(.pagination a,.translatei-career__pagination a){background:var(--ti-surface)!important;border-color:var(--ti-line)!important;color:var(--ti-link)!important}
html[data-theme="dark"] body :is(.pagination [aria-current],.translatei-career__pagination [aria-current]){background:var(--ti-action)!important;border-color:var(--ti-action)!important;color:var(--ti-on-action)!important}
html[data-theme="dark"] body :is(.translatei-career__pagination,.translatei-career__opening+.translatei-career__opening){border-color:var(--ti-line)!important;border-image:none!important}
html[data-theme="dark"] body .translatei-career{--career-ink:var(--ti-text);--career-heading:var(--ti-heading);--career-accent:var(--ti-link);--career-soft:var(--ti-soft);--career-border:var(--ti-line)}
html[data-theme="dark"] body .translatei-career__view{color:var(--ti-link)!important}
html[data-theme="dark"] body .skip{background:var(--ti-surface);color:var(--ti-text)}
html[data-theme="dark"] body #translatei-nav-fallback{background:var(--ti-surface)!important;color:var(--ti-text)!important}
html[data-theme="dark"] body .faq-section :is(details,summary){background:transparent!important;border-color:var(--ti-line)!important;color:var(--ti-heading)!important}
html[data-theme="dark"] body .faq-section details p{color:var(--ti-text)!important}

@media(min-width:1181px) and (max-width:1360px){
  html body .site-header .nav-actions{gap:10px}
  html body .site-header .nav-order{margin-left:6px;padding-inline:8px}
  html body .site-header .nav-shell{gap:12px}
}
@media(max-width:1180px){
  html body .site-header .nav-actions .nav-order{width:calc(100% - 58px);flex:1 1 calc(100% - 58px);margin:8px 0 0}
  html body .site-header .nav-actions .ti-theme-toggle{margin-top:8px;flex:0 0 44px;width:44px;height:44px}
}
@media(prefers-reduced-motion:reduce){html body .ti-theme-toggle{transition:none}}
