:root {
  --ep-airbnb-red: #ff385c;
  --ep-airbnb-coral: #ff5a5f;
  --ep-airbnb-orange: #fc642d;
  --ep-airbnb-teal: #00a699;
  --ep-airbnb-ink: #222222;
  --ep-airbnb-fog: #f7f7f7;
  --ep-radius-xl: 24px;
  --ep-radius-lg: 22px;
  --ep-radius-md: 18px;
  --ep-radius-sm: 14px;
  --ep-font-sans: "Airbnb Cereal VF", Circular, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --ep-font-mono: "IBM Plex Mono", "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
}

html[data-theme="light"] {
  color-scheme: light;
  --ep-bg: #f7f7f7;
  --ep-bg-2: #ffffff;
  --ep-surface: #ffffff;
  --ep-surface-strong: #ffffff;
  --ep-surface-soft: #f7f7f7;
  --ep-border: #dddddd;
  --ep-border-strong: #c1c1c1;
  --ep-text: #222222;
  --ep-muted: #6a6a6a;
  --ep-subtle: #929292;
  --ep-accent: var(--ep-airbnb-red);
  --ep-accent-soft: rgba(255, 56, 92, 0.1);
  --ep-cool: var(--ep-airbnb-teal);
  --ep-cool-soft: rgba(0, 166, 153, 0.1);
  --ep-success: #176b48;
  --ep-success-soft: #edf8f2;
  --ep-warning: #8a5a00;
  --ep-warning-soft: #fff4df;
  --ep-danger: #c13515;
  --ep-danger-soft: #fff0ed;
  --ep-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ep-bg: #171717;
  --ep-bg-2: #1d1d1d;
  --ep-surface: #232323;
  --ep-surface-strong: #2a2a2a;
  --ep-surface-soft: #1d1d1d;
  --ep-border: #3b3b3b;
  --ep-border-strong: #505050;
  --ep-text: #f5f5f5;
  --ep-muted: #b5b5b5;
  --ep-subtle: #919191;
  --ep-accent: #ff385c;
  --ep-accent-soft: rgba(255, 90, 95, 0.14);
  --ep-cool: #54c5b9;
  --ep-cool-soft: rgba(64, 192, 178, 0.14);
  --ep-success: #56b18c;
  --ep-success-soft: rgba(86, 177, 140, 0.16);
  --ep-warning: #f6b65f;
  --ep-warning-soft: rgba(246, 182, 95, 0.14);
  --ep-danger: #ff9a86;
  --ep-danger-soft: rgba(255, 154, 134, 0.14);
  --ep-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

html[data-theme="light"] .text-white,
html[data-theme="light"] .text-slate-950 {
  color: var(--ep-text);
}

html[data-theme="light"] .text-slate-200,
html[data-theme="light"] .text-slate-300,
html[data-theme="light"] .text-slate-400,
html[data-theme="light"] .text-slate-500 {
  color: var(--ep-muted);
}

html[data-theme="light"] .text-cyan-200,
html[data-theme="light"] .text-cyan-300 {
  color: var(--ep-cool);
}

html[data-theme="light"] .text-violet-300,
html[data-theme="light"] .text-orange-300,
html[data-theme="light"] .text-orange-500,
html[data-theme="light"] .text-orange-200,
html[data-theme="light"] .text-amber-200,
html[data-theme="light"] .text-amber-300 {
  color: var(--ep-accent);
}

html[data-theme="light"] .text-emerald-300 {
  color: var(--ep-success);
}

html[data-theme="light"] .text-rose-300,
html[data-theme="light"] .text-rose-200 {
  color: var(--ep-danger);
}

html[data-theme="light"] .bg-slate-950,
html[data-theme="light"] .bg-slate-950\/40,
html[data-theme="light"] .bg-slate-950\/50,
html[data-theme="light"] .bg-slate-900\/70,
html[data-theme="light"] .bg-slate-900\/60,
html[data-theme="light"] .bg-white\/5,
html[data-theme="light"] .bg-white\/10 {
  background: rgba(255, 255, 255, 0.86);
}

html[data-theme="light"] .bg-cyan-500\/5,
html[data-theme="light"] .bg-cyan-500\/10,
html[data-theme="light"] .bg-cyan-500\/15 {
  background: rgba(0, 166, 153, 0.08);
}

html[data-theme="light"] .bg-amber-500\/10,
html[data-theme="light"] .bg-amber-500\/15,
html[data-theme="light"] .bg-orange-500,
html[data-theme="light"] .bg-orange-400 {
  background: rgba(255, 56, 92, 0.1);
}

html[data-theme="light"] .bg-emerald-500\/15 {
  background: rgba(22, 135, 111, 0.1);
}

html[data-theme="light"] .bg-rose-500\/10,
html[data-theme="light"] .bg-rose-500\/15,
html[data-theme="light"] .bg-violet-500\/15 {
  background: rgba(255, 56, 92, 0.08);
}

html[data-theme="light"] .border-white\/10,
html[data-theme="light"] .border-cyan-400\/20,
html[data-theme="light"] .border-cyan-400\/30,
html[data-theme="light"] .border-orange-400\/30,
html[data-theme="light"] .border-orange-400\/40,
html[data-theme="light"] .border-orange-400\/50,
html[data-theme="light"] .border-amber-400\/30,
html[data-theme="light"] .border-rose-400\/30 {
  border-color: var(--ep-border);
}

html {
  background: var(--ep-bg);
}

body.ep-body {
  min-height: 100vh;
  font-family: var(--ep-font-sans);
  color: var(--ep-text);
  background: var(--ep-bg);
  letter-spacing: 0;
}

a {
  transition:
    color 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

::selection {
  background: rgba(255, 56, 92, 0.22);
  color: white;
}

.ep-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.ep-brand--sidebar,
.ep-brand--public {
  width: 100%;
}

.ep-brand--public {
  width: auto;
}

.ep-brand:hover {
  transform: translateY(-1px);
}

.ep-brand-logo {
  display: block;
  height: auto;
  max-width: 100%;
  padding: 0.42rem 0.68rem;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--ep-border) 82%, transparent);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.ep-brand-logo--sidebar {
  width: min(196px, 100%);
}

.ep-brand-logo--public {
  width: clamp(168px, 18vw, 238px);
}

.ep-brand-copy {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.ep-brand-kicker {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--ep-accent);
  font-weight: 700;
}

.ep-brand-title {
  display: block;
  color: var(--ep-text);
  font-size: 0.98rem;
  font-weight: 640;
  line-height: 1.1;
}

.ep-brand-subtitle {
  display: block;
  color: var(--ep-subtle);
  font-size: 0.76rem;
  line-height: 1.25;
}

.ep-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--ep-accent-soft);
  color: #ffd3c0;
  font-size: 0.72rem;
  font-weight: 700;
}

.ep-body--app {
  overflow-x: hidden;
}

.ep-app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.ep-app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 0;
}

.ep-sidebar-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: 100%;
  overflow: hidden;
  padding: 24px 18px;
  border-right: 1px solid var(--ep-border);
  background: var(--ep-surface);
}

.ep-sidebar-section {
  display: grid;
  gap: 0.8rem;
  min-height: 0;
}

.ep-sidebar-section--footer {
  margin-top: auto;
}

.ep-sidebar-section--projects {
  flex: 1 1 auto;
}

.ep-sidebar-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--ep-subtle);
  font-weight: 800;
}

.ep-sidebar-nav {
  display: grid;
  gap: 6px;
}

.ep-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  color: var(--ep-muted);
  font-size: 15px;
  font-weight: 560;
}

.ep-sidebar-link:hover {
  color: var(--ep-text);
  background: var(--ep-surface-soft);
}

.ep-sidebar-link--active {
  color: var(--ep-text);
  background: var(--ep-surface-soft);
  box-shadow: inset 0 0 0 1px var(--ep-border-soft, #ebebeb);
}

.ep-sidebar-card {
  padding: 12px;
  border-radius: 18px;
  border: 0;
  background: var(--ep-surface-soft);
}

.ep-sidebar-card--focus {
  border: 1px solid color-mix(in srgb, var(--ep-accent) 16%, var(--ep-border));
  background: color-mix(in srgb, var(--ep-accent-soft) 46%, var(--ep-surface-soft));
}

.ep-sidebar-meta {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ep-text);
}

.ep-sidebar-copy {
  margin-top: 0.45rem;
  color: var(--ep-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.ep-sidebar-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.ep-sidebar-mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.4rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--ep-border);
  color: var(--ep-muted);
  font-size: 0.8rem;
  font-weight: 580;
  background: color-mix(in srgb, var(--ep-surface) 82%, transparent);
}

.ep-sidebar-mini-link:hover {
  color: var(--ep-text);
  background: color-mix(in srgb, var(--ep-surface-soft) 72%, transparent);
}

.ep-sidebar-mini-link--active {
  color: var(--ep-text);
  border-color: color-mix(in srgb, var(--ep-accent) 24%, var(--ep-border));
  background: color-mix(in srgb, var(--ep-accent-soft) 52%, var(--ep-surface));
}

.ep-sidebar-project-list {
  display: grid;
  gap: 0.55rem;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.25rem;
  scrollbar-gutter: stable;
}

.ep-sidebar-project-list::-webkit-scrollbar {
  width: 10px;
}

.ep-sidebar-project-list::-webkit-scrollbar-track {
  background: transparent;
}

.ep-sidebar-project-list::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ep-muted) 34%, transparent);
  background-clip: padding-box;
}

.ep-sidebar-project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 0.8rem;
  border-radius: 16px;
  background: color-mix(in srgb, var(--ep-surface-soft) 72%, transparent);
}

.ep-sidebar-project-main {
  min-width: 0;
}

.ep-sidebar-project-title {
  display: block;
  color: var(--ep-text);
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.25;
}

.ep-sidebar-project-title:hover {
  color: var(--ep-accent);
}

.ep-sidebar-project-title--active {
  color: var(--ep-accent);
}

.ep-sidebar-project-subtitle {
  margin-top: 0.15rem;
  color: var(--ep-subtle);
  font-size: 0.75rem;
  line-height: 1.35;
}

.ep-sidebar-project-actions {
  flex-shrink: 0;
}

.ep-sidebar-project-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.95rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--ep-border);
  color: var(--ep-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.ep-sidebar-project-mini:hover {
  color: var(--ep-text);
  border-color: color-mix(in srgb, var(--ep-accent) 18%, var(--ep-border));
  background: color-mix(in srgb, var(--ep-accent-soft) 44%, transparent);
}

.ep-app-main {
  min-width: 0;
  padding: 28px;
}

.ep-app-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 18px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--ep-border);
  background: var(--ep-surface);
}

.ep-app-title {
  margin-top: 0.3rem;
  font-size: 1.55rem;
  line-height: 1.05;
  font-weight: 640;
  letter-spacing: -0.03em;
}

.ep-app-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.ep-app-content {
  display: grid;
  gap: 1rem;
}

.ep-docs-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.ep-docs-nav {
  position: sticky;
  top: 1rem;
}

.ep-docs-nav-list {
  display: grid;
  gap: 0.6rem;
}

.ep-docs-nav-group {
  display: grid;
  gap: 0.55rem;
}

.ep-docs-nav-heading {
  margin: 0;
  padding: 0 0.2rem;
  color: var(--ep-subtle);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ep-docs-nav-link {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--ep-border);
  background: var(--ep-surface-soft);
  color: var(--ep-text);
}

.ep-docs-nav-link small {
  color: var(--ep-muted);
  line-height: 1.45;
}

.ep-docs-nav-link:hover {
  border-color: color-mix(in srgb, var(--ep-accent) 18%, var(--ep-border));
  background: color-mix(in srgb, var(--ep-accent-soft) 36%, var(--ep-surface-soft));
}

.ep-docs-nav-link--active {
  border-color: color-mix(in srgb, var(--ep-accent) 22%, var(--ep-border));
  background: color-mix(in srgb, var(--ep-accent-soft) 48%, var(--ep-surface-soft));
}

.ep-docs-article {
  min-width: 0;
}

.ep-docs-results {
  display: grid;
  gap: 1rem;
}

.ep-docs-prose {
  display: grid;
  gap: 0.9rem;
}

.ep-docs-h1,
.ep-docs-h2,
.ep-docs-h3 {
  color: var(--ep-text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ep-docs-h1 {
  font-size: clamp(1.85rem, 2.4vw, 2.6rem);
  font-weight: 640;
  margin-top: 0.25rem;
}

.ep-docs-h2 {
  font-size: 1.35rem;
  font-weight: 620;
  margin-top: 1rem;
}

.ep-docs-h3 {
  font-size: 1.05rem;
  font-weight: 620;
  margin-top: 0.65rem;
}

.ep-docs-paragraph {
  color: var(--ep-muted);
  line-height: 1.75;
  font-size: 0.98rem;
}

.ep-docs-list {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.1rem;
  color: var(--ep-muted);
  list-style: disc;
}

.ep-docs-list li {
  line-height: 1.7;
}

.ep-docs-code {
  overflow-x: auto;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--ep-border);
  background: color-mix(in srgb, var(--ep-surface-soft) 82%, transparent);
  color: var(--ep-text);
  font-family: var(--ep-font-mono);
  font-size: 0.87rem;
  line-height: 1.7;
}

.ep-docs-inline-code {
  padding: 0.1rem 0.4rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--ep-surface-soft) 88%, transparent);
  border: 1px solid var(--ep-border);
  color: var(--ep-text);
  font-family: var(--ep-font-mono);
  font-size: 0.86em;
}

.ep-docs-link {
  color: var(--ep-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.ep-docs-search-excerpt {
  color: var(--ep-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.ep-public-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0 24px;
  border-bottom: 1px solid color-mix(in srgb, var(--ep-border) 82%, transparent);
  background: color-mix(in srgb, var(--ep-bg) 86%, transparent);
  backdrop-filter: blur(18px);
}

.ep-public-topbar-inner {
  width: min(1540px, calc(100vw - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 1rem;
  padding: 14px 0;
}

.ep-public-topbar-inner > .ep-brand--public {
  justify-self: start;
}

.ep-public-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
  justify-self: center;
}

.ep-public-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  justify-self: end;
}

.ep-public-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.35rem 0.55rem;
  color: var(--ep-muted);
  font-size: 0.82rem;
  font-weight: 520;
  letter-spacing: 0.01em;
  border-radius: 8px;
  border: 1px solid transparent;
}

.ep-public-link:hover {
  color: var(--ep-text);
  background: transparent;
  border-color: transparent;
}

.ep-public-link--strong {
  color: var(--ep-text);
  font-weight: 580;
}

.ep-public-nav .ep-button--nav {
  min-height: 2.2rem;
  padding: 0 0.78rem;
  border-radius: 9px;
  border-color: color-mix(in srgb, var(--ep-border) 86%, transparent);
  background: color-mix(in srgb, var(--ep-surface-soft) 52%, transparent);
  color: var(--ep-text);
  font-size: 0.8rem;
  font-weight: 560;
  letter-spacing: 0.01em;
}

.ep-public-nav .ep-button--nav:hover {
  border-color: var(--ep-border);
  background: color-mix(in srgb, var(--ep-surface-soft) 72%, transparent);
}

.ep-public-main {
  width: min(1540px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 18px 24px 56px;
}

.ep-theme-toggle {
  display: inline-flex;
}

.ep-theme-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ep-text);
  font-size: 0.76rem;
  font-weight: 560;
  letter-spacing: 0.01em;
}

.ep-theme-button:hover {
  border-color: var(--ep-border);
  background: color-mix(in srgb, var(--ep-surface-soft) 76%, transparent);
}

.ep-flash {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--ep-radius-md);
  border: 1px solid var(--ep-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ep-text);
  box-shadow: var(--ep-shadow);
}

.ep-flash strong {
  color: var(--ep-accent);
  margin-right: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
}

.ep-flash--alert {
  border-color: rgba(203, 123, 116, 0.25);
  background: rgba(203, 123, 116, 0.08);
}

.ep-flash--alert strong {
  color: #f2b1aa;
}

.ep-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--ep-accent);
  font-weight: 800;
}

.ep-title-hero {
  margin-top: 12px;
  max-width: 15ch;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.ep-title-section {
  font-size: 22px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ep-copy {
  margin-top: 12px;
  max-width: 46rem;
  color: var(--ep-muted);
  font-size: 16px;
  line-height: 1.5;
}

.ep-hero {
  display: grid;
  gap: 24px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--ep-border);
  background: var(--ep-surface);
  box-shadow: var(--ep-shadow);
}

.ep-hero-grid {
  display: grid;
  gap: 18px;
}

.ep-hero-side {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--ep-border);
  background: var(--ep-surface-soft);
}

.ep-hero-side-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--ep-subtle);
  font-weight: 800;
}

.ep-hero-side-value {
  margin-top: 12px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ep-hero-side-copy {
  margin-top: 10px;
  color: var(--ep-muted);
  line-height: 1.5;
  font-size: 14px;
}

.ep-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ep-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--ep-border);
  color: var(--ep-text);
  font-size: 16px;
  font-weight: 500;
  background: var(--ep-surface);
}

.ep-button:hover {
  border-color: var(--ep-border-strong);
  background: var(--ep-surface-soft);
}

.ep-button--primary {
  background: var(--ep-accent);
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

.ep-button--primary:hover {
  background: #e00b41;
}

.ep-button--secondary {
  background: var(--ep-surface);
  border-color: var(--ep-border);
  color: var(--ep-text);
}

.ep-button--secondary:hover {
  border-color: var(--ep-border-strong);
}

.ep-button--ghost {
  background: transparent;
}

.ep-button--danger {
  background: rgba(203, 123, 116, 0.08);
  border-color: rgba(203, 123, 116, 0.2);
  color: #f0b4ae;
}

.ep-card,
.ep-surface-card {
  border: 1px solid var(--ep-border);
  border-radius: 20px;
  background: var(--ep-surface);
  box-shadow: var(--ep-shadow);
}

.ep-card {
  padding: 20px;
}

.ep-card-soft {
  border: 1px solid var(--ep-border);
  border-radius: 18px;
  background: var(--ep-surface-soft);
  padding: 16px;
}

.ep-stat-grid {
  display: grid;
  gap: 1rem;
}

.ep-stat-card {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--ep-border);
  background: var(--ep-surface);
  box-shadow: var(--ep-shadow);
}

.ep-stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--ep-subtle);
  font-weight: 800;
}

.ep-stat-value {
  margin-top: 10px;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.ep-stat-note {
  margin-top: 10px;
  color: var(--ep-muted);
  font-size: 14px;
  line-height: 1.43;
}

.ep-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--ep-radius-lg);
  border: 1px solid rgba(203, 123, 116, 0.18);
  background:
    linear-gradient(135deg, rgba(203, 123, 116, 0.14), rgba(255, 255, 255, 0.02)),
    var(--ep-surface);
}

.ep-banner-copy {
  color: var(--ep-muted);
  line-height: 1.6;
}

.ep-org-card,
.ep-sidebar-card {
  padding: 20px;
  border: 1px solid var(--ep-border);
  border-radius: 20px;
  background: var(--ep-surface);
  box-shadow: var(--ep-shadow);
}

.ep-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.ep-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.ep-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--ep-subtle);
  font-weight: 800;
}

.ep-org-block {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--ep-border);
  background: var(--ep-surface);
}

.ep-org-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.ep-org-name {
  font-size: 1.2rem;
  font-weight: 620;
}

.ep-org-meta {
  color: var(--ep-muted);
  font-size: 0.92rem;
}

.ep-project-grid {
  display: grid;
  gap: 1rem;
}

.ep-project-card {
  display: block;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--ep-border);
  background: var(--ep-surface);
  box-shadow: none;
}

.ep-project-card:hover {
  border-color: var(--ep-accent);
  box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.12);
}

.ep-project-title-row,
.ep-item-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.ep-project-title,
.ep-item-title {
  font-size: 1rem;
  font-weight: 610;
  color: var(--ep-text);
}

.ep-project-platform,
.ep-muted-copy {
  margin-top: 0.35rem;
  color: var(--ep-muted);
  font-size: 0.92rem;
}

.ep-inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
  color: var(--ep-subtle);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 650;
}

.ep-trend-line {
  margin-top: 0.9rem;
  color: var(--ep-subtle);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.45;
  font-weight: 650;
}

.ep-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.ep-chip--neutral {
  background: var(--ep-surface-soft);
  color: var(--ep-muted);
  border-color: var(--ep-border-soft, #ebebeb);
}

.ep-chip--accent {
  background: var(--ep-accent-soft);
  color: var(--ep-accent);
}

.ep-chip--cool {
  background: var(--ep-cool-soft);
  color: var(--ep-cool);
}

.ep-chip--success {
  background: var(--ep-success-soft);
  color: var(--ep-success);
}

.ep-chip--warning {
  background: var(--ep-warning-soft);
  color: var(--ep-warning);
}

.ep-chip--danger {
  background: var(--ep-danger-soft);
  color: var(--ep-danger);
}

.ep-feed-counter {
  padding: 0.9rem 1rem;
  border-radius: var(--ep-radius-md);
  border: 1px solid var(--ep-border);
  background: var(--ep-surface-soft);
  color: var(--ep-muted);
}

.ep-empty-state {
  padding: 1.5rem;
  border-radius: var(--ep-radius-md);
  border: 1px dashed var(--ep-border);
  color: var(--ep-muted);
  text-align: center;
  background: var(--ep-surface-soft);
}

.ep-chart-card {
  padding: 1rem;
  border-radius: var(--ep-radius-md);
  border: 1px solid var(--ep-border);
  background: var(--ep-surface-soft);
}

.ep-chart-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--ep-subtle);
  font-weight: 800;
}

.ep-chart-subtitle {
  margin-top: 0.35rem;
  color: var(--ep-muted);
  font-size: 0.82rem;
}

.ep-chart-meta {
  text-align: right;
  color: var(--ep-subtle);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 700;
}

.ep-chart-axis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  color: var(--ep-subtle);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 700;
}

.ep-activity-card {
  padding: 14px;
  border-radius: var(--ep-radius-md);
  border: 1px solid var(--ep-border);
  background: var(--ep-surface);
}

.ep-activity-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.ep-activity-title {
  font-size: 0.96rem;
  font-weight: 610;
  color: var(--ep-text);
}

.ep-activity-meta {
  margin-top: 0.32rem;
  color: var(--ep-muted);
  font-size: 0.78rem;
}

.ep-activity-link {
  color: var(--ep-accent);
  font-size: 0.88rem;
  font-weight: 550;
}

.ep-activity-link:hover {
  color: var(--ep-brand-dark, #e00b41);
}

.ep-inline-link {
  color: var(--ep-accent);
  font-size: 0.88rem;
  font-weight: 550;
}

.ep-inline-link:hover {
  color: var(--ep-brand-dark, #e00b41);
}

.ep-inline-link--success {
  color: var(--ep-success);
}

.ep-inline-link--danger {
  color: var(--ep-danger);
}

.ep-activity-badges,
.ep-activity-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.ep-activity-details {
  display: grid;
  gap: 0.2rem;
  color: var(--ep-subtle);
  font-size: 0.78rem;
}

.ep-activity-details p {
  line-height: 1.55;
}

.ep-activity-error {
  color: var(--ep-danger);
}

.ep-mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--ep-border);
  color: var(--ep-text);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  background: var(--ep-surface);
}

.ep-mini-button:hover {
  border-color: var(--ep-border-strong);
}

.ep-mini-button--accent {
  border-color: transparent;
  background: var(--ep-accent);
  color: #ffffff;
}

.ep-secret-code,
.ep-code-block {
  display: block;
  overflow-x: auto;
  border-radius: var(--ep-radius-md);
  border: 1px solid var(--ep-border);
  background: var(--ep-surface-soft);
  color: var(--ep-text);
  font-family: var(--ep-font-mono);
  font-size: 13px;
  line-height: 1.5;
}

.ep-secret-code {
  margin-top: 0.85rem;
  padding: 1rem;
  resize: none;
  min-height: 3.45rem;
  word-break: break-all;
}

.ep-secret-code:focus {
  outline: 2px solid color-mix(in srgb, var(--ep-accent) 28%, transparent);
  outline-offset: 2px;
}

.ep-code-block {
  margin-top: 0.9rem;
  padding: 1rem 1.1rem;
}

.ep-pager {
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  border-radius: var(--ep-radius-lg);
  border: 1px solid var(--ep-border);
  background: var(--ep-surface);
}

.ep-pager-meta {
  color: var(--ep-muted);
  font-size: 0.9rem;
}

.ep-shell-grid {
  display: grid;
  gap: 1.5rem;
}

.ep-form-note {
  margin-top: 0.35rem;
  color: var(--ep-subtle);
  font-size: 0.8rem;
  line-height: 1.55;
}

.ep-runtime-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.ep-section-stack {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.ep-split-main {
  display: grid;
  gap: 1.5rem;
}

.ep-metric-grid {
  display: grid;
  gap: 1rem;
}

.ep-metric-card {
  padding: 16px;
  border-radius: var(--ep-radius-lg);
  border: 1px solid var(--ep-border);
  background: var(--ep-surface);
}

.ep-metric-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--ep-subtle);
  font-weight: 800;
}

.ep-metric-value {
  margin-top: 0.8rem;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.ep-metric-copy {
  margin-top: 0.65rem;
  color: var(--ep-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.ep-surface-note {
  padding: 1rem;
  border-radius: var(--ep-radius-md);
  border: 1px solid var(--ep-border);
  background: var(--ep-surface-soft);
  color: var(--ep-muted);
}

.ep-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ep-filter-panel {
  display: grid;
  gap: 1rem;
  padding: 16px;
  border-radius: var(--ep-radius-lg);
  border: 1px solid var(--ep-border);
  background: var(--ep-surface);
}

.ep-filter-grid {
  display: grid;
  gap: 1.1rem;
}

.ep-field {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-width: 0;
}

.ep-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ep-subtle);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 650;
}

.ep-input,
.ep-select,
.ep-textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--ep-border);
  background: var(--ep-surface);
  color: var(--ep-text);
  min-height: 48px;
  padding: 13px 14px;
  font-size: 14px;
}

.ep-select {
  appearance: none;
}

.ep-textarea {
  border-radius: var(--ep-radius-md);
  min-height: 8rem;
  resize: vertical;
  font-family: var(--ep-font-mono);
  font-size: 13px;
  line-height: 1.5;
}

.ep-input::placeholder,
.ep-textarea::placeholder {
  color: var(--ep-subtle);
}

.ep-input:focus,
.ep-select:focus,
.ep-textarea:focus {
  outline: none;
  border-color: var(--ep-text);
  box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.14);
}

.ep-section-stack > div,
.space-y-4 > div,
.space-y-5 > div {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1.15rem;
}

.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1.35rem;
}

.field_with_errors {
  display: grid;
  gap: 0.35rem;
}

.field_with_errors .ep-input,
.field_with_errors .ep-select,
.field_with_errors .ep-textarea {
  border-color: color-mix(in srgb, var(--ep-accent) 45%, var(--ep-border));
}

.ep-note-bar {
  padding: 0.95rem 1rem;
  border-radius: var(--ep-radius-md);
  border: 1px solid var(--ep-border);
  background: var(--ep-surface-soft);
  color: var(--ep-muted);
}

.ep-list-card {
  padding: 14px;
  border-radius: var(--ep-radius-md);
  border: 1px solid var(--ep-border);
  background: var(--ep-surface);
}

.ep-list-title {
  font-size: 0.98rem;
  font-weight: 610;
  color: var(--ep-text);
}

.ep-list-copy {
  margin-top: 0.35rem;
  color: var(--ep-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.ep-list-fine {
  margin-top: 0.3rem;
  color: var(--ep-subtle);
  font-size: 0.76rem;
  line-height: 1.55;
}

.ep-status-grid {
  display: grid;
  gap: 1rem;
}

.ep-inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.ep-auth-shell {
  max-width: 42rem;
  margin: 0 auto;
}

.ep-auth-card {
  padding: 34px;
  border-radius: 24px;
  border: 1px solid var(--ep-border);
  background: var(--ep-surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
}

.ep-auth-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1.4rem;
  color: var(--ep-muted);
  font-size: 0.92rem;
}

.ep-error-card {
  padding: 1rem;
  border-radius: var(--ep-radius-md);
  border: 1px solid rgba(193, 53, 21, 0.14);
  background: var(--ep-danger-soft);
  color: var(--ep-danger);
}

.ep-error-list {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.35rem;
  padding-left: 1.1rem;
  list-style: disc;
}

.ep-check-grid {
  display: grid;
  gap: 0.85rem;
}

.ep-check-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: var(--ep-radius-md);
  border: 1px solid var(--ep-border);
  background: var(--ep-surface);
}

.ep-check-card input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--ep-accent);
}

.ep-check-input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--ep-accent);
}

.ep-check-title {
  color: var(--ep-text);
  font-size: 0.92rem;
  font-weight: 560;
  line-height: 1.45;
}

.ep-check-copy {
  margin-top: 0.18rem;
  color: var(--ep-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.ep-switch-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ep-switch-field {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
}

.ep-switch-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ep-switch {
  position: relative;
  flex: 0 0 auto;
  width: 3.2rem;
  height: 1.9rem;
  border-radius: 999px;
  border: 1px solid var(--ep-border-strong);
  background: var(--ep-surface-soft);
  transition: background-color 160ms ease, border-color 160ms ease;
}

.ep-switch-thumb {
  position: absolute;
  top: 0.18rem;
  left: 0.2rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: var(--ep-surface);
  box-shadow: var(--ep-shadow-sm);
  transition: transform 160ms ease, background-color 160ms ease;
}

.ep-switch-input:checked + .ep-switch {
  background: color-mix(in srgb, var(--ep-accent) 24%, var(--ep-surface));
  border-color: color-mix(in srgb, var(--ep-accent) 50%, var(--ep-border-strong));
}

.ep-switch-input:checked + .ep-switch .ep-switch-thumb {
  transform: translateX(1.28rem);
  background: var(--ep-accent);
}

.ep-switch-input:focus-visible + .ep-switch {
  outline: 2px solid color-mix(in srgb, var(--ep-accent) 45%, transparent);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .ep-switch-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.ep-table-shell {
  overflow: hidden;
  border-radius: var(--ep-radius-lg);
  border: 1px solid var(--ep-border);
  background: var(--ep-surface);
  box-shadow: var(--ep-shadow);
}

.ep-table-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 16px;
  border-bottom: 1px solid var(--ep-border);
  background: var(--ep-surface);
}

.ep-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.ep-table thead {
  background: var(--ep-surface-soft);
}

.ep-table th,
.ep-table td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--ep-border);
  vertical-align: top;
}

.ep-table th {
  color: var(--ep-subtle);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  text-align: left;
  font-weight: 700;
}

.ep-table tbody tr:hover {
  background: #fff7f8;
}

.ep-root-shell {
  display: grid;
  gap: 1.6rem;
}

.ep-root-hero {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--ep-border);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--ep-accent) 10%, transparent) 0, transparent 28rem),
    linear-gradient(180deg, color-mix(in srgb, var(--ep-surface-soft) 76%, white 24%), var(--ep-surface));
  box-shadow: var(--ep-shadow);
}

.ep-root-hero-grid,
.ep-root-ops-grid {
  display: grid;
  gap: 1.35rem;
}

.ep-root-brow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 56, 92, 0.08);
  color: var(--ep-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ep-root-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding-right: 0.5rem;
}

.ep-root-title {
  max-width: 12ch;
  font-size: clamp(2.65rem, 4.8vw, 4.9rem);
  line-height: 0.97;
  font-weight: 650;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.ep-root-copy-text {
  max-width: 44rem;
  color: var(--ep-muted);
  font-size: 0.99rem;
  line-height: 1.78;
}

.ep-action-row--hero {
  gap: 0.75rem;
}

.ep-action-row--hero .ep-button {
  min-height: 2.9rem;
  padding: 0 1rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 560;
}

.ep-button--hero-primary {
  background: color-mix(in srgb, var(--ep-accent) 92%, white 8%);
  border-color: transparent;
  color: #ffffff;
}

.ep-button--hero-primary:hover {
  background: color-mix(in srgb, var(--ep-accent) 84%, #e00b41 16%);
}

.ep-button--hero-secondary {
  background: color-mix(in srgb, var(--ep-surface-soft) 64%, transparent);
  border-color: color-mix(in srgb, var(--ep-border) 90%, transparent);
  color: var(--ep-text);
}

.ep-button--hero-secondary:hover {
  background: color-mix(in srgb, var(--ep-surface-soft) 82%, transparent);
  border-color: var(--ep-border);
}

.ep-root-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.ep-root-pill-row span,
.ep-root-metric-strip > div {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--ep-border);
  background: color-mix(in srgb, var(--ep-surface-soft) 72%, white 28%);
  color: var(--ep-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ep-root-stage,
.ep-root-proof-card,
.ep-root-ops-card {
  border-radius: 28px;
  border: 1px solid var(--ep-border);
  background: color-mix(in srgb, var(--ep-surface) 90%, white 10%);
  box-shadow: var(--ep-shadow);
}

.ep-root-stage {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ep-surface-soft) 72%, white 28%), var(--ep-surface));
}

.ep-root-stage-head,
.ep-root-terminal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ep-root-stage-kicker {
  margin-top: 0.18rem;
  color: var(--ep-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.ep-root-stage-panel {
  padding: 1.15rem;
  border-radius: 24px;
  border: 1px solid var(--ep-border);
  background: color-mix(in srgb, var(--ep-surface) 94%, white 6%);
}

.ep-root-stage-incident {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ep-root-stage-title {
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 650;
  color: var(--ep-text);
}

.ep-root-stage-copy {
  margin-top: 0.45rem;
  color: var(--ep-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.ep-root-stage-copy code {
  font-family: var(--ep-font-mono);
  font-size: 0.84em;
  color: var(--ep-text);
}

.ep-root-stage-side {
  display: grid;
  justify-items: end;
  gap: 0.55rem;
}

.ep-root-stage-side strong {
  color: var(--ep-text);
  font-size: 0.82rem;
  font-weight: 620;
}

.ep-root-stage-list,
.ep-root-proof-grid {
  display: grid;
  gap: 1rem;
}

.ep-root-stage-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid var(--ep-border);
  background: color-mix(in srgb, var(--ep-surface-soft) 68%, white 32%);
}

.ep-root-stage-item-label {
  color: var(--ep-muted);
  font-size: 0.74rem;
  font-weight: 640;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ep-root-stage-item-title {
  margin-top: 0.2rem;
  color: var(--ep-text);
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 560;
}

.ep-root-metric-strip {
  display: grid;
  gap: 0.8rem;
}

.ep-root-metric-strip > div {
  justify-content: space-between;
  gap: 0.8rem;
}

.ep-root-metric-strip strong {
  color: var(--ep-text);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.ep-root-metric-label {
  display: inline-flex;
  color: var(--ep-muted);
}

.ep-root-proof-card,
.ep-root-ops-card {
  padding: 1.5rem;
}

.ep-root-proof-card h3,
.ep-root-ops-card h3 {
  font-size: 1.12rem;
  line-height: 1.35;
  font-weight: 640;
  color: var(--ep-text);
}

.ep-root-proof-card p,
.ep-root-ops-card p {
  margin-top: 0.75rem;
  color: var(--ep-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.ep-root-proof-card--wide {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ep-surface-soft) 78%, white 22%), var(--ep-surface));
}

.ep-root-terminal {
  padding: 1.25rem;
  border-radius: 28px;
  border: 1px solid var(--ep-border);
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.97), rgba(28, 28, 30, 0.97));
  color: #f7f7f7;
  box-shadow: var(--ep-shadow);
}

.ep-root-terminal pre {
  margin-top: 0.85rem;
  overflow-x: auto;
  font-family: var(--ep-font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
}

.ep-root-checklist {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
  color: var(--ep-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.ep-root-checklist li {
  position: relative;
  padding-left: 1.25rem;
}

.ep-root-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--ep-accent);
}

.ep-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  color: var(--ep-subtle);
  font-size: 0.9rem;
}

.ep-breadcrumb-link {
  color: var(--ep-muted);
  font-weight: 520;
}

.ep-breadcrumb-link:hover {
  color: var(--ep-text);
}

.ep-breadcrumb-current {
  color: var(--ep-text);
  font-weight: 620;
}

.ep-breadcrumb-separator {
  color: var(--ep-border-strong);
}

.ep-subnav {
  overflow-x: auto;
  margin-top: -0.1rem;
}

.ep-subnav-track {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 100%;
  padding: 0.3rem;
  border-radius: 18px;
  border: 1px solid var(--ep-border);
  background: color-mix(in srgb, var(--ep-surface) 76%, var(--ep-surface-soft) 24%);
}

.ep-subnav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  color: var(--ep-muted);
  font-size: 0.92rem;
  font-weight: 580;
  white-space: nowrap;
}

.ep-subnav-link:hover {
  color: var(--ep-text);
  background: color-mix(in srgb, var(--ep-surface-soft) 82%, transparent);
}

.ep-subnav-link--active {
  color: var(--ep-text);
  background: color-mix(in srgb, var(--ep-accent-soft) 72%, var(--ep-surface) 28%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ep-accent) 18%, transparent);
}

@media (min-width: 768px) {
  .ep-hero-grid,
  .ep-split-main {
    grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
  }

  .ep-stat-grid,
  .ep-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ep-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ep-filter-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ep-filter-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ep-filter-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ep-status-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ep-root-hero-grid,
  .ep-root-ops-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(25rem, 0.95fr);
  }

  .ep-root-proof-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .ep-root-proof-card--wide {
    grid-column: span 6;
  }

  .ep-root-proof-card {
    grid-column: span 3;
  }

  .ep-root-metric-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ep-app-shell {
    grid-template-columns: 1fr;
  }

  .ep-app-sidebar {
    position: static;
    height: auto;
    padding: 0.85rem 0.85rem 0;
  }

  .ep-app-main {
    padding: 0 0.85rem 1.4rem;
  }

  .ep-public-topbar {
    padding-inline: 0.85rem;
  }

  .ep-public-topbar-inner {
    width: auto;
    grid-template-columns: 1fr;
    padding-block: 0.9rem;
  }

  .ep-brand--public {
    width: 100%;
  }

  .ep-brand-logo--public {
    width: min(220px, 100%);
  }

  .ep-public-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .ep-public-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .ep-public-main {
    width: auto;
    padding-inline: 0.85rem;
  }

  .ep-hero,
  .ep-card,
  .ep-org-card,
  .ep-sidebar-card,
  .ep-root-hero,
  .ep-root-proof-card,
  .ep-root-ops-card,
  .ep-root-terminal {
    padding: 1.25rem;
  }

  .ep-title-hero {
    max-width: 12ch;
  }

  .ep-root-title {
    max-width: 11ch;
    font-size: clamp(2.25rem, 8vw, 3.45rem);
  }

  .ep-docs-layout {
    grid-template-columns: 1fr;
  }

  .ep-docs-nav {
    position: static;
  }
}
