/* Easy Electric global manufacturer shell — shared by every public route. */
  :root {
    --ee-shell-orange: #FC4C02;
    --ee-shell-cream: #F6E8D7;
    --ee-shell-black: #0D1117;
    --ee-shell-width: min(1440px, calc(100vw - 48px));
    --ee-shell-height: 68px;
    --ee-shell-bg: #0D1117;
    --ee-shell-fg: #F6E8D7;
    --ee-shell-line: rgba(246, 232, 215, .22);
    --ee-shell-muted: rgba(246, 232, 215, .58);
    --ee-shell-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
    --ee-shell-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --ee-shell-ease: cubic-bezier(.16, 1, .3, 1);
  }

  html[data-ee-theme="light"] {
    --ee-shell-bg: #F6E8D7;
    --ee-shell-fg: #0D1117;
    --ee-shell-line: rgba(13, 17, 23, .24);
    --ee-shell-muted: rgba(13, 17, 23, .6);
  }

  .ee-global-header,
  .ee-global-header * { box-sizing: border-box; }

  .ee-global-header {
    position: sticky;
    z-index: 1200;
    top: 0;
    min-width: 320px;
    min-height: var(--ee-shell-height);
    background: var(--ee-shell-bg);
    color: var(--ee-shell-fg);
    border-bottom: 1px solid var(--ee-shell-line);
    font-family: var(--ee-shell-sans);
    -webkit-font-smoothing: antialiased;
  }

  .ee-global-header__inner {
    width: var(--ee-shell-width);
    min-height: var(--ee-shell-height);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(208px, 1fr) auto minmax(330px, 1fr);
    align-items: center;
    gap: clamp(18px, 2.1vw, 34px);
  }

  .ee-global-brand {
    width: fit-content;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    color: inherit;
    text-decoration: none;
  }

  .ee-global-brand__mark {
    width: 148px;
    height: 48px;
    display: block;
    object-fit: contain;
    object-position: left center;
  }

  .ee-global-brand__context {
    min-width: 0;
    display: grid;
    gap: 4px;
  }

  .ee-global-brand__context strong,
  .ee-global-brand__context small {
    display: block;
    max-width: 24ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--ee-shell-mono);
    text-transform: uppercase;
  }

  .ee-global-brand__context strong {
    color: var(--ee-shell-fg);
    font-size: 8px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .11em;
  }

  .ee-global-brand__context small {
    color: var(--ee-shell-muted);
    font-size: 7px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .08em;
  }

  .ee-global-nav {
    display: flex;
    align-items: center;
    gap: clamp(15px, 1.65vw, 27px);
  }

  .ee-global-nav a,
  .ee-global-action {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    font-family: var(--ee-shell-mono);
    font-size: 8px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .085em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .ee-global-nav a::after,
  .ee-global-action--text::after,
  .ee-global-action--call::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 7px;
    left: 0;
    height: 2px;
    background: var(--ee-shell-orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 150ms var(--ee-shell-ease);
  }

  .ee-global-nav a:hover::after,
  .ee-global-nav a[aria-current]::after,
  .ee-global-action--text:hover::after,
  .ee-global-action--call:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .ee-global-nav a[aria-current] { color: var(--ee-shell-orange); }

  .ee-global-actions {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  .ee-global-action--quote {
    min-height: 42px;
    padding-inline: 13px;
    justify-content: center;
    background: var(--ee-shell-orange);
    color: var(--ee-shell-black);
    border: 1px solid var(--ee-shell-orange);
    box-shadow: none;
    transition: transform 110ms var(--ee-shell-ease), box-shadow 110ms var(--ee-shell-ease);
  }

  .ee-global-action--quote:hover {
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0 var(--ee-shell-fg);
  }

  .ee-global-action--quote:active {
    transform: translate(2px, 2px);
    box-shadow: none;
  }

  .ee-global-actions .ee-theme-toggle {
    position: relative;
    flex: 0 0 42px;
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--ee-shell-line);
    border-radius: 0;
    background: transparent;
    color: var(--ee-shell-fg);
    box-shadow: none;
    font-size: 0;
    line-height: 0;
    appearance: none;
  }

  .ee-global-actions .ee-theme-toggle:hover {
    border-color: var(--ee-shell-orange);
    background: color-mix(in srgb, var(--ee-shell-fg) 7%, transparent);
  }

  .ee-global-actions .ee-theme-toggle:active { transform: translateY(2px); }

  .ee-global-actions .ee-theme-toggle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: transparent;
    transform: translate(-50%, -50%);
  }

  .ee-global-actions .ee-theme-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 18px;
    border-radius: 9px 0 0 9px;
    background: var(--ee-shell-orange);
    transform: translate(-9px, -50%);
  }

  .ee-global-menu { position: relative; display: none; }
  .ee-global-menu summary { list-style: none; }
  .ee-global-menu summary::-webkit-details-marker { display: none; }
  .ee-global-menu summary::marker { content: ""; }

  .ee-global-menu__trigger {
    width: 48px;
    min-width: 48px;
    min-height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ee-shell-line);
    background: transparent;
    color: var(--ee-shell-fg);
    font-family: var(--ee-shell-mono);
    font-size: 7px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .ee-global-menu[open] .ee-global-menu__trigger {
    background: var(--ee-shell-orange);
    color: var(--ee-shell-black);
    border-color: var(--ee-shell-orange);
  }

  .ee-global-menu__panel {
    position: absolute;
    z-index: 2;
    top: calc(100% + 12px);
    right: 0;
    width: min(430px, calc(100vw - 24px));
    padding: 20px;
    background: var(--ee-shell-black);
    color: var(--ee-shell-cream);
    border: 1px solid rgba(246, 232, 215, .28);
    box-shadow: 8px 8px 0 var(--ee-shell-orange);
  }

  .ee-global-menu__eyebrow {
    margin: 0 0 14px;
    color: rgba(246, 232, 215, .58);
    font-family: var(--ee-shell-mono);
    font-size: 8px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
  }

  .ee-global-menu__nav { border-top: 1px solid rgba(246, 232, 215, .2); }

  .ee-global-menu__nav a {
    min-height: 55px;
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 0;
    color: var(--ee-shell-cream);
    border-bottom: 1px solid rgba(246, 232, 215, .2);
    text-decoration: none;
    font-family: "Covington Expanded", Georgia, serif;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
  }

  .ee-global-menu__nav a > span:first-child {
    color: var(--ee-shell-orange);
    font-family: var(--ee-shell-mono);
    font-size: 8px;
    font-weight: 900;
  }

  .ee-global-menu__nav a::after {
    content: "\2197";
    color: rgba(246, 232, 215, .48);
    font-family: var(--ee-shell-mono);
    font-size: 13px;
  }

  .ee-global-menu__nav a:hover,
  .ee-global-menu__nav a[aria-current="page"] { color: var(--ee-shell-orange); }

  .ee-global-menu__contact {
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
  }

  .ee-global-menu__contact a {
    color: var(--ee-shell-cream);
    font-family: var(--ee-shell-mono);
    font-size: 9px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .ee-global-menu__tools {
    padding: 16px 0 0;
    border-bottom: 1px solid rgba(246, 232, 215, .2);
  }

  .ee-global-menu__tools > p {
    margin: 0 0 10px;
    color: rgba(246, 232, 215, .52);
    font-family: var(--ee-shell-mono);
    font-size: 7px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .ee-global-menu__tools > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(246, 232, 215, .2);
    border-left: 1px solid rgba(246, 232, 215, .2);
  }

  .ee-global-menu__tools a {
    min-height: 38px;
    display: grid;
    place-items: center;
    color: var(--ee-shell-cream);
    border-right: 1px solid rgba(246, 232, 215, .2);
    border-bottom: 1px solid rgba(246, 232, 215, .2);
    text-decoration: none;
    font-family: var(--ee-shell-mono);
    font-size: 7px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
  }

  .ee-global-menu__tools a:hover,
  .ee-global-menu__tools a[aria-current="page"] { background: var(--ee-shell-orange); color: var(--ee-shell-black); }

  .ee-global-menu__utility { padding-top: 10px; }

  .ee-global-menu__utility button {
    width: 100%;
    min-height: 38px;
    border: 1px solid rgba(246, 232, 215, .28);
    border-radius: 0;
    background: transparent;
    color: var(--ee-shell-cream);
    font-family: var(--ee-shell-mono);
    font-size: 7px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .ee-global-menu__utility button:hover { background: var(--ee-shell-cream); color: var(--ee-shell-black); }
  body.ee-home .ee-global-menu__utility,
  body.home-recovery .ee-global-menu__utility,
  body.ee-tools-hub .ee-global-menu__utility { display: none; }

  body:has(.ee-global-header) .topbar > .brand,
  body:has(.ee-global-header) .topbar > a.brand,
  body:has(.ee-global-header) .topbar > .brand-marks,
  body:has(.ee-global-header) .topbar .brand,
  body:has(.ee-global-header) .topbar .brand-marks,
  body:has(.ee-global-header) .topbar .brand-name,
  body:has(.ee-global-header) .topbar .brand-copy,
  body:has(.ee-global-header) .topbar .bolt {
    display: none !important;
  }

  body:has(.ee-global-header) .topbar {
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-width: 0;
  }

  body:has(.ee-global-header) .topbar > .hero,
  body:has(.ee-global-header) .topbar > .hero-copy,
  body:has(.ee-global-header) .top-actions,
  body:has(.ee-global-header) .header-actions,
  body:has(.ee-global-header) .actions { min-width: 0; }

  body:has(.ee-global-header) .topbar:empty,
  body:has(.ee-global-header) .top-actions:empty,
  body:has(.ee-global-header) .header-actions:empty,
  body:has(.ee-global-header) .actions:empty { display: none !important; }

  body:has(.ee-global-header) #themeBtn,
  body:has(.ee-global-header) #themeButton,
  body:has(.ee-global-header) #themeToggle,
  body:has(.ee-global-header) #toolsMenu,
  body:has(.ee-global-header) .mobile-contact-dock { display: none !important; }

  .ee-global-header :focus-visible {
    outline: 3px solid var(--ee-shell-orange);
    outline-offset: 2px;
  }

  @media (max-width: 1180px) {
    .ee-global-header__inner { grid-template-columns: minmax(208px, 1fr) auto; }
    .ee-global-nav { display: none; }
    .ee-global-menu { display: block; }
  }

  @media (max-width: 720px) {
    :root {
      --ee-shell-width: calc(100vw - 24px);
      --ee-shell-height: 60px;
    }

    .ee-global-header__inner {
      grid-template-columns: minmax(150px, 1fr) auto;
      gap: 8px;
    }

    .ee-global-brand { gap: 9px; }
    .ee-global-brand__mark { width: 126px; height: 42px; }
    .ee-global-brand__context strong { font-size: 7px; }
    .ee-global-brand__context small { display: none; }
    .ee-global-actions { gap: 5px; }
    .ee-global-action--text { display: none; }
    .ee-global-action--call { min-width: 42px; justify-content: center; }
    .ee-global-action--quote { display: none; }
    .ee-global-actions .ee-theme-toggle,
    .ee-global-menu__trigger { width: 40px; min-width: 40px; min-height: 40px; }

    .ee-global-menu__panel {
      position: fixed;
      top: 70px;
      right: 12px;
      left: 12px;
      width: auto;
      max-height: calc(100dvh - 88px);
      overflow: auto;
    }

    body.ee-global-menu-open { overflow: hidden; }

    .ee-global-menu[open]::before {
      content: "";
      position: fixed;
      z-index: 0;
      inset: var(--ee-shell-height) 0 0;
      background: rgba(0, 0, 0, .68);
    }

    .ee-global-menu__panel { z-index: 1; }
  }

  @media (max-width: 430px) {
    .ee-global-brand__mark { width: 116px; }
    .ee-global-brand__context { display: none; }
    .ee-global-action--call { font-size: 0; width: 40px; min-width: 40px; }
    .ee-global-action--call::before { content: "Call"; font-size: 7px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .ee-global-header *,
    .ee-global-header *::before,
    .ee-global-header *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  }

  @media (forced-colors: active) {
    .ee-global-header,
    .ee-global-menu__panel,
    .ee-global-actions .ee-theme-toggle,
    .ee-global-menu__trigger,
    .ee-global-action--quote { border: 1px solid CanvasText; }
  }

  @media print { .ee-global-header { display: none !important; } }
