/* Oppvera — partner UI atmosphere (Embedding Signal workspace) */

:root {
  --es-ink: #00104b;
  --es-muted: #4a5f7a;
  --es-fog: #e8f2fb;
  --es-mist: #f4f8fc;
  --es-teal: #0066a1;
  --es-teal-bright: #00d1ff;
  --es-navy: #00104b;
  --es-coral: #e07a5f;
  --es-gold: #c9a227;
  --es-line: rgba(0, 16, 75, 0.1);
}

html {
  scroll-behavior: smooth;
}

body.es-body {
  min-height: 100vh;
  color: var(--es-ink);
  background:
    radial-gradient(ellipse 90% 60% at 8% -10%, rgba(0, 209, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 0%, rgba(0, 102, 161, 0.1), transparent 50%),
    linear-gradient(165deg, var(--es-mist) 0%, #eef4fb 45%, #f7fafc 100%);
  background-attachment: fixed;
}

body.es-marketing-site {
  background: #fff;
  background-attachment: scroll;
}

.es-grain::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.es-shell {
  position: relative;
  z-index: 1;
}

.es-brand {
  font-family: "Syne", system-ui, sans-serif;
  letter-spacing: -0.03em;
}

.es-display {
  font-family: "Syne", system-ui, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.es-body-copy {
  font-family: "Figtree", system-ui, sans-serif;
}

.es-panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--es-line);
  backdrop-filter: blur(10px);
}

.es-path-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid transparent;
  padding: 0.2rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.es-path-chip-retrieval {
  border-color: var(--es-teal);
  background: var(--es-teal);
  color: #fff;
}

.es-path-chip-inspect {
  border-color: var(--es-coral);
  background: var(--es-coral);
  color: #fff;
}

.es-path-row-retrieval td:first-child {
  border-left: 3px solid var(--es-teal);
}

.es-path-row-inspect td:first-child {
  border-left: 3px solid var(--es-coral);
}

.es-path-row-retrieval {
  background: rgba(0, 209, 255, 0.06);
}

.es-path-row-inspect {
  background: rgba(224, 122, 95, 0.08);
}

.es-hero-mesh {
  background:
    linear-gradient(135deg, rgba(0, 209, 255, 0.08), transparent 42%),
    linear-gradient(225deg, rgba(0, 16, 75, 0.04), transparent 38%);
}

.es-marketing-site .es-hero-mesh {
  background: transparent;
}

.es-marketing-site header {
  background: #fff;
  backdrop-filter: none;
}

.es-logo {
  display: block;
  height: auto;
  width: min(100%, 22rem);
  max-height: 3.25rem;
  object-fit: contain;
  object-position: left center;
}

.es-version-label {
  line-height: 1;
  user-select: none;
}

.es-logo-nav {
  width: auto;
  height: 2.75rem;
  max-width: min(100%, 14rem);
}

.nav-icon-tip.tooltip::before,
.nav-icon-tip.tooltip::after,
.nav-icon-tip.tooltip:hover::before,
.nav-icon-tip.tooltip:hover::after {
  transition-delay: 0ms;
  transition-duration: 80ms;
}

.nav-account-photo {
  display: block;
}

/* DaisyUI .menu is a wrapping flex column; long emails otherwise expand the panel. */
.nav-account-dropdown {
  width: 16rem;
  max-width: 16rem;
  overflow-x: hidden;
}

.nav-account-dropdown > .menu-title {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.nav-account-dropdown > .menu-title > * {
  min-width: 0;
  max-width: 100%;
}

.es-signal-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(0, 209, 255, 0.35);
  background: rgba(0, 209, 255, 0.1);
  color: var(--es-navy);
  border-radius: 0.5rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.es-signal-chip::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--es-teal-bright);
  box-shadow: 0 0 0 3px rgba(0, 209, 255, 0.25);
}

/* Multi-word marketer labels must stay inside the pill (DaisyUI badge-sm is short). */
.es-gap-chip {
  display: inline-flex;
  align-items: center;
  height: auto !important;
  min-height: 1.5rem;
  padding: 0.2rem 0.55rem !important;
  white-space: nowrap;
  line-height: 1.25;
}

.es-score-ring {
  --score: 0;
  width: 9.5rem;
  height: 9.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, white 62%, transparent 63%),
    conic-gradient(
      from -90deg,
      var(--es-teal-bright) calc(var(--score) * 1%),
      rgba(0, 16, 75, 0.08) 0
    );
  box-shadow: inset 0 0 0 1px var(--es-line);
}

.es-stage-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: rgba(0, 16, 75, 0.15);
  transition: background 0.35s ease, transform 0.35s ease;
}

.es-stage-dot.is-active,
.es-stage-dot.is-running {
  background: var(--es-teal-bright);
  transform: scale(1.25);
  animation: es-pulse 1.2s ease-in-out infinite;
}

.es-stage-dot.is-done {
  background: var(--es-teal);
  animation: none;
  transform: none;
}

@keyframes es-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

progress.es-progress-live {
  animation: es-pulse 1.6s ease-in-out infinite;
}

@keyframes es-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes es-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.es-animate-rise {
  animation: es-rise 0.55s ease-out both;
}

.es-animate-rise-delay-1 {
  animation: es-rise 0.55s ease-out 0.08s both;
}

.es-animate-rise-delay-2 {
  animation: es-rise 0.55s ease-out 0.16s both;
}

.es-animate-fade {
  animation: es-fade 0.4s ease-out both;
}

/* Keep More / Settings menus above hero copy and animated panels */
header.relative.z-50 .dropdown-content,
header.relative.z-50 .dropdown-content ul {
  z-index: 100;
}

.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  display: inline-flex;
}

#diff-panel-indicator.htmx-request {
  display: flex;
}

.htmx-request .es-ready-label {
  display: none;
}

.es-query-pill {
  border: 1px solid var(--es-line);
  background: rgba(255, 255, 255, 0.55);
}

.es-query-pill[data-strength="strong"] {
  border-color: rgba(0, 209, 255, 0.45);
  background: rgba(0, 209, 255, 0.08);
}

.es-query-pill[data-strength="weak"] {
  border-color: rgba(224, 122, 95, 0.4);
  background: rgba(224, 122, 95, 0.08);
}

.es-bar {
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(0, 16, 75, 0.08);
  overflow: hidden;
}

.es-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--es-navy), var(--es-teal-bright));
  transition: width 0.45s ease;
}

.es-figure-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.es-corpus-card:focus-visible {
  outline: 2px solid var(--es-teal-bright);
  outline-offset: 2px;
}

.es-corpus-pre {
  font-family: "Figtree", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  max-height: min(70vh, 42rem);
  overflow-y: auto;
}

.es-lightbox-trigger:focus-visible {
  outline: 2px solid var(--es-teal-bright);
  outline-offset: 4px;
  border-radius: 0.75rem;
}

.es-lightbox {
  margin: auto;
  max-width: min(96vw, 52rem);
  max-height: 96vh;
  padding: 1rem 1rem 1.25rem;
  border: 1px solid var(--es-line);
  border-radius: 1rem;
  background: #fff;
  color: var(--es-ink);
  box-shadow: 0 24px 64px rgba(0, 16, 75, 0.28);
}

.es-lightbox::backdrop {
  background: rgba(0, 16, 75, 0.55);
  backdrop-filter: blur(2px);
}

.es-lightbox-close-wrap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

.es-lightbox-close {
  border: 1px solid var(--es-line);
  border-radius: 999px;
  background: var(--es-fog);
  color: var(--es-ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
}

.es-lightbox-close:hover {
  background: #fff;
}

.es-lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(96vh - 4.5rem);
  object-fit: contain;
}

.es-synthetic-post-dialog {
  max-width: min(96vw, 48rem);
  width: 100%;
  overflow: auto;
}

.es-share-dialog {
  width: min(96vw, 28rem);
  max-width: min(96vw, 28rem);
}

.es-synthetic-post-avatar {
  border: 1px solid var(--es-line);
}

.es-synthetic-post-body {
  font-size: 0.975rem;
  line-height: 1.65;
}

.es-synthetic-post-body h1,
.es-synthetic-post-body h2,
.es-synthetic-post-body h3 {
  font-family: var(--es-brand-font, inherit);
  font-weight: 700;
  color: var(--es-ink);
  margin: 1.25rem 0 0.5rem;
  line-height: 1.25;
}

.es-synthetic-post-body h1 { font-size: 1.35rem; }
.es-synthetic-post-body h2 { font-size: 1.15rem; }
.es-synthetic-post-body h3 { font-size: 1.05rem; }

.es-synthetic-post-body p {
  margin: 0.75rem 0;
}

.es-synthetic-post-body ul,
.es-synthetic-post-body ol {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
}

.es-synthetic-post-body li {
  margin: 0.25rem 0;
}

.es-synthetic-post-body a {
  color: var(--es-teal-bright, #0d9488);
  text-decoration: underline;
}

.es-synthetic-post-body code {
  font-size: 0.875em;
  background: var(--es-fog, #f1f5f9);
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
}

.es-synthetic-post-body pre {
  overflow-x: auto;
  background: var(--es-fog, #f1f5f9);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin: 0.75rem 0;
}

.es-synthetic-post-body pre code {
  background: transparent;
  padding: 0;
}

/* Form field help — marketer tooltips on Relevance / signal controls */
.es-field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.es-field-tip {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}

.es-field-tip-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  border: 1px solid var(--es-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--es-teal);
  cursor: help;
  font: inherit;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  padding: 0;
}

.es-field-tip-trigger:hover,
.es-field-tip-trigger:focus-visible {
  border-color: var(--es-teal);
  background: #fff;
  color: var(--es-ink);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 102, 161, 0.18);
}

.es-field-tip-body {
  display: none;
  position: absolute;
  z-index: 30;
  bottom: calc(100% + 0.45rem);
  left: 50%;
  width: min(18.5rem, calc(100vw - 2rem));
  transform: translateX(-50%);
  border: 1px solid var(--es-line);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 16, 75, 0.12);
  color: var(--es-ink);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 0.65rem 0.75rem;
  pointer-events: none;
  text-align: left;
  white-space: normal;
}

.es-field-tip-body strong {
  color: var(--es-ink);
  font-weight: 600;
}

.es-field-tip:hover .es-field-tip-body,
.es-field-tip:focus-within .es-field-tip-body {
  display: block;
}

@media (max-width: 640px) {
  .es-field-tip-body {
    left: auto;
    right: 0;
    transform: none;
  }
}

.es-field-help-panel p {
  margin: 0;
}

.es-field-help-panel p + p {
  margin-top: 0.75rem;
}

.es-field-help-panel strong {
  color: var(--es-ink);
  font-weight: 600;
}

.es-field-help-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid rgba(0, 102, 161, 0.28);
  border-radius: 0.4rem;
  background: rgba(0, 209, 255, 0.1);
  color: var(--es-teal);
  cursor: pointer;
  padding: 0;
  vertical-align: middle;
}

.es-field-help-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.es-field-help-trigger:hover,
.es-field-help-trigger:focus-visible {
  border-color: var(--es-teal);
  background: #fff;
  color: var(--es-ink);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 102, 161, 0.18);
}

.es-field-help > summary {
  list-style: none;
}

.es-field-help[open] > summary {
  border-color: var(--es-teal);
  background: #fff;
  color: var(--es-ink);
  box-shadow: 0 0 0 2px rgba(0, 102, 161, 0.18);
}

/* Technical reference — runtime markdown from docs/*.md */
.es-tech-doc {
  color: var(--es-ink);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.es-tech-doc > :first-child {
  margin-top: 0;
}

.es-tech-doc img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0.5rem 0 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--es-line);
  background: #fff;
}

.es-tech-doc a:has(> img) {
  display: block;
  cursor: zoom-in;
}

.es-tech-doc a:has(> img) img {
  margin-bottom: 0.35rem;
}

.es-tech-doc a:has(> img):hover img {
  border-color: var(--es-teal, #0d9488);
}

.es-tech-doc h1,
.es-tech-doc h2,
.es-tech-doc h3,
.es-tech-doc h4 {
  font-family: "Syne", system-ui, sans-serif;
  letter-spacing: -0.02em;
  color: var(--es-ink);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.es-tech-doc h1 {
  font-size: 1.5rem;
}

.es-tech-doc h2 {
  font-size: 1.25rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--es-line);
}

.es-tech-doc h3 {
  font-size: 1.0625rem;
}

.es-tech-doc p,
.es-tech-doc ul,
.es-tech-doc ol,
.es-tech-doc pre,
.es-tech-doc table {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.es-tech-doc ul,
.es-tech-doc ol {
  padding-left: 1.35rem;
}

.es-tech-doc li + li {
  margin-top: 0.35rem;
}

.es-tech-doc a {
  color: var(--es-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.es-tech-doc a:hover {
  color: var(--es-teal-bright);
}

.es-tech-doc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85em;
  background: var(--es-fog);
  border-radius: 0.25rem;
  padding: 0.1rem 0.35rem;
}

.es-tech-doc pre {
  overflow-x: auto;
  border-radius: 0.75rem;
  border: 1px solid var(--es-line);
  background: rgba(232, 242, 251, 0.65);
  padding: 0.85rem 1rem;
}

.es-tech-doc pre code {
  background: transparent;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.es-tech-doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.es-tech-doc th,
.es-tech-doc td {
  border: 1px solid var(--es-line);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.es-tech-doc th {
  background: rgba(232, 242, 251, 0.75);
  font-weight: 600;
}

.es-tech-doc hr {
  border: none;
  border-top: 1px solid var(--es-line);
  margin: 1.75rem 0;
}

.es-tech-doc strong {
  font-weight: 600;
  color: var(--es-ink);
}

.es-tech-doc em {
  font-style: italic;
}

.es-tech-doc blockquote {
  margin: 0.85rem 0;
  border-left: 3px solid var(--es-teal);
  border-radius: 0 0.75rem 0.75rem 0;
  background: rgba(232, 242, 251, 0.55);
  padding: 0.65rem 0.9rem;
  color: var(--es-ink);
}

.es-tech-doc blockquote p {
  margin: 0;
}

.es-tech-doc li > ul,
.es-tech-doc li > ol {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}

/* Toast notifications (Probe finished, etc.) */
.es-notify-stack {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: min(22rem, calc(100vw - 2rem));
  pointer-events: none;
}

.es-notify {
  pointer-events: auto;
  border-radius: 0.75rem;
  border: 1px solid var(--es-line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow:
    0 10px 28px rgba(0, 16, 75, 0.12),
    0 2px 6px rgba(0, 16, 75, 0.06);
  padding: 0.75rem 0.85rem;
  font-size: 0.875rem;
  color: var(--es-ink);
  animation: es-notify-in 0.28s ease-out;
}

.es-notify--leaving {
  animation: es-notify-out 0.2s ease-in forwards;
}

@keyframes es-notify-in {
  from {
    opacity: 0;
    transform: translateY(-0.35rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes es-notify-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-0.25rem);
  }
}

.es-notify--success {
  border-color: rgba(0, 102, 161, 0.35);
  background: linear-gradient(135deg, rgba(0, 102, 161, 0.08), rgba(255, 255, 255, 0.92));
}

.es-notify--info {
  border-color: rgba(0, 209, 255, 0.35);
  background: linear-gradient(135deg, rgba(0, 209, 255, 0.1), rgba(255, 255, 255, 0.92));
}

.es-notify--warning {
  border-color: rgba(201, 162, 39, 0.45);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(255, 255, 255, 0.92));
}

.es-notify--error {
  border-color: rgba(224, 122, 95, 0.55);
  background: linear-gradient(135deg, rgba(224, 122, 95, 0.14), rgba(255, 255, 255, 0.92));
}

.es-notify__row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.es-notify__title {
  margin: 0;
  font-family: "Syne", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--es-ink);
}

.es-notify__message {
  margin: 0.2rem 0 0;
  line-height: 1.45;
  color: var(--es-muted);
}

.es-notify__message--solo {
  margin-top: 0;
  color: var(--es-ink);
}

.es-notify__close {
  flex-shrink: 0;
  margin: -0.15rem -0.1rem 0 0;
  padding: 0.2rem;
  border: none;
  border-radius: 0.4rem;
  background: transparent;
  color: var(--es-muted);
  cursor: pointer;
  line-height: 0;
}

.es-notify__close:hover {
  color: var(--es-ink);
  background: rgba(0, 16, 75, 0.06);
}

/* Confirm dialog */
.es-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 16, 75, 0.42);
  backdrop-filter: blur(4px);
  animation: es-confirm-fade-in 0.2s ease-out;
}

.es-confirm-overlay.es-confirm--leaving {
  animation: es-confirm-fade-out 0.18s ease-in forwards;
}

@keyframes es-confirm-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes es-confirm-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.es-confirm-dialog {
  width: min(26rem, 100%);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem 1.15rem;
  box-shadow:
    0 18px 40px rgba(0, 16, 75, 0.18),
    0 4px 12px rgba(0, 16, 75, 0.08);
  animation: es-confirm-scale-in 0.22s ease-out;
}

.es-confirm-overlay.es-confirm--leaving .es-confirm-dialog {
  animation: es-confirm-scale-out 0.16s ease-in forwards;
}

@keyframes es-confirm-scale-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(0.35rem);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes es-confirm-scale-out {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.98);
  }
}

.es-confirm-dialog__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--es-ink);
  line-height: 1.3;
}

.es-confirm-dialog__message {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--es-muted);
}

.es-confirm-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* DaisyUI styles the form as the menu row; padding clicks must hit the button. */
.menu li > form.es-nav-switch-form {
  display: flex;
  margin: 0;
  padding: 0 !important;
  background-color: transparent !important;
}

.menu li > form.es-nav-switch-form:hover,
.menu li > form.es-nav-switch-form:focus,
.menu li > form.es-nav-switch-form:active {
  background-color: transparent !important;
}

.menu li > form.es-nav-switch-form > input[type="hidden"] {
  display: none !important;
}

.menu li > form.es-nav-switch-form > .es-nav-switch-form__hit {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  cursor: pointer;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
}

.menu li > form.es-nav-switch-form > .es-nav-switch-form__hit:hover,
.menu li > form.es-nav-switch-form > .es-nav-switch-form__hit:focus {
  background-color: color-mix(in srgb, var(--es-ink) 10%, transparent);
}

.menu li > form.es-nav-switch-form > .es-nav-switch-form__hit.active {
  background-color: var(--es-ink);
  color: #fff;
}

.es-switch-busy[hidden] {
  display: none !important;
}

.es-switch-busy:not([hidden]) {
  display: flex;
  pointer-events: auto;
}
