*, *::before, *::after { box-sizing: border-box; }

:root {
  --eed-bg-primary: #f3f5f8;
  --eed-bg-secondary: #eef2f7;
  --eed-bg-card: #ffffff;
  --eed-bg-card-soft: #f7f9fc;
  --eed-border: #d8e0eb;
  --eed-border-strong: #c7d3e2;
  --eed-text-primary: #13223b;
  --eed-text-secondary: #5f6f89;
  --eed-text-muted: #8a97aa;
  --eed-accent-blue: #4c8ff8;
  --eed-accent-cyan: #4aa6cf;
  --eed-accent-emerald: #059669;
  --eed-accent-amber: #d68a2d;
  --eed-accent-rose: #e11d48;
  --eed-accent-purple: #7c3aed;
  --eed-gradient-accent: linear-gradient(135deg, #4b7df4, #49a7e8);
  --eed-shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
  --eed-shadow-glow: 0 0 30px rgba(73, 167, 232, 0.12);
  --eed-nav-bg: rgba(246, 248, 251, 0.92);
  --bg-primary: var(--eed-bg-primary);
  --bg-secondary: var(--eed-bg-secondary);
  --bg-card: var(--eed-bg-card);
  --bg-card-hover: var(--eed-bg-card-soft);
  --border: var(--eed-border);
  --border-light: var(--eed-border-strong);
  --text-primary: var(--eed-text-primary);
  --text-secondary: var(--eed-text-secondary);
  --text-muted: var(--eed-text-muted);
  --accent-blue: var(--eed-accent-blue);
  --accent-cyan: var(--eed-accent-cyan);
  --accent-emerald: var(--eed-accent-emerald);
  --accent-amber: var(--eed-accent-amber);
  --accent-rose: var(--eed-accent-rose);
  --accent-purple: var(--eed-accent-purple);
  --gradient-accent: var(--eed-gradient-accent);
  --shadow-lg: var(--eed-shadow-lg);
  --shadow-glow: var(--eed-shadow-glow);
  --nav-bg: var(--eed-nav-bg);
}

[data-theme="dark"] {
  --eed-bg-primary: #0a0e1a;
  --eed-bg-secondary: #0f1424;
  --eed-bg-card: #141930;
  --eed-bg-card-soft: #1a2040;
  --eed-border: #1e2a4a;
  --eed-border-strong: #2a3660;
  --eed-text-primary: #e8ecf4;
  --eed-text-secondary: #8892b0;
  --eed-text-muted: #5a6588;
  --eed-accent-blue: #3b82f6;
  --eed-accent-cyan: #06b6d4;
  --eed-accent-emerald: #10b981;
  --eed-accent-amber: #f59e0b;
  --eed-accent-rose: #f43f5e;
  --eed-accent-purple: #8b5cf6;
  --eed-gradient-accent: linear-gradient(135deg, #3b82f6, #06b6d4);
  --eed-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --eed-shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
  --eed-nav-bg: rgba(10, 14, 26, 0.86);
}

html { scroll-behavior: smooth; }

body.eed-site {
  margin: 0;
  min-height: 100vh;
  background: var(--eed-bg-primary);
  color: var(--eed-text-primary);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.eed-site a {
  color: var(--eed-accent-cyan);
  text-decoration: none;
}

body.eed-site a:hover { text-decoration: underline; }

.eed-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: var(--eed-nav-bg);
  border-bottom: 1px solid var(--eed-border);
}

.eed-nav__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.eed-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--eed-text-primary);
  text-decoration: none;
}

.eed-nav__logo:hover { text-decoration: none; }

.eed-nav__logo-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--eed-gradient-accent);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(75, 125, 244, 0.24);
}

.eed-nav__logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--eed-text-primary);
  letter-spacing: -0.04em;
}

.eed-nav__logo-text span {
  color: var(--eed-accent-cyan);
  margin-left: -0.08em;
}

.eed-nav__links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.eed-nav__links a,
.eed-theme-toggle {
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--eed-text-secondary);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
}

.eed-nav__links a:hover,
.eed-theme-toggle:hover {
  text-decoration: none;
  color: var(--eed-text-primary);
  background: rgba(76, 143, 248, 0.08);
}

.eed-theme-toggle {
  cursor: pointer;
  min-width: 50px;
  padding-left: 0;
  padding-right: 0;
  border-color: var(--eed-border-strong);
  background: rgba(255, 255, 255, 0.78);
  color: #d9902e;
  box-shadow: 0 8px 20px rgba(19, 34, 59, 0.05);
  font-size: 20px;
  line-height: 1;
}

body.eed-site .eed-nav__logo,
body.eed-site .eed-nav__logo:visited,
body.eed-site .eed-nav__links a,
body.eed-site .eed-nav__links a:visited,
body.eed-site .eed-theme-toggle {
  text-decoration: none;
}

body.eed-site .eed-nav__link,
body.eed-site .eed-nav__link:visited {
  color: var(--eed-text-secondary);
  background: transparent;
}

body.eed-site .eed-nav__link:hover,
body.eed-site .eed-nav__link:focus-visible {
  color: var(--eed-text-primary);
}

.eed-nav__button {
  border-color: var(--eed-border-strong);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(19, 34, 59, 0.05);
}

body.eed-site .eed-nav__button,
body.eed-site .eed-nav__button:visited {
  color: var(--eed-text-secondary);
}

body.eed-site .eed-nav__links a.eed-nav__button--primary,
body.eed-site .eed-nav__links a.eed-nav__button--primary:visited {
  border-color: rgba(75, 125, 244, 0.22);
  background: var(--eed-gradient-accent);
  box-shadow: 0 12px 28px rgba(75, 125, 244, 0.22);
  color: #ffffff;
}

body.eed-site .eed-nav__links a.eed-nav__button--primary:hover,
body.eed-site .eed-nav__links a.eed-nav__button--primary:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #4678f0, #3f9bdd);
}

.eed-nav__button--primary:hover,
.eed-nav__button--primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(75, 125, 244, 0.28);
  background: linear-gradient(135deg, #4678f0, #3f9bdd);
}

.eed-nav__button--ghost:hover,
.eed-nav__button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.98);
}

.eed-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 760px 520px at 15% 18%, rgba(59, 130, 246, 0.12), transparent 68%),
    radial-gradient(ellipse 620px 420px at 82% 76%, rgba(6, 182, 212, 0.1), transparent 60%);
  pointer-events: none;
}

.eed-page-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, black 10%, transparent 72%);
  pointer-events: none;
}

.eed-page-shell {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 76px);
}

.eed-layout,
.eed-main,
.eed-content-wrapper {
  min-height: inherit;
}

.eed-content-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 22px 48px;
}

.eed-content {
  border: 1px solid var(--eed-border-strong);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--eed-shadow-lg), var(--eed-shadow-glow);
  overflow: hidden;
}

[data-theme="dark"] .eed-content {
  background: rgba(20, 25, 48, 0.78);
}

.eed-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--eed-border);
  background: rgba(255, 255, 255, 0.52);
}

[data-theme="dark"] .eed-footer {
  background: rgba(10, 14, 26, 0.65);
}

.eed-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.eed-footer__brand {
  font-size: 15px;
  font-weight: 700;
}

.eed-footer__copy {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--eed-text-muted);
}

.eed-footer__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.eed-footer__links a {
  font-size: 13px;
  color: var(--eed-text-secondary);
}

.am-body-content > :first-child { margin-top: 0; }

.am-body-content > :last-child { margin-bottom: 0; }

.am-body-content,
.am-body-content p,
.am-body-content li,
.am-body-content td,
.am-body-content th,
.am-body-content label,
.am-body-content input,
.am-body-content select,
.am-body-content textarea,
.am-body-content button {
  font-family: "DM Sans", sans-serif;
}

.am-body-content {
  color: var(--eed-text-primary);
  padding: 30px 32px 34px;
}

.am-body-content h1,
.am-body-content h2,
.am-body-content h3,
.am-body-content h4 {
  color: var(--eed-text-primary);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.am-body-content h1 {
  font-size: 34px;
  margin: 0 0 10px;
}

.am-body-content h2 {
  font-size: 24px;
  margin: 22px 0 10px;
}

.am-body-content h3 {
  font-size: 18px;
  margin: 18px 0 10px;
}

.am-body-content p,
.am-body-content li,
.am-body-content td {
  color: var(--eed-text-secondary);
}

.am-errors,
.am-error,
.errorBox,
.am-body-content .errors {
  margin-bottom: 18px;
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--eed-accent-rose);
}

.am-success,
.am-info {
  margin-bottom: 18px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--eed-accent-emerald);
}

.am-form,
.am-body-content form,
.am-panel,
.am-block,
.am-page {
  color: var(--eed-text-primary);
}

.am-panel,
.am-block,
.am-body-content .am-common,
.am-body-content .am-widget-wrapper,
.am-body-content .am-helpdesk-ticket,
.am-body-content .am-invoice-summary,
.am-body-content .am-grid-container {
  border: 1px solid var(--eed-border);
  border-radius: 16px;
  background: var(--eed-bg-card-soft);
  padding: 18px;
  margin-bottom: 14px;
}

.am-form .row,
.am-form .am-row,
.am-body-content .am-element {
  margin-bottom: 16px;
}

.am-form label,
.am-form .am-element-title,
.am-form .element-title,
.am-body-content .am-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--eed-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.am-form input[type="text"],
.am-form input[type="email"],
.am-form input[type="password"],
.am-form input[type="number"],
.am-form input[type="url"],
.am-form textarea,
.am-form select,
.am-body-content input[type="text"],
.am-body-content input[type="email"],
.am-body-content input[type="password"],
.am-body-content input[type="number"],
.am-body-content input[type="url"],
.am-body-content textarea,
.am-body-content select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--eed-border-strong);
  border-radius: 12px;
  background: var(--eed-bg-card);
  color: var(--eed-text-primary);
  padding: 10px 14px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.am-form textarea,
.am-body-content textarea {
  min-height: 110px;
  resize: vertical;
}

.am-form input:focus,
.am-form select:focus,
.am-form textarea:focus,
.am-body-content input:focus,
.am-body-content select:focus,
.am-body-content textarea:focus {
  border-color: var(--eed-accent-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.am-form input[type="checkbox"],
.am-form input[type="radio"] {
  width: auto;
  min-height: 0;
  margin-right: 8px;
}

.am-form input[type="submit"],
.am-form button,
.am-submit-button,
.am-body-content .button,
.am-body-content .am-button,
.am-body-content input[type="submit"] {
  border: none;
  border-radius: 12px;
  background: var(--eed-gradient-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 18px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.25);
}

.am-form input[type="submit"]:hover,
.am-form button:hover,
.am-submit-button:hover,
.am-body-content .button:hover,
.am-body-content .am-button:hover,
.am-body-content input[type="submit"]:hover {
  transform: translateY(-1px);
}

.am-body-content .link,
.am-body-content .small,
.am-body-content .muted,
.am-body-content .am-help,
.am-body-content .comment {
  color: var(--eed-text-muted);
}

.am-body-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 0;
  overflow: hidden;
}

.am-body-content table th,
.am-body-content table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--eed-border);
  text-align: left;
}

.am-body-content table th {
  color: var(--eed-text-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.am-body-content table tr:last-child td { border-bottom: none; }

.am-body-content ul.am-tabs,
.am-body-content .am-tabs {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  flex-wrap: wrap;
}

.am-body-content ul.am-tabs li,
.am-body-content .am-tabs li {
  margin: 0;
}

.am-body-content ul.am-tabs a,
.am-body-content .am-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--eed-border);
  background: var(--eed-bg-card-soft);
  color: var(--eed-text-secondary);
  text-decoration: none;
}

.am-body-content ul.am-tabs .active a,
.am-body-content .am-tabs .active a,
.am-body-content ul.am-tabs a:hover,
.am-body-content .am-tabs a:hover {
  color: var(--eed-accent-cyan);
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.14);
}

.eed-auth-page {
  padding: 24px 0 0;
}

.eed-auth-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border: 1px solid var(--eed-border-strong);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--eed-shadow-lg), var(--eed-shadow-glow);
}

.eed-auth-panel {
  padding: 40px 36px;
}

.eed-auth-panel--form { background: var(--eed-bg-card); }

.eed-auth-panel--promo {
  background: var(--eed-bg-secondary);
  border-left: 1px solid var(--eed-border);
}

.eed-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.eed-logo__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--eed-gradient-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

.eed-logo__text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.eed-logo__text span { color: var(--eed-accent-cyan); }

.eed-auth-title {
  margin: 0 0 8px;
  font-size: 30px;
}

.eed-auth-subtitle {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--eed-text-secondary);
}

.eed-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.eed-auth-grid .eed-field--full { grid-column: 1 / -1; }

.eed-field {
  margin-bottom: 14px;
}

.eed-field > .am-element,
.eed-field > .am-row,
.eed-field > .row {
  margin-bottom: 0;
}

.eed-auth-actions {
  margin-top: 18px;
}

.eed-auth-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--eed-text-muted);
}

.eed-promo-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.36);
  background: rgba(16, 185, 129, 0.12);
  color: var(--eed-accent-emerald);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}

.eed-promo-title {
  margin: 0 0 10px;
  font-size: 28px;
}

.eed-promo-copy {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--eed-text-secondary);
}

.eed-promo-card {
  border: 1px solid var(--eed-border-strong);
  border-radius: 14px;
  background: var(--eed-bg-card-soft);
  padding: 16px;
}

.eed-promo-card + .eed-promo-card { margin-top: 12px; }

.eed-promo-card--accent { border-color: rgba(59, 130, 246, 0.35); }

.eed-promo-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.eed-promo-card__head h3 {
  margin: 0;
  font-size: 17px;
}

.eed-promo-card__price {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: var(--eed-accent-cyan);
}

.eed-promo-card__price--free { color: var(--eed-accent-emerald); }

.eed-promo-card__copy {
  margin: 0;
  color: var(--eed-text-secondary);
  font-size: 13px;
}

.eed-member-card,
.eed-usage-widget {
  border: 1px solid var(--eed-border);
  border-radius: 16px;
  background: var(--eed-bg-card-soft);
  padding: 18px;
}

.eed-usage-widget__label {
  color: var(--eed-text-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eed-usage-widget__value {
  margin-top: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--eed-text-primary);
}

.eed-usage-widget__meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--eed-text-secondary);
}

@media (max-width: 980px) {
  .eed-auth-shell {
    grid-template-columns: 1fr;
  }

  .eed-auth-panel--promo {
    border-left: none;
    border-top: 1px solid var(--eed-border);
  }
}

@media (max-width: 860px) {
  .eed-nav__inner,
  .eed-content-wrapper,
  .eed-footer__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .am-body-content {
    padding: 24px 18px 28px;
  }
}

@media (max-width: 720px) {
  .eed-nav__links a:not(:last-of-type) {
    display: none;
  }

  .eed-auth-grid {
    grid-template-columns: 1fr;
  }

  .eed-auth-panel {
    padding: 30px 20px;
  }
}

.eed-site.am-page-login .eed-content,
.eed-site.am-page-signup .eed-content,
.eed-site.am-page-main .eed-content,
.eed-site.am-page-payment-history .eed-content,
.eed-site.am-page-helpdesk .eed-content,
.eed-site.am-page-ticket .eed-content,
.eed-site.am-page-profile .eed-content,
.eed-site[class*="am-page-profile-"] .eed-content,
.eed-site[class*="am-page-helpdesk"] .eed-content,
.eed-site[class*="am-page-ticket"] .eed-content {
  border: none;
  background: transparent;
  box-shadow: none;
}

.eed-site.am-page-login .am-body-content,
.eed-site.am-page-signup .am-body-content,
.eed-site.am-page-main .am-body-content,
.eed-site.am-page-payment-history .am-body-content,
.eed-site.am-page-helpdesk .am-body-content,
.eed-site.am-page-ticket .am-body-content,
.eed-site.am-page-profile .am-body-content,
.eed-site[class*="am-page-profile-"] .am-body-content,
.eed-site[class*="am-page-helpdesk"] .am-body-content,
.eed-site[class*="am-page-ticket"] .am-body-content {
  padding: 0;
}

.eed-site.am-page-login .eed-content-wrapper,
.eed-site.am-page-signup .eed-content-wrapper {
  max-width: 1080px;
}

.eed-site.am-page-main .eed-content-wrapper,
.eed-site.am-page-payment-history .eed-content-wrapper,
.eed-site.am-page-helpdesk .eed-content-wrapper,
.eed-site.am-page-ticket .eed-content-wrapper,
.eed-site.am-page-profile .eed-content-wrapper,
.eed-site[class*="am-page-profile-"] .eed-content-wrapper,
.eed-site[class*="am-page-helpdesk"] .eed-content-wrapper,
.eed-site[class*="am-page-ticket"] .eed-content-wrapper {
  max-width: 1320px;
}

.eed-site.am-page-login .auth-page,
.eed-site.am-page-signup .auth-page {
  min-height: auto;
  padding: 24px 0 0;
}

.eed-site.am-page-login .am-login-form-wrapper,
.eed-site.am-page-login .am-sendpass-form-wrapper,
.eed-site.am-page-login .am-body-content .am-common,
.eed-site.am-page-signup .am-body-content .am-common,
.eed-site.am-page-login .am-body-content form,
.eed-site.am-page-signup .eed-auth-form {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.eed-site.am-page-login .eed-login-form .am-row,
.eed-site.am-page-login .eed-login-form .auth-field,
.eed-site.am-page-login .eed-login-form .am-element,
.eed-site.am-page-signup .eed-auth-form .am-row,
.eed-site.am-page-signup .eed-auth-form .am-element {
  border: 0;
  background: transparent;
}

.eed-site.am-page-login .am-pass-indicator-wrap,
.eed-site.am-page-signup .am-pass-indicator-wrap {
  display: block;
  width: 100%;
  max-width: none;
}

.eed-site.am-page-login .am-pass-indicator-bar,
.eed-site.am-page-signup .am-pass-indicator-bar {
  display: none;
}

.eed-site.am-page-main .eed-page-shell,
.eed-site.am-page-payment-history .eed-page-shell,
.eed-site.am-page-helpdesk .eed-page-shell,
.eed-site.am-page-ticket .eed-page-shell,
.eed-site.am-page-profile .eed-page-shell,
.eed-site[class*="am-page-profile-"] .eed-page-shell,
.eed-site[class*="am-page-helpdesk"] .eed-page-shell,
.eed-site[class*="am-page-ticket"] .eed-page-shell {
  min-height: calc(100vh - 140px);
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 24px 40px;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.auth-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 720px 520px at 20% 18%, rgba(59, 130, 246, 0.12), transparent 65%),
    radial-gradient(ellipse 620px 420px at 76% 80%, rgba(6, 182, 212, 0.10), transparent 60%);
}

.auth-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, black 10%, transparent 72%);
}

.auth-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.auth-panel {
  padding: 42px 38px;
}

.auth-panel--form {
  background: var(--bg-card);
}

.auth-panel--promo {
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.auth-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: "JetBrains Mono", monospace;
}

.auth-logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.auth-logo-text span {
  color: var(--accent-cyan);
}

.auth-title {
  font-size: 30px;
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.auth-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.auth-context {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.auth-context--warning {
  border-color: rgba(245, 158, 11, 0.32);
  background: rgba(245, 158, 11, 0.10);
}

.auth-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.auth-context-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.auth-context-value {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.auth-plan-summary {
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.07), rgba(14, 165, 233, 0.04)),
    var(--bg-card-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.auth-plan-summary-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.auth-plan-summary-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.auth-plan-summary-name {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.auth-plan-summary-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.auth-plan-summary-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.auth-plan-summary-price [data-eed-plan-suffix] {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.auth-plan-summary-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.auth-field {
  margin-bottom: 16px;
}

.auth-field label,
.eed-field-embedded .am-element-title,
.eed-field-embedded .element-title {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 700;
}

.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"],
.auth-field input[type="number"],
.auth-field input[type="tel"],
.auth-field input[type="url"],
.eed-field-embedded input[type="text"],
.eed-field-embedded input[type="email"],
.eed-field-embedded input[type="password"],
.eed-field-embedded input[type="number"],
.eed-field-embedded input[type="tel"],
.eed-field-embedded input[type="url"],
.eed-field-embedded select,
.eed-field-embedded textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg-card-hover);
  color: var(--text-primary);
  padding: 10px 14px;
  font-size: 15px;
  outline: none;
}

.eed-field-embedded textarea {
  min-height: 110px;
  resize: vertical;
}

.auth-field input[type="text"]:focus,
.auth-field input[type="email"]:focus,
.auth-field input[type="password"]:focus,
.auth-field input[type="number"]:focus,
.auth-field input[type="tel"]:focus,
.auth-field input[type="url"]:focus,
.eed-field-embedded input:focus,
.eed-field-embedded select:focus,
.eed-field-embedded textarea:focus {
  border-color: var(--accent-blue);
}

.auth-field-grid {
  display: grid;
  gap: 12px;
}

.auth-field-grid--two {
  grid-template-columns: 1fr 1fr;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.auth-link {
  background: transparent;
  border: none;
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 600;
}

.auth-link:hover {
  text-decoration: underline;
}

.btn-login-submit,
.eed-auth-submit input[type="submit"],
.eed-auth-submit button {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.25);
}

.eed-auth-submit {
  margin-top: 18px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-signup-copy {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}

.auth-signup-copy a {
  color: var(--accent-cyan);
  font-weight: 600;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(16, 185, 129, 0.36);
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}

.promo-title {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.promo-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 20px;
}

.promo-plan {
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px;
  background: var(--bg-card-hover);
}

.promo-plan + .promo-plan {
  margin-top: 12px;
}

.promo-plan--pro {
  border-color: rgba(59, 130, 246, 0.35);
}

.promo-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.promo-plan-header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.promo-plan-price {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

.promo-plan-price--free {
  color: var(--accent-emerald);
}

.promo-plan-price--pro {
  color: var(--accent-cyan);
}

.promo-plan-price--pro span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

.promo-plan-features {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.promo-plan--select {
  width: 100%;
  display: block;
  cursor: pointer;
  text-align: left;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.promo-plan--select:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.12);
}

.promo-plan--select:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.2);
  outline-offset: 2px;
}

.promo-plan--selected {
  border-color: rgba(37, 99, 235, 0.56);
  background: rgba(59, 130, 246, 0.06);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.promo-plan-select-label {
  display: none;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.promo-plan--selected .promo-plan-select-label {
  display: inline-flex;
}

.eed-hidden-plan-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.eed-coupon-details {
  margin: 10px 0 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.04);
  padding: 14px 16px;
}

.eed-coupon-details summary {
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.eed-coupon-details summary::-webkit-details-marker {
  display: none;
}

.eed-coupon-field {
  margin-top: 12px;
}

.eed-field-embedded .am-row,
.eed-field-embedded .am-element {
  margin-bottom: 0;
}

.eed-field-embedded .am-errors {
  margin-bottom: 0;
}

.eed-auth-recaptcha {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px;
  background: var(--bg-card-hover);
}

.auth-section + .auth-section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.auth-section-heading {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.auth-section-copy {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.promo-plan-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.promo-plan-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.promo-plan-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.promo-plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.promo-plan-badge--recommended {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-blue);
}

.promo-plan-badge--current {
  background: rgba(16, 185, 129, 0.14);
  color: var(--accent-emerald);
}

.promo-plan-bullets {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}

.promo-plan-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.promo-plan-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.eed-site.am-page-signup .auth-shell {
  max-width: 1180px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: start;
}

.eed-site.am-page-signup .auth-panel {
  padding: 40px;
}

.eed-site.am-page-signup .eed-auth-form div.am-row,
.eed-site.am-page-signup .eed-auth-form .am-row {
  margin: 0;
  padding: 0;
  border: 0;
  overflow: visible;
}

.eed-site.am-page-signup .eed-auth-form div.am-element-title,
.eed-site.am-page-signup .eed-auth-form .am-element-title {
  width: 100%;
  float: none;
  text-align: left;
  padding: 0 0 6px;
}

.eed-site.am-page-signup .eed-auth-form div.am-element,
.eed-site.am-page-signup .eed-auth-form .am-element {
  width: 100%;
  float: none;
  margin-left: 0;
  padding: 0;
  text-align: left;
}

.eed-site.am-page-signup .eed-auth-form .comment,
.eed-site.am-page-signup .eed-auth-form .am-element .comment {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
  font-style: normal;
}

.eed-site.am-page-signup .eed-auth-form .am-errors {
  margin-bottom: 16px;
}

.eed-site.am-page-signup .eed-auth-form .am-errors > *,
.eed-site.am-page-signup .am-errors > * {
  margin-bottom: 6px;
}

.eed-hidden-duplicate-field {
  display: none !important;
}

.eed-hidden-product-row {
  display: none !important;
}

.eed-site.am-page-signup .eed-native-signup-form {
  margin: 0;
}

.eed-native-product {
  margin-top: 8px;
  display: grid;
  gap: 12px;
}

.eed-native-product br {
  display: none;
}

.eed-native-product .am-errors {
  margin-bottom: 12px;
}

.eed-native-product [id^="row-product_id"],
.eed-native-product [id*="row-product_id"] {
  margin: 0;
}

.eed-native-product [id^="row-product_id"] > .am-element-title,
.eed-native-product [id*="row-product_id"] > .am-element-title,
.eed-native-product [id^="row-product_id"] .am-element-title,
.eed-native-product [id*="row-product_id"] .am-element-title {
  display: none;
}

.eed-native-product [id^="row-product_id"] > .am-element,
.eed-native-product [id*="row-product_id"] > .am-element,
.eed-native-product [id^="row-product_id"] .am-element,
.eed-native-product [id*="row-product_id"] .am-element {
  width: 100%;
  float: none;
  margin: 0;
  padding: 0;
}

.eed-native-product > label,
.eed-native-product [id^="row-product_id"] label,
.eed-native-product [id*="row-product_id"] label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  background: var(--bg-card-hover);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
}

.eed-native-product > label + label,
.eed-native-product [id^="row-product_id"] label + label,
.eed-native-product [id*="row-product_id"] label + label {
  margin-top: 0;
}

.eed-native-product > label:hover,
.eed-native-product [id^="row-product_id"] label:hover,
.eed-native-product [id*="row-product_id"] label:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.36);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(14, 165, 233, 0.04)),
    var(--bg-card);
  box-shadow:
    0 14px 28px rgba(37, 99, 235, 0.12),
    0 0 0 1px rgba(37, 99, 235, 0.08);
}

.eed-native-product > label:focus-within,
.eed-native-product [id^="row-product_id"] label:focus-within,
.eed-native-product [id*="row-product_id"] label:focus-within {
  border-color: rgba(37, 99, 235, 0.46);
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.14),
    0 14px 28px rgba(37, 99, 235, 0.12);
}

.eed-native-product > label input[type="radio"],
.eed-native-product > label input[type="checkbox"],
.eed-native-product [id^="row-product_id"] input[type="radio"],
.eed-native-product [id*="row-product_id"] input[type="radio"],
.eed-native-product [id^="row-product_id"] input[type="checkbox"],
.eed-native-product [id*="row-product_id"] input[type="checkbox"] {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: start;
  width: 18px !important;
  min-width: 18px;
  max-width: 18px;
  height: 18px !important;
  min-height: 18px;
  margin: 3px 0 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.eed-native-product .am-product-title {
  grid-column: 2;
  display: block;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.18s ease;
}

.eed-native-product .am-product-terms {
  grid-column: 2;
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: normal;
  color: var(--accent-blue);
}

.eed-native-product .am-product-desc {
  grid-column: 2;
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  font-style: normal;
  color: var(--text-secondary);
  transition: color 0.18s ease;
}

.eed-native-product select[name^="product_id"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: var(--bg-card-hover);
  color: var(--text-primary);
  padding: 10px 14px;
  font-size: 15px;
}

.eed-native-choice--selected {
  border-color: rgba(37, 99, 235, 0.56) !important;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(14, 165, 233, 0.05)),
    var(--bg-card) !important;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.12),
    0 14px 30px rgba(37, 99, 235, 0.14) !important;
}

.eed-native-choice--selected .am-product-title,
.eed-native-product > label:hover .am-product-title,
.eed-native-product [id^="row-product_id"] label:hover .am-product-title,
.eed-native-product [id*="row-product_id"] label:hover .am-product-title {
  color: var(--accent-blue);
}

.eed-native-choice--selected .am-product-desc,
.eed-native-product > label:hover .am-product-desc,
.eed-native-product [id^="row-product_id"] label:hover .am-product-desc,
.eed-native-product [id*="row-product_id"] label:hover .am-product-desc {
  color: var(--text-primary);
}

.auth-section--aside {
  margin-top: 22px;
}

.auth-section--aside .promo-plan + .promo-plan {
  margin-top: 12px;
}

.eed-field-embedded--paysys #row-paysys_id {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 14px;
  align-items: start;
}

.eed-field-embedded--paysys #row-paysys_id .am-element {
  display: contents;
}

.eed-field-embedded--paysys #row-paysys_id label {
  display: block;
  margin: 0;
  padding: 0 0 6px;
}

.eed-field-embedded--paysys #row-paysys_id input[type="radio"] {
  width: 16px !important;
  min-width: 16px;
  max-width: 16px;
  height: 16px !important;
  min-height: 16px;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  flex: 0 0 16px;
  border-radius: 999px;
  box-shadow: none !important;
  vertical-align: top;
  justify-self: start;
}

.eed-field-embedded--paysys .am-paysystem-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.eed-field-embedded--paysys .am-paysystem-desc {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  font-style: normal;
  color: var(--text-secondary);
}

.eed-field-embedded--paysys label > br {
  display: none;
}

.eed-site.am-page-signup .eed-auth-submit {
  margin-top: 28px;
}

@media (max-width: 980px) {
  .eed-site.am-page-signup .auth-shell {
    grid-template-columns: 1fr;
  }

  .eed-site.am-page-signup .auth-panel--promo {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .auth-context-grid,
  .auth-plan-summary-top,
  .promo-plan-topline {
    display: grid;
    grid-template-columns: 1fr;
  }

  .auth-plan-summary-chip,
  .promo-plan-badges {
    justify-self: start;
  }
}

.acct-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.acct-sidebar {
  border-right: 1px solid var(--border);
  background: transparent;
  padding: 22px 16px;
  position: sticky;
  top: 76px;
  max-height: calc(100vh - 76px);
  overflow-y: auto;
}

.acct-sidebar-section + .acct-sidebar-section {
  margin-top: 18px;
}

.acct-sidebar-label {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding: 0 8px;
}

.acct-sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px 4px;
}

.acct-sidebar-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.25);
}

.acct-sidebar-name,
.acct-sidebar-email {
  margin: 0;
}

.acct-sidebar-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.acct-sidebar-email {
  font-size: 12px;
  color: var(--text-muted);
}

.acct-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.acct-menu li {
  margin: 0 0 4px;
}

.acct-menu a,
.acct-nav-link {
  width: 100%;
  display: block;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  border-radius: 9px;
  padding: 9px 10px;
  font-size: 14px;
  text-decoration: none;
}

.acct-menu a:hover,
.acct-nav-link:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  text-decoration: none;
}

.acct-menu .active > a,
.acct-menu .current > a,
.acct-nav-link--active {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(76, 143, 248, 0.12);
  color: var(--accent-cyan);
  font-weight: 600;
}

.acct-menu li.acct-menu-item--has-children > a {
  position: relative;
  padding-right: 34px;
}

.acct-menu li.acct-menu-item--has-children > a::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: 0.72;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.acct-menu li.acct-menu-item--open > a::after,
.acct-menu li.acct-menu-item--has-current > a::after,
.acct-menu li.active.acct-menu-item--has-children > a::after,
.acct-menu li.current.acct-menu-item--has-children > a::after {
  transform: translateY(-35%) rotate(225deg);
  opacity: 1;
}

.acct-menu li > ul {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0 0 0 14px;
  display: none;
}

.acct-menu li.acct-menu-item--open > ul,
.acct-menu li.acct-menu-item--has-current > ul,
.acct-menu li.active > ul,
.acct-menu li.current > ul {
  display: block;
}

.acct-menu li > ul li {
  margin: 0 0 3px;
}

.acct-menu li > ul a {
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.acct-menu li > ul .active > a,
.acct-menu li > ul .current > a {
  color: var(--accent-cyan);
  background: rgba(76, 143, 248, 0.10);
  border-color: rgba(59, 130, 246, 0.22);
  font-weight: 600;
}

.acct-nav-link--logout:hover {
  border-color: rgba(244, 63, 94, 0.34);
  background: rgba(244, 63, 94, 0.12);
  color: var(--accent-rose);
}

.menu-item-alert {
  color: var(--accent-rose);
  font-weight: 700;
}

.acct-quota-card {
  margin-top: 20px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px;
  background: var(--bg-card-hover);
}

.acct-quota-label {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.acct-quota-track {
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  margin: 9px 0 7px;
  overflow: hidden;
}

.acct-quota-fill {
  height: 100%;
  width: 0;
  background: var(--gradient-accent);
}

.acct-quota-text {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.acct-quota-text strong {
  color: var(--text-primary);
}

.acct-quota-reset {
  font-size: 11px;
  color: var(--text-muted);
  margin: 6px 0 0;
}

.acct-plan-chip {
  margin-top: 14px;
  border-radius: 10px;
  border: 1px solid;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.acct-plan-chip span {
  font-size: 13px;
  font-weight: 700;
}

.acct-plan-chip small,
.acct-plan-chip a {
  margin-left: auto;
  font-size: 11px;
}

.acct-plan-chip--pro {
  border-color: rgba(59, 130, 246, 0.34);
  background: rgba(59, 130, 246, 0.14);
  color: var(--accent-cyan);
}

.acct-plan-chip--agency {
  border-color: rgba(124, 58, 237, 0.34);
  background: rgba(124, 58, 237, 0.14);
  color: var(--accent-purple);
}

.acct-plan-chip--free {
  border-color: rgba(245, 158, 11, 0.34);
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
}

.acct-main {
  padding: 30px 34px;
  min-width: 0;
}

.acct-section--active {
  display: block;
}

.acct-title {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}

.acct-subtitle {
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.acct-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.acct-stat-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: var(--bg-card-hover);
}

.acct-stat-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
}

.acct-stat-label {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--text-secondary);
}

.acct-stat-sub {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.acct-card,
.eed-dashboard-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card-hover);
  padding: 20px;
  margin-bottom: 14px;
}

.acct-card h2,
.eed-card-heading h2 {
  font-size: 19px;
  margin: 0 0 12px;
}

.acct-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

.acct-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.acct-table th,
.acct-table td {
  border-bottom: 1px solid var(--border);
  padding: 10px;
  text-align: left;
}

.acct-table th {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 10px;
  color: var(--text-muted);
}

.acct-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-gradient,
.btn-secondary-light,
.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-gradient {
  border: none;
  background: var(--gradient-accent);
  box-shadow: 0 12px 28px rgba(75, 125, 244, 0.2);
}

body.eed-site a.btn-gradient,
body.eed-site a.btn-gradient:link,
body.eed-site a.btn-gradient:visited,
body.eed-site button.btn-gradient,
body.eed-site input.btn-gradient {
  color: #fff;
}

.btn-gradient:hover,
.btn-gradient:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(75, 125, 244, 0.26);
  background: linear-gradient(135deg, #4678f0, #3f9bdd);
}

body.eed-site a.btn-gradient:hover,
body.eed-site a.btn-gradient:focus-visible,
body.eed-site a.btn-gradient:active {
  color: #fff;
  text-decoration: none;
}

.btn-secondary-light {
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 8px 18px rgba(19, 34, 59, 0.04);
}

body.eed-site a.btn-secondary-light,
body.eed-site a.btn-secondary-light:link,
body.eed-site a.btn-secondary-light:visited,
body.eed-site button.btn-secondary-light {
  color: var(--text-secondary);
}

.btn-secondary-light:hover,
.btn-secondary-light:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(76, 143, 248, 0.28);
  box-shadow: 0 12px 24px rgba(19, 34, 59, 0.06);
}

body.eed-site a.btn-secondary-light:hover,
body.eed-site a.btn-secondary-light:focus-visible {
  color: var(--text-primary);
  text-decoration: none;
}

.btn-danger {
  border: 1px solid rgba(244, 63, 94, 0.34);
  background: rgba(244, 63, 94, 0.14);
  color: var(--accent-rose);
}

.eed-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 14px;
}

.eed-dashboard-main,
.eed-dashboard-side {
  min-width: 0;
}

.eed-card-heading {
  margin-bottom: 12px;
}

.eed-card-body > :last-child {
  margin-bottom: 0;
}

.eed-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.eed-link-grid__item {
  display: block;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
}

.eed-link-grid__item:hover {
  border-color: rgba(59, 130, 246, 0.35);
  color: var(--accent-cyan);
  text-decoration: none;
}

.eed-subscription-list {
  display: grid;
  gap: 12px;
}

.eed-list-filter {
  margin-bottom: 4px;
}

.eed-subscription-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 16px;
}

.eed-subscription-card__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.eed-subscription-card__title {
  font-size: 18px;
  margin: 0 0 8px;
}

.eed-subscription-card__title a {
  color: var(--text-primary);
}

.eed-subscription-card__desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.eed-subscription-card__meta {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-cyan);
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
}

.eed-subscription-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.eed-empty-state {
  border: 1px dashed var(--border-light);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.42);
  padding: 22px;
}

[data-theme="dark"] .eed-empty-state {
  background: rgba(20, 25, 48, 0.48);
}

.eed-empty-state h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.eed-empty-state p {
  margin: 0;
}

.eed-form-card form > :last-child {
  margin-bottom: 0;
}

.eed-form-card .am-form {
  margin: 0;
}

.eed-form-card > .am-grid-container,
.eed-form-card > .am-panel,
.eed-form-card > .am-block,
.eed-form-card > .am-common,
.eed-form-card > .am-widget-wrapper {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.eed-form-card > #am-block-payments,
.eed-form-card > #am-block-payments > .am-grid-container,
.eed-form-card > #am-block-payments > .am-panel,
.eed-form-card > #am-block-payments > .am-block,
.eed-form-card > #am-block-payments > .am-common {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.eed-site.am-page-helpdesk .am-body-content .am-helpdesk,
.eed-site.am-page-helpdesk .am-body-content .am-grid-container,
.eed-site.am-page-helpdesk .am-body-content .am-widget-wrapper,
.eed-site.am-page-ticket .am-body-content .am-helpdesk,
.eed-site.am-page-ticket .am-body-content .am-grid-container,
.eed-site.am-page-ticket .am-body-content .am-widget-wrapper,
.eed-site[class*="am-page-helpdesk"] .am-body-content .am-helpdesk,
.eed-site[class*="am-page-helpdesk"] .am-body-content .am-grid-container,
.eed-site[class*="am-page-helpdesk"] .am-body-content .am-widget-wrapper,
.eed-site[class*="am-page-ticket"] .am-body-content .am-helpdesk,
.eed-site[class*="am-page-ticket"] .am-body-content .am-grid-container,
.eed-site[class*="am-page-ticket"] .am-body-content .am-widget-wrapper {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.eed-site.am-page-helpdesk .am-body-content .am-helpdesk,
.eed-site.am-page-ticket .am-body-content .am-helpdesk,
.eed-site[class*="am-page-helpdesk"] .am-body-content .am-helpdesk,
.eed-site[class*="am-page-ticket"] .am-body-content .am-helpdesk {
  padding: 0;
  margin: 0;
}

.eed-form-card .am-grid {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}

.eed-form-card .am-grid td,
.eed-form-card .am-grid th {
  background: transparent;
}

.eed-inline-name {
  color: var(--text-primary);
  font-weight: 700;
}

@media (max-width: 1080px) {
  .acct-layout {
    grid-template-columns: 1fr;
  }

  .acct-sidebar {
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .eed-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-panel--promo {
    border-left: none;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 860px) {
  .acct-main {
    padding: 26px 16px;
  }

  .acct-stats-grid,
  .auth-field-grid--two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .auth-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .auth-panel {
    padding: 32px 22px;
  }

  .promo-title {
    font-size: 24px;
  }

  .acct-btn-row {
    flex-direction: column;
    align-items: stretch;
  }
}
