:root{color-scheme:light;--theme-page:#f3f3f4;--theme-section:#fff;--theme-surface:#fff;--theme-surface-alt:#f3f3f4;--theme-surface-strong:#1a1b21;--theme-text:#111217;--theme-muted:#5f6470;--theme-border:#d9dadf;--theme-control:#fff;--theme-hover:#f8f8f9}
    .site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid var(--line,#d9dadf);transition:transform .24s ease,background-color .18s ease,border-color .18s ease}
    .site-header.is-hidden{transform:translateY(-100%)}
    .site-header__inner{position:relative;max-width:1560px;min-height:104px;margin:0 auto;padding:6px 34px 8px;display:grid;grid-template-columns:minmax(150px,190px) minmax(0,1fr) 222px;grid-template-rows:36px 54px;row-gap:0;column-gap:28px;align-items:center}
    .site-logo{grid-column:1;grid-row:1/3;display:inline-flex;width:132px;height:74px;justify-self:center;text-decoration:none}
    .site-logo img{display:block;width:100%;height:100%;object-fit:contain}
    .site-logo .site-logo__dark{display:none}
    .site-nav{grid-column:2;grid-row:2;width:100%;min-width:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:center;justify-items:center;color:#4e515b;font-size:15px}
    .site-nav a{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 8px;color:inherit;text-decoration:none;white-space:nowrap;text-align:center;font-weight:500}
    .site-nav a.is-current{color:#b01217;text-shadow:.45px 0 0 currentColor}
    .site-nav a.is-current::before{content:"";position:absolute;left:-3px;top:8px;width:2px;height:16px;background:#b01217}
    .site-nav a.is-current::after{content:"";position:absolute;left:50%;bottom:-19px;width:2px;height:24px;background:#b01217}
    .site-actions{display:contents}
    .site-utility{grid-column:2/4;grid-row:1;align-self:center;display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
    .site-phone{position:static;right:auto;top:auto;min-width:0;max-width:none;margin-right:3px;overflow:visible;text-overflow:clip;color:#30323a;text-decoration:none;font-weight:700;font-size:14px;line-height:1.15;white-space:nowrap}
    .site-icon-button{display:inline-grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:0;border:1px solid var(--line,#d9dadf);border-radius:0;background:transparent;color:#30323a;text-decoration:none;cursor:pointer;transition:border-color .16s ease,color .16s ease,background-color .16s ease}
    .site-icon-button:hover,.site-icon-button:focus-visible{border-color:#b01217;color:#b01217;background:#fff}
    .site-icon-button svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:square;stroke-linejoin:miter}
    .site-theme-toggle .site-icon-sun{display:none}
    .site-cta,.site-menu{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid #b01217;border-radius:0;background:#fff;color:#b01217;text-decoration:none;font-weight:800;white-space:nowrap}
    .site-cta{grid-column:3;grid-row:2;width:100%;min-width:0}
    .site-cta:hover{background:#b01217;color:#fff}
    .site-menu{display:none;border-color:var(--line,#d9dadf);color:#111217;cursor:pointer}
    :root[data-theme="dark"]{color-scheme:dark;--bg:#121318;--ink:#f3f3f5;--muted:#b5b8c2;--line:#353741;--paper:#1a1b21;--soft:#222329;--red:#d0252b;--red-dark:#6c0e12;--red-soft:#37191b;--blue:#8eb4d1;--theme-page:#121318;--theme-section:#121318;--theme-surface:#1a1b21;--theme-surface-alt:#222329;--theme-surface-strong:#0f1014;--theme-text:#f3f3f5;--theme-muted:#b5b8c2;--theme-border:#353741;--theme-control:#15161b;--theme-hover:#25262d;background:#121318}
    :root[data-theme="dark"] body{background:var(--bg)!important;color:var(--ink)!important}
    :root[data-theme="dark"] .site-header{background:rgba(18,19,24,.97);border-color:var(--line)}
    :root[data-theme="dark"] .site-logo .site-logo__light{display:none}
    :root[data-theme="dark"] .site-logo .site-logo__dark{display:block}
    :root[data-theme="dark"] .site-nav,:root[data-theme="dark"] .site-phone,:root[data-theme="dark"] .site-icon-button{color:#e9e9ec}
    :root[data-theme="dark"] .site-icon-button:hover,:root[data-theme="dark"] .site-icon-button:focus-visible{background:#1a1b21;color:#ef4b50}
    :root[data-theme="dark"] .site-cta,:root[data-theme="dark"] .site-menu{background:#121318;color:#ef4b50}
    :root[data-theme="dark"] .site-menu{color:#f3f3f5}
    :root[data-theme="dark"] .site-header.is-menu-open .site-nav{background:#1a1b21}
    :root[data-theme="dark"] .site-theme-toggle .site-icon-moon{display:none}
    :root[data-theme="dark"] .site-theme-toggle .site-icon-sun{display:block}
    :root[data-theme="dark"] :is(.lead,.author-card,.contextual-action,.article-rail,.side-section,.related-card,.service-hero,.scope-band,.situation,.deliverable,.expert-card,.price-block,.service-sidebar,.lead-section,.lead-form,.tool-workspace,.intro-fact,.process-band,.service-action,.profile-hero,.home-current,.home-current__body,table){background:var(--paper)!important;color:var(--ink)!important;border-color:var(--line)!important}
    :root[data-theme="dark"] :is(input,textarea,select,.button,.control){background:#15161b!important;color:var(--ink)!important;border-color:var(--line)!important}
    :root[data-theme="dark"] :is(.hero-lead,.lead p,.side-section p,.service-sidebar p,.related-card p){color:var(--muted)}
    :root[data-theme="dark"] :is(.hero,.services-hero,.quick-section,.catalog,.final-cta,.about-body,.contacts-body,.privacy-body,.home-body,.industry-hub,.team-hub,.glossary-index-page,.requisites-body,.about-hero,.about-section,.about-values,.about-team,.about-cases,.about-contact,.about-ratings,.contacts-hero,.contacts-channels,.contacts-details,.contacts-map-section,.contacts-social,.contacts-lead,.privacy-hero,.privacy-document,.privacy-operator,.privacy-related,.home-hero,.home-section,.home-routes,.home-facts,.home-cases,.home-knowledge,.home-tools,.home-contact,.industry-hero,.risk-section,.resource-section,.proof-section,.practice-section,.article-section,.glossary-hero,.definition-band,.related-section,.requisites-hero,.requisites-main,.requisites-panel,.requisites-english){background:var(--bg)!important;color:var(--ink)!important;border-color:var(--line)!important}
    :root[data-theme="dark"] :is(.task-link,.service-link,.final-cta__inner,.about-values article,.about-person,.about-case,.about-public__list,.about-rating,.about-contact__copy,.about-form,.contacts-channels a,.contacts-details article,.contacts-hero__office,.contacts-map-copy,.contacts-lead__copy,.contacts-form,.privacy-hero aside,.privacy-summary,.privacy-summary article,.home-fact,.route-item,.practice-link,.tool-list,.case-card,.knowledge-card,.home-contact__copy,.home-form,.industry-hero__visual p,.risk-grid article,.resource-card,.proof-card,.asset-list li,.lead-copy,.person-card,.practice-card,.article-card,.profile-detail article,.term-cover,.term-hero,.term-row,.term-sidebar,.related-card,.glossary-empty,.requisites-quick,.requisites-nav a,.requisites-row,.classifier){background:var(--paper)!important;color:var(--ink)!important;border-color:var(--line)!important}
    :root[data-theme="dark"] :is(.requisites-nav,.requisites-help,.requisites-english .requisites-row:nth-child(even)){background:var(--soft)!important;border-color:var(--line)!important}
    :root[data-theme="dark"] :is(.about-hero__copy>p:not(.eyebrow),.about-contact__copy>p:not(.eyebrow),.about-contact__note,.contacts-hero__office p,.contacts-lead__copy>p:not(.eyebrow),.contacts-lead__note,.privacy-intro>p:last-child,.privacy-section__body,.privacy-toc a,.home-hero__lead,.home-fact span,.home-contact__copy>p:not(.eyebrow),.home-contact__note,.industry-hero__visual p,.lead-copy>p:not(.eyebrow),.lead-note,.profile-detail article>p:not(.eyebrow),.profile-focus p,.profile-intro,.glossary-hero__inner>div:last-child p,.rich-text,.sidebar-section ol a,.term-lead,.topic-filters button,.requisites-row dt,.requisites-quick small){color:var(--muted)!important}
    :root[data-theme="dark"] :is(.about-form label,.contacts-form label,.home-form label,.lead-form label,.contacts-map-copy dd,.requisites-nav a,.requisites-row dd,.requisites-help__inner>div:last-child a){color:var(--ink)!important}
    :root[data-theme="dark"] .hero h1{color:var(--ink)!important}
    :root[data-theme="dark"] .hero :is(p,.meta){color:var(--muted)!important}
    :root[data-theme="dark"] .services-hero h1{color:var(--ink)!important}
    :root[data-theme="dark"] .services-hero p{color:var(--muted)!important}
    :root[data-theme="dark"] .service-hero dd{color:var(--muted)!important}
    :root[data-theme="dark"] :is(.tools-hero,.tools-section,.account-section,.reference-hero){background:var(--theme-section)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
    :root[data-theme="dark"] :is(.mode-panel,.tool-row,.account-inner,.hero-card,.content-card,.mktu-source-table__scroll,.class-card,.side-box,.pager a,.mktu-search-panel input,.mktu-chip,.class-tag-links__chips a,.mktu-more,.mktu-result-card,.mktu-icon-action,.mktu-selected-class,.mktu-empty){background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
    :root[data-theme="dark"] :is(.tool-row:hover,.search-note,.mktu-teaser,.mktu-result-tags span){background:var(--theme-hover)!important}
    :root[data-theme="dark"] :is(.mktu-navigator__intro p:not(.eyebrow-light),.mktu-state-row,.mktu-results-head span,.mktu-result-card p,.mktu-result-reasons ul,.mktu-selected-empty,.mktu-selected-class em,.class-tag-links p){color:var(--theme-muted)!important}
    :root[data-theme="dark"] .reference-hero .lead{padding:0!important;border:0!important;background:transparent!important;color:var(--theme-muted)!important}
    :root[data-theme="dark"] :is(.calculator-page,.dictionary-page,.risk-navigator-page) .lead{padding:0!important;border:0!important;background:transparent!important;color:var(--theme-muted)!important}
    :root[data-theme="dark"] :is(.hub-hero,.case-hub__head,.corporate,.cases-section){background:var(--theme-page)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
    :root[data-theme="dark"] :is(.case-hero,.outcome-graphic,.case-visual,.case-outcome,.brief-item,.risk-callout,.result-panel,.case-sidebar,.case-controls,.case-filter,.hub-search,.hub-search button,.topic-band,.featured-card,.catalog-shell,.load-more,.hub-action,.glossary-controls,.topic-filters button,.letter-nav a,.stats article,.pub-card,.page .article,.page .side-card,.quick,.quick-nav,.lesson-block,.thesis-block,.law-note,.table-wrap,.qa-card,.lesson-nav a,.prev-next a,.course-card,.lesson-card,.event-card,.corporate-panel,.note-card,.author-main,.help-panel,.page>.card,.hero-main,.hero-side,.panel,.mini-card,.steps li,.next-grid article,.hero .facts,.content .block,.hero-panel,.empty,.consent-boundary,.cookies-fact){background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
    :root[data-theme="dark"] :is(.task-block){background:var(--red-soft)!important;color:var(--theme-text)!important;border-color:#623035!important}
    :root[data-theme="dark"] :is(.answer-block){background:#142521!important;color:var(--theme-text)!important;border-color:#285148!important}
    :root[data-theme="dark"] .lesson-block--heading{background:transparent!important;border-color:transparent!important}
    :root[data-theme="dark"] :is(.case-hub__head p,.case-outcome p,.reduction,.case-facts dd,.case-section p,.solution-list li,.sidebar-list li,.hub-lead,.topic-tabs button,.course-card p,.event-card p,.event-card__meta small,.corporate-panel li,.note-card p,.help-panel p,.page .article p,.mini-card p,.side-card p,.panel-note,.pub-card p,.glossary-controls label,.lesson-figure figcaption,.gallery-grid figcaption,.source-note){color:var(--theme-muted)!important}
    :root[data-theme="dark"] :is(.case-filter,.quick a,.quick-nav a,.lesson-nav a,.prev-next a,.lesson-card strong,.pub-card strong,.hub-search button,.topic-filters button,.letter-nav a,.load-more){color:var(--theme-text)!important}
    :root[data-theme="dark"] :is(.case-filter.is-active,.topic-filters button.is-active){background:var(--red)!important;color:#fff!important;border-color:var(--red)!important}
    :root[data-theme="dark"] :is(.hub-search button,.load-more){color:#ef4b50!important}
    :root[data-theme="dark"] :is(.case-sidebar.is-handoff .sidebar-action,.term-sidebar.is-handoff .sidebar-action){background:var(--red-soft)!important}
    .site-footer{background:#111217;color:#fff;padding:62px 24px 24px}
    .site-footer__inner{max-width:1220px;margin:0 auto}
    .site-footer__main{display:grid;grid-template-columns:1.2fr repeat(5,minmax(0,1fr));gap:30px}
    .site-footer__logo{display:inline-flex;width:150px;height:62px}
    .site-footer__logo img{width:100%;height:100%;object-fit:contain;object-position:left center}
    .site-footer__brand p{max-width:300px;margin:22px 0 0;color:#737681;font-size:13px;line-height:1.55}
    .site-footer__col h3{margin:0 0 16px;color:#fff;font-size:12px;text-transform:uppercase;letter-spacing:.14em}
    .site-footer__col a,.site-footer__col span{display:block;color:#b9bbc5;text-decoration:none;font-size:14px;line-height:1.45;margin-bottom:10px}
    .site-footer__col a:hover{color:#fff}
    .site-footer__map{height:150px;margin-top:12px;border:1px solid #2f3038;background:#1d1e24;overflow:hidden}
    .site-social{display:flex;gap:8px;margin-top:14px}
    .site-social a{display:grid;place-items:center;width:38px;height:38px;border:1px solid #2f3038;color:#fff;font-weight:900;margin:0}
    .site-footer__bottom{display:flex;justify-content:space-between;gap:18px;margin-top:42px;padding-top:18px;border-top:1px solid #2f3038;color:#737681;font-size:13px}
    @media(max-width:1280px){
      .site-header__inner{grid-template-columns:132px minmax(0,1fr) 200px;padding-left:22px;padding-right:22px;column-gap:18px}
      .site-logo{width:116px}
      .site-nav{font-size:13px}
      .site-nav a{padding:0 4px}
      .site-phone{font-size:13px}
      .site-footer__main{grid-template-columns:repeat(3,minmax(0,1fr))}
      .site-footer__office{grid-column:1/-1}
    }
    @media(max-width:1180px){
      .site-header__inner{grid-template-columns:112px minmax(0,1fr) auto;grid-template-rows:34px 48px;min-height:98px;padding:8px 16px;column-gap:14px}
      .site-logo{width:112px;height:62px;justify-self:start}
      .site-nav{display:none}
      .site-header.is-menu-open .site-nav{display:grid;position:absolute;left:16px;right:16px;top:calc(100% + 8px);width:auto;grid-template-columns:1fr;background:#fff;border:1px solid var(--line,#d9dadf);box-shadow:0 18px 50px rgba(17,18,23,.16);justify-items:stretch;z-index:40}
      .site-header.is-menu-open .site-nav a{justify-content:flex-start;min-height:42px;padding:0 14px;border-bottom:1px solid var(--line,#d9dadf)}
      .site-header.is-menu-open .site-nav a.is-current::after{display:none}
      .site-utility{grid-column:2/4;grid-row:1}
      .site-cta{grid-column:2;grid-row:2}
      .site-menu{display:inline-flex;grid-column:3;grid-row:2}
      .site-footer__main{grid-template-columns:repeat(3,minmax(0,1fr))}
      .site-footer__office{grid-column:1/-1}
    }
    @media(max-width:700px){
      .site-header,.site-header__inner{max-width:100%;overflow:hidden}
      .site-header.is-menu-open,.site-header.is-menu-open .site-header__inner{overflow:visible}
      .site-header__inner{grid-template-columns:96px minmax(0,1fr) auto;grid-template-rows:32px 42px;min-height:92px;padding:9px 12px;column-gap:10px}
      .site-header.is-menu-open .site-nav{left:12px;right:12px}
      .site-logo{width:96px;height:52px}
      .site-phone{font-size:12px}
      .site-utility{gap:5px}
      .site-cta,.site-menu{min-height:38px;padding:0 12px;font-size:13px}
      .site-icon-button{flex-basis:32px;width:32px;height:32px}
      .site-footer__main{grid-template-columns:1fr}
      .site-footer__brand p{max-width:none}
      .site-footer__bottom{align-items:flex-start;flex-direction:column}
    }
    @media(max-width:420px){
      .site-header__inner{grid-template-columns:88px minmax(0,1fr) auto;column-gap:8px}
      .site-logo{width:88px}
      .site-phone{margin-right:0;font-size:11px}
      .site-utility{gap:4px}
      .site-icon-button{flex-basis:29px;width:29px;height:29px}
      .site-icon-button svg{width:16px;height:16px}
      .site-cta,.site-menu{padding:0 9px;font-size:12px}
    }
