/* Eclyzer Router v2 — Shared Core Primitives (Surplus Intelligence Component Language) */

.er-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.er-skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 120;
  padding: 10px 16px;
  border-radius: var(--r-control);
  background: var(--surface-popover);
  color: var(--ink);
  box-shadow: var(--ui-dialog-shadow);
  font-size: 13px;
  font-weight: 520;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.16s var(--ease-out-expo);
}

.er-skip-link:focus {
  transform: translateY(0);
}

.er-container {
  width: 100%;
  max-width: 1152px;
  margin-inline: auto;
  padding-inline: 24px;
}

.er-container--wide {
  max-width: 1280px;
}

/* ==========================================================================
   Floating Glass Pill Navbar (.ph-pill) & Mobile Sheet (.ph-sheet)
   ========================================================================== */

.ph-wrap {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 60;
  padding-inline: 16px;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  opacity: 1;
  will-change: transform, opacity;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ph-wrap.is-hidden {
  transform: translate3d(0, -40px, 0);
  opacity: 0;
}

.ph-wrap.is-hidden .ph-pill {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .ph-wrap {
    transition: opacity 140ms linear;
  }
  .ph-wrap.is-hidden {
    transform: translate3d(0, 0, 0);
  }
}

.ph-pill {
  pointer-events: auto;
  margin-inline: auto;
  width: 100%;
  max-width: 1088px;
  height: 64px;
  padding: 0 14px 0 20px;
  border-radius: var(--r-pill);
  background: var(--surface-glass);
  box-shadow: var(--ui-glass-ring);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ph-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 560;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 6px 4px;
  border-radius: var(--r-control);
}

.ph-brand-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ph-brand-mark img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.ph-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ph-link {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--r-control);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.14s ease, background-color 0.14s ease;
}

.ph-link:hover {
  color: var(--ink);
  background: var(--surface-hover);
}

.ph-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ph-theme-btn,
.ph-burger-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-muted);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.14s ease, background-color 0.14s ease;
}

.ph-theme-btn:hover,
.ph-burger-btn:hover {
  color: var(--ink);
  background: var(--surface-hover);
}

.ph-theme-btn svg,
.ph-burger-btn svg {
  width: 18px;
  height: 18px;
}

.ph-icon-sun {
  display: none;
}

.dark .ph-icon-sun {
  display: block;
}

.dark .ph-icon-moon {
  display: none;
}

.ph-burger-btn {
  display: none;
}

.ph-mobile-cta {
  display: none;
}

.ph-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(4px);
}

.ph-sheet-backdrop[hidden] {
  display: none;
}

.ph-sheet {
  position: fixed;
  top: 84px;
  right: 16px;
  z-index: 70;
  width: min(360px, calc(100vw - 32px));
  max-height: calc(100dvh - 104px);
  overflow-y: auto;
  padding: 16px;
  border-radius: var(--r-dialog);
  background: var(--surface-sheet);
  box-shadow: var(--ui-dialog-shadow);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ph-sheet[hidden] {
  display: none;
}

.ph-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 10px;
  border-bottom: 1px solid var(--divider-subtle);
}

.ph-sheet-title {
  font-size: 12px;
  font-weight: 520;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

.ph-sheet-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--r-control);
  background: transparent;
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.ph-sheet-close:hover {
  background: var(--surface-hover);
  color: var(--ink);
}

.ph-sheet-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ph-sheet-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--r-control);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.ph-sheet-link:hover {
  background: var(--surface-hover);
}

.ph-sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--divider-subtle);
}

@media (max-width: 920px) {
  .ph-pill {
    height: 60px;
    padding: 0 12px 0 16px;
  }
  .ph-nav,
  .ph-desktop-actions {
    display: none;
  }
  .ph-mobile-cta {
    display: inline-flex;
  }
  .ph-burger-btn {
    display: inline-grid;
    width: 38px;
    height: 38px;
  }
  .ph-theme-btn {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 380px) {
  .ph-brand span {
    font-size: 14px;
  }
  .ph-mobile-cta {
    padding-inline: 12px;
    font-size: 13px;
  }
}

/* ==========================================================================
   Buttons & Tactile 3D CTAs
   ========================================================================== */

.btn-3d-primary,
.btn-3d-neutral,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--r-cta);
  font-size: 13.5px;
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  transition: transform 0.12s var(--ease-out-expo), filter 0.14s ease, background-color 0.14s ease, color 0.14s ease;
}

.btn-3d-primary svg,
.btn-3d-neutral svg,
.btn-ghost svg,
.er-inline-link svg {
  display: block;
  flex-shrink: 0;
}

@media (min-width: 921px) {
  .ph-pill .ph-mobile-cta {
    display: none;
  }
}

.btn-3d-primary {
  border: 1px solid var(--ui-btn-primary-edge);
  background: var(--ui-btn-primary-bg);
  color: #ffffff;
  box-shadow: var(--ui-btn-primary-shadow);
}

.btn-3d-primary:hover {
  background: var(--ui-btn-primary-hover-bg, var(--ui-btn-primary-bg));
}

.btn-3d-primary:disabled,
.btn-3d-primary[aria-disabled="true"] {
  opacity: 0.72;
  cursor: not-allowed;
}

.btn-3d-primary:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 1px 0 var(--ui-btn-primary-edge), 0 4px 12px rgba(28, 105, 225, 0.2);
}

.btn-3d-neutral {
  border: 1px solid transparent;
  background: var(--ui-btn-neutral-bg);
  color: var(--ui-btn-neutral-ink);
  box-shadow: var(--ui-btn-neutral-shadow);
}

.btn-3d-neutral:hover {
  filter: brightness(1.06);
}

:root:not(.dark) .btn-3d-neutral:hover {
  filter: brightness(0.98);
}

.btn-3d-neutral:active {
  transform: translateY(1px);
}

.btn-3d-primary.is-lg,
.btn-3d-neutral.is-lg {
  height: 44px;
  padding: 0 22px;
  font-size: 14px;
}

.btn-3d-primary.is-sm,
.btn-3d-neutral.is-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 12px;
}

/* Concentric Capsule Header Actions (.ph-pill) — Clean, Aligned, Zero 3D-Ledge Sag */
.ph-pill :is(.btn-3d-primary.is-sm, .btn-3d-neutral.is-sm, .ph-mobile-cta) {
  height: 36px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 560;
}

.ph-pill .btn-3d-neutral.is-sm {
  border: 0;
  background: linear-gradient(180deg, #25262e 0%, #1c1d24 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--ui-control-ring);
  color: #f4f4f5;
}

:root:not(.dark) .ph-pill .btn-3d-neutral.is-sm {
  background: linear-gradient(180deg, #ffffff 0%, #f3f2ee 100%);
  box-shadow: inset 0 1px 0 #ffffff, 0 0 0 1px rgba(15, 23, 42, 0.12);
  color: #111318;
}

.ph-pill .btn-3d-neutral.is-sm:hover {
  filter: none;
  background: linear-gradient(180deg, #2d2e38 0%, #23242c 100%);
}

:root:not(.dark) .ph-pill .btn-3d-neutral.is-sm:hover {
  background: linear-gradient(180deg, #faf9f7 0%, #eceae4 100%);
}

.ph-pill :is(.btn-3d-primary.is-sm, .ph-mobile-cta) {
  border: 0;
  background: linear-gradient(180deg, #1d62d8 0%, #1753be 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

:root:not(.dark) .ph-pill :is(.btn-3d-primary.is-sm, .ph-mobile-cta) {
  background: linear-gradient(180deg, #1a5cd0 0%, #144db6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.20), inset 0 0 0 1px rgba(12, 53, 132, 0.70);
}

.ph-pill :is(.btn-3d-primary.is-sm, .ph-mobile-cta):hover {
  background: linear-gradient(180deg, #216be0 0%, #1a59c8 100%);
}

:root:not(.dark) .ph-pill :is(.btn-3d-primary.is-sm, .ph-mobile-cta):hover {
  background: linear-gradient(180deg, #1f64db 0%, #1752bc 100%);
}

.ph-pill :is(.btn-3d-primary.is-sm, .ph-mobile-cta, .btn-3d-neutral.is-sm):active {
  transform: translateY(0.5px);
}

.btn-3d-primary.is-block,
.btn-3d-neutral.is-block {
  width: 100%;
}

.btn-3d-neutral.is-copied {
  color: var(--success);
  box-shadow: inset 0 0 0 1px var(--success-ring), 0 2px 0 #090a0d;
}

.btn-ghost {
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  border-radius: var(--r-control);
  height: 36px;
  padding: 0 12px;
}

.btn-ghost:hover {
  color: var(--ink);
  background: var(--surface-hover);
}

.er-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 520;
  color: var(--primary-text);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 2px;
  border-radius: var(--r-control);
  transition: color 0.14s ease;
}

.er-inline-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Segmented Control, Recessed Inputs, Badges & Hairline Cards
   ========================================================================== */

.er-seg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: var(--surface-sunken);
  box-shadow: var(--ui-control-ring);
}

.er-seg button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-muted);
  font-size: 12.5px;
  font-weight: 520;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

.er-seg button[aria-pressed="true"] {
  background: var(--surface-row);
  color: var(--ink);
  box-shadow: var(--ui-control-ring), 0 1px 2px rgba(0, 0, 0, 0.18);
}

.er-seg button:hover:not([aria-pressed="true"]) {
  color: var(--ink);
}

.er-field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
}

.er-input,
.er-select {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--r-control);
  background: var(--surface-field);
  color: var(--ink);
  box-shadow: var(--ui-control-ring);
  font-size: 14px;
  transition: box-shadow 0.14s ease, background-color 0.14s ease;
}

.er-input::placeholder {
  color: var(--ink-muted);
  opacity: 0.85;
}

.er-select:focus:not(:focus-visible) {
  outline: none;
  box-shadow: var(--ui-control-ring);
}

/* ==========================================================================
   Accessible Custom Popover Dropdown (.er-dropdown)
   ========================================================================== */

.er-dropdown {
  position: relative;
  width: 100%;
  min-width: 0;
}

.er-dropdown.is-open {
  z-index: 60;
}

.er-select-native {
  display: none;
}

.er-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 42px;
  padding: 0 12px 0 14px;
  border: 0;
  border-radius: var(--r-control);
  background: var(--surface-field);
  color: var(--ink);
  box-shadow: var(--ui-control-ring);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.14s ease, box-shadow 0.14s ease;
}

.er-select-trigger:hover:not(:disabled) {
  background: var(--surface-hover);
}

.er-select-trigger:focus:not(:focus-visible) {
  outline: none;
  box-shadow: var(--ui-control-ring);
}

.er-input:focus:not(:focus-visible),
.er-input:focus-visible,
.er-select:focus-visible,
.er-select-trigger:focus-visible,
.er-dropdown.is-open .er-select-trigger {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  box-shadow: none;
}

.er-select-trigger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.er-select-value {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 460;
}

.er-select-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--ink-muted);
  transition: transform 0.16s var(--ease-out-expo), color 0.14s ease;
}

.er-dropdown.is-open .er-select-chevron {
  transform: rotate(180deg);
  color: var(--ink);
}

.er-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 100%;
  z-index: 70;
  padding: 6px;
  border-radius: var(--r-menu);
  background: var(--surface-popover);
  box-shadow: var(--ui-dialog-shadow);
  max-height: 272px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--divider-strong) transparent;
}

.er-select-menu:focus,
.er-select-menu:focus-visible {
  outline: 2px solid var(--primary-text);
  outline-offset: 1px;
}

.er-select-menu[hidden] {
  display: none;
}

.er-dropdown.is-up .er-select-menu {
  top: auto;
  bottom: calc(100% + 6px);
}

.er-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--r-control);
  color: var(--ink-secondary);
  font-size: 13.5px;
  line-height: 1.35;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.er-select-option:hover {
  background: var(--surface-hover);
  color: var(--ink);
}

.er-select-option:focus:not(:focus-visible) {
  outline: none;
}

.er-select-option:focus-visible {
  background: var(--surface-hover);
  color: var(--ink);
  outline: 2px solid var(--primary-text);
  outline-offset: -2px;
}

.er-select-option[aria-selected="true"]:focus-visible {
  background: var(--primary-soft);
  color: var(--primary-text);
}

.er-select-option[aria-selected="true"] {
  background: var(--primary-soft);
  color: var(--primary-text);
  font-weight: 540;
}

.er-select-option[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.er-select-opt-main {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
}

.er-select-opt-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.er-select-opt-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--surface-hover);
  box-shadow: var(--ui-control-ring);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.er-select-opt-icon img {
  width: 14px;
  height: 14px;
  display: block;
  object-fit: contain;
}

:root:not(.dark) .er-select-opt-icon[data-brand="openai"],
:root:not(.dark) .er-select-opt-icon[data-brand="glm"],
:root:not(.dark) .er-select-opt-icon[data-brand="kimi"],
:root:not(.dark) .er-select-opt-icon[data-brand="mimo"] {
  background: #121318;
}

.er-select-check {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0;
  color: var(--primary-text);
}

.er-select-option[aria-selected="true"] .er-select-check {
  opacity: 1;
}

.er-check-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--r-control);
  background: var(--surface-field);
  box-shadow: var(--ui-control-ring);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}

.er-check-toggle input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  margin: 0;
  cursor: pointer;
}

.er-range {
  width: 100%;
  height: 24px;
  accent-color: var(--primary);
  cursor: pointer;
  margin: 0;
}

.er-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--r-badge);
  font-size: 11px;
  font-weight: 560;
  line-height: 1.4;
  white-space: nowrap;
}

.er-pill--emerald {
  background: var(--success-soft);
  color: var(--success);
  box-shadow: inset 0 0 0 1px var(--success-ring);
}

.er-pill--blue {
  background: var(--primary-soft);
  color: var(--primary-text);
  box-shadow: inset 0 0 0 1px var(--primary-ring);
}

.er-pill--amber {
  background: var(--warn-soft);
  color: var(--warn);
}

.er-pill--neutral {
  background: var(--surface-hover);
  color: var(--ink-secondary);
  box-shadow: var(--ui-control-ring);
}

.er-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-soft);
  flex-shrink: 0;
}

.er-card {
  background: var(--surface-row);
  border-radius: var(--r-card);
  box-shadow: var(--ui-card-ring);
  padding: 22px;
}

/* Provider Icon Badge (contrast-safe in Dark & Light modes) */
.er-brand-tile {
  width: 36px;
  height: 36px;
  border-radius: var(--r-mark);
  background: var(--surface-hover);
  box-shadow: var(--ui-control-ring);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

:root:not(.dark) .er-brand-tile[data-brand="openai"],
:root:not(.dark) .er-brand-tile[data-brand="glm"],
:root:not(.dark) .er-brand-tile[data-brand="kimi"],
:root:not(.dark) .er-brand-tile[data-brand="mimo"] {
  background: #121318;
  color: #f4f4f5;
}

.er-brand-tile img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

/* ==========================================================================
   Toast Feedback & Agent Popover
   ========================================================================== */

.er-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 140;
  padding: 10px 16px;
  border-radius: var(--r-menu);
  background: var(--surface-popover);
  color: var(--ink);
  box-shadow: var(--ui-dialog-shadow);
  font-size: 13px;
  font-weight: 520;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.er-clipboard-helper {
  position: fixed;
  top: -9999px;
  left: -9999px;
  opacity: 0;
}

/* ==========================================================================
   Footer Card (.pf-card) & Manrope Eclyzer Wordmark
   ========================================================================== */

.pf-shell {
  padding: 24px 24px 0;
}

.pf-card {
  width: 100%;
  max-width: 1232px;
  margin-inline: auto;
  padding: 40px 36px 28px;
  border-radius: var(--r-footer);
  background: var(--surface-row);
  box-shadow: var(--ui-card-ring);
}

.pf-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.45fr) repeat(3, minmax(130px, 0.85fr)) minmax(230px, 1.25fr);
  gap: 32px;
}

.pf-statement {
  margin: 14px 0 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--ink-secondary);
  max-width: 22ch;
}

.pf-col-title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 520;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

.pf-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pf-link {
  font-size: 13.5px;
  color: var(--ink-secondary);
  text-decoration: none;
  padding: 2px 0;
  width: fit-content;
  transition: color 0.14s ease;
}

.pf-link:hover {
  color: var(--ink);
}

.pf-contact-copy {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.pf-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--divider-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.pf-bottom-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pf-bottom-tools .btn-ghost,
.pf-bottom-tools .er-inline-link {
  height: 34px;
  padding: 0 10px;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
}

.pf-brand-link {
  padding-left: 0;
}

.er-flash-wrap {
  padding-top: 92px;
}

.pf-wordmark-wrap {
  width: 100%;
  max-width: 1232px;
  margin: 14px auto 0;
  padding-inline: 0;
  overflow: hidden;
  user-select: none;
}

.pf-wordmark {
  font-family: "Manrope", var(--font-sans);
  font-size: clamp(72px, 16.5vw, 244px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-align: center;
  white-space: nowrap;
  transform: translateY(14%);
}

.pf-wordmark::before {
  content: "eclyzer";
  color: var(--ink);
  opacity: 0.085;
}

.pf-wordmark::after {
  content: ".";
  color: var(--primary);
  opacity: 0.45;
}

@media (max-width: 1024px) {
  .pf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
  }
  .pf-brand-col,
  .pf-contact-col {
    grid-column: 1 / -1;
  }
  .pf-contact-col {
    padding-top: 20px;
    border-top: 1px solid var(--divider-subtle);
  }
}

@media (max-width: 640px) {
  .er-container {
    padding-inline: 16px;
  }
  .pf-shell {
    padding: 20px 16px 0;
  }
  .pf-card {
    padding: 28px 20px 22px;
  }
  .pf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .pf-contact-col {
    grid-column: 1 / -1;
  }
}

:root:not(.dark) img.er-logo-dark,
html.dark img.er-logo-light {
  display: none;
}

html.dark img.er-logo-dark:not([hidden]),
:root:not(.dark) img.er-logo-light:not([hidden]) {
  display: block;
}

.er-pill[hidden],
.er-select-menu[hidden],
[data-free-label][hidden],
[data-code-panel][hidden],
[data-receipt-topup][hidden],
[data-receipt-compare][hidden],
[hidden] {
  display: none;
}

.ui-link-arrow {
  display: inline-block;
  flex: none;
  vertical-align: -0.12em;
}

.er-pager-right {
  display: flex;
  min-inline-size: 0;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.er-catalog-pager {
  min-inline-size: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 2px 0;
  margin-top: 2px;
  background: transparent;
}

.er-catalog-pager[hidden] {
  display: none;
}

.er-pager-status {
  font-size: 12.5px;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.er-pager-controls {
  display: flex;
  min-inline-size: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.er-pager-dots {
  padding: 0 4px;
  color: var(--ink-muted);
}

.er-page-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 36px;
  height: 36px;
  padding: 0 11px;
  border: 0;
  border-radius: var(--r-control);
  background: var(--surface-row);
  box-shadow: var(--ui-control-ring);
  color: var(--ink-secondary);
  font: 520 12.5px/1 var(--font-sans);
  cursor: pointer;
}

.er-page-btn:hover:not(:disabled) {
  background: var(--surface-hover);
  color: var(--ink);
}

.er-page-btn[aria-current="page"] {
  background: #1756c4;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.er-page-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

