/* Accrueo — unified app design system */
:root {
  --pe-brand: #14b8a6;
  --pe-brand-2: #2563eb;
  --pe-brand-dim: rgba(20, 184, 166, 0.14);
  --pe-accent: #f59e0b;
  --pe-bg: #070b14;
  --pe-bg-2: #0d1424;
  --pe-surface: #121c30;
  --pe-surface-2: #1a2740;
  --pe-border: rgba(255, 255, 255, 0.08);
  --pe-text: #f1f5f9;
  --pe-muted: #94a3b8;
  --pe-danger: #f87171;
  --pe-success: #34d399;
  --pe-radius: 16px;
  --pe-radius-sm: 10px;
  --pe-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --pe-max: 1120px;
  --pe-nav-h: 84px;
  --main-color: #14b8a6;
}

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

html { scroll-behavior: smooth; }

body.pe-app {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background:
    radial-gradient(900px 500px at 0% -10%, rgba(59, 158, 255, 0.12), transparent 55%),
    radial-gradient(700px 400px at 100% 0%, rgba(0, 201, 167, 0.1), transparent 50%),
    var(--pe-bg);
  color: var(--pe-text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.pe-shell {
  max-width: var(--pe-max);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.6), rgba(6, 10, 18, 0.95));
}

@media (min-width: 900px) {
  body.pe-app { padding: 16px; }
  .pe-shell {
    border: 1px solid var(--pe-border);
    border-radius: 24px;
    box-shadow: var(--pe-shadow);
    min-height: calc(100vh - 32px);
    min-height: calc(100dvh - 32px);
  }
}

/* App shell — edge-to-edge on phones */
@media (max-width: 899px) {
  body.pe-app:not([data-pe-page="login"]):not([data-pe-page="register"]):not([data-pe-page="landing"]) {
    padding: 0;
  }

  body.pe-app:not([data-pe-page="login"]):not([data-pe-page="register"]):not([data-pe-page="landing"]) .pe-shell {
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-height: 100dvh;
  }
}

.pe-main {
  flex: 1;
  padding: 12px 14px calc(var(--pe-nav-h) + 20px);
  padding-bottom: calc(var(--pe-nav-h) + max(20px, env(safe-area-inset-bottom)));
}

.pe-main--dash {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}

.pe-main--dash > .pe-footer {
  margin: 8px 14px 0;
}

@media (min-width: 640px) {
  .pe-main {
    padding: 16px 16px calc(var(--pe-nav-h) + 16px);
  }

  .pe-main--dash {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (min-width: 900px) {
  .pe-main { padding-bottom: 16px; }
  .pe-main--dash { padding-top: 0; }
}

.pe-main--sub {
  padding: 0 0 24px;
}

.pe-main--sub.pe-main--nav {
  padding-bottom: calc(var(--pe-nav-h) + max(20px, env(safe-area-inset-bottom)));
}

@media (min-width: 900px) {
  .pe-main--sub.pe-main--nav {
    padding-bottom: 16px;
  }
}

.pe-main--auth {
  padding: 0;
  min-height: 100vh;
}

/* Auth pages — full-bleed split layout */
.pe-app[data-pe-page="login"] .pe-shell,
.pe-app[data-pe-page="register"] .pe-shell {
  max-width: none;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  min-height: 100vh;
  background: var(--pe-bg);
}

body.pe-app[data-pe-page="login"],
body.pe-app[data-pe-page="register"] {
  padding: 0;
}

.pe-auth-page {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

@media (min-width: 960px) {
  .pe-auth-page {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

/* Hero panel */
.pe-auth-hero {
  display: none;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(0, 201, 167, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(59, 158, 255, 0.18), transparent 50%),
    linear-gradient(160deg, #0a1020 0%, #0d1830 45%, #081018 100%);
  border-right: 1px solid var(--pe-border);
}

@media (min-width: 960px) {
  .pe-auth-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
  }
}

.pe-auth-hero__glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.18), transparent 70%);
  top: 10%;
  left: -10%;
  pointer-events: none;
  animation: pe-pulse 8s ease-in-out infinite;
}

@keyframes pe-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.pe-auth-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.pe-auth-hero__logo {
  display: block;
  margin-bottom: 28px;
}

.pe-auth-hero__logo img {
  height: 52px;
  width: auto;
  display: block;
}

.pe-auth-hero__tagline {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--pe-text);
  line-height: 1.5;
  margin: 0 0 36px;
  opacity: 0.92;
}

.pe-auth-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pe-auth-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pe-auth-features__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 201, 167, 0.12);
  border: 1px solid rgba(0, 201, 167, 0.25);
  color: var(--pe-brand);
}

.pe-auth-features__icon svg {
  width: 20px;
  height: 20px;
}

.pe-auth-features strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pe-text);
  margin-bottom: 4px;
}

.pe-auth-features span {
  font-size: 0.82rem;
  color: var(--pe-muted);
  line-height: 1.45;
}

/* Form panel */
.pe-auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 40px;
  background:
    radial-gradient(ellipse 100% 80% at 50% -20%, rgba(0, 201, 167, 0.08), transparent 50%),
    var(--pe-bg);
  overflow-y: auto;
}

.pe-auth-panel__inner {
  width: 100%;
  max-width: 420px;
}

.pe-auth-panel__mobile-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.pe-auth-panel__mobile-logo img {
  height: 44px;
  width: auto;
}

@media (min-width: 960px) {
  .pe-auth-panel__mobile-logo {
    display: none;
  }
}

.pe-auth-card {
  width: 100%;
  background: rgba(14, 22, 38, 0.75);
  border: 1px solid var(--pe-border);
  border-radius: 24px;
  padding: 32px 28px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 48px rgba(0, 0, 0, 0.35);
}

.pe-auth-card--wide {
  max-width: 100%;
}

.pe-auth-card__head {
  margin-bottom: 24px;
  text-align: center;
}

@media (min-width: 960px) {
  .pe-auth-card__head {
    text-align: left;
  }
}

.pe-auth-card__head h1 {
  margin: 0 0 8px;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pe-text);
}

.pe-auth-card__head p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--pe-muted);
  line-height: 1.5;
}

.pe-auth-form-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 520px) {
  .pe-auth-card--wide .pe-auth-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pe-auth-card--wide .pe-auth-form-grid .pe-field:nth-child(3),
  .pe-auth-card--wide .pe-auth-form-grid .pe-field:nth-child(4) {
    grid-column: span 1;
  }
}

.pe-field--icon {
  position: relative;
}

.pe-field--icon .pe-field__icon {
  position: absolute;
  left: 14px;
  bottom: 15px;
  width: 18px;
  height: 18px;
  color: var(--pe-muted);
  opacity: 0.65;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pe-field--icon .pe-field__icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.pe-field--icon input {
  padding-left: 42px;
}

.pe-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pe-segmented__item {
  cursor: pointer;
}

.pe-segmented__item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pe-segmented__item span {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border-radius: var(--pe-radius-sm);
  border: 1px solid var(--pe-border);
  background: var(--pe-surface-2);
  color: var(--pe-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.pe-segmented__item input:checked + span {
  border-color: rgba(0, 201, 167, 0.5);
  background: var(--pe-brand-dim);
  color: var(--pe-brand);
  box-shadow: 0 0 0 1px rgba(0, 201, 167, 0.2);
}

.pe-btn--lg {
  margin-top: 8px;
  padding: 16px 24px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pe-btn__arrow {
  transition: transform 0.2s;
}

.pe-btn--primary:hover .pe-btn__arrow {
  transform: translateX(4px);
}

.pe-auth-switch {
  text-align: center;
  margin: 24px 0 0;
  font-size: 0.9rem;
  color: var(--pe-muted);
}

.pe-auth-switch a {
  color: var(--pe-brand);
  font-weight: 700;
  text-decoration: none;
}

.pe-auth-switch a:hover {
  text-decoration: underline;
}

.pe-auth-legal {
  text-align: center;
  margin: 16px 0 0;
  font-size: 0.75rem;
  color: var(--pe-muted);
  opacity: 0.7;
}

/* Landing page */
.pe-app[data-pe-page="landing"] {
  scroll-padding-top: 80px;
}

.pe-app[data-pe-page="landing"] .pe-shell,
body.pe-app[data-pe-page="landing"] {
  padding: 0;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body.pe-landing-menu-open {
  overflow: hidden;
}

.pe-app[data-pe-page="landing"] .pe-shell {
  max-width: none;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--pe-bg);
}

.pe-landing {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Nav */
.pe-landing-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  padding-top: max(12px, env(safe-area-inset-top));
  border-bottom: 1px solid var(--pe-border);
  background: rgba(6, 10, 18, 0.92);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 200;
}

.pe-landing-nav__logo {
  flex-shrink: 0;
  z-index: 201;
}

.pe-landing-nav__logo img {
  height: 32px;
  width: auto;
  display: block;
}

.pe-landing-nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid var(--pe-border);
  border-radius: 12px;
  background: rgba(14, 22, 38, 0.8);
  cursor: pointer;
  z-index: 201;
  transition: border-color 0.2s, background 0.2s;
}

.pe-landing-nav__toggle:hover {
  border-color: rgba(0, 201, 167, 0.4);
}

.pe-landing-nav__toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--pe-text);
  transition: transform 0.25s, opacity 0.25s;
}

.pe-landing-nav--open .pe-landing-nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.pe-landing-nav--open .pe-landing-nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.pe-landing-nav--open .pe-landing-nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.pe-landing-nav__menu {
  display: none;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 8px 0 12px;
  border-top: 1px solid var(--pe-border);
  margin-top: 4px;
}

.pe-landing-nav--open .pe-landing-nav__menu {
  display: flex;
}

.pe-landing-nav__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pe-landing-nav__links a {
  display: block;
  padding: 14px 12px;
  border-radius: var(--pe-radius-sm);
  color: var(--pe-text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.pe-landing-nav__links a:hover {
  background: rgba(0, 201, 167, 0.1);
  color: var(--pe-brand);
}

.pe-landing-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pe-landing-nav__actions .pe-btn {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
}

@media (min-width: 768px) {
  .pe-landing-nav {
    flex-wrap: nowrap;
    gap: 24px;
    padding: 16px 32px;
    padding-top: max(16px, env(safe-area-inset-top));
  }

  .pe-landing-nav__logo img {
    height: 36px;
  }

  .pe-landing-nav__toggle {
    display: none;
  }

  .pe-landing-nav__menu {
    display: flex;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: auto;
    padding: 0;
    margin: 0;
    border: none;
  }

  .pe-landing-nav__links {
    flex-direction: row;
    gap: 28px;
    margin-left: 16px;
  }

  .pe-landing-nav__links a {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--pe-muted);
    border-radius: 0;
  }

  .pe-landing-nav__links a:hover {
    background: transparent;
    color: var(--pe-text);
  }

  .pe-landing-nav__actions {
    flex-direction: row;
    gap: 10px;
  }

  .pe-landing-nav__actions .pe-btn {
    width: auto;
    padding: 10px 18px;
    font-size: 0.88rem;
  }
}

@media (min-width: 1024px) {
  .pe-landing-nav {
    padding: 18px 40px;
  }
}

a.pe-btn {
  text-decoration: none;
}

.pe-btn--outline {
  background: transparent;
  color: var(--pe-text);
  border: 1px solid var(--pe-border);
  box-shadow: none;
}

.pe-btn--outline:hover {
  border-color: rgba(0, 201, 167, 0.45);
  color: var(--pe-brand);
}

/* Hero */
.pe-landing-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 16px 48px;
  background:
    radial-gradient(ellipse 90% 55% at 15% -5%, rgba(0, 201, 167, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 45% at 100% 15%, rgba(59, 158, 255, 0.12), transparent 50%),
    linear-gradient(180deg, #0a1020 0%, var(--pe-bg) 100%);
}

.pe-landing-hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.pe-landing-hero__glow--a {
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  background: radial-gradient(circle, rgba(0, 201, 167, 0.14), transparent 70%);
  top: -15%;
  right: -20%;
}

.pe-landing-hero__glow--b {
  width: min(320px, 70vw);
  height: min(320px, 70vw);
  background: radial-gradient(circle, rgba(59, 158, 255, 0.1), transparent 70%);
  bottom: 5%;
  left: -15%;
}

.pe-landing-hero__grid {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: stretch;
}

.pe-landing-hero__copy {
  order: 2;
  text-align: center;
}

.pe-landing-hero__visual {
  order: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (min-width: 640px) {
  .pe-landing-hero {
    padding: 40px 24px 56px;
  }

  .pe-landing-hero__grid {
    gap: 36px;
  }

  .pe-landing-hero__copy {
    text-align: left;
  }
}

@media (min-width: 960px) {
  .pe-landing-hero {
    padding: 64px 40px 80px;
  }

  .pe-landing-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
  }

  .pe-landing-hero__copy {
    order: 1;
  }

  .pe-landing-hero__visual {
    order: 2;
  }
}

.pe-landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pe-brand);
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 201, 167, 0.3);
  background: rgba(0, 201, 167, 0.08);
}

.pe-landing-hero__copy h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 6.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.pe-gradient-text {
  background: linear-gradient(90deg, var(--pe-brand), var(--pe-brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pe-landing-hero__lead {
  margin: 0 auto 24px;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  line-height: 1.65;
  color: var(--pe-muted);
  max-width: 520px;
}

@media (min-width: 640px) {
  .pe-landing-hero__lead {
    margin-left: 0;
    margin-right: 0;
  }
}

.pe-landing-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.pe-landing-hero__cta--center {
  align-items: center;
}

.pe-landing-hero__cta .pe-btn {
  width: 100%;
  min-width: 0;
}

@media (min-width: 480px) {
  .pe-landing-hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .pe-landing-hero__cta .pe-btn {
    width: auto;
    flex: 1 1 160px;
    min-width: 140px;
  }

  .pe-landing-hero__cta--center {
    justify-content: center;
  }

  .pe-landing-hero__cta--center .pe-btn {
    flex: 0 1 auto;
  }
}

.pe-landing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 100%;
}

@media (min-width: 480px) {
  .pe-landing-stats {
    gap: 12px;
    max-width: 420px;
  }
}

.pe-landing-stat {
  padding: 12px 8px;
  border-radius: var(--pe-radius-sm);
  border: 1px solid var(--pe-border);
  background: rgba(14, 22, 38, 0.65);
  text-align: center;
}

@media (min-width: 480px) {
  .pe-landing-stat {
    padding: 14px 12px;
    text-align: left;
  }
}

.pe-landing-stat strong {
  display: block;
  font-size: clamp(0.95rem, 3.5vw, 1.15rem);
  font-weight: 800;
  color: var(--pe-text);
  margin-bottom: 4px;
}

.pe-landing-stat span {
  font-size: 0.68rem;
  color: var(--pe-muted);
  line-height: 1.3;
}

@media (min-width: 480px) {
  .pe-landing-stat span {
    font-size: 0.72rem;
  }
}

.pe-landing-hero__note {
  margin: 16px 0 0;
  font-size: 0.78rem;
  color: var(--pe-muted);
  line-height: 1.5;
  opacity: 0.85;
}

.pe-landing-hero__card {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--pe-border);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  aspect-ratio: 16 / 11;
  background: var(--pe-surface);
}

.pe-landing-hero__card--fallback {
  background:
    radial-gradient(ellipse 90% 70% at 20% 15%, rgba(20, 184, 166, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 60% at 85% 80%, rgba(59, 130, 246, 0.22), transparent 50%),
    linear-gradient(155deg, #0f172a 0%, #111827 45%, #0b1220 100%);
}

.pe-landing-hero__card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(20, 184, 166, 0.35), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(37, 99, 235, 0.3), transparent 40%),
    linear-gradient(160deg, #0d9488 0%, #1e3a8a 55%, #0f172a 100%);
  animation: pe-landing-hero-pulse 6s ease-in-out infinite;
}

.pe-landing-hero__preview {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 18px 88px;
}

.pe-landing-preview {
  width: 100%;
  max-width: 300px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(6, 10, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.pe-landing-preview__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.pe-landing-preview__eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.pe-landing-preview__profit {
  font-size: 1.15rem;
  line-height: 1;
  color: #5eead4;
  text-shadow: 0 0 18px rgba(20, 184, 166, 0.35);
}

.pe-landing-preview__profit small {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.85;
}

.pe-landing-preview__chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 72px;
  margin-bottom: 14px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pe-landing-preview__chart span {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.95), rgba(37, 99, 235, 0.75));
  box-shadow: 0 0 12px rgba(20, 184, 166, 0.22);
  animation: pe-landing-bar 2.8s ease-in-out infinite;
}

.pe-landing-preview__chart span:nth-child(2) { animation-delay: 0.15s; }
.pe-landing-preview__chart span:nth-child(3) { animation-delay: 0.3s; }
.pe-landing-preview__chart span:nth-child(4) { animation-delay: 0.45s; }
.pe-landing-preview__chart span:nth-child(5) { animation-delay: 0.6s; }
.pe-landing-preview__chart span:nth-child(6) { animation-delay: 0.75s; }
.pe-landing-preview__chart span:nth-child(7) { animation-delay: 0.9s; }

@keyframes pe-landing-bar {
  0%, 100% { transform: scaleY(1); opacity: 0.88; }
  50% { transform: scaleY(1.08); opacity: 1; }
}

.pe-landing-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.pe-landing-preview__grid div {
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.pe-landing-preview__grid em {
  display: block;
  font-style: normal;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.pe-landing-preview__grid strong {
  font-size: 0.82rem;
  color: #fff;
}

.pe-landing-preview__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 10px;
}

.pe-landing-preview__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14b8a6, #3b82f6);
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.45);
}

.pe-landing-preview__hint {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
}

@keyframes pe-landing-hero-pulse {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.04); opacity: 1; }
}

@media (min-width: 640px) {
  .pe-landing-hero__card {
    max-width: 420px;
    border-radius: 24px;
    aspect-ratio: 4 / 5;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45);
  }
}

.pe-landing-hero__card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pe-landing-hero__card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pe-text);
  background: rgba(6, 10, 18, 0.75);
  border: 1px solid var(--pe-border);
  backdrop-filter: blur(8px);
}

.pe-landing-hero__card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pe-success);
  box-shadow: 0 0 8px rgba(61, 214, 140, 0.6);
  animation: pe-pulse-dot 2s ease-in-out infinite;
}

@keyframes pe-pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pe-landing-hero__card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(6, 10, 18, 0.94));
}

@media (min-width: 640px) {
  .pe-landing-hero__card-overlay {
    gap: 14px;
    padding: 20px;
  }
}

.pe-landing-hero__card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .pe-landing-hero__card-icon {
    width: 48px;
    height: 48px;
  }
}

.pe-landing-hero__card-overlay strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
}

.pe-landing-hero__card-overlay span {
  font-size: 0.78rem;
  color: var(--pe-muted);
}

/* Sections */
.pe-landing-section {
  padding: 48px 16px;
}

.pe-landing-section--alt {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(59, 158, 255, 0.06), transparent 55%),
    rgba(12, 18, 32, 0.5);
  border-top: 1px solid var(--pe-border);
  border-bottom: 1px solid var(--pe-border);
}

.pe-landing-section__inner {
  max-width: 1140px;
  margin: 0 auto;
}

.pe-landing-section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
  padding: 0 4px;
}

.pe-landing-section__head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 4.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pe-landing-section__head p {
  margin: 0;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: var(--pe-muted);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .pe-landing-section {
    padding: 56px 24px;
  }

  .pe-landing-section__head {
    margin-bottom: 40px;
  }
}

@media (min-width: 960px) {
  .pe-landing-section {
    padding: 80px 40px;
  }
}

/* Feature cards */
.pe-landing-feature-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .pe-landing-feature-grid {
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pe-landing-feature-grid {
    gap: 20px;
  }
}

.pe-landing-card {
  position: relative;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--pe-border);
  background: rgba(14, 22, 38, 0.65);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, transform 0.2s;
  overflow: hidden;
}

.pe-landing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pe-brand), var(--pe-brand-2));
  opacity: 0;
  transition: opacity 0.2s;
}

.pe-landing-card:hover {
  border-color: rgba(0, 201, 167, 0.35);
  transform: translateY(-2px);
}

.pe-landing-card:hover::before {
  opacity: 1;
}

@media (min-width: 640px) {
  .pe-landing-card {
    padding: 24px;
    border-radius: 20px;
  }
}

.pe-landing-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--pe-brand-dim);
  border: 1px solid rgba(0, 201, 167, 0.25);
  color: var(--pe-brand);
}

.pe-landing-card__icon svg {
  width: 22px;
  height: 22px;
}

.pe-landing-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
}

.pe-landing-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--pe-muted);
  line-height: 1.55;
}

/* Steps */
.pe-landing-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 800px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .pe-landing-steps {
    gap: 0;
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.pe-landing-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--pe-border);
  background: rgba(14, 22, 38, 0.5);
  position: relative;
}

@media (min-width: 768px) {
  .pe-landing-step {
    flex-direction: column;
    gap: 12px;
    padding: 28px 22px;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--pe-border);
    background: transparent;
    text-align: center;
  }

  .pe-landing-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 36px;
    right: -1px;
    width: 2px;
    height: calc(100% - 48px);
    background: linear-gradient(180deg, var(--pe-brand), transparent);
    opacity: 0.35;
  }
}

.pe-landing-step__n {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 800;
  background: var(--pe-brand-dim);
  border: 1px solid rgba(0, 201, 167, 0.3);
  color: var(--pe-brand);
}

@media (min-width: 768px) {
  .pe-landing-step__n {
    width: 52px;
    height: 52px;
    margin: 0 auto;
    font-size: 0.95rem;
  }
}

.pe-landing-step__body h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
}

.pe-landing-step__body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--pe-muted);
  line-height: 1.55;
}

/* Tiers — horizontal scroll on mobile */
.pe-landing-tier-hint {
  display: block;
  text-align: center;
  margin: -16px 0 14px;
  font-size: 0.75rem;
  color: var(--pe-muted);
  opacity: 0.8;
}

@media (min-width: 768px) {
  .pe-landing-tier-hint {
    display: none;
  }
}

.pe-landing-tier-scroll {
  margin: 0 -16px;
  padding: 4px 16px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}

.pe-landing-tier-scroll::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .pe-landing-tier-scroll {
    margin: 0;
    padding: 0;
    overflow: visible;
    mask-image: none;
  }
}

.pe-landing-tier-grid {
  display: flex;
  gap: 14px;
  width: max-content;
  min-width: 100%;
}

@media (min-width: 768px) {
  .pe-landing-tier-grid {
    display: grid;
    width: auto;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pe-landing-tier-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pe-landing-tier {
  flex: 0 0 min(78vw, 280px);
  scroll-snap-align: start;
  padding: 22px 18px;
  border-radius: 18px;
  border: 1px solid var(--pe-border);
  background: rgba(14, 22, 38, 0.65);
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.pe-landing-tier:hover {
  border-color: rgba(0, 201, 167, 0.4);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .pe-landing-tier {
    flex: unset;
    padding: 24px 20px;
    border-radius: 20px;
  }
}

.pe-landing-tier img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .pe-landing-tier img {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }
}

.pe-landing-tier h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
}

.pe-landing-tier__min {
  margin: 0 0 14px;
  font-size: 0.82rem;
  color: var(--pe-brand);
  font-weight: 700;
}

.pe-landing-tier__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pe-landing-tier__meta li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--pe-radius-sm);
  background: var(--pe-surface-2);
  font-size: 0.8rem;
}

.pe-landing-tier__meta span {
  color: var(--pe-muted);
}

.pe-landing-tier__meta strong {
  color: var(--pe-text);
  font-weight: 700;
}

/* CTA */
.pe-landing-cta {
  padding: 48px 16px 56px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .pe-landing-cta {
    padding: 64px 24px 72px;
  }
}

.pe-landing-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 20px;
  border-radius: 22px;
  border: 1px solid var(--pe-border);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 201, 167, 0.14), transparent 55%),
    rgba(14, 22, 38, 0.8);
  backdrop-filter: blur(16px);
}

@media (min-width: 640px) {
  .pe-landing-cta__inner {
    padding: 48px 32px;
    border-radius: 28px;
  }
}

.pe-landing-cta__glow {
  position: absolute;
  width: min(400px, 80vw);
  height: min(400px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 158, 255, 0.12), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pe-landing-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
}

.pe-landing-cta p {
  margin: 0 0 20px;
  font-size: 0.92rem;
  color: var(--pe-muted);
  line-height: 1.55;
}

.pe-landing-cta .pe-landing-hero__cta {
  justify-content: center;
  margin-bottom: 0;
}

/* Footer */
.pe-landing-footer {
  margin-top: auto;
  padding: 28px 16px;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--pe-border);
  background: rgba(6, 10, 18, 0.9);
}

.pe-landing-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.pe-landing-footer__logo img {
  height: 30px;
  width: auto;
  opacity: 0.9;
}

.pe-landing-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}

.pe-landing-footer__links a {
  color: var(--pe-muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 4px 0;
}

.pe-landing-footer__links a:hover {
  color: var(--pe-brand);
}

.pe-landing-footer__copy {
  margin: 0;
  font-size: 0.72rem;
  color: var(--pe-muted);
  opacity: 0.7;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .pe-landing-footer {
    padding: 32px 32px;
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }

  .pe-landing-footer__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    text-align: left;
    gap: 12px 24px;
  }

  .pe-landing-footer__links {
    justify-content: flex-end;
  }

  .pe-landing-footer__copy {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 4px;
  }
}

@media (min-width: 1024px) {
  .pe-landing-footer {
    padding: 32px 40px;
  }
}

.pe-brand {
  display: inline-flex;
  align-items: center;
}

.pe-brand__logo {
  height: 32px;
  width: auto;
  display: block;
}

.pe-brand--lg .pe-brand__logo {
  height: 44px;
}

.pe-brand__img,
.pe-brand__wordmark,
.pe-brand__icon,
.pe-brand__name {
  display: none;
}

/* Header */
.pe-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  padding-top: max(10px, env(safe-area-inset-top));
  border-bottom: 1px solid var(--pe-border);
  background: rgba(6, 10, 18, 0.92);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: visible;
}

.pe-header__logo {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 52px);
  min-height: 40px;
  text-decoration: none;
}

.pe-header__logo-picture {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.pe-header__logo-img {
  display: block;
  height: clamp(26px, 7.2vw, 36px);
  width: auto;
  max-width: min(200px, 58vw);
  object-fit: contain;
  object-position: left center;
}

.pe-header--centered {
  justify-content: center;
  min-height: 68px;
}

.pe-header--centered .pe-header__logo {
  flex: 0 1 auto;
  max-width: 100%;
  justify-content: center;
}

.pe-header--centered .pe-header__logo-picture {
  justify-content: center;
}

.pe-header--centered .pe-header__logo-img {
  height: clamp(44px, 12vw, 60px);
  max-width: min(340px, 82vw);
  object-position: center;
}

.pe-header__slot {
  flex: 0 0 auto;
  min-width: 40px;
  min-height: 40px;
}

.pe-header__slot--right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.pe-header__support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--pe-brand);
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.22);
  text-decoration: none;
}

.pe-header__support svg {
  width: 20px;
  height: 20px;
}

.pe-notify {
  position: relative;
  flex-shrink: 0;
}

.pe-notify__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--pe-brand);
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.22);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pe-notify__btn:hover,
.pe-notify__btn[aria-expanded="true"] {
  background: rgba(20, 184, 166, 0.2);
  border-color: rgba(20, 184, 166, 0.4);
}

.pe-notify__btn svg {
  width: 20px;
  height: 20px;
}

.pe-notify__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border: 2px solid var(--pe-shell-bg, #070b14);
  pointer-events: none;
}

.pe-notify__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pe-notify__backdrop--open {
  opacity: 1;
}

.pe-notify__panel {
  position: fixed;
  z-index: 9999;
  max-height: min(72vh, 520px);
  display: flex;
  flex-direction: column;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.pe-notify__panel--open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.pe-notify__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--pe-border);
  flex-shrink: 0;
}

.pe-notify__head-text {
  min-width: 0;
}

.pe-notify__head strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.pe-notify__head-sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--pe-brand);
  font-weight: 600;
}

.pe-notify__mark-all {
  border: 0;
  background: transparent;
  color: var(--pe-brand);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 0 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.pe-notify__list {
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px;
  flex: 1 1 auto;
  min-height: 80px;
  max-height: min(52vh, 380px);
  -webkit-overflow-scrolling: touch;
}

.pe-notify__item {
  padding: 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
  border: 1px solid transparent;
}

.pe-notify__item + .pe-notify__item {
  margin-top: 6px;
}

.pe-notify__item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.pe-notify__item--unread {
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.28);
}

.pe-notify__item-top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.pe-notify__item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pe-brand);
  margin-top: 5px;
  flex-shrink: 0;
}

.pe-notify__item-title {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}

.pe-notify__item-body {
  font-size: 13px;
  line-height: 1.5;
  color: var(--pe-muted, #94a3b8);
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pe-notify__item-muted {
  font-style: italic;
  opacity: 0.7;
}

.pe-notify__item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.pe-notify__item-from {
  font-size: 11px;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.95);
}

.pe-notify__item-time {
  font-size: 11px;
  color: var(--pe-muted, #64748b);
  white-space: nowrap;
}

.pe-notify__empty,
.pe-notify__loading {
  padding: 28px 16px;
  text-align: center;
}

.pe-notify__empty-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--pe-brand);
}

.pe-notify__empty-icon svg {
  width: 26px;
  height: 26px;
}

.pe-notify__empty-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pe-text, #e2e8f0);
}

.pe-notify__empty-hint {
  display: block;
  font-size: 12px;
  color: var(--pe-muted);
  line-height: 1.45;
}

.pe-notify__skeleton {
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: pe-notify-shimmer 1.2s ease-in-out infinite;
}

.pe-notify__skeleton + .pe-notify__skeleton {
  margin-top: 8px;
}

@keyframes pe-notify-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.pe-notify__all {
  display: block;
  text-align: center;
  padding: 14px 16px;
  border-top: 1px solid var(--pe-border);
  color: var(--pe-brand);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.02);
}

.pe-notify__all:hover {
  background: rgba(20, 184, 166, 0.08);
}

.pe-notify-page {
  padding: 0 16px 24px;
}

.pe-notify-hero {
  margin: 0 16px 20px;
  padding: 24px 20px;
  border-radius: 20px;
  border: 1px solid rgba(20, 184, 166, 0.22);
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(20, 184, 166, 0.14), transparent 55%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(8, 12, 22, 0.98));
  text-align: center;
}

.pe-notify-hero__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(20, 184, 166, 0.14);
  color: var(--pe-brand);
}

.pe-notify-hero__icon svg {
  width: 28px;
  height: 28px;
}

.pe-notify-hero h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.pe-notify-hero p {
  margin: 0 auto;
  max-width: 420px;
  color: var(--pe-muted);
  font-size: 14px;
  line-height: 1.55;
}

.pe-notify-hero__stats {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.pe-notify-hero__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--pe-border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  color: var(--pe-muted);
}

.pe-notify-hero__stat strong {
  color: var(--pe-text, #e2e8f0);
  font-size: 15px;
}

.pe-notify-hero__stat--active {
  border-color: rgba(20, 184, 166, 0.4);
  background: rgba(20, 184, 166, 0.12);
  color: var(--pe-brand);
}

.pe-notify-hero__stat--active strong {
  color: var(--pe-brand);
}

.pe-notify-page__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.pe-notify-page__summary {
  margin: 0;
  color: var(--pe-muted);
  font-size: 14px;
}

.pe-notify-page__mark-all {
  flex-shrink: 0;
}

.pe-notify-page__empty {
  text-align: center;
  padding: 48px 20px;
  border: 1px dashed var(--pe-border);
  border-radius: 16px;
}

.pe-notify-page__empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--pe-brand);
}

.pe-notify-page__empty-icon svg {
  width: 28px;
  height: 28px;
}

.pe-notify-page__empty h2,
.pe-notify-page__empty h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.pe-notify-page__empty p {
  margin: 0 0 16px;
  color: var(--pe-muted);
  font-size: 14px;
}

.pe-notify-page__list {
  display: grid;
  gap: 12px;
}

.pe-notify-page__card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--pe-border);
  background: rgba(255, 255, 255, 0.02);
}

.pe-notify-page__card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.pe-notify-page__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pe-brand);
  margin-top: 6px;
  flex-shrink: 0;
}

.pe-notify-page__card--unread {
  border-color: rgba(20, 184, 166, 0.35);
  background: rgba(20, 184, 166, 0.08);
  cursor: pointer;
}

.pe-notify-page__title {
  margin: 0;
  font-size: 16px;
  flex: 1;
  min-width: 0;
}

.pe-notify-page__title--plain {
  font-size: 15px;
  font-weight: 600;
  color: var(--pe-text, #e2e8f0);
}

.pe-notify-page__body {
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}

.pe-notify-page__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--pe-muted);
}

.pe-levels-hero {
  margin: 0 16px 20px;
  padding: 24px 20px;
  border-radius: 20px;
  border: 1px solid rgba(20, 184, 166, 0.22);
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(20, 184, 166, 0.14), transparent 55%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(8, 12, 22, 0.98));
  text-align: center;
}

.pe-levels-hero__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(20, 184, 166, 0.14);
  color: var(--pe-brand);
}

.pe-levels-hero__icon svg {
  width: 28px;
  height: 28px;
}

.pe-levels-hero h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.pe-levels-hero p {
  margin: 0 auto;
  max-width: 420px;
  color: var(--pe-muted);
  font-size: 14px;
  line-height: 1.55;
}

.pe-levels-hero__current {
  margin-top: 14px;
  font-size: 13px;
  color: var(--pe-muted);
}

.pe-levels-hero__current strong {
  color: var(--pe-brand);
}

.pe-levels-page {
  padding: 0 16px 24px;
}

.pe-levels-page__list {
  display: grid;
  gap: 12px;
}

.pe-levels-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--pe-border);
  background: rgba(255, 255, 255, 0.02);
}

.pe-levels-card--current {
  border-color: rgba(20, 184, 166, 0.4);
  background: rgba(20, 184, 166, 0.08);
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.12);
}

.pe-levels-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.pe-levels-card__icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.pe-levels-card__head h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.pe-levels-card__badge {
  display: inline-block;
  margin-bottom: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.18);
  color: var(--pe-brand);
  font-size: 11px;
  font-weight: 700;
}

.pe-levels-card__min {
  margin: 0;
  font-size: 13px;
  color: var(--pe-muted);
}

.pe-levels-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pe-levels-card__meta li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
}

.pe-levels-card__meta span {
  color: var(--pe-muted);
}

.pe-levels-card__meta strong {
  color: var(--pe-text, #e2e8f0);
}

.pe-levels-page__note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--pe-muted);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 420px) {
  .pe-header__logo-img--full {
    display: none;
  }

  .pe-header__logo-img--icon {
    display: block;
    width: clamp(32px, 9vw, 40px);
    height: clamp(32px, 9vw, 40px);
    max-width: none;
    border-radius: 10px;
  }
}

@media (min-width: 421px) {
  .pe-header__logo-img--icon {
    display: none;
  }
}

@media (min-width: 640px) {
  .pe-header {
    padding: 12px 18px;
    min-height: 60px;
  }

  .pe-header__logo-img {
    max-width: min(220px, 42vw);
  }
}

@media (min-width: 1024px) {
  .pe-header__logo-img {
    height: 36px;
    max-width: 220px;
  }
}

.pe-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pe-header__chip {
  display: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--pe-brand);
  border: 1px solid rgba(0, 201, 167, 0.35);
  background: var(--pe-brand-dim);
}

@media (min-width: 640px) {
  .pe-header {
    padding: 14px 18px;
  }

  .pe-header__chip {
    display: inline-flex;
  }
}

.pe-header__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0, 201, 167, 0.45);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(0, 201, 167, 0.12);
}

.pe-header__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pe-subheader {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pe-border);
  background: rgba(8, 12, 22, 0.9);
  position: sticky;
  top: 0;
  z-index: 50;
}

.pe-subheader__back {
  width: 40px;
  height: 40px;
  border: 1px solid var(--pe-border);
  border-radius: 12px;
  background: var(--pe-surface);
  color: var(--pe-text);
  font-size: 1.1rem;
  cursor: pointer;
}

.pe-subheader__title {
  flex: 1;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

.pe-subheader__spacer { width: 40px; }

/* Bottom nav */
.pe-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  pointer-events: none;
  padding: 0 12px max(10px, env(safe-area-inset-bottom));
}

.pe-nav__inner {
  pointer-events: auto;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  min-height: 68px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(18, 28, 48, 0.96), rgba(8, 12, 22, 0.98));
  box-shadow:
    0 0 0 1px rgba(0, 201, 167, 0.08) inset,
    0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  overflow: visible;
}

@media (min-width: 900px) {
  .pe-nav {
    position: sticky;
    bottom: 0;
    left: auto;
    right: auto;
    transform: none;
    padding: 0;
    pointer-events: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    flex-shrink: 0;
  }

  .pe-nav__inner {
    max-width: none;
    width: 100%;
    border-radius: 0 0 24px 24px;
    border-top: 1px solid var(--pe-border);
    border-left: none;
    border-right: none;
    border-bottom: none;
    box-shadow: none;
    min-height: var(--pe-nav-h);
    padding: 10px 24px;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: rgba(6, 10, 18, 0.96);
  }
}

.pe-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 52px;
  padding: 4px 6px;
  text-decoration: none;
  color: var(--pe-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 0.25s, transform 0.25s;
  -webkit-tap-highlight-color: transparent;
  border-radius: 16px;
}

.pe-nav__item:active {
  transform: scale(0.96);
}

.pe-nav__bubble {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition:
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
}

.pe-nav__icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--pe-muted);
  transition: color 0.25s, transform 0.25s;
}

.pe-nav__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.pe-nav__label {
  line-height: 1.1;
  text-align: center;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pe-nav__item--active {
  color: var(--pe-brand);
}

.pe-nav__item--active .pe-nav__bubble {
  background: linear-gradient(145deg, rgba(0, 201, 167, 0.28), rgba(59, 158, 255, 0.18));
  border-color: rgba(0, 201, 167, 0.45);
  box-shadow:
    0 0 0 1px rgba(0, 201, 167, 0.15) inset,
    0 8px 20px rgba(0, 201, 167, 0.22);
  transform: translateY(-2px);
}

.pe-nav__item--active .pe-nav__icon {
  color: var(--pe-brand);
  transform: scale(1.06);
}

.pe-nav__item--featured {
  position: relative;
  z-index: 2;
}

/* Featured center slot — larger footprint, muted until active */
.pe-nav__item--featured .pe-nav__bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  transform: translateY(-10px);
}

.pe-nav__item--featured .pe-nav__icon,
.pe-nav__item--featured .pe-nav__icon svg {
  width: 26px;
  height: 26px;
}

.pe-nav__item--featured .pe-nav__label {
  transform: translateY(-8px);
}

.pe-nav__item--featured:not(.pe-nav__item--active) .pe-nav__bubble {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.pe-nav__item--featured:not(.pe-nav__item--active) .pe-nav__icon {
  color: var(--pe-muted);
}

.pe-nav__item--featured:not(.pe-nav__item--active) .pe-nav__label {
  color: var(--pe-muted);
  font-weight: 700;
  text-shadow: none;
}

/* Active featured — premium FAB highlight */
.pe-nav__item--featured.pe-nav__item--active {
  color: #99f6e4;
}

.pe-nav__item--featured.pe-nav__item--active .pe-nav__bubble {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14b8a6 0%, #0ea5e9 42%, #2563eb 100%);
  border: 2px solid rgba(255, 255, 255, 0.28);
  transform: translateY(-18px) scale(1.06);
  box-shadow:
    0 0 0 3px rgba(20, 184, 166, 0.2) inset,
    0 12px 36px rgba(20, 184, 166, 0.55),
    0 0 52px rgba(20, 184, 166, 0.45),
    0 0 80px rgba(37, 99, 235, 0.22);
  animation: pe-nav-fab-glow 2.2s ease-in-out infinite;
}

.pe-nav__item--featured.pe-nav__item--active .pe-nav__icon,
.pe-nav__item--featured.pe-nav__item--active .pe-nav__icon svg {
  width: 30px;
  height: 30px;
  color: #041018;
  transform: scale(1.1);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.pe-nav__item--featured.pe-nav__item--active .pe-nav__label {
  font-size: 0.74rem;
  font-weight: 800;
  transform: translateY(-12px);
  color: #99f6e4;
  text-shadow: 0 0 18px rgba(20, 184, 166, 0.6);
}

.pe-nav__item--featured.pe-nav__item--active:active .pe-nav__bubble {
  transform: translateY(-14px) scale(1.02);
}

@keyframes pe-nav-fab-glow {
  0%, 100% {
    box-shadow:
      0 0 0 3px rgba(20, 184, 166, 0.2) inset,
      0 12px 36px rgba(20, 184, 166, 0.55),
      0 0 52px rgba(20, 184, 166, 0.45),
      0 0 80px rgba(37, 99, 235, 0.22);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(20, 184, 166, 0.35) inset,
      0 14px 42px rgba(20, 184, 166, 0.7),
      0 0 64px rgba(20, 184, 166, 0.55),
      0 0 96px rgba(37, 99, 235, 0.3);
  }
}

@media (min-width: 480px) {
  .pe-nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .pe-nav__item {
    font-size: 0.72rem;
    gap: 6px;
  }
}

@media (min-width: 900px) {
  .pe-nav__item--active:not(.pe-nav__item--featured) .pe-nav__bubble {
    transform: none;
  }

  .pe-nav__item--featured .pe-nav__bubble {
    width: 54px;
    height: 54px;
    transform: translateY(-6px);
  }

  .pe-nav__item--featured .pe-nav__icon,
  .pe-nav__item--featured .pe-nav__icon svg {
    width: 24px;
    height: 24px;
  }

  .pe-nav__item--featured .pe-nav__label {
    transform: translateY(-4px);
  }

  .pe-nav__item--featured.pe-nav__item--active .pe-nav__bubble {
    width: 58px;
    height: 58px;
    transform: translateY(-10px) scale(1.04);
  }

  .pe-nav__item--featured.pe-nav__item--active .pe-nav__icon,
  .pe-nav__item--featured.pe-nav__item--active .pe-nav__icon svg {
    width: 28px;
    height: 28px;
  }
}

/* Cards */
.pe-card {
  background: linear-gradient(160deg, rgba(26, 39, 68, 0.9), rgba(18, 28, 48, 0.95));
  border: 1px solid var(--pe-border);
  border-radius: var(--pe-radius);
  padding: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.pe-card--highlight {
  background: linear-gradient(135deg, rgba(0, 201, 167, 0.18), rgba(59, 158, 255, 0.1));
  border-color: rgba(0, 201, 167, 0.35);
}

.pe-card__label {
  font-size: 0.78rem;
  color: var(--pe-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pe-card__value {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 4px;
}

.pe-fraction {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  font-variant-numeric: tabular-nums;
}

.pe-fraction__current {
  color: var(--pe-accent);
}

.pe-fraction__sep {
  color: #f8fafc;
  font-weight: 800;
  font-size: 1.08em;
  line-height: 1;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

.pe-fraction__max {
  color: var(--pe-text);
}

.pe-badge .pe-fraction__sep {
  font-size: 1em;
}

.pe-handle-prefix {
  color: var(--pe-brand);
  font-weight: 800;
  margin-right: 1px;
}

.pe-card__unit {
  font-size: 0.75rem;
  color: var(--pe-muted);
  font-weight: 600;
}

/* Grid layouts */
.pe-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

@media (min-width: 640px) {
  .pe-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

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

@media (min-width: 768px) {
  .pe-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pe-stat-grid.pe-stat-grid--has-frozen { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.pe-card--frozen {
  border-color: rgba(91, 184, 255, 0.45);
  background: linear-gradient(160deg, rgba(59, 158, 255, 0.16), rgba(18, 28, 48, 0.92));
}

.pe-card--frozen .pe-card__value {
  color: #7dd3fc;
}

.pe-card__value--frozen {
  color: #7dd3fc;
}

/* Quick actions */
.pe-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 96px;
  padding: 12px 8px;
  border-radius: var(--pe-radius-sm);
  border: 1px solid var(--pe-border);
  background: linear-gradient(160deg, rgba(0, 201, 167, 0.1), rgba(59, 158, 255, 0.06));
  color: var(--pe-text);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.pe-action:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 201, 167, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.pe-action__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: var(--pe-brand-dim);
}

/* Hero */
.pe-hero {
  border-radius: var(--pe-radius);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--pe-border);
  position: relative;
  min-height: 160px;
  background: linear-gradient(135deg, #1a2740, #0c1220);
}

.pe-hero video {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.pe-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 10, 18, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.pe-hero__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.pe-hero__sub {
  margin: 4px 0 0;
  color: var(--pe-muted);
  font-size: 0.85rem;
}

/* Notice */
.pe-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--pe-radius-sm);
  background: var(--pe-surface-2);
  border: 1px solid var(--pe-border);
  font-size: 0.82rem;
  color: var(--pe-muted);
  margin-bottom: 16px;
  overflow: hidden;
}

.pe-notice__track {
  white-space: nowrap;
  animation: pe-marquee 22s linear infinite;
}

@keyframes pe-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Tier cards */
.pe-tier {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--pe-radius);
  border: 1px solid var(--pe-border);
  background: var(--pe-surface);
  margin-bottom: 12px;
}

.pe-tier img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.pe-tier__name {
  font-weight: 700;
  font-size: 1rem;
}

.pe-tier__min {
  color: var(--pe-brand);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 4px;
}

.pe-tier__desc {
  font-size: 0.8rem;
  color: var(--pe-muted);
  margin-top: 6px;
  line-height: 1.5;
}

/* Dashboard */
.pe-dash-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(160deg, #0d1830, #060a12);
}

@media (min-width: 640px) {
  .pe-dash-hero {
    border-radius: 0 0 24px 24px;
    margin-bottom: 18px;
    min-height: 260px;
  }

  .pe-main--dash .pe-dash-hero {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0 0 28px 28px;
  }
}

.pe-dash-hero__media {
  position: absolute;
  inset: 0;
}

.pe-dash-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.pe-dash-hero__media--fallback .pe-dash-hero__fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(20, 184, 166, 0.35), transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(37, 99, 235, 0.28), transparent 42%),
    linear-gradient(160deg, #0d9488 0%, #1e3a8a 50%, #0f172a 100%);
  animation: pe-landing-hero-pulse 6s ease-in-out infinite;
}

.pe-dash-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 18, 0.35) 0%, rgba(6, 10, 18, 0.92) 75%),
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(0, 201, 167, 0.15), transparent 55%);
}

.pe-dash-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px 14px 22px;
}

@media (min-width: 640px) {
  .pe-dash-hero__content {
    padding: 28px 20px 28px;
    max-width: 640px;
  }
}

.pe-dash-hero__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pe-brand);
  margin-bottom: 8px;
}

.pe-dash-hero__title {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pe-dash-hero__sub {
  margin: 0 0 14px;
  color: var(--pe-muted);
  font-size: 0.9rem;
}

.pe-dash-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pe-dash-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pe-text);
  background: rgba(0, 201, 167, 0.12);
  border: 1px solid rgba(0, 201, 167, 0.28);
}

.pe-dash-pill--muted {
  color: var(--pe-muted);
  background: rgba(14, 22, 38, 0.75);
  border-color: var(--pe-border);
  font-weight: 600;
}

.pe-dash-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pe-success);
  box-shadow: 0 0 8px rgba(61, 214, 140, 0.55);
}

.pe-dash-hero__cta {
  width: 100%;
  max-width: 280px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (min-width: 480px) {
  .pe-dash-hero__cta {
    width: auto;
    min-width: 200px;
  }
}

.pe-notice--dash {
  margin: 0 14px 14px;
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(14, 22, 38, 0.85);
}

@media (min-width: 640px) {
  .pe-notice--dash {
    margin-left: 0;
    margin-right: 0;
  }
}

.pe-notice__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--pe-brand);
}

.pe-notice__icon svg {
  width: 18px;
  height: 18px;
}

.pe-notice__viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.pe-notice a,
.pe-profile-credit__hint a,
.pe-notes a {
  color: var(--pe-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pe-dash-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 14px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .pe-dash-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
  }
}

.pe-dash-stat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--pe-border);
  background: rgba(14, 22, 38, 0.7);
  backdrop-filter: blur(10px);
  min-width: 0;
}

.pe-dash-stat--primary {
  background:
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(0, 201, 167, 0.12), transparent 55%),
    rgba(14, 22, 38, 0.8);
  border-color: rgba(0, 201, 167, 0.25);
}

.pe-dash-stat__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--pe-brand-dim);
  border: 1px solid rgba(0, 201, 167, 0.22);
  color: var(--pe-brand);
}

.pe-dash-stat__icon svg {
  width: 18px;
  height: 18px;
}

.pe-dash-stat__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pe-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.pe-dash-stat__value {
  display: block;
  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  font-weight: 800;
  line-height: 1.2;
  word-break: break-word;
}

.pe-dash-stat__value small {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pe-muted);
}

.pe-dash-stat__value--text {
  font-size: clamp(0.95rem, 3vw, 1.15rem);
}

.pe-dash-progress {
  margin-top: 8px;
  height: 4px;
  border-radius: 999px;
  background: var(--pe-surface-2);
  overflow: hidden;
}

.pe-dash-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pe-brand), var(--pe-brand-2));
}

.pe-dash-section {
  padding: 0 14px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .pe-dash-section {
    padding: 0;
  }
}

.pe-dash-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pe-dash-section__head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.pe-dash-section__head a {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pe-brand);
  text-decoration: none;
  white-space: nowrap;
}

.pe-dash-section__head a:hover {
  text-decoration: underline;
}

.pe-dash-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 640px) {
  .pe-dash-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

.pe-dash-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 92px;
  padding: 12px 8px;
  border-radius: 16px;
  border: 1px solid var(--pe-border);
  background: rgba(14, 22, 38, 0.65);
  color: var(--pe-text);
  text-decoration: none;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.pe-dash-action:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, 0.4);
  background: rgba(20, 184, 166, 0.08);
}

.pe-dash-action__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--pe-brand-dim);
  border: 1px solid rgba(0, 201, 167, 0.22);
  color: var(--pe-brand);
}

.pe-dash-action__icon svg {
  width: 20px;
  height: 20px;
}

.pe-dash-action__label {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
}

.pe-dash-tier-hint {
  display: block;
  margin: -4px 0 14px;
  font-size: 0.72rem;
  color: var(--pe-muted);
  text-align: center;
  opacity: 0.85;
}

.pe-dash-section--tiers {
  margin-bottom: 32px;
  padding-bottom: 12px;
}

.pe-dash-section--tiers .pe-dash-section__head {
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .pe-dash-tier-hint {
    display: none;
  }
}

.pe-dash-tier-scroll {
  margin: 0 -14px;
  padding: 6px 14px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pe-dash-tier-scroll::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .pe-dash-tier-scroll {
    margin: 0;
    padding: 0;
    overflow: visible;
  }
}

.pe-dash-tier-grid {
  display: flex;
  gap: 14px;
  width: max-content;
  min-width: 100%;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pe-dash-tier-grid {
    display: grid;
    width: auto;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pe-dash-tier-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

.pe-dash-tier {
  position: relative;
  flex: 0 0 min(86vw, 310px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 24px 18px 22px;
  border-radius: 20px;
  border: 1px solid var(--pe-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 42%),
    rgba(14, 22, 38, 0.78);
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.pe-dash-tier--current {
  border-color: rgba(0, 201, 167, 0.55);
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(0, 201, 167, 0.18), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 45%),
    rgba(14, 22, 38, 0.9);
  box-shadow:
    0 0 0 1px rgba(0, 201, 167, 0.15) inset,
    0 12px 32px rgba(0, 201, 167, 0.12);
}

.pe-dash-tier__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #041018;
  background: linear-gradient(90deg, var(--pe-brand), var(--pe-brand-2));
}

.pe-dash-tier img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 14px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

.pe-dash-tier h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 800;
}

.pe-dash-tier__min {
  margin: 0 0 16px;
  font-size: 0.84rem;
  color: var(--pe-brand);
  font-weight: 700;
}

.pe-dash-tier__meta {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  text-align: left;
  width: 100%;
}

.pe-dash-tier__meta li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  min-height: 46px;
  border-radius: 12px;
  background: rgba(8, 14, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
}

.pe-dash-tier__meta span {
  color: var(--pe-muted);
}

.pe-dash-tier__meta strong {
  color: var(--pe-text);
  font-weight: 700;
  font-size: 0.8rem;
  text-align: right;
}

@media (min-width: 768px) {
  .pe-dash-tier {
    flex: unset;
    min-height: 320px;
    padding: 26px 20px 24px;
  }

  .pe-dash-tier img {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
  }

  .pe-dash-tier__meta li {
    padding: 13px 14px;
    min-height: 48px;
  }
}

.pe-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--pe-brand-dim);
  color: var(--pe-brand);
  border: 1px solid rgba(0, 201, 167, 0.35);
}

/* Auth card (shared field styles below) */

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

.pe-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pe-muted);
  margin-bottom: 6px;
}

.pe-field input,
.pe-field select,
.pe-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--pe-radius-sm);
  border: 1px solid var(--pe-border);
  background: var(--pe-surface-2);
  color: var(--pe-text);
  font: inherit;
  font-size: 0.95rem;
}

.pe-field input:focus {
  outline: none;
  border-color: rgba(0, 201, 167, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 201, 167, 0.15);
}

.pe-field-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.pe-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

.pe-radio input { accent-color: var(--pe-brand); width: auto; }

/* Buttons */
.pe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pe-btn--primary {
  background: linear-gradient(90deg, var(--pe-brand), var(--pe-brand-2));
  color: #041018;
  box-shadow: 0 12px 30px rgba(0, 201, 167, 0.3);
}

.pe-btn--primary:hover { transform: translateY(-1px); }

.pe-btn--ghost {
  background: transparent;
  color: var(--pe-brand);
  border: 1px solid rgba(0, 201, 167, 0.4);
}

.pe-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  color: var(--pe-brand);
  font-weight: 600;
  text-decoration: none;
}

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

/* Alerts */
.pe-alert {
  padding: 12px 14px;
  border-radius: var(--pe-radius-sm);
  font-size: 0.88rem;
  margin-bottom: 14px;
  font-weight: 600;
}

.pe-alert--error {
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: #ffb4b4;
}

.pe-alert--success {
  background: rgba(61, 214, 140, 0.12);
  border: 1px solid rgba(61, 214, 140, 0.35);
  color: #b8f5d4;
}

/* Profile */
.pe-profile-hero {
  margin: 16px;
  padding: 20px;
  border-radius: var(--pe-radius);
  background: linear-gradient(135deg, rgba(0, 201, 167, 0.15), rgba(59, 158, 255, 0.08));
  border: 1px solid var(--pe-border);
}

.pe-profile-hero__top {
  display: flex;
  gap: 16px;
  align-items: center;
}

.pe-profile-hero__top img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 201, 167, 0.45);
}

.pe-avatar-edit {
  position: relative;
  flex-shrink: 0;
}

.pe-avatar-edit img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 201, 167, 0.45);
  display: block;
}

.pe-avatar-edit__btn {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--pe-bg);
  background: linear-gradient(135deg, var(--pe-brand), var(--pe-brand-2));
  color: #041018;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 201, 167, 0.35);
  transition: transform 0.2s;
}

.pe-avatar-edit__btn:hover {
  transform: scale(1.06);
}

.pe-avatar-edit__btn svg {
  width: 14px;
  height: 14px;
}

.pe-avatar-edit__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pe-profile-edit-card {
  margin: 16px;
  padding: 18px;
  border-radius: var(--pe-radius);
  background: linear-gradient(160deg, rgba(26, 39, 68, 0.72), rgba(18, 28, 48, 0.82));
  border: 1px solid var(--pe-border);
  backdrop-filter: blur(12px);
}

.pe-profile-edit-card h3 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 700;
}

.pe-profile-edit-card .pe-field + .pe-field {
  margin-top: 12px;
}

.pe-profile-edit-card .pe-btn {
  margin-top: 16px;
  width: 100%;
}

.pe-profile-hero__name {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
}

.pe-profile-hero__meta {
  font-size: 0.8rem;
  color: var(--pe-muted);
  margin-top: 4px;
}

.pe-profile-credit {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--pe-border);
}

.pe-profile-credit__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--pe-muted);
  margin-bottom: 8px;
}

.pe-profile-credit__head strong {
  color: var(--pe-text);
  font-size: 0.95rem;
}

.pe-profile-credit__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.pe-profile-credit__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pe-brand), var(--pe-brand-2));
}

.pe-profile-credit__hint {
  margin: 8px 0 0;
  font-size: 0.75rem;
  color: #fbbf24;
}

.pe-profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--pe-border);
  border-radius: var(--pe-radius-sm);
  overflow: hidden;
  margin-top: 16px;
}

.pe-profile-stats > div {
  background: var(--pe-surface);
  padding: 14px;
  text-align: center;
}

.pe-menu {
  margin: 0 16px 16px;
  border-radius: var(--pe-radius);
  border: 1px solid var(--pe-border);
  overflow: hidden;
  background: var(--pe-surface);
}

.pe-menu__title {
  padding: 14px 16px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pe-muted);
}

.pe-menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-top: 1px solid var(--pe-border);
  color: var(--pe-text);
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
}

.pe-menu__item:hover { background: rgba(255, 255, 255, 0.03); }

.pe-menu__item--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.pe-form--locked {
  opacity: 0.65;
  pointer-events: none;
}

.pe-form--locked .pe-btn[disabled] {
  opacity: 1;
}

/* Tabs */
.pe-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--pe-border);
  overflow-x: auto;
}

.pe-tabs__btn {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--pe-border);
  border-radius: 999px;
  background: transparent;
  color: var(--pe-muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.pe-tabs__btn--active {
  background: var(--pe-brand-dim);
  border-color: rgba(0, 201, 167, 0.45);
  color: var(--pe-brand);
}

.pe-tab-panel { display: none; padding: 16px; }
.pe-tab-panel--active { display: block; }

/* Withdraw review step */
.pe-withdraw-review {
  padding: 4px 0 8px;
}

.pe-withdraw-review__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
}

.pe-withdraw-review__hint {
  margin: 0 0 16px;
  color: var(--pe-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.pe-withdraw-review__list {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: var(--pe-radius);
  background: var(--pe-surface);
  border: 1px solid var(--pe-border);
}

.pe-withdraw-review__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--pe-border);
}

.pe-withdraw-review__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pe-withdraw-review__row dt {
  margin: 0;
  color: var(--pe-muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.pe-withdraw-review__row dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  word-break: break-all;
}

.pe-withdraw-review__wallet {
  max-width: 58%;
}

.pe-withdraw-review__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pe-btn--ghost {
  background: transparent;
  border: 1px solid var(--pe-border);
  color: var(--pe-text);
}

.pe-status--error {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.12);
}

/* Task grid — start page */
.pe-task-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
  border-radius: var(--pe-radius);
  background: var(--pe-surface);
  border: 1px solid var(--pe-border);
}

.pe-task-board__cell {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--pe-surface-2);
  border: 1px solid var(--pe-border);
}

.pe-task-board__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pe-task-board__start {
  grid-column: span 1;
  cursor: pointer;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  padding: 4px;
  transition: transform 0.2s ease;
}

.pe-task-board__start:focus-visible {
  outline: 2px solid var(--pe-brand);
  outline-offset: 4px;
  border-radius: 16px;
}

.pe-task-board__start:active:not(.is-busy) {
  transform: scale(0.96);
}

.pe-task-board__start.is-busy {
  pointer-events: none;
  opacity: 0.88;
}

.pe-task-board__start.is-busy .pe-start-btn__text {
  opacity: 0.75;
}

.pe-start-btn__aura {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.45) 0%, rgba(59, 130, 246, 0.2) 45%, transparent 70%);
  filter: blur(8px);
  animation: pe-start-aura 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pe-start-aura {
  0%, 100% { transform: scale(0.92); opacity: 0.65; }
  50% { transform: scale(1.08); opacity: 1; }
}

.pe-start-btn__ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 2px solid transparent;
  pointer-events: none;
}

.pe-start-btn__ring--1 {
  border-top-color: rgba(20, 184, 166, 0.9);
  border-right-color: rgba(59, 130, 246, 0.35);
  animation: pe-start-spin 3s linear infinite;
}

.pe-start-btn__ring--2 {
  inset: 2%;
  border-bottom-color: rgba(236, 72, 153, 0.55);
  border-left-color: rgba(20, 184, 166, 0.25);
  animation: pe-start-spin 4.5s linear infinite reverse;
}

@keyframes pe-start-spin {
  to { transform: rotate(360deg); }
}

.pe-start-btn__core {
  position: relative;
  z-index: 1;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.35), transparent 42%),
    linear-gradient(145deg, #14b8a6 0%, #0d9488 38%, #2563eb 100%);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.12),
    0 8px 24px rgba(20, 184, 166, 0.35),
    0 16px 40px rgba(37, 99, 235, 0.2),
    inset 0 -4px 12px rgba(0, 0, 0, 0.25);
  animation: pe-start-float 2.8s ease-in-out infinite;
}

@keyframes pe-start-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.pe-start-btn__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.pe-start-btn__shine {
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 60%
  );
  animation: pe-start-shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pe-start-shimmer {
  0%, 35% { transform: translateX(-60%) rotate(25deg); opacity: 0; }
  50% { opacity: 1; }
  65%, 100% { transform: translateX(60%) rotate(25deg); opacity: 0; }
}

.pe-start-btn__text {
  position: relative;
  z-index: 2;
  font-size: clamp(0.72rem, 3.2vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.25),
    0 0 18px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.pe-task-board__start:hover .pe-start-btn__core {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.2),
    0 10px 28px rgba(20, 184, 166, 0.45),
    0 20px 48px rgba(37, 99, 235, 0.28),
    inset 0 -4px 12px rgba(0, 0, 0, 0.25);
}

.pe-task-board__start:hover .pe-start-btn__aura {
  animation-duration: 1.8s;
}

/* Task records */
.px-task-card, .pe-task-card {
  background: linear-gradient(160deg, rgba(26, 39, 68, 0.95), rgba(18, 28, 49, 0.98));
  border: 1px solid var(--pe-border);
  border-radius: var(--pe-radius);
  padding: 16px;
  margin-bottom: 12px;
}

.px-task-card.cancelled,
.pe-task-card.cancelled {
  opacity: 0.72;
  border-color: rgba(248, 113, 113, 0.28);
}

.pe-badge--muted {
  background: rgba(148, 163, 184, 0.16);
  color: #94a3b8;
}

.pe-task-card .flex { display: flex; gap: 12px; }
.pe-task-card img { border-radius: 12px; object-fit: cover; }

.px-task-title, .pe-task-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.px-task-meta, .pe-task-meta {
  font-size: 0.8rem;
  color: var(--pe-muted);
}

.px-task-profit, .pe-task-profit { color: var(--pe-brand); font-weight: 600; }

.submit-btn, .pe-submit-btn {
  margin-top: 12px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--pe-brand), var(--pe-brand-2));
  color: #041018;
  cursor: pointer;
}

.px-empty-state, .pe-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--pe-muted);
  border: 1px dashed var(--pe-border);
  border-radius: var(--pe-radius);
}

.pe-record-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pe-muted);
}

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

.px-task-card--archived {
  opacity: 0.55;
  filter: grayscale(0.35);
}

/* Frozen (negative) balance card with continuous snowfall */
.pe-frozen-balance {
  position: relative;
  overflow: hidden;
  border-radius: var(--pe-radius);
  margin-bottom: 16px;
  padding: 20px 18px;
  border: 1px solid rgba(147, 210, 255, 0.45);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(120, 190, 255, 0.28), transparent 60%),
    linear-gradient(165deg, #14304f 0%, #0d2138 55%, #0a1b2e 100%);
  box-shadow: 0 20px 50px rgba(8, 24, 44, 0.55), inset 0 0 30px rgba(120, 190, 255, 0.12);
  isolation: isolate;
}

.pe-frozen-balance__frost {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 12% 8%, rgba(255, 255, 255, 0.18), transparent 70%),
    radial-gradient(50% 40% at 90% 100%, rgba(150, 205, 255, 0.22), transparent 70%);
  z-index: 1;
}

.pe-frozen-balance__body {
  position: relative;
  z-index: 3;
  text-align: center;
}

.pe-frozen-balance__head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(147, 210, 255, 0.16);
  border: 1px solid rgba(147, 210, 255, 0.35);
  color: #cbeaff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pe-frozen-balance__snowman {
  font-size: 0.95rem;
  animation: pe-snow-spin 6s linear infinite;
}

.pe-frozen-balance__amount {
  margin-top: 12px;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.1;
  color: #e8f6ff;
  text-shadow: 0 0 18px rgba(120, 190, 255, 0.65), 0 2px 6px rgba(0, 0, 0, 0.35);
}

.pe-frozen-balance__amount span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #9cc7e6;
  letter-spacing: 0.06em;
}

.pe-frozen-balance__note {
  margin: 10px auto 16px;
  max-width: 340px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #b7d6ec;
}

.pe-frozen-balance__note strong { color: #e8f6ff; }

.pe-frozen-balance__projection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 auto 16px;
  max-width: 320px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.32);
}

.pe-frozen-balance__projection-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #b7d6ec;
  text-align: left;
}

.pe-frozen-balance__projection-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #6ee7b7;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(52, 211, 153, 0.4);
}

.pe-frozen-balance__projection-value small {
  font-size: 0.7rem;
  font-weight: 600;
  color: #8fd9bd;
  letter-spacing: 0.05em;
}

.pe-total-assets-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.32);
}

.pe-total-assets-bar__label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #b7d6ec;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pe-total-assets-bar__value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #6ee7b7;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(52, 211, 153, 0.4);
}

.pe-total-assets-bar__value small {
  font-size: 0.7rem;
  font-weight: 600;
  color: #8fd9bd;
}

.pe-frozen-balance__btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: #06263f;
  background: linear-gradient(90deg, #bfe9ff, #7cc4ff);
  box-shadow: 0 8px 22px rgba(124, 196, 255, 0.4);
}

.pe-frozen-balance__btn:active { transform: translateY(1px); }

.pe-snow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.pe-snow i {
  position: absolute;
  top: -14px;
  display: block;
  border-radius: 50%;
  background: #ffffff;
  opacity: var(--pe-snow-o, 0.85);
  box-shadow: 0 0 6px rgba(200, 235, 255, 0.9);
  animation-name: pe-snowfall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

@keyframes pe-snowfall {
  0% { transform: translate3d(0, -14px, 0) rotate(0deg); }
  50% { transform: translate3d(10px, 120px, 0) rotate(180deg); }
  100% { transform: translate3d(-6px, 260px, 0) rotate(360deg); }
}

@keyframes pe-snow-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .pe-snow i, .pe-frozen-balance__snowman { animation: none; }
}

/* Prose content pages */
.pe-content {
  padding: 20px 16px 32px;
  line-height: 1.7;
  color: var(--pe-muted);
  font-size: 0.92rem;
}

.pe-content p { margin: 0 0 1rem; }

.pe-content a { color: var(--pe-brand); }

/* Footer */
.pe-footer {
  text-align: center;
  padding: 16px;
  font-size: 0.75rem;
  color: var(--pe-muted);
}

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

.pe-section-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pe-section-title a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pe-brand);
  text-decoration: none;
}

.pe-welcome-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.pe-welcome-row__user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pe-welcome-row__user img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.pe-welcome-row__name {
  font-weight: 700;
  font-size: 1.05rem;
}

.pe-notes {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--pe-radius);
  background: var(--pe-surface);
  border: 1px solid var(--pe-border);
  font-size: 0.85rem;
  color: var(--pe-muted);
  line-height: 1.6;
}

.pe-notes strong {
  display: block;
  color: var(--pe-text);
  margin-bottom: 8px;
}

.pe-history-list { list-style: none; margin: 0; padding: 0; }

.pe-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--pe-border);
  font-size: 0.88rem;
}

.pe-history-item:last-child { border-bottom: none; }

.pe-status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.pe-status--pending { background: rgba(255, 176, 32, 0.15); color: var(--pe-accent); }
.pe-status--success { background: rgba(61, 214, 140, 0.15); color: var(--pe-success); }

/* SweetAlert — task modals (solid, non-glass) */
.swal2-container {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.swal2-container.swal2-backdrop-show {
  background: rgba(0, 0, 0, 0.8) !important;
}

.swal2-popup.pe-swal {
  width: min(92vw, 380px);
  padding: 0;
  border-radius: 16px;
  border: 1px solid #2a3a55;
  background: #121c30 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  color: var(--pe-text);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  opacity: 1 !important;
}

.swal2-popup.pe-swal .swal2-title {
  padding: 0;
  margin: 0;
  font-size: 0;
}

.swal2-popup.pe-swal .swal2-html-container {
  margin: 0;
  padding: 20px 20px 8px;
  overflow: visible;
}

.swal2-popup.pe-swal .swal2-actions {
  width: 100%;
  margin: 0;
  padding: 8px 16px 18px;
  gap: 10px;
}

.swal2-popup.pe-swal .pe-swal__confirm,
.swal2-popup.pe-swal .pe-swal__cancel {
  flex: 1;
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.swal2-popup.pe-swal .pe-swal__confirm {
  background: #00c9a7;
  color: #041018;
  box-shadow: none;
}

.swal2-popup.pe-swal .pe-swal__cancel {
  background: #2e1f24;
  color: #ff9b9b;
  border: 1px solid #5a3840;
}

.swal2-popup.pe-swal--loading {
  padding: 28px 24px 24px;
}

.swal2-popup.pe-swal--loading .swal2-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pe-text);
  margin-top: 8px;
}

.pe-task-swal__media {
  width: 100%;
  min-height: 180px;
  max-height: min(52vh, 360px);
  border-radius: 14px;
  overflow: hidden;
  background: #0c1220;
  border: 1px solid var(--pe-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.pe-task-swal__media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(48vh, 336px);
  object-fit: contain;
  object-position: center;
  display: block;
}

.pe-task-swal__name {
  margin: 16px 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.pe-task-swal__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pe-task-swal__stats span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: #1a2740;
  border: 1px solid var(--pe-border);
  text-align: center;
}

.pe-task-swal__stats em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pe-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pe-task-swal__stats strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.pe-task-swal__profit {
  color: var(--pe-brand);
}

.pe-task-swal__resume {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #ffd080;
  background: #2a2218;
  border: 1px solid rgba(255, 176, 32, 0.35);
  text-align: center;
}

.pe-task-swal__badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbeaff;
  background: rgba(147, 210, 255, 0.16);
  border: 1px solid rgba(147, 210, 255, 0.4);
}

.pe-task-swal__combo-list {
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
}

.pe-task-swal__combo-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 14px;
}

.pe-task-swal__combo-thumb {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  flex: 0 0 88px;
}

.pe-task-swal__combo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pe-combo-record-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 0 0 auto;
  max-width: 160px;
}

.pe-combo-record-images__img,
.pe-combo-record-images__single {
  border-radius: 12px;
  object-fit: cover;
}

.pe-combo-record-images__img {
  width: 72px;
  height: 72px;
}

.pe-combo-record-images__single {
  width: 88px;
  height: 88px;
}

.pe-combo-record-list {
  display: grid;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 148px;
  max-width: 220px;
}

.pe-combo-record-item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pe-combo-record-item__img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 56px;
}

.pe-combo-record-item__name {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--pe-text);
}

.pe-combo-record-item__price {
  font-size: 0.76rem;
  color: #f6d365;
  margin-top: 2px;
}

.pe-task-swal__stats--combo-total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pe-task-swal__combo-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.pe-task-swal__media--sm {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
}

.pe-task-swal__combo-copy h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
}

.pe-task-swal__combo-copy .pe-task-swal__stats {
  margin-top: 0;
}

.pe-task-swal__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.32);
}

.pe-task-swal__total em {
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 600;
  color: #b7d6ec;
}

.pe-task-swal__total strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: #6ee7b7;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(52, 211, 153, 0.4);
}

.pe-task-swal__msg {
  margin: 14px 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #b7d6ec;
  text-align: center;
}

.pe-record-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.pe-record-actions .pe-btn {
  flex: 1;
  min-width: 100px;
  padding: 10px 14px;
  font-size: 0.85rem;
}

.px-task-card img {
  object-fit: contain;
  background: #0c1220;
  border: 1px solid var(--pe-border);
}

/* ── Accrueo layout polish (mobile + desktop) ── */
.pe-shell {
  overflow-x: clip;
}

.pe-brand__logo,
.pe-landing-nav__logo img,
.pe-landing-footer__logo img,
.pe-auth-hero__logo img,
.pe-auth-panel__mobile-logo img {
  width: auto;
  max-width: min(168px, 46vw);
  height: auto;
  max-height: 40px;
  object-fit: contain;
  object-position: left center;
}

.pe-landing-nav__logo img {
  max-height: 34px;
}

.pe-landing-footer__logo {
  display: flex;
  justify-content: center;
}

.pe-landing-footer__logo img {
  max-height: 36px;
}

.pe-auth-panel {
  padding: max(24px, env(safe-area-inset-top)) 20px max(36px, env(safe-area-inset-bottom));
  align-items: flex-start;
}

@media (min-width: 960px) {
  .pe-auth-panel {
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.pe-auth-card {
  padding: clamp(24px, 5vw, 32px) clamp(20px, 4vw, 28px);
}

.pe-auth-card--wide .pe-auth-form-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .pe-auth-card--wide .pe-auth-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pe-dash-stat {
  min-width: 0;
}

.pe-dash-stat__value {
  word-break: break-word;
}

.pe-landing-section__inner {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .pe-landing-section__inner {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.pe-landing-feature-grid {
  align-items: stretch;
}

.pe-landing-card,
.pe-landing-tier,
.pe-dash-tier {
  height: 100%;
}

.pe-footer,
.pe-landing-footer__copy {
  text-align: center;
  line-height: 1.5;
}

.pe-btn {
  min-height: 48px;
}

.pe-nav__label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Accrueo responsive refinements ── */
.pe-landing-nav {
  gap: 12px;
}

.pe-landing-hero__grid {
  align-items: center;
}

.pe-landing-hero__lead {
  max-width: 52ch;
}

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

@media (min-width: 640px) {
  .pe-dash-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

.pe-dash-actions--row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.pe-dash-actions--row .pe-dash-action {
  min-height: 72px;
  padding: 10px 6px;
  border-radius: 14px;
  gap: 6px;
}

.pe-dash-actions--row .pe-dash-action__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.pe-dash-actions--row .pe-dash-action__icon svg {
  width: 16px;
  height: 16px;
}

.pe-dash-actions--row .pe-dash-action__label {
  font-size: 0.68rem;
}

.pe-dash-notify-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--pe-border);
  background: rgba(14, 22, 38, 0.65);
  color: var(--pe-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.pe-dash-notify-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, 0.4);
  background: rgba(20, 184, 166, 0.08);
}

.pe-dash-notify-btn .pe-dash-action__icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.pe-dash-notify-btn .pe-dash-action__icon svg {
  width: 15px;
  height: 15px;
}

.pe-dash-salary {
  padding: 0 14px;
  margin: 12px 0 4px;
}

.pe-dash-salary__btn {
  width: 100%;
}

.pe-dash-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 14px;
}

@media (min-width: 640px) {
  .pe-dash-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0 16px;
  }
}

.pe-field input,
.pe-field select,
.pe-field textarea {
  width: 100%;
}

.pe-content-page {
  padding: 16px;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}

.pe-content-page h1,
.pe-content-page h2 {
  line-height: 1.25;
}

.pe-subheader {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
}

.pe-landing-nav__menu.is-open {
  display: flex;
}

@media (max-width: 767px) {
  .pe-landing-hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .pe-landing-hero__cta .pe-btn {
    width: 100%;
    justify-content: center;
  }

  .pe-landing-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.pe-auth-page {
  min-height: 100dvh;
}

.pe-auth-card {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

img.pe-brand__logo {
  display: block;
}

.pe-profile-edit-wrap {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pe-profile-edit-hint {
  margin: 0 0 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.pe-input--readonly,
.pe-field input[readonly] {
  opacity: 0.72;
  cursor: not-allowed;
}

.pe-profile-details {
  margin: 0 16px 16px;
  padding: 4px 0;
  border: 1px solid var(--pe-border);
  border-radius: var(--pe-radius-sm);
  background: var(--pe-surface);
  overflow: hidden;
}

.pe-profile-details__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--pe-border);
  font-size: 0.88rem;
}

.pe-profile-details__row:last-child {
  border-bottom: none;
}

.pe-profile-details__row span {
  color: var(--pe-muted);
}

.pe-profile-details__row strong {
  text-align: right;
  word-break: break-word;
  max-width: 62%;
}

.pe-wallet-intro {
  padding: 16px 16px 0;
  margin: 0;
  color: var(--pe-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.pe-wallet-intro a {
  color: var(--pe-brand);
}

/* Admin impersonation banner */
.pe-impersonate-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(255, 176, 32, 0.18), rgba(255, 120, 32, 0.12));
  border-bottom: 1px solid rgba(255, 176, 32, 0.35);
  color: #ffe8b8;
  font-size: 0.88rem;
  position: sticky;
  top: 0;
  z-index: 1200;
}

.pe-impersonate-bar strong {
  color: #fff;
}

.pe-impersonate-bar__btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
}

.pe-impersonate-bar__btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Support page */
.pe-support-hero {
  margin: 16px;
  padding: 22px 18px;
  border-radius: var(--pe-radius);
  border: 1px solid var(--pe-border);
  background: linear-gradient(160deg, rgba(20, 184, 166, 0.12), rgba(37, 99, 235, 0.08));
  text-align: center;
}

.pe-support-hero__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--pe-brand-dim);
  color: var(--pe-brand);
}

.pe-support-hero__icon svg {
  width: 26px;
  height: 26px;
}

.pe-support-hero h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.pe-support-hero p {
  margin: 0;
  color: var(--pe-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.pe-support-hours {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
}

.pe-support-hours strong {
  color: var(--pe-brand);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pe-support-section {
  padding: 0 16px 18px;
}

.pe-support-section h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.pe-support-grid {
  display: grid;
  gap: 12px;
}

.pe-support-card {
  padding: 16px;
  border-radius: var(--pe-radius);
  border: 1px solid var(--pe-border);
  background: rgba(255, 255, 255, 0.02);
}

.pe-support-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background: var(--pe-brand-dim);
  color: var(--pe-brand);
}

.pe-support-card__icon svg {
  width: 22px;
  height: 22px;
}

.pe-support-card h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.pe-support-card p {
  margin: 0 0 10px;
  color: var(--pe-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.pe-support-card__value {
  font-size: 0.82rem;
  color: #cbd5e1;
  word-break: break-word;
  margin-bottom: 12px;
}

.pe-support-card__btn {
  width: 100%;
  text-decoration: none;
  text-align: center;
}

.pe-support-topics {
  display: grid;
  gap: 10px;
}

.pe-support-topic {
  padding: 14px;
  border-radius: var(--pe-radius-sm);
  border: 1px solid var(--pe-border);
  background: rgba(255, 255, 255, 0.02);
}

.pe-support-topic h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.pe-support-topic p {
  margin: 0;
  color: var(--pe-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.pe-support-section--links {
  display: grid;
  gap: 8px;
  padding-bottom: 24px;
}

.pe-support-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--pe-radius-sm);
  border: 1px solid var(--pe-border);
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.02);
}

.pe-support-link span {
  color: var(--pe-brand);
}
