:root {
  --ee-orange: #FC4C02;
  --ee-orange-ink: #B83600;
  --ee-cream: #F6E8D7;
  --ee-ink: #0D1117;
  --ee-orange-text: #BF3901;
  --ee-paper: #FFF8ED;
  --ee-line: rgba(13, 17, 23, .18);
  --ee-muted: #665F57;
  --ee-shadow: 3px 3px 0 var(--ee-ink);
  --ee-shadow-lift: 5px 5px 0 var(--ee-ink);
  --ee-focus: 0 0 0 3px rgba(252, 76, 2, .28);
  --ee-shell: min(1380px, calc(100vw - 28px));
  --ee-font-display: CovingtonEE, "Covington EE", Rockwell, Georgia, serif;
  --ee-font-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ee-font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

html[data-ee-theme="dark"],
html[data-ee-theme="prime"] {
  --ee-line: rgba(246, 232, 215, .18);
  --ee-muted: #C7B9A6;
  --ee-shadow: 3px 3px 0 var(--ee-orange);
  --ee-shadow-lift: 5px 5px 0 var(--ee-orange);
}

html[data-ee-theme="dark"] {
  --ee-paper: #151A20;
}

html[data-ee-theme="prime"] {
  --ee-paper: #17110D;
}

@font-face {
  font-family: CovingtonEE;
  src: url("../fonts/covington/covington.exp-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-padding-top: 82px;
}

body {
  font-synthesis-weight: none;
}

.ee-skip-link {
  position: fixed;
  z-index: 10000;
  left: 12px;
  top: 12px;
  transform: translateY(-140%);
  padding: 10px 12px;
  background: var(--ee-ink);
  color: var(--ee-cream);
  font: 900 12px/1 var(--ee-font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}

.ee-skip-link:focus {
  transform: none;
}

.ee-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ee-site-shell {
  position: sticky;
  z-index: 999;
  top: 0;
  isolation: isolate;
  color: var(--ee-ink);
  background: var(--ee-cream);
  border-bottom: 1px solid var(--ee-line);
  box-shadow: 0 8px 24px -22px rgba(13, 17, 23, .72);
}

html[data-ee-theme="prime"] .ee-site-shell,
html[data-ee-theme="dark"] .ee-site-shell {
  background:
    linear-gradient(180deg, #050607 0%, #0D1117 100%);
  color: #F6E8D7;
  border-bottom-color: rgba(252, 76, 2, .42);
  box-shadow: 0 10px 34px -24px rgba(0, 0, 0, .95);
}

.ee-site-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ee-orange) 62%, transparent), transparent);
  opacity: .55;
}

.ee-site-shell__inner {
  width: var(--ee-shell);
  min-height: 68px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.ee-site-shell__brand {
  min-width: 0;
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ee-site-shell__mark {
  width: min(206px, 42vw);
  height: 46px;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}

.ee-site-shell__word {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.ee-site-shell__tool {
  display: block;
  max-width: 25ch;
  color: var(--ee-muted);
  font: 900 8px/1.25 var(--ee-font-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ee-site-shell__actions {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  justify-content: flex-end;
}

.ee-shell-btn,
.ee-tools-panel a {
  -webkit-tap-highlight-color: transparent;
}

.ee-shell-btn {
  min-height: 40px;
  border: 1px solid var(--ee-ink);
  border-radius: 3px;
  background: var(--ee-paper);
  color: var(--ee-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  box-shadow: 2px 2px 0 var(--ee-ink);
  cursor: pointer;
  font: 900 9px/1 var(--ee-font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 140ms cubic-bezier(.2, .7, .2, 1), box-shadow 140ms cubic-bezier(.2, .7, .2, 1), background 140ms;
}

.ee-shell-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ee-ink);
  background: #fff;
}

.ee-shell-btn:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.ee-shell-btn--call {
  background: var(--ee-orange);
  color: #160803;
}

.ee-theme-toggle {
  position: relative;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  overflow: hidden;
}

.ee-theme-toggle::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: var(--ee-orange);
  box-shadow:
    0 -8px 0 -6px currentColor,
    0 8px 0 -6px currentColor,
    8px 0 0 -6px currentColor,
    -8px 0 0 -6px currentColor,
    5.7px 5.7px 0 -6px currentColor,
    -5.7px 5.7px 0 -6px currentColor,
    5.7px -5.7px 0 -6px currentColor,
    -5.7px -5.7px 0 -6px currentColor;
}

.ee-theme-toggle::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 18px;
  border-radius: 999px 0 0 999px;
  background: var(--ee-paper);
  transform: translateX(5px);
  opacity: 0;
  transition: opacity 140ms cubic-bezier(.2, .7, .2, 1), transform 140ms cubic-bezier(.2, .7, .2, 1);
}

html[data-ee-theme="dark"] .ee-theme-toggle::before {
  background: transparent;
  box-shadow: none;
}

html[data-ee-theme="dark"] .ee-theme-toggle::after {
  opacity: 1;
  transform: translateX(4px);
}

html[data-ee-theme="prime"] .ee-theme-toggle::before {
  background:
    linear-gradient(135deg, var(--ee-orange) 0 48%, transparent 49%),
    linear-gradient(135deg, var(--ee-cream) 0 50%, var(--ee-ink) 51% 100%);
  border-radius: 0;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, currentColor 12%, transparent);
}

.ee-site-shell[data-current-tool="Tools"] .ee-theme-toggle,
.tools-shell .ee-theme-toggle {
  color: var(--ee-cream);
}

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

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

body:has(.ee-site-shell) .topbar > .hero,
body:has(.ee-site-shell) .topbar > .hero-copy {
  min-width: 0;
}

body:has(.ee-site-shell) .topbar:empty {
  display: none !important;
}

body:has(.ee-site-shell) #themeBtn,
body:has(.ee-site-shell) #themeButton,
body:has(.ee-site-shell) #themeToggle,
body:has(.ee-site-shell) #toolsMenu {
  display: none !important;
}

body:has(.ee-site-shell) .top-actions,
body:has(.ee-site-shell) .header-actions,
body:has(.ee-site-shell) .actions {
  min-width: 0;
}

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

body:has(.ee-site-shell) .mobile-contact-dock {
  display: none !important;
}

.ee-tools > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 140ms cubic-bezier(.2, .7, .2, 1);
}

.ee-tools[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

.ee-tools {
  position: relative;
}

.ee-tools summary {
  list-style: none;
}

.ee-tools summary::-webkit-details-marker {
  display: none;
}

.ee-tools[open] summary {
  background: var(--ee-ink);
  color: var(--ee-cream);
  box-shadow: 3px 3px 0 var(--ee-orange);
}

.ee-tools-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 9px);
  width: min(460px, calc(100vw - 24px));
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  border: 1px solid var(--ee-ink);
  border-radius: 3px;
  background: var(--ee-paper);
  box-shadow: 4px 4px 0 var(--ee-ink);
  transform-origin: top right;
  animation: eePanelIn 140ms cubic-bezier(.2, .7, .2, 1);
}

.ee-tools-panel__head {
  grid-column: 1 / -1;
  min-height: 38px;
  padding: 2px 4px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--ee-line);
  color: var(--ee-muted);
  font: 900 8px/1 var(--ee-font-mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.ee-tools-panel__head a {
  min-width: 44px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--ee-orange-text);
  text-decoration: none;
}

.ee-tool-link {
  position: relative;
  min-height: 62px;
  padding: 10px 28px 10px 10px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--ee-line);
  border-radius: 2px;
  background: color-mix(in srgb, var(--ee-paper) 80%, #fff);
  color: var(--ee-ink);
  text-decoration: none;
  transition: transform 140ms cubic-bezier(.2, .7, .2, 1), border-color 140ms, box-shadow 140ms, background 140ms;
}

.ee-tool-link:hover {
  border-color: var(--ee-orange);
  box-shadow: inset 0 -3px 0 var(--ee-orange), 2px 2px 0 color-mix(in srgb, var(--ee-ink) 15%, transparent);
  transform: translateY(-1px);
}

.ee-tool-link::after {
  content: "->";
  position: absolute;
  right: 9px;
  top: 10px;
  color: var(--ee-orange-text);
  font: 950 9px/1 var(--ee-font-mono);
  opacity: .8;
}

.ee-tool-link[aria-current="page"] {
  border-color: var(--ee-orange);
  background: color-mix(in srgb, var(--ee-orange) 9%, var(--ee-paper));
  box-shadow: inset 4px 0 0 var(--ee-orange);
}

.ee-tool-link b {
  font: 900 9px/1 var(--ee-font-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ee-tool-link span {
  color: var(--ee-muted);
  font: 750 8px/1.3 var(--ee-font-mono);
}

.ee-tools-panel__contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

html[data-ee-theme="prime"] .ee-tools-panel,
html[data-ee-theme="dark"] .ee-tools-panel,
html[data-theme="dark"] .ee-tools-panel {
  border-color: rgba(246, 232, 215, .16);
  background: #05080D;
  color: var(--ee-cream);
  box-shadow: 4px 4px 0 var(--ee-orange);
}

html[data-ee-theme="prime"] .ee-tools-panel__head,
html[data-ee-theme="dark"] .ee-tools-panel__head,
html[data-theme="dark"] .ee-tools-panel__head {
  border-color: rgba(246, 232, 215, .16);
  color: rgba(246, 232, 215, .68);
}

html[data-ee-theme="prime"] .ee-tool-link,
html[data-ee-theme="dark"] .ee-tool-link,
html[data-theme="dark"] .ee-tool-link {
  border-color: rgba(246, 232, 215, .18);
  background: rgba(246, 232, 215, .055);
  color: var(--ee-cream);
}

html[data-ee-theme="prime"] .ee-tool-link span,
html[data-ee-theme="dark"] .ee-tool-link span,
html[data-theme="dark"] .ee-tool-link span {
  color: rgba(246, 232, 215, .66);
}

html[data-ee-theme="prime"] .ee-tool-link:hover,
html[data-ee-theme="dark"] .ee-tool-link:hover,
html[data-theme="dark"] .ee-tool-link:hover {
  background: rgba(255, 80, 9, .11);
  box-shadow: inset 0 -3px 0 var(--ee-orange), 2px 2px 0 rgba(255, 80, 9, .45);
}

html[data-ee-theme="prime"] .ee-tool-link[aria-current="page"],
html[data-ee-theme="dark"] .ee-tool-link[aria-current="page"],
html[data-theme="dark"] .ee-tool-link[aria-current="page"] {
  background: rgba(255, 80, 9, .18);
  color: var(--ee-cream);
  box-shadow: inset 4px 0 0 var(--ee-orange);
}

html[data-ee-theme="prime"] .ee-tools-panel__contact .ee-shell-btn,
html[data-ee-theme="dark"] .ee-tools-panel__contact .ee-shell-btn,
html[data-theme="dark"] .ee-tools-panel__contact .ee-shell-btn {
  color: var(--ee-cream);
  border-color: rgba(246, 232, 215, .22);
  background: rgba(246, 232, 215, .035);
}

.site-header .ee-tools {
  position: relative;
}

.site-header .ee-tools-panel {
  z-index: 120;
  text-align: left;
}

.site-header .ee-shell-btn {
  min-height: 44px;
  padding-inline: 13px;
}

.ee-main-content {
  min-width: 0;
}

.ee-site-footer {
  border-top: 1px solid var(--ee-line);
  background: var(--ee-ink);
  color: var(--ee-cream);
  position: relative;
}

.ee-site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--ee-orange), transparent 42%, color-mix(in srgb, var(--ee-cream) 44%, transparent));
  opacity: .85;
}

.ee-site-footer__inner {
  width: var(--ee-shell);
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font: 800 9px/1.4 var(--ee-font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ee-site-footer a {
  color: var(--ee-cream);
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 6px;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@keyframes eePanelIn {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid var(--ee-orange) !important;
  outline-offset: 3px !important;
  box-shadow: var(--ee-focus);
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 76px;
  }

  .ee-site-shell__inner {
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .ee-site-shell__actions {
    gap: 5px;
  }

  .ee-site-shell__tool {
    max-width: 34vw;
  }

  .ee-site-shell__mark {
    width: 142px;
    height: 40px;
  }

  .ee-shell-btn--text {
    display: none;
  }

  .site-header .ee-tools-panel {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 74px;
    width: auto;
    max-height: calc(100dvh - 88px);
    overflow: auto;
  }

  .ee-tools-panel {
    position: fixed;
    left: 8px;
    right: 8px;
    top: 72px;
    width: auto;
    max-height: calc(100dvh - 84px);
    overflow: auto;
  }

  #planWrap {
    width: 100%;
    max-width: 100%;
    min-height: 0 !important;
  }

  #planWrap > canvas,
  #planWrap > svg {
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  .ee-site-shell__inner {
    width: min(100% - 16px, 1380px);
  }

  .ee-site-shell__mark {
    width: 124px;
    height: 38px;
  }

  .ee-site-shell__tool {
    display: none;
  }

  .ee-shell-btn {
    min-height: 40px;
    padding-inline: 8px;
    font-size: 8px;
  }

  .ee-shell-btn--call {
    min-width: 44px;
  }

  .ee-theme-toggle {
    width: 44px;
    min-width: 44px;
    padding-inline: 0;
  }

  .site-header .ee-tools--home > summary {
    min-width: 42px;
    padding-inline: 8px;
  }

  .ee-tools-panel {
    grid-template-columns: 1fr;
  }

  .ee-tools-panel__contact {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .ee-site-shell,
  .ee-site-footer,
  .ee-skip-link {
    display: none !important;
  }
}

.ee-site-shell .ee-shell-btn {
  background: var(--ee-paper) !important;
  color: var(--ee-ink) !important;
  border-color: var(--ee-ink) !important;
  box-shadow: 2px 2px 0 var(--ee-orange) !important;
}

html[data-ee-theme="prime"] .ee-site-shell .ee-shell-btn,
html[data-ee-theme="dark"] .ee-site-shell .ee-shell-btn {
  background: #17110D !important;
  color: #F6E8D7 !important;
  border-color: rgba(246, 232, 215, .72) !important;
}

.ee-site-shell .ee-shell-btn:hover {
  background: color-mix(in srgb, var(--ee-paper) 82%, var(--ee-orange)) !important;
  box-shadow: 4px 4px 0 var(--ee-orange) !important;
}

.ee-site-shell .ee-tools[open] > summary.ee-shell-btn,
.ee-site-shell .ee-shell-btn--call {
  background: var(--ee-orange) !important;
  color: #160803 !important;
  border-color: var(--ee-orange) !important;
}

html[data-ee-theme="light"] .ee-site-shell .ee-shell-btn {
  box-shadow: 2px 2px 0 var(--ee-ink) !important;
}
