/* ETIT modern theme. Load after the existing page and application stylesheets.
   This file changes presentation only; route, form, map and application hooks stay intact. */
@font-face{font-family:ETITMontserrat;src:url('/assets/theme/Montserrat-Medium.ttf') format('truetype');font-weight:400 500;font-display:swap}
@font-face{font-family:ETITMontserrat;src:url('/assets/theme/Montserrat-SemiBold.otf') format('opentype');font-weight:600;font-display:swap}
@font-face{font-family:ETITMontserrat;src:url('/assets/theme/Montserrat-Bold.otf') format('opentype');font-weight:700 900;font-display:swap}

html:root,html[data-theme]{
  --etit-bg:#08152f;--etit-surface:#0f2140;--etit-soft:#142b4d;
  --etit-ink:#edf4ff;--etit-muted:#b5c4d9;--etit-line:#304461;
  --etit-accent:#82c4f3;--etit-action:#3e6fb6;--etit-action-hover:#5085cb;
  --etit-navy:#14244a;--etit-cyan:#30c7f1;--etit-shadow:0 12px 32px #00000015;
  --ink:var(--etit-ink);--paper:var(--etit-bg);--muted:var(--etit-muted);
  --red:var(--etit-action);--gold:var(--etit-accent);
}
html[data-theme=light]{
  --etit-bg:#fff;--etit-surface:#fff;--etit-soft:#f3f6fb;
  --etit-ink:#172a47;--etit-muted:#5b6a7e;--etit-line:#dce4ee;
  --etit-accent:#3569a9;--etit-action:#14244a;--etit-action-hover:#2c4f82;
  --etit-shadow:0 12px 32px #152c4a09;
}
html{scroll-padding-top:110px}
html[data-theme] body{background:var(--etit-bg);color:var(--etit-ink);font-family:'Segoe UI',Tahoma,Arial,sans-serif;font-size:16px;line-height:1.85}
html[lang=en][data-theme] body{font-family:ETITMontserrat,'Segoe UI',Arial,sans-serif}
html[data-theme] p{color:var(--etit-muted)}
html[data-theme] em{color:var(--etit-accent)}
html[data-theme] :is(h1,h2,h3,h4){color:var(--etit-ink);font-weight:600}
html[data-theme] h1{letter-spacing:-.035em;line-height:1.3}
html[data-theme] h2{font-size:clamp(30px,3.2vw,44px);line-height:1.4;letter-spacing:-.025em}
html[lang=ar][data-theme] :is(h1,h2){line-height:1.5}
html[data-theme] :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--etit-accent);outline-offset:4px}
html[data-theme] a:not(.btn):not(.hl-button):hover{color:var(--etit-accent)}
html[data-theme] :is(.wrap,.page-body){max-width:1360px}
html[data-theme] .wrap{padding-block:80px}
html[data-theme] .page-body{padding-block:60px 80px}
html[data-theme] :is(.eyebrow,.eyebrow.red,.section-prelude){color:var(--etit-accent);font-size:14px;font-weight:600;letter-spacing:.09em}
html[lang=ar][data-theme] :is(.eyebrow,.eyebrow.red,.section-prelude){font-size:15px;letter-spacing:0}
html[data-theme] .eyebrow i{height:2px;background:var(--etit-accent)}
html[data-theme] :is(.breadcrumb,.locale,.theme-toggle,.tools-menu summary,.text-link,.tools-footer,.account-footer){font-size:14px}

/* Interior-page introduction. The supplied recessed pin is a subtle brand texture. */
html[data-theme] .page-hero{
  padding-block:45px 64px;border-bottom:1px solid #385176;
  background:linear-gradient(90deg,#08152ff5 0%,#08152fee 48%,#08152fa3 100%),url('/assets/theme/pin-navy.webp') center 46%/cover no-repeat;
  color:#f0f5ff;
}
html[dir=rtl][data-theme] .page-hero{background-image:linear-gradient(270deg,#08152ff5 0%,#08152fee 48%,#08152fa3 100%),url('/assets/theme/pin-navy.webp')}
html[data-theme] .page-hero:after{width:360px;height:360px;inset-block-start:-140px;inset-inline-start:auto;inset-inline-end:-90px;border:1px solid #82c4f323;box-shadow:0 0 0 50px #82c4f307,0 0 0 100px #82c4f304}
html[data-theme] .page-hero h1{position:relative;font-size:clamp(36px,4.4vw,62px);max-width:1040px;color:#f0f5ff;line-height:1.35;letter-spacing:-.035em;font-weight:600}
html[lang=ar][data-theme] .page-hero h1{line-height:1.5}
html[data-theme] .page-hero :is(p,.breadcrumb){color:#c4d4e8;font-size:16px;line-height:1.9}
html[data-theme] .page-hero p{max-width:820px}
html[data-theme] .page-hero :is(.eyebrow,.breadcrumb a,.text-link){color:#93d3fa}
html[data-theme] .page-hero .breadcrumb{font-size:13px;margin-bottom:28px}
html[data-theme] .page-hero .text-link{border-color:#82c4f38c;font-size:14px}
html[data-theme] .page-glow{opacity:.18;filter:hue-rotate(145deg)}
html[data-theme] :is(.page-cta,.contract-home,.pdf-banner){background:var(--etit-soft);border-color:var(--etit-line);box-shadow:none}
html[data-theme] .page-cta{padding-block:42px}
html[data-theme] .page-cta h2{font-size:30px}
html[data-theme] :is(.page-cta p,.pdf-banner p){font-size:16px;color:var(--etit-muted)}
html[data-theme] .content-block{border-color:var(--etit-line);max-width:1060px;padding-block:28px 38px}
html[data-theme] .content-block h2{font-size:28px}
html[data-theme] :is(.content-block p,.english-content p){font-size:16px;line-height:2;color:var(--etit-muted)}
html[data-theme] :is(.section-head,.sector-heading){gap:32px}
html[data-theme] .section-head{margin-bottom:36px}

/* Shared cards keep their original grid placement and interactive states. */
html[data-theme] :is(.page-card,.service,.quick-card,.project,.center-card,.platform-login-card,.application-card,.requirement,.draft,.panel,.result-panel,.tool-form,.security-card,.intake-card,.security-summary,.security-report,.security-integration,.security-launcher,.erp-grid article,.ai-uses article,.ai-register,.portfolio-card){
  background:var(--etit-surface);border-color:var(--etit-line);border-radius:5px;box-shadow:none;
}
html[data-theme] :is(.page-card,.quick-card,.center-card,.platform-login-card){padding:30px}
html[data-theme] :is(.page-card,.quick-card,.project,.service,.center-card,.portfolio-card){transition:transform .2s,border-color .2s,box-shadow .2s}
html[data-theme] :is(.page-card,.quick-card,.project,.service,.center-card,.portfolio-card):hover{border-color:var(--etit-accent);background:var(--etit-surface);box-shadow:var(--etit-shadow);transform:translateY(-3px)}
html[data-theme] :is(.page-card h3,.quick-card h3,.service h3,.project h3,.portfolio-card h3){font-size:23px;font-weight:600;line-height:1.5;color:var(--etit-ink)}
html[lang=en][data-theme] :is(.page-card h3,.quick-card h3,.service h3,.project h3,.portfolio-card h3){font-size:21px;line-height:1.4}
html[data-theme] :is(.page-card p,.quick-card p,.service p,.project p,.industry p,.steps p,.support-grid p,.security-card p,.security-step p,.erp-grid p,.ai-uses p,.portfolio-card p,.center-card p,.platform-login-card p,.application-card p,.draft p){font-size:16px;line-height:1.9;color:var(--etit-muted)}
html[data-theme] :is(.page-card>span,.page-card b,.project small,.service .number,.quick-card .tech-icon,.tech-icon,.portfolio-brand,.ai-number){color:var(--etit-accent)}
html[data-theme] .page-card b{font-size:14px}
html[data-theme] :is(.quick-card:after,.quick-card h3:after){background:var(--etit-action);box-shadow:none}
html[data-theme] :is(.service-grid,.service,.industry,.delivery,.steps article,.credentials,.credentials details,.accordions details,.faq,.device,.result-line,.center-branch,.center-emails,.report-outline>div,.security-step){border-color:var(--etit-line)}
html[data-theme] :is(.faq summary,.center-branch h3,.center-emails,.center-phones a,.platform-host,.contract-top,.progress,.security-labels,.erp-strip,.portfolio-status,.ai-status){color:var(--etit-accent)}
html[data-theme] :is(.faq p,.credentials p,.accordions p){color:var(--etit-muted);font-size:16px}
html[data-theme] :is(.project,.security-card,.erp-grid article){border-top-color:var(--etit-action)}
html[data-theme] :is(.vision,.credentials,.support-section,.erp-home,.ai-home,.ai-trust,.security-callout,.contract-home,.walkthrough){background:var(--etit-soft);border-color:var(--etit-line);box-shadow:none}
html[data-theme] .vision{border-inline-start:3px solid var(--etit-action);border-radius:5px}
html[data-theme] :is(.vision p,.vision small,.platform-layout p,.platform-layout small,.feature-list,.walk-frame p){color:var(--etit-muted);font-size:16px}
html[data-theme] :is(.vision-year,.vision-year span,.steps b,.hotline,.metric b,.result-line b,.security-step b,.report-outline span,.ai-home-art,.erp-home-tags span){color:var(--etit-accent)}
html[data-theme] .metric{background:var(--etit-surface);border-color:var(--etit-line);border-radius:5px}
html[data-theme] .metric span{color:var(--etit-muted);font-size:14px}

/* Controls and explanatory text. Form geometry and input types are not changed. */
html[data-theme] :is(.btn,.btn.small,.tech-copy .btn,.walkthrough .btn,.draft .btn,.demo-toolbar .btn){
  min-height:48px;padding:12px 24px;background:var(--etit-action);border:1px solid var(--etit-action);
  color:#fff;border-radius:3px;box-shadow:none;font-size:14px;font-weight:600;gap:18px;
}
html[data-theme] .btn:hover{background:var(--etit-action-hover);border-color:var(--etit-action-hover);box-shadow:none;transform:translateY(-2px);color:#fff}
html[data-theme] :is(.btn.outline,.platform-section .gold){background:transparent;color:var(--etit-accent);border-color:var(--etit-line);box-shadow:none}
html[data-theme] :is(.btn.outline,.platform-section .gold):hover{background:var(--etit-soft);border-color:var(--etit-accent)}
html[data-theme] :is(.text-link,.plain-btn){font-size:14px;color:var(--etit-accent);border-color:var(--etit-line)}
html[data-theme] :is(form,.tool-form){background:var(--etit-soft);border:1px solid var(--etit-line);border-radius:5px;padding:30px}
html[data-theme] :is(form label,.tool-form label,.location-layout label,.directory-filters label){font-size:14px;color:var(--etit-ink);line-height:1.7}
html[data-theme] :is(input,select,textarea){font-family:inherit;font-size:16px;background:var(--etit-surface);border-color:var(--etit-line);color:var(--etit-ink);border-radius:3px;accent-color:var(--etit-action)}
html[data-theme] :is(input,textarea)::placeholder{color:var(--etit-muted);opacity:.85}
html[data-theme] select{appearance:none;padding-inline-end:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%237d97b7'%3E%3Cpath d='m5 7 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
html[dir=rtl][data-theme] select{background-position:left 12px center}
html[data-theme] option{background:var(--etit-surface);color:var(--etit-ink)}
html[data-theme] :is(form>small,.tool-form>small,.notice,.result-line,.directory-filters,.check-label,.security-summary dd,.security-summary dt,.security-wizard-track li,.wizard-track li){font-size:14px;line-height:1.85}
html[data-theme] .notice{background:var(--etit-soft);border-inline-start-color:var(--etit-accent);color:var(--etit-ink)}
html[data-theme] :is(summary,.tabs button,.plain-btn){font-size:14px}
html[data-theme] .tabs button{color:var(--etit-muted);padding:12px 0}
html[data-theme] .tabs button[aria-selected=true]{color:var(--etit-accent);border-color:var(--etit-accent)}
html[data-theme] .search{border-color:var(--etit-line)}
html[data-theme] .search input{background:transparent;color:var(--etit-ink);font-size:16px}
html[data-theme] .search input:focus-visible{outline-offset:7px}
html[data-theme] progress{accent-color:var(--etit-action)}
html[data-theme] :is(th,td){border-color:var(--etit-line);font-size:14px;line-height:1.8}
html[data-theme] th{color:var(--etit-accent);background:var(--etit-soft)}
html[data-theme] .shortlist:has(input:checked){background:var(--etit-soft);border-color:var(--etit-accent)}
html[data-theme] .vehicle{background:var(--etit-surface);border-color:var(--etit-line);color:var(--etit-ink);font-size:14px}
html[data-theme] .vehicle.selected{border-color:var(--etit-accent);background:var(--etit-soft)}
html[data-theme] .vehicle small{font-size:12px;color:var(--etit-muted)}
html[data-theme] .demo-layout aside{background:var(--etit-soft);border-color:var(--etit-line)}
html[data-theme] .demo-layout aside p{font-size:16px;color:var(--etit-muted)}
html[data-theme] dialog{background:var(--etit-surface);border:1px solid var(--etit-line);color:var(--etit-ink);border-radius:7px;box-shadow:0 30px 100px #0005;max-height:88dvh;overflow-y:auto}
html[data-theme] dialog::backdrop{background:#07142fcc;backdrop-filter:blur(5px)}
html[data-theme] dialog p{font-size:16px;color:var(--etit-muted);line-height:2}
html[data-theme] #close{color:var(--etit-ink)}

/* Application theme tokens: preserve sidebars, maps, reports and risk-severity badges. */
html[data-theme] body.customer-hub{
  --hub-surface:var(--etit-surface);--hub-surface-soft:var(--etit-soft);--hub-border:var(--etit-line);
  --hub-muted:var(--etit-muted);--hub-text:var(--etit-ink);--hub-accent:var(--etit-accent);
  font-family:'Segoe UI',Tahoma,Arial,sans-serif;font-size:16px;background:var(--etit-bg);color:var(--etit-ink);
}
html[lang=en][data-theme] body.customer-hub{font-family:ETITMontserrat,'Segoe UI',Arial,sans-serif}
html[data-theme] .customer-hub :is(.hub-navigation a,.hub-public-help,.hub-public-header>.locale,.hub-public-header>.theme-toggle){font-size:14px}
html[data-theme] .customer-hub .hub-navigation a[aria-current=page]{background:var(--etit-soft)}
html[data-theme] .customer-auth-page{
  --auth-bg:var(--etit-bg);--auth-panel:var(--etit-surface);--auth-text:var(--etit-ink);
  --auth-muted:var(--etit-muted);--auth-border:var(--etit-line);--auth-accent:var(--etit-accent);
  --auth-button:var(--etit-action);--auth-input-border:var(--etit-line);
  font-family:'Segoe UI',Tahoma,Arial,sans-serif;font-size:16px;
}
html[lang=en][data-theme] .customer-auth-page{font-family:ETITMontserrat,'Segoe UI',Arial,sans-serif}
html[data-theme] .customer-auth-page :is(.auth-header small,.auth-header-actions,.auth-eyebrow,#theme-toggle){font-size:14px}
html[data-theme] .project-map-page{--pm-panel:var(--etit-surface);--pm-card:var(--etit-surface);--pm-line:var(--etit-line);--pm-soft:var(--etit-soft);--pm-card-hover:var(--etit-soft);--pm-muted:var(--etit-muted);--pm-map-bg:#102641;--pm-map-ink:#8eafcf;--pm-map-label:#e5f2ff}
html[data-theme] .project-map-page :is(.pm-hero-intro,.pm-detail-summary,.pm-project-card>p,.pm-selected dd){font-size:16px;line-height:1.9}
html[data-theme] .project-map-page :is(.pm-text-link,.pm-select-project,.pm-project-link,.pm-detail-actions .btn,.pm-filter-bar>label){font-size:14px}
html[data-theme] body.media-center{--mc-bg:var(--etit-bg);--mc-surface:var(--etit-surface);--mc-soft:var(--etit-soft);--mc-text:var(--etit-ink);--mc-muted:var(--etit-muted);--mc-border:var(--etit-line);--mc-gold:var(--etit-accent);--mc-red:var(--etit-action);--mc-navy:var(--etit-navy)}
html[data-theme] body.referrals-public{--rf-bg:var(--etit-bg);--rf-surface:var(--etit-surface);--rf-soft:var(--etit-soft);--rf-text:var(--etit-ink);--rf-muted:var(--etit-muted);--rf-border:var(--etit-line);--rf-gold:var(--etit-accent);--rf-red:var(--etit-action);--rf-navy:var(--etit-navy)}
html[data-theme] body.home-lower-scope{--hl-bg:var(--etit-bg);--hl-surface:var(--etit-surface);--hl-soft:var(--etit-soft);--hl-ink:var(--etit-ink);--hl-muted:var(--etit-muted);--hl-border:var(--etit-line);--hl-red:var(--etit-action);--hl-gold:var(--etit-accent);--hl-navy:var(--etit-navy)}
html[data-theme] body.home-lower-scope .home-lower{font-size:16px}
html[data-theme] body.home-lower-scope .home-lower :is(.hl-heading p:not(.hl-eyebrow),.hl-group-heading p,.hl-evidence details p,.hl-source-note,.hl-faq-grid p){font-size:16px;line-height:1.9}
html[data-theme] body.home-lower-scope .home-lower :is(.hl-link,.hl-button,.hl-evidence summary,.hl-faq-grid summary,.hl-eyebrow){font-size:14px}
html[data-theme] body.home-lower-scope .home-lower .hl-button{border-radius:3px;min-height:48px}
html[data-theme] body.home-lower-scope .home-lower .hl-button:hover{background:var(--etit-action-hover);border-color:var(--etit-action-hover)}
html[data-theme] body.home-lower-scope .home-lower .hl-button-light:hover{background:var(--etit-soft);border-color:var(--etit-accent)}
html[data-theme] body.home-lower-scope .home-lower .hl-support-feature{background:linear-gradient(135deg,#14244a,#0b1b38);border-color:#385176}
html[data-theme] body.home-lower-scope .home-lower .hl-support-feature :is(h2,h3){color:#f0f5ff}
html[data-theme] body.home-lower-scope .home-lower .hl-support-feature p{color:#c4d4e8}

/* Footer remains a complete route directory. */
html[data-theme] footer{background:#08152f;color:#e5eefb;border-top:1px solid #263b5b;padding-block:60px 28px}
html[data-theme] footer :is(p,small){color:#b7c7dd;font-size:14px;line-height:1.9}
html[data-theme] footer h3{color:#f0f5ff;font-size:16px;font-weight:600;margin-bottom:22px}
html[data-theme] footer :is(.footer-grid a,.tools-footer,.account-footer,.footer-legal a,.footer-social a){color:#bdcce0;font-size:14px;line-height:1.9}
html[data-theme] footer :is(a:hover,.brand b span){color:#8dd2fa}
html[data-theme] footer :is(.tools-footer,.account-footer,.footer-legal-social,.footer-grid,div:last-child){border-color:#2d4260}
html[data-theme] footer .brand b{color:white}
html[data-theme] footer .brand b:before{border-color:var(--etit-cyan)}
html[data-theme] .footer-grid{gap:38px}
html[data-theme] .footer-grid a{margin-bottom:12px}

@media(max-width:1000px){
  html[data-theme] .wrap{padding-block:64px}
  html[data-theme] .page-body{padding-block:48px 64px}
  html[data-theme] .page-hero{padding-block:35px 50px}
  html[data-theme] :is(.page-card,.quick-card,.center-card,.platform-login-card){padding:26px}
}
@media(max-width:760px){
  html{scroll-padding-top:88px}
  html[data-theme] .wrap{padding-block:52px}
  html[data-theme] .page-body{padding-block:35px 52px}
  html[data-theme] .page-hero{padding-block:30px 42px}
  html[data-theme] .page-hero h1{font-size:36px}
  html[data-theme] .page-hero p{font-size:16px}
  html[data-theme] .page-hero .breadcrumb{font-size:13px;margin-bottom:22px}
  html[data-theme] :is(.page-card,.quick-card,.project,.center-card,.platform-login-card){padding:24px}
  html[data-theme] :is(.page-card h3,.quick-card h3,.service h3,.project h3){font-size:22px}
  html[data-theme] :is(.page-card p,.service p,.project p,.industry p,.steps p,.support-grid p,.security-card p,.security-step p,.center-card p,.platform-login-card p){font-size:16px}
  html[data-theme] :is(form,.tool-form,.result-panel,.walkthrough){padding:23px}
  html[data-theme] :is(.btn,.btn.small,.tech-copy .btn,.walkthrough .btn,.draft .btn,.demo-toolbar .btn){font-size:14px;padding:12px 19px}
  html[data-theme] .page-cta h2{font-size:28px}
  html[data-theme] footer{padding-block:45px 24px}
  html[data-theme] .footer-grid{gap:30px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  html[data-theme] :is(.page-card,.quick-card,.project,.service,.center-card,.portfolio-card,.btn){transition:none}
  html[data-theme] :is(.page-card,.quick-card,.project,.service,.center-card,.portfolio-card,.btn):hover{transform:none}
}

/* Shared navigation shell. Standalone on the new homepage; compatible with the
   original .menu / nav.open / .locale hooks on every retained interior page. */
html[data-theme] header.etit-shell-header{
  position:sticky;top:0;z-index:60;isolation:isolate;display:flex;align-items:center;
  height:90px;min-height:90px;width:100%;margin:0;padding:0 max(28px,calc((100vw - 1440px)/2));
  gap:18px;background:var(--etit-surface);color:var(--etit-ink);
  border:0;border-bottom:1px solid var(--etit-line);border-radius:0;
  box-shadow:none;backdrop-filter:none;transform:none;
  font-family:'Segoe UI',Tahoma,Arial,sans-serif;line-height:1.6;
}
html[lang=en][data-theme] header.etit-shell-header{font-family:ETITMontserrat,'Segoe UI',Arial,sans-serif}
html[data-theme] .etit-shell-header a{color:inherit;text-decoration:none}
html[data-theme] .etit-shell-header>.brand{
  display:flex;align-items:center;justify-content:flex-start;flex-shrink:0;
  width:128px;min-width:128px;max-width:128px;height:auto;padding:0;order:0;
  margin:0!important;margin-inline-end:auto!important;line-height:1;
}
html[data-theme] .etit-shell-header>.brand img{
  display:block;width:128px;max-width:100%;height:auto;max-height:48px;object-fit:contain;
}
html[data-theme] .etit-shell-header .etit-shell-logo-light{display:none}
html[data-theme] .etit-shell-header .etit-shell-logo-dark{display:block}
html[data-theme=light] .etit-shell-header .etit-shell-logo-light{display:block}
html[data-theme=light] .etit-shell-header .etit-shell-logo-dark{display:none}
html[data-theme] .etit-shell-header>nav{
  position:static;inset:auto;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;
  flex:0 1 auto;gap:15px;width:auto;min-width:0;margin:0;padding:0;order:1;
  background:transparent;border:0;box-shadow:none;transform:none;
  font-size:14px;font-weight:600;line-height:1.6;
}
html[data-theme] .etit-shell-header>nav>a{
  display:inline-flex;align-items:center;min-height:44px;padding:9px 0;margin:0;
  white-space:nowrap;position:relative;color:var(--etit-ink);font-size:14px;font-weight:600;
}
html[data-theme] .etit-shell-header>nav>a:hover{color:var(--etit-accent)}
html[data-theme] .etit-shell-header>nav>a[aria-current=page]{color:var(--etit-accent);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:10px}
html[data-theme] .etit-shell-header>nav>.tracking-login{
  border:1px solid var(--etit-line);border-radius:3px;padding:8px 13px;
  min-height:40px;color:var(--etit-accent);text-decoration:none;
}
html[data-theme] .etit-shell-header>.btn{
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;order:2;
  min-height:42px;padding:10px 16px;margin:0;background:var(--etit-action);color:#fff;
  border:1px solid var(--etit-action);border-radius:3px;font-size:14px;font-weight:600;
  line-height:1.5;white-space:nowrap;box-shadow:none;gap:0;
}
html[data-theme] .etit-shell-header>.btn:hover{background:var(--etit-action-hover);border-color:var(--etit-action-hover);color:#fff;transform:none}
html[data-theme] .etit-shell-header>.locale{
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;order:3;
  min-width:28px;min-height:40px;margin:0;padding:8px 0;background:none;border:0;
  color:var(--etit-ink);font-family:inherit;font-size:14px;font-weight:600;white-space:nowrap;
}
html[data-theme] .etit-shell-header>#theme-toggle{
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;order:4;
  min-height:40px;margin:0;padding:8px 11px;background:var(--etit-soft);
  border:1px solid var(--etit-line);border-radius:3px;color:var(--etit-ink);
  font-family:inherit;font-size:14px;font-weight:500;line-height:1.5;white-space:nowrap;cursor:pointer;
}
html[data-theme] .etit-shell-header>.menu{
  display:none;flex-shrink:0;order:5;align-items:center;justify-content:center;
  width:40px;height:42px;min-height:42px;margin:0;padding:5px;
  background:transparent;border:1px solid var(--etit-line);border-radius:3px;
  color:var(--etit-ink);font-size:24px;line-height:1;cursor:pointer;
}
html[data-theme] .etit-shell-header .tools-menu{position:relative;flex-shrink:0;color:var(--etit-ink);margin:0;white-space:nowrap}
html[data-theme] .etit-shell-header .tools-menu>summary{
  display:flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:9px 0;
  font-size:14px;font-weight:600;line-height:1.6;color:var(--etit-ink);list-style:none;cursor:pointer;
}
html[data-theme] .etit-shell-header .tools-menu>summary::-webkit-details-marker{display:none}
html[data-theme] .etit-shell-header .tools-menu>summary:after{content:'+';font-size:19px;font-weight:400;color:var(--etit-accent);line-height:1}
html[data-theme] .etit-shell-header .tools-menu[open]>summary:after{content:'−'}
html[data-theme] .etit-shell-header .tools-menu>div{
  position:absolute;inset-block-start:49px;inset-inline-start:0;inset-inline-end:auto;z-index:70;
  display:none;grid-template-columns:1fr;gap:2px;width:310px;max-width:calc(100vw - 40px);
  max-height:calc(100dvh - 130px);overflow:auto;margin:0;padding:14px;
  background:var(--etit-surface);color:var(--etit-ink);border:1px solid var(--etit-line);
  border-radius:4px;box-shadow:0 15px 35px #07142f20;
}
html[data-theme] .etit-shell-header .tools-menu[open]>div{display:grid}
html[data-theme] .etit-shell-header .tools-menu>div>a{
  display:block;min-height:40px;margin:0;padding:9px 10px;border-radius:3px;
  font-size:14px;font-weight:500;line-height:1.65;white-space:normal;color:var(--etit-muted);
}
html[data-theme] .etit-shell-header .tools-menu>div>a:hover{background:var(--etit-soft);color:var(--etit-accent)}

/* The original footer directory also works without the legacy homepage CSS. */
html[data-theme] body>footer{padding-inline:max(28px,calc((100vw - 1320px)/2));font-family:inherit;font-size:14px;line-height:1.8}
html[data-theme] body>footer .footer-grid{display:grid;grid-template-columns:1.45fr 1fr 1fr 1fr;gap:36px;padding-bottom:38px}
html[data-theme] body>footer .footer-grid>div{min-width:0}
html[data-theme] body>footer .footer-grid .brand{display:block;min-width:0;max-width:300px;margin:0;line-height:1.8}
html[data-theme] body>footer .footer-grid .brand b{display:block;font:700 40px/1.2 Arial,sans-serif;letter-spacing:2px}
html[data-theme] body>footer .footer-grid .brand small{display:block;margin-top:15px;line-height:1.9}
html[data-theme] body>footer .footer-grid .brand p{margin-top:17px}
html[data-theme] body>footer .brand .etit-shell-logo-light{display:none}
html[data-theme] body>footer .brand .etit-shell-logo-dark{display:block;width:150px;max-width:100%;height:auto;max-height:55px;object-fit:contain;margin-bottom:20px}
html[data-theme] body>footer .footer-grid h3{margin-top:0;line-height:1.6}
html[data-theme] body>footer .footer-grid a{display:block;text-decoration:none}
html[data-theme] body>footer :is(.tools-footer,.account-footer,.footer-legal-social){display:flex;flex-wrap:wrap;gap:13px 22px;border-top:1px solid #2d4260;padding-top:20px;margin:0 0 20px}
html[data-theme] body>footer :is(.footer-legal,.footer-social){display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px}
html[data-theme] body>footer .footer-legal-social{justify-content:space-between}
html[data-theme] body>footer .footer-social a{display:inline-flex;align-items:center;gap:8px}
html[data-theme] body>footer .social-mark{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;border:1px solid #4b6384;border-radius:3px;font:600 13px/1 Arial,sans-serif}

@media(min-width:1251px) and (max-width:1400px){
  html[data-theme] header.etit-shell-header{padding-inline:24px;gap:13px}
  html[data-theme] .etit-shell-header>nav{gap:12px}
  html[data-theme] .etit-shell-header>.brand{width:116px;min-width:116px;max-width:116px}
  html[data-theme] .etit-shell-header>.brand img{width:116px}
  html[data-theme] .etit-shell-header>.btn{padding-inline:13px}
}
@media(max-width:1250px){
  html[data-theme] header.etit-shell-header{height:82px;min-height:82px;padding-inline:28px;gap:18px}
  html[data-theme] .etit-shell-header>.menu{display:inline-flex}
  html[data-theme] .etit-shell-header>nav{
    position:absolute;inset-block-start:82px;inset-inline:0;z-index:65;display:none;
    flex-direction:column;align-items:stretch;justify-content:flex-start;gap:3px;
    width:100%;max-height:calc(100dvh - 82px);overflow:auto;overscroll-behavior:contain;
    padding:20px 28px 28px;background:var(--etit-surface);border-bottom:1px solid var(--etit-line);
    box-shadow:0 16px 32px #07142f15;border-radius:0;
  }
  html[data-theme] .etit-shell-header>nav.open{display:flex}
  html[data-theme] .etit-shell-header>nav>a{padding:11px 8px;font-size:15px;min-height:46px}
  html[data-theme] .etit-shell-header>nav>.tracking-login{align-self:flex-start;padding:10px 17px;margin-top:12px}
  html[data-theme] .etit-shell-header .tools-menu{width:100%}
  html[data-theme] .etit-shell-header .tools-menu>summary{font-size:15px;padding:11px 8px;justify-content:space-between}
  html[data-theme] .etit-shell-header .tools-menu>div{
    position:static;inset:auto;width:100%;max-width:100%;max-height:none;overflow:visible;
    padding:8px 12px;border:0;border-inline-start:2px solid var(--etit-line);border-radius:0;
    box-shadow:none;background:var(--etit-soft);margin-block:4px 10px;
  }
  html[data-theme] .etit-shell-header .tools-menu>div>a{padding:11px 8px;min-height:44px}
}
@media(max-width:760px){
  html[data-theme] header.etit-shell-header{height:76px;min-height:76px;padding-inline:20px;gap:12px}
  html[data-theme] .etit-shell-header>.brand{width:108px;min-width:108px;max-width:108px}
  html[data-theme] .etit-shell-header>.brand img{width:108px;max-height:42px}
  html[data-theme] .etit-shell-header>nav{inset-block-start:76px;max-height:calc(100dvh - 76px);padding:18px 20px 25px}
  html[data-theme] .etit-shell-header>.btn{padding-inline:12px}
  html[data-theme] .etit-shell-header>#theme-toggle{padding:8px;font-size:14px}
  html[data-theme] body>footer{padding-inline:24px}
  html[data-theme] body>footer .footer-grid{grid-template-columns:1fr 1fr;gap:30px 24px}
  html[data-theme] body>footer .footer-grid .brand{grid-column:1/-1;max-width:100%}
}
@media(max-width:600px){
  html[data-theme] .etit-shell-header>.btn{display:none}
  html[data-theme] header.etit-shell-header{gap:11px}
  html[data-theme] .etit-shell-header>.locale{font-size:14px}
  html[data-theme] .etit-shell-header>#theme-toggle{font-size:14px}
  html[data-theme] .etit-shell-header>.menu{width:36px;font-size:22px}
}
@media(max-width:360px){
  html[data-theme] header.etit-shell-header{padding-inline:14px;gap:8px}
  html[data-theme] .etit-shell-header>.brand{width:90px;min-width:90px;max-width:90px}
  html[data-theme] .etit-shell-header>.brand img{width:90px}
}
