.epr-host > :not(#ep-official-recharge-root) { display: none !important; }

.epr-root {
  --epr-text: #111827;
  --epr-muted: #64748b;
  --epr-faint: #94a3b8;
  --epr-line: rgba(148, 163, 184, .34);
  --epr-line-strong: rgba(100, 116, 139, .52);
  --epr-surface: rgba(255, 255, 255, .88);
  --epr-surface-solid: #fff;
  --epr-surface-soft: rgba(248, 250, 252, .84);
  --epr-blue: #2563eb;
  --epr-blue-soft: #eff6ff;
  --epr-green: #047857;
  --epr-green-soft: #ecfdf5;
  --epr-amber: #b45309;
  --epr-amber-soft: #fffbeb;
  --epr-red: #b91c1c;
  --epr-red-soft: #fef2f2;
  width: 100%;
  color: var(--epr-text);
  font: inherit;
  letter-spacing: 0;
}

.dark .epr-root {
  --epr-text: #f8fafc;
  --epr-muted: #b6c2d2;
  --epr-faint: #8190a5;
  --epr-line: rgba(100, 116, 139, .5);
  --epr-line-strong: rgba(148, 163, 184, .52);
  --epr-surface: rgba(7, 16, 31, .76);
  --epr-surface-solid: #0b1628;
  --epr-surface-soft: rgba(15, 29, 50, .76);
  --epr-blue: #93c5fd;
  --epr-blue-soft: rgba(30, 64, 175, .28);
  --epr-green: #6ee7b7;
  --epr-green-soft: rgba(6, 95, 70, .3);
  --epr-amber: #fcd34d;
  --epr-amber-soft: rgba(120, 53, 15, .3);
  --epr-red: #fca5a5;
  --epr-red-soft: rgba(127, 29, 29, .3);
}

.epr-root *, .epr-root *::before, .epr-root *::after { box-sizing: border-box; }
.epr-root button, .epr-root input, .epr-root select, .epr-root textarea { font: inherit; letter-spacing: 0; }
.epr-root button, .epr-root summary { -webkit-tap-highlight-color: transparent; }
.epr-root svg { display: block; width: 100%; height: 100%; }
.epr-root h1, .epr-root h2, .epr-root h3, .epr-root p, .epr-root dl, .epr-root dd { margin: 0; }
.epr-root h1, .epr-root h2, .epr-root h3 { overflow-wrap: anywhere; }
.epr-root p, .epr-root dd, .epr-root td { overflow-wrap: anywhere; }

.epr-page {
  width: min(100%, 80rem);
  margin: 0 auto;
  padding-bottom: 2rem;
  animation: epr-enter .2s ease-out both;
}

.epr-page-narrow { max-width: 56rem; }
.epr-page-form { max-width: 64rem; }
@keyframes epr-enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.epr-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 0 1.4rem;
  border-bottom: 1px solid var(--epr-line);
}

.epr-heading { display: flex; align-items: flex-start; gap: .85rem; min-width: 0; }
.epr-heading-icon {
  display: grid;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid #99f6e4;
  border-radius: 8px;
  color: #0f766e;
  background: rgba(240, 253, 250, .9);
}
.dark .epr-heading-icon { color: #5eead4; border-color: rgba(13, 148, 136, .7); background: rgba(15, 118, 110, .24); }
.epr-heading-icon.is-success { color: var(--epr-green); border-color: #a7f3d0; background: var(--epr-green-soft); }
.epr-heading-icon .epr-icon { width: 1.35rem; height: 1.35rem; }
.epr-heading h1 { margin-top: .12rem; font-size: 1.55rem; line-height: 1.28; font-weight: 700; }
.epr-heading p { margin-top: .32rem; color: var(--epr-muted); font-size: .875rem; line-height: 1.55; }
.epr-kicker { display: block; color: #0f766e; font-size: .66rem; line-height: 1.2; font-weight: 750; letter-spacing: 0; }
.dark .epr-kicker { color: #5eead4; }

.epr-header-facts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
.epr-header-facts > span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.25rem;
  padding: .45rem .65rem;
  border: 1px solid var(--epr-line);
  border-radius: 7px;
  color: var(--epr-muted);
  background: var(--epr-surface);
  backdrop-filter: blur(12px);
  font-size: .75rem;
  font-weight: 600;
}
.epr-header-facts .epr-icon { width: .9rem; height: .9rem; color: #0f766e; }
.dark .epr-header-facts .epr-icon { color: #5eead4; }

.epr-icon { display: inline-flex; flex: 0 0 auto; width: 1rem; height: 1rem; }
.epr-nav-link > .epr-icon { width: 1.25rem; height: 1.25rem; }

.epr-announcement, .epr-sensitive-warning, .epr-unpaid-banner, .epr-inline-error {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-top: 1rem;
  padding: .8rem .9rem;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  color: #78350f;
  background: rgba(255, 251, 235, .92);
  font-size: .8rem;
  line-height: 1.55;
}
.dark .epr-announcement, .dark .epr-sensitive-warning, .dark .epr-unpaid-banner, .dark .epr-inline-error { color: #fde68a; border-color: #92400e; background: rgba(69, 26, 3, .7); }
.epr-announcement .epr-icon, .epr-sensitive-warning .epr-icon, .epr-unpaid-banner .epr-icon, .epr-inline-error .epr-icon { width: 1.1rem; height: 1.1rem; margin-top: .08rem; }
.epr-announcement p, .epr-sensitive-warning p, .epr-unpaid-banner p { margin-top: .18rem; }
.epr-inline-error { margin-bottom: 1rem; color: var(--epr-red); border-color: #fecaca; background: var(--epr-red-soft); }

.epr-tabs {
  display: flex;
  width: 100%;
  gap: 1rem;
  margin: 1rem 0 1.35rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--epr-line);
  scrollbar-width: thin;
}
.epr-tabs button {
  position: relative;
  flex: 0 0 auto;
  height: 2.65rem;
  padding: 0 .2rem;
  border: 0;
  color: var(--epr-muted);
  background: transparent;
  font-size: .875rem;
  font-weight: 650;
  cursor: pointer;
}
.epr-tabs button:hover, .epr-tabs button.is-active { color: #0f766e; }
.dark .epr-tabs button:hover, .dark .epr-tabs button.is-active { color: #5eead4; }
.epr-tabs button.is-active::after { content: ''; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: currentColor; }

.epr-intro, .epr-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.epr-intro { margin-bottom: 1rem; }
.epr-intro h2, .epr-section-heading h2 { margin-top: .2rem; font-size: 1.05rem; font-weight: 700; }
.epr-intro > p, .epr-section-heading > p { max-width: 36rem; color: var(--epr-muted); font-size: .8rem; line-height: 1.55; }

.epr-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.epr-product {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1.15rem;
  border: 1px solid var(--epr-line);
  border-top: 3px solid #0f766e;
  border-radius: 8px;
  background: var(--epr-surface);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
  backdrop-filter: blur(16px);
}
.epr-product.is-google { border-top-color: #2563eb; }
.epr-product > header { display: flex; align-items: flex-start; justify-content: space-between; gap: .7rem; }
.epr-product h2 { margin-top: .25rem; font-size: 1.05rem; line-height: 1.4; font-weight: 700; }
.epr-channel { flex: 0 0 auto; padding: .25rem .48rem; border: 1px solid var(--epr-line); border-radius: 999px; color: var(--epr-muted); background: var(--epr-surface-soft); font-size: .67rem; font-weight: 650; }
.epr-price-row { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: 1rem; }
.epr-price-row > div { min-width: 0; padding: .65rem .7rem; border: 1px solid var(--epr-line); border-radius: 7px; background: var(--epr-surface-soft); }
.epr-price-row span { display: block; color: var(--epr-muted); font-size: .68rem; }
.epr-price-row strong { display: block; margin-top: .15rem; font-size: 1.28rem; font-weight: 750; }
.epr-price-row .epr-zero-fee { color: var(--epr-green); border-color: #a7f3d0; background: var(--epr-green-soft); }
.dark .epr-price-row .epr-zero-fee { border-color: #047857; }
.epr-product-description { margin-top: .85rem !important; color: var(--epr-muted); font-size: .8rem; line-height: 1.55; }
.epr-plan-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .8rem !important; }
.epr-plan-facts > div { min-width: 0; }
.epr-plan-facts dt { color: var(--epr-faint); font-size: .65rem; }
.epr-plan-facts dd { margin-top: .15rem; font-size: .78rem; font-weight: 650; }
.epr-eligibility { margin-top: .8rem; padding: .7rem; border-left: 3px solid #60a5fa; color: var(--epr-muted); background: var(--epr-blue-soft); font-size: .75rem; line-height: 1.55; }
.epr-eligibility strong { color: var(--epr-text); }
.epr-eligibility p { margin-top: .2rem; }
.epr-check-list { display: grid; gap: .42rem; margin: .85rem 0 1rem; padding: 0; list-style: none; color: var(--epr-muted); font-size: .75rem; }
.epr-check-list li { display: flex; align-items: flex-start; gap: .42rem; }
.epr-check-list .epr-icon { width: .86rem; height: .86rem; margin-top: .12rem; color: var(--epr-green); }
.epr-product .epr-button { margin-top: auto; }
.epr-payment-hint { margin-top: .55rem !important; color: var(--epr-faint); font-size: .68rem; line-height: 1.45; text-align: center; }

.epr-button, .epr-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  min-height: 2.45rem;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: .82rem;
  font-weight: 650;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.epr-button { padding: .55rem .85rem; }
.epr-button:hover:not(:disabled), .epr-icon-button:hover:not(:disabled) { box-shadow: 0 2px 8px rgba(15, 23, 42, .14); }
.epr-button:active:not(:disabled), .epr-icon-button:active:not(:disabled) { transform: translateY(1px); }
.epr-button:disabled, .epr-icon-button:disabled { cursor: not-allowed; opacity: .48; }
.epr-button:focus-visible, .epr-icon-button:focus-visible, .epr-tabs button:focus-visible, .epr-root input:focus-visible, .epr-root select:focus-visible, .epr-root textarea:focus-visible, .epr-root summary:focus-visible { outline: 2px solid #2dd4bf; outline-offset: 2px; }
.epr-button-primary { color: #fff; border-color: #0f766e; background: #0f766e; }
.epr-button-primary:hover:not(:disabled) { background: #115e59; }
.dark .epr-button-primary { color: #06211e; border-color: #5eead4; background: #5eead4; }
.dark .epr-button-primary:hover:not(:disabled) { background: #99f6e4; }
.epr-button-secondary, .epr-icon-button { color: var(--epr-text); border-color: var(--epr-line); background: var(--epr-surface); }
.epr-button-secondary:hover:not(:disabled), .epr-icon-button:hover:not(:disabled) { background: var(--epr-surface-soft); border-color: var(--epr-line-strong); }
.epr-button-danger { color: #fff; border-color: #dc2626; background: #dc2626; }
.epr-button-block { width: 100%; }
.epr-button-small { min-height: 2rem; padding: .35rem .6rem; font-size: .72rem; }
.epr-button .epr-icon { width: .95rem; height: .95rem; }
.epr-icon-button { width: 2.45rem; padding: 0; }

.epr-band, .epr-two-column, .epr-result-panel, .epr-status-panel, .epr-config-form > section, .epr-form > section {
  margin-top: 1rem;
  border: 1px solid var(--epr-line);
  border-radius: 8px;
  background: var(--epr-surface);
  backdrop-filter: blur(16px);
}
.epr-band { padding: 1.15rem; }
.epr-workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.epr-workflow li { display: flex; min-width: 0; align-items: center; gap: .5rem; padding: .62rem; border-top: 1px solid var(--epr-line); }
.epr-workflow span { flex: 0 0 auto; color: #0f766e; font: 700 .65rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.dark .epr-workflow span { color: #5eead4; }
.epr-workflow strong { min-width: 0; font-size: .72rem; line-height: 1.4; }
.epr-two-column { display: grid; grid-template-columns: 1fr 1fr; }
.epr-two-column > div { min-width: 0; padding: 1.15rem; }
.epr-two-column > div + div { border-left: 1px solid var(--epr-line); }
.epr-two-column h2 { margin-top: .2rem; font-size: 1rem; }
.epr-two-column p { margin-top: .55rem; color: var(--epr-muted); font-size: .76rem; line-height: 1.65; }
.epr-faq details { border-top: 1px solid var(--epr-line); }
.epr-faq details:first-of-type { margin-top: 1rem; }
.epr-faq summary { padding: .75rem 0; font-size: .8rem; font-weight: 650; cursor: pointer; }
.epr-faq details p { padding: 0 0 .8rem; color: var(--epr-muted); font-size: .76rem; line-height: 1.6; }

.epr-my-orders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.epr-my-orders article, .epr-admin-cards article { padding: .9rem; border: 1px solid var(--epr-line); border-radius: 8px; background: var(--epr-surface); backdrop-filter: blur(14px); }
.epr-my-orders article > div:first-child, .epr-admin-cards article > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.epr-my-orders h3, .epr-admin-cards h3 { margin-top: .55rem; font-size: .88rem; }
.epr-my-orders p, .epr-admin-cards p { margin-top: .2rem; color: var(--epr-muted); font-size: .72rem; }
.epr-my-orders time { display: block; margin: .6rem 0; color: var(--epr-faint); font-size: .68rem; }
.epr-mono { overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .72rem; }

.epr-status { display: inline-flex; align-items: center; width: max-content; max-width: 100%; min-height: 1.5rem; padding: .22rem .5rem; border-radius: 999px; font-size: .68rem; line-height: 1; font-weight: 700; white-space: nowrap; }
.epr-status-amber { color: #92400e; background: #fef3c7; }
.epr-status-blue { color: #1d4ed8; background: #dbeafe; }
.epr-status-violet { color: #6d28d9; background: #ede9fe; }
.epr-status-green { color: #047857; background: #d1fae5; }
.epr-status-gray { color: #475569; background: #e2e8f0; }
.epr-status-red { color: #b91c1c; background: #fee2e2; }
.dark .epr-status-amber { color: #fde68a; background: rgba(120, 53, 15, .45); }
.dark .epr-status-blue { color: #bfdbfe; background: rgba(30, 64, 175, .45); }
.dark .epr-status-violet { color: #ddd6fe; background: rgba(91, 33, 182, .4); }
.dark .epr-status-green { color: #a7f3d0; background: rgba(6, 95, 70, .45); }
.dark .epr-status-gray { color: #cbd5e1; background: rgba(51, 65, 85, .7); }
.dark .epr-status-red { color: #fecaca; background: rgba(127, 29, 29, .45); }

.epr-sensitive-warning { margin: 1rem 0 0; }
.epr-form { display: grid; gap: 1rem; margin-top: 1rem; }
.epr-form > section, .epr-config-form > section { padding: 1.1rem; }
.epr-step-label { color: #0f766e; font: 750 .68rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.dark .epr-step-label { color: #5eead4; }
.epr-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: .85rem; }
.epr-form-grid label, .epr-deletion label { display: block; min-width: 0; }
.epr-form-grid label > span, .epr-deletion label > span, .epr-detail-form label > span, .epr-query-link > span:first-child { display: block; margin-bottom: .35rem; color: var(--epr-muted); font-size: .72rem; font-weight: 650; }
.epr-form-grid b, .epr-detail-form b { color: var(--epr-red); }
.epr-span-2 { grid-column: 1 / -1; }
.epr-root input, .epr-root select, .epr-root textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--epr-line);
  border-radius: 7px;
  color: var(--epr-text);
  background: var(--epr-surface-solid);
  outline: none;
}
.epr-root input, .epr-root select { min-height: 2.55rem; padding: 0 .72rem; }
.epr-root textarea { min-height: 5rem; padding: .62rem .72rem; line-height: 1.5; resize: vertical; }
.epr-root input:focus, .epr-root select:focus, .epr-root textarea:focus { border-color: #2dd4bf; box-shadow: 0 0 0 3px rgba(45, 212, 191, .14); }
.epr-root input:disabled, .epr-root input:read-only { color: var(--epr-muted); background: var(--epr-surface-soft); }
.dark .epr-root input[type='datetime-local'] { color-scheme: dark; }
.epr-form-grid small { display: block; margin-top: .25rem; color: var(--epr-faint); font-size: .65rem; }
.epr-security-fixed { display: flex; align-items: center; gap: .55rem; min-height: 2.55rem; padding: .65rem .75rem; border: 1px solid #99f6e4; border-radius: 7px; color: #0f766e; background: #f0fdfa; font-size: .72rem; line-height: 1.45; }
.epr-security-fixed .epr-icon { width: 1rem; height: 1rem; }
.dark .epr-security-fixed { color: #99f6e4; border-color: #115e59; background: rgba(4, 47, 46, .64); }
.epr-segmented { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-top: .85rem; padding: .35rem; border: 1px solid var(--epr-line); border-radius: 8px; background: var(--epr-surface-soft); }
.epr-segmented button { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: .5rem; min-height: 3rem; padding: .55rem .7rem; border: 1px solid transparent; border-radius: 6px; color: var(--epr-muted); background: transparent; cursor: pointer; }
.epr-segmented button.is-active { color: var(--epr-text); border-color: #2dd4bf; background: var(--epr-surface-solid); box-shadow: 0 1px 5px rgba(15, 23, 42, .12); }
.epr-segmented strong { min-width: 0; font-size: .78rem; overflow-wrap: anywhere; }
.epr-segmented span { flex: 0 0 auto; font-size: .72rem; }
.epr-selected-product { display: flex; align-items: center; gap: 1rem; }
.epr-selected-product > div { min-width: 11rem; }
.epr-selected-product > div span { display: block; color: var(--epr-muted); font-size: .68rem; }
.epr-selected-product > div strong { display: block; margin-top: .2rem; font-size: .88rem; }
.epr-selected-product dl { display: grid; flex: 1; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.epr-selected-product dt { color: var(--epr-faint); font-size: .64rem; }
.epr-selected-product dd { margin-top: .15rem; font-size: .74rem; font-weight: 650; }
.epr-free { color: var(--epr-green); }
.epr-terms-preview { margin-top: .8rem; border: 1px solid var(--epr-line); border-radius: 7px; }
.epr-terms-preview details + details { border-top: 1px solid var(--epr-line); }
.epr-terms-preview summary { padding: .65rem .75rem; font-size: .76rem; font-weight: 650; cursor: pointer; }
.epr-terms-preview p { padding: 0 .75rem .7rem; color: var(--epr-muted); font-size: .7rem; line-height: 1.6; }
.epr-checkbox { display: flex !important; align-items: flex-start; gap: .55rem; margin-top: .7rem; color: var(--epr-muted); font-size: .75rem; line-height: 1.5; cursor: pointer; }
.epr-checkbox input { flex: 0 0 auto; width: 1rem; min-height: 1rem; height: 1rem; margin-top: .12rem; accent-color: #0f766e; }
.epr-turnstile { width: 100%; min-height: 4rem; margin-top: .85rem; overflow: hidden; }
.epr-turnstile iframe { max-width: 100%; }
.epr-form > footer, .epr-config-form > footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0 0; }
.epr-form > footer p, .epr-config-form > footer p { color: var(--epr-muted); font-size: .72rem; }

.epr-result-panel, .epr-status-panel { padding: 1.1rem; }
.epr-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; }
.epr-result-grid > div { min-width: 0; padding-bottom: .65rem; border-bottom: 1px solid var(--epr-line); }
.epr-result-grid dt { color: var(--epr-faint); font-size: .68rem; }
.epr-result-grid dd { margin-top: .2rem; font-size: .78rem; font-weight: 650; }
.epr-query-link { display: block; margin-top: .95rem; }
.epr-query-link > span:last-child { display: flex; min-width: 0; gap: .45rem; }
.epr-query-link input { min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .68rem; }
.epr-security-note { margin-top: .55rem !important; color: var(--epr-muted); font-size: .68rem; line-height: 1.5; }
.epr-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }

.epr-public-shell { position: fixed; z-index: 1000; inset: 0; overflow-y: auto; padding: 1rem; background: rgba(3, 10, 22, .38); backdrop-filter: blur(3px); }
.epr-public-frame { width: min(100%, 58rem); min-height: calc(100vh - 2rem); margin: 0 auto; overflow: hidden; border: 1px solid var(--epr-line); border-radius: 8px; background: var(--epr-surface); box-shadow: 0 24px 70px rgba(2, 6, 23, .28); backdrop-filter: blur(24px); }
.epr-public-frame > header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; padding: .7rem 1rem; border-bottom: 1px solid var(--epr-line); color: var(--epr-muted); font-size: .75rem; }
.epr-public-brand { display: flex; align-items: center; gap: .55rem; color: var(--epr-text); font-size: .85rem; font-weight: 700; text-decoration: none; }
.epr-public-brand img { width: 2rem; height: 2rem; object-fit: contain; border-radius: 6px; }
.epr-public-frame > main { width: min(100%, 46rem); margin: 0 auto; padding: 2rem 1rem; }
.epr-public-frame > footer { padding: 1rem; border-top: 1px solid var(--epr-line); color: var(--epr-faint); font-size: .68rem; text-align: center; }
.epr-public-heading { text-align: center; }
.epr-public-heading h1 { margin-top: .25rem; font-size: 1.55rem; }
.epr-public-heading p { margin-top: .45rem; color: var(--epr-muted); }
.epr-current-status { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; padding-bottom: .75rem; border-bottom: 1px solid var(--epr-line); font-size: .75rem; font-weight: 650; }
.epr-public-note { margin-top: .9rem; padding: .75rem; border-left: 3px solid #2dd4bf; background: var(--epr-surface-soft); }
.epr-public-note strong { font-size: .72rem; }
.epr-public-note p { margin-top: .25rem; color: var(--epr-muted); font-size: .74rem; line-height: 1.55; }
.epr-deletion { margin-top: 1rem; border: 1px solid var(--epr-line); border-radius: 8px; background: var(--epr-surface); }
.epr-deletion > summary { padding: .75rem .9rem; font-size: .75rem; font-weight: 650; cursor: pointer; }
.epr-deletion form { padding: 0 .9rem .9rem; }
.epr-deletion form > p { margin-bottom: .7rem; color: var(--epr-muted); font-size: .7rem; line-height: 1.55; }

.epr-loading { display: grid; min-height: 22rem; place-items: center; align-content: center; gap: .8rem; color: var(--epr-muted); }
.epr-loading > span { width: 2rem; height: 2rem; border: 2px solid rgba(45, 212, 191, .3); border-top-color: #14b8a6; border-radius: 50%; animation: epr-spin .7s linear infinite; }
.epr-loading p { font-size: .75rem; }
@keyframes epr-spin { to { transform: rotate(360deg); } }
.epr-state { display: grid; min-height: 22rem; place-items: center; align-content: center; padding: 2rem 1rem; color: var(--epr-muted); text-align: center; }
.epr-state-compact { min-height: 15rem; border: 1px solid var(--epr-line); border-radius: 8px; background: var(--epr-surface); }
.epr-state > .epr-icon { width: 1.7rem; height: 1.7rem; }
.epr-state h2 { margin-top: .7rem; color: var(--epr-text); font-size: 1rem; }
.epr-state p { max-width: 32rem; margin-top: .3rem; font-size: .76rem; line-height: 1.55; }
.epr-state .epr-button { margin-top: .8rem; }
.epr-state-icon { display: grid; width: 2.7rem; height: 2.7rem; place-items: center; border-radius: 8px; color: var(--epr-red); background: var(--epr-red-soft); }
.epr-state-icon .epr-icon { width: 1.25rem; height: 1.25rem; }
.epr-muted { color: var(--epr-muted); font-size: .74rem; }

.epr-admin-filters { display: grid; grid-template-columns: minmax(14rem, 1fr) 10rem 11rem auto auto auto; gap: .55rem; margin-bottom: .75rem; }
.epr-search { position: relative; min-width: 0; }
.epr-search .epr-icon { position: absolute; z-index: 1; left: .7rem; top: .78rem; width: .95rem; height: .95rem; color: var(--epr-faint); }
.epr-search input { padding-left: 2.1rem; }
.epr-admin-table { overflow: auto; border: 1px solid var(--epr-line); border-radius: 8px; background: var(--epr-surface); backdrop-filter: blur(16px); }
.epr-admin-table table { width: 100%; min-width: 62rem; border-collapse: collapse; }
.epr-admin-table th { padding: .7rem .75rem; color: var(--epr-muted); background: var(--epr-surface-soft); font-size: .66rem; font-weight: 700; text-align: left; }
.epr-admin-table td { padding: .72rem .75rem; border-top: 1px solid var(--epr-line); font-size: .72rem; vertical-align: middle; }
.epr-admin-table td strong, .epr-admin-table td span { display: block; }
.epr-admin-table td > span { margin-top: .12rem; color: var(--epr-muted); font-size: .65rem; }
.epr-admin-table td .epr-status { display: inline-flex; margin: 0; }
.epr-admin-cards { display: none; }
.epr-pagination { display: flex; align-items: center; justify-content: flex-end; gap: .7rem; margin-top: .75rem; }
.epr-pagination span { color: var(--epr-muted); font-size: .7rem; }

.epr-config-form { display: grid; gap: 1rem; }
.epr-config-form > section { margin-top: 0; }
.epr-config-summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.epr-config-summary h2, .epr-launch-checks h2 { margin-top: .2rem; font-size: 1rem; }
.epr-config-summary p { margin-top: .3rem; color: var(--epr-muted); font-size: .74rem; line-height: 1.5; }
.epr-switch-row { display: inline-flex; align-items: center; gap: .45rem; color: var(--epr-muted); font-size: .72rem; font-weight: 650; cursor: pointer; }
.epr-switch-row input { position: relative; width: 2.25rem; min-height: 1.3rem; height: 1.3rem; padding: 0; border: 0; border-radius: 999px; background: #94a3b8; appearance: none; cursor: pointer; }
.epr-switch-row input::after { content: ''; position: absolute; top: .13rem; left: .13rem; width: 1.04rem; height: 1.04rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .35); transition: transform .16s ease; }
.epr-switch-row input:checked { background: #0f766e; }
.epr-switch-row input:checked::after { transform: translateX(.94rem); }
.epr-switch-large { flex: 0 0 auto; }
.epr-launch-checks header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.epr-launch-checks header > span { flex: 0 0 auto; padding: .25rem .5rem; border-radius: 999px; font-size: .68rem; font-weight: 700; }
.epr-launch-checks .is-blocked { color: var(--epr-red); background: var(--epr-red-soft); }
.epr-launch-checks .is-ready { color: var(--epr-green); background: var(--epr-green-soft); }
.epr-launch-checks ul { display: grid; gap: .4rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.epr-launch-checks li { display: flex; align-items: flex-start; gap: .45rem; color: var(--epr-red); font-size: .72rem; }
.epr-launch-checks li .epr-icon { width: .85rem; height: .85rem; margin-top: .1rem; }
.epr-config-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: .85rem; }
.epr-config-product { min-width: 0; margin: 0; padding: .9rem; border: 1px solid var(--epr-line); border-radius: 8px; }
.epr-config-product legend { padding: 0 .25rem; font-size: .76rem; font-weight: 700; }
.epr-config-product-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--epr-muted); font-size: .7rem; }
.epr-confirmations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.epr-confirmations .epr-checkbox { margin: 0; padding: .65rem; border: 1px solid var(--epr-line); border-radius: 7px; background: var(--epr-surface-soft); }

.epr-modal-backdrop { position: fixed; z-index: 1200; inset: 0; display: grid; place-items: center; padding: 1rem; overflow-y: auto; background: rgba(2, 6, 23, .68); backdrop-filter: blur(4px); }
.epr-modal { width: min(100%, 70rem); max-height: calc(100vh - 2rem); overflow: hidden; border: 1px solid var(--epr-line); border-radius: 8px; color: var(--epr-text); background: var(--epr-surface-solid); box-shadow: 0 28px 80px rgba(2, 6, 23, .38); }
.epr-modal > header, .epr-modal > footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-bottom: 1px solid var(--epr-line); }
.epr-modal > header h2 { margin-top: .18rem; font-size: 1rem; }
.epr-modal > footer { justify-content: flex-end; border-top: 1px solid var(--epr-line); border-bottom: 0; }
.epr-modal-body { max-height: calc(100vh - 9rem); padding: 1rem; overflow-y: auto; }
.epr-detail-summary { padding-bottom: 1rem; border-bottom: 1px solid var(--epr-line); }
.epr-detail-summary > div:first-child { display: flex; align-items: center; gap: .55rem; }
.epr-detail-summary > div:first-child > span:last-child { color: var(--epr-muted); font-size: .72rem; }
.epr-detail-summary h3 { margin: .65rem 0 .85rem; font-size: 1rem; }
.epr-consent-snapshot { margin-top: .85rem; border-top: 1px solid var(--epr-line); }
.epr-consent-snapshot > summary { padding: .7rem 0; color: var(--epr-muted); font-size: .72rem; font-weight: 650; cursor: pointer; }
.epr-consent-snapshot > div { padding: .2rem .75rem .75rem; border-left: 2px solid #2dd4bf; }
.epr-consent-snapshot span { color: var(--epr-faint); font-size: .64rem; }
.epr-consent-snapshot h4 { margin-top: .65rem; font-size: .7rem; }
.epr-consent-snapshot p { margin-top: .2rem; color: var(--epr-muted); font-size: .68rem; line-height: 1.55; }
.epr-admin-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: .9rem; }
.epr-detail-form { min-width: 0; padding: .85rem; border: 1px solid var(--epr-line); border-radius: 8px; background: var(--epr-surface-soft); }
.epr-detail-form h3 { margin-bottom: .65rem; font-size: .83rem; }
.epr-detail-form > label { display: block; margin-top: .6rem; }
.epr-detail-form .epr-button { margin-top: .7rem; }
.epr-detail-form > p { color: var(--epr-muted); font-size: .7rem; line-height: 1.55; }
.epr-history-panel { margin-top: .9rem; padding: .85rem; border: 1px solid var(--epr-line); border-radius: 8px; }
.epr-history-panel > h3 { margin-bottom: .75rem; font-size: .83rem; }
.epr-history { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.epr-history li { position: relative; display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: .55rem; padding-bottom: .85rem; }
.epr-history li:not(:last-child)::before { content: ''; position: absolute; left: .24rem; top: .55rem; bottom: 0; width: 1px; background: var(--epr-line); }
.epr-history-dot { position: relative; z-index: 1; width: .5rem; height: .5rem; margin-top: .35rem; border: 2px solid #14b8a6; border-radius: 50%; background: var(--epr-surface-solid); }
.epr-history li > div > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.epr-history time { color: var(--epr-faint); font-size: .65rem; }
.epr-history p { margin-top: .28rem; color: var(--epr-muted); font-size: .72rem; line-height: 1.5; }
.epr-history small { display: block; margin-top: .18rem; color: var(--epr-faint); font-size: .63rem; }

.epr-toast { position: fixed; z-index: 1400; right: 1rem; bottom: 1rem; max-width: min(26rem, calc(100vw - 2rem)); padding: .7rem .85rem; border: 1px solid #6ee7b7; border-radius: 7px; color: #065f46; background: #ecfdf5; box-shadow: 0 14px 36px rgba(2, 6, 23, .24); font-size: .76rem; }
.epr-toast.is-error { color: #991b1b; border-color: #fca5a5; background: #fef2f2; }
.dark .epr-toast { color: #a7f3d0; border-color: #047857; background: #052e2b; }
.dark .epr-toast.is-error { color: #fecaca; border-color: #b91c1c; background: #450a0a; }

.epr-stepup-backdrop { position: fixed; z-index: 1600; inset: 0; display: grid; place-items: center; padding: 1rem; background: rgba(2, 6, 23, .72); backdrop-filter: blur(5px); }
.epr-stepup-dialog { width: min(100%, 25rem); padding: 1rem; border: 1px solid var(--epr-line); border-radius: 8px; color: var(--epr-text); background: var(--epr-surface-solid); box-shadow: 0 28px 80px rgba(2, 6, 23, .45); }
.epr-stepup-dialog > header { display: flex; align-items: center; gap: .75rem; }
.epr-stepup-dialog h2 { margin-top: .12rem; font-size: 1rem; }
.epr-stepup-dialog > p { margin: .8rem 0; color: var(--epr-muted); font-size: .74rem; line-height: 1.55; }
.epr-stepup-dialog > label > span { display: block; margin-bottom: .35rem; color: var(--epr-muted); font-size: .72rem; font-weight: 650; }
.epr-stepup-dialog input { width: 100%; min-height: 2.75rem; text-align: center; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1rem; }
.epr-stepup-error { min-height: 1.2rem; margin-top: .45rem; color: var(--epr-red); font-size: .68rem; }
.epr-stepup-dialog > footer { display: flex; justify-content: flex-end; gap: .55rem; margin-top: .55rem; }

@media (max-width: 1100px) {
  .epr-admin-filters { grid-template-columns: minmax(13rem, 1fr) repeat(2, minmax(9rem, .5fr)); }
  .epr-admin-filters .epr-button, .epr-admin-filters > .epr-icon-button { width: 100%; }
  .epr-workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .epr-selected-product { align-items: flex-start; flex-direction: column; }
  .epr-selected-product dl { width: 100%; }
}

@media (max-width: 767px) {
  .epr-page-header, .epr-intro, .epr-section-heading { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .epr-header-facts { width: 100%; justify-content: flex-start; }
  .epr-product-grid, .epr-two-column, .epr-my-orders, .epr-config-products, .epr-admin-detail-grid { grid-template-columns: 1fr; }
  .epr-two-column > div + div { border-top: 1px solid var(--epr-line); border-left: 0; }
  .epr-admin-table { display: none; }
  .epr-admin-cards { display: grid; gap: .65rem; }
  .epr-admin-cards dl { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .7rem 0 !important; }
  .epr-admin-cards dt { color: var(--epr-faint); font-size: .64rem; }
  .epr-admin-cards dd { margin-top: .15rem; font-size: .7rem; }
  .epr-admin-filters { grid-template-columns: 1fr 1fr; }
  .epr-admin-filters .epr-search { grid-column: 1 / -1; }
  .epr-confirmations { grid-template-columns: 1fr; }
  .epr-modal-backdrop { padding: .5rem; }
  .epr-modal { max-height: calc(100vh - 1rem); }
  .epr-modal-body { max-height: calc(100vh - 8rem); }
}

@media (max-width: 639px) {
  .epr-heading h1, .epr-public-heading h1 { font-size: 1.3rem; }
  .epr-heading-icon { width: 2.45rem; height: 2.45rem; }
  .epr-header-facts { display: grid; grid-template-columns: 1fr; }
  .epr-header-facts > span { width: 100%; }
  .epr-price-row, .epr-plan-facts, .epr-form-grid, .epr-result-grid, .epr-segmented { grid-template-columns: 1fr; }
  .epr-selected-product dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .epr-workflow { grid-template-columns: 1fr; }
  .epr-workflow li { padding: .55rem 0; }
  .epr-form > footer, .epr-config-form > footer, .epr-config-summary { align-items: stretch; flex-direction: column; }
  .epr-form > footer .epr-button, .epr-config-form > footer .epr-button { width: 100%; }
  .epr-actions { display: grid; grid-template-columns: 1fr; }
  .epr-public-shell { padding: .35rem; }
  .epr-public-frame { min-height: calc(100vh - .7rem); }
  .epr-public-frame > header { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .epr-public-frame > main { padding: 1.4rem .75rem; }
  .epr-query-link > span:last-child { align-items: stretch; flex-direction: column; }
  .epr-query-link .epr-icon-button { width: 100%; }
  .epr-admin-filters { grid-template-columns: 1fr; }
  .epr-admin-filters .epr-search { grid-column: auto; }
  .epr-admin-cards dl { grid-template-columns: 1fr; }
  .epr-pagination { justify-content: space-between; }
  .epr-pagination span { text-align: center; }
  .epr-modal > header, .epr-modal > footer, .epr-modal-body { padding-right: .75rem; padding-left: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .epr-page, .epr-loading > span { animation: none; }
  .epr-root *, .epr-root *::before, .epr-root *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
