/* ─────────────────────────────────────────────────────────────
   CORE — Website Stylesheet
   Edit the :root variables below to update branding globally.
   ───────────────────────────────────────────────────────────── */

:root {
  --primary:      #F47B20;
  --primary-dim:  rgba(244, 123, 32, 0.14);
  --accent:       #E8325A;
  --bg:           #102031;
  --surface:      #163149;
  --card:         #1B3953;
  --border:       #31516D;
  --fg:           #F8F2E9;
  --fg-muted:     rgba(248, 242, 233, 0.55);
  --radius-sm:    10px;
  --radius:       16px;
  --radius-lg:    24px;
  --font:         -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  --max-w:        1100px;
  --nav-h:        64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Utility ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─────────────────────────────────────────────────────────────
   NAV
   ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(16, 32, 49, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.3px;
  color: var(--fg);
}
.nav__logo img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg-muted);
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--fg); }
.nav__cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px;
  transition: opacity 0.15s;
}
.nav__cta:hover { opacity: 0.88; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-muted);
  padding: 4px 0;
}
.nav__mobile a:hover { color: var(--fg); }
.nav__mobile .nav__cta {
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
}

/* ─────────────────────────────────────────────────────────────
   PAGE SHELL
   ───────────────────────────────────────────────────────────── */
.page-body { padding-top: var(--nav-h); }

/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-dim);
  border: 1px solid rgba(244, 123, 32, 0.3);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero__title {
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.0;
  margin-bottom: 20px;
  color: var(--fg);
}
.hero__title span { color: var(--primary); }
.hero__sub {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 600;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1px;
  transition: opacity 0.15s, transform 0.15s;
  cursor: pointer;
  border: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--outline {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--border);
}
.btn--outline:hover { border-color: var(--fg-muted); }

/* ─────────────────────────────────────────────────────────────
   FEATURES
   ───────────────────────────────────────────────────────────── */
.features {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.section-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.55;
}
.features__header { margin-bottom: 52px; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(244, 123, 32, 0.35); }
.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.feature-card__title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.1px;
  color: var(--fg);
  margin-bottom: 8px;
}
.feature-card__desc {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────
   PREMIUM STRIP
   ───────────────────────────────────────────────────────────── */
.premium {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.premium__inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.premium__text .section-sub { max-width: 400px; }
.premium__cta { flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.2px;
  color: var(--fg);
}
.footer__copy {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  margin-top: 4px;
}
.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-muted);
  transition: color 0.15s;
}
.footer__links a:hover { color: var(--fg); }

/* ─────────────────────────────────────────────────────────────
   LEGAL / CONTENT PAGES
   ───────────────────────────────────────────────────────────── */
.content-page {
  padding: 72px 0 96px;
  max-width: 760px;
  margin: 0 auto;
}
.content-page__header { margin-bottom: 48px; }
.content-page__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 12px;
}
.content-page__meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
}
.review-notice {
  background: rgba(244, 123, 32, 0.12);
  border: 1px solid rgba(244, 123, 32, 0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 40px;
  line-height: 1.5;
}
.content-body h2 {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.2px;
  color: var(--fg);
  margin: 40px 0 12px;
}
.content-body h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--fg);
  margin: 24px 0 8px;
}
.content-body p {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.content-body ul, .content-body ol {
  padding-left: 20px;
  margin-bottom: 14px;
}
.content-body li {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 4px;
}
.content-body a { color: var(--primary); text-decoration: underline; }
.content-body a:hover { opacity: 0.8; }
.content-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 36px 0;
}

/* Support page */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.support-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.support-card__icon { font-size: 28px; margin-bottom: 12px; }
.support-card__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 8px;
}
.support-card__desc {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  line-height: 1.55;
}
.support-card__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
}

/* Delete account page */
.steps-list { list-style: none; padding: 0; margin: 28px 0; }
.steps-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-muted);
  line-height: 1.6;
}
.steps-list li:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  margin-top: 1px;
}
.warning-box {
  background: rgba(232, 50, 90, 0.1);
  border: 1px solid rgba(232, 50, 90, 0.3);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 13px;
  font-weight: 700;
  color: #E8325A;
  line-height: 1.55;
  margin: 24px 0;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero { padding: 64px 0 56px; }

  .features__grid { grid-template-columns: 1fr; }

  .premium__inner {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }
  .premium__text .section-sub { max-width: 100%; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 20px; }

  .support-grid { grid-template-columns: 1fr; }

  .content-page { padding: 48px 0 72px; }
}

@media (max-width: 480px) {
  .hero__title { letter-spacing: -1.5px; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions { flex-direction: column; }
}

/* ─────────────────────────────────────────────────────────────
   AUTH — Sign-in page
   ───────────────────────────────────────────────────────────── */
.auth-wrap {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.auth-card__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  color: var(--fg);
  margin-bottom: 28px;
}
.auth-card__logo img { width: 34px; height: 34px; border-radius: 8px; }
.auth-card__title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.4px;
  color: var(--fg);
  margin-bottom: 5px;
}
.auth-card__sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 7px;
}
.field input {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  font-family: var(--font);
  outline: none;
  transition: border-color 0.15s;
}
.field input::placeholder { color: var(--fg-muted); opacity: 0.55; }
.field input:focus { border-color: var(--primary); }
.field input.field--error { border-color: var(--accent); }
.field__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}
.field__row label { margin-bottom: 0; }
.field__link {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.1px;
}
.field__link:hover { opacity: 0.8; }
.form-error {
  background: rgba(232, 50, 90, 0.1);
  border: 1px solid rgba(232, 50, 90, 0.28);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #E8325A;
  margin-bottom: 16px;
  display: none;
}
.form-error.show { display: block; }
.form-success {
  background: rgba(44, 168, 127, 0.1);
  border: 1px solid rgba(44, 168, 127, 0.28);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #2CA87F;
  margin-bottom: 16px;
  display: none;
}
.form-success.show { display: block; }
.btn--full { width: 100%; justify-content: center; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-divider span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.btn--google {
  width: 100%;
  justify-content: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--fg);
}
.btn--google:hover { border-color: var(--fg-muted); opacity: 1; transform: none; }
.auth-switch {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
}
.auth-switch a { color: var(--primary); font-weight: 700; }

/* Full-page auth loading */
.auth-loading {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  transition: opacity 0.2s;
}
.auth-loading.hidden { opacity: 0; pointer-events: none; }
.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─────────────────────────────────────────────────────────────
   ACCOUNT PAGE
   ───────────────────────────────────────────────────────────── */
.account-wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 52px 24px 96px;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-header__name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.4px;
  color: var(--fg);
  margin-bottom: 2px;
}
.profile-header__username {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-muted);
  margin-bottom: 10px;
}
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.tier-badge--free {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg-muted);
}
.tier-badge--premium {
  background: rgba(244, 123, 32, 0.14);
  border: 1px solid rgba(244, 123, 32, 0.3);
  color: var(--primary);
}
.account-section { margin-bottom: 24px; }
.account-section__label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 10px;
}
.info-list {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.info-row:last-child { border-bottom: none; }
.info-row__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-muted);
  flex-shrink: 0;
}
.info-row__value {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
  text-align: right;
  word-break: break-all;
}
.account-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
.btn--outline-muted {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--fg);
  justify-content: center;
}
.btn--outline-muted:hover { border-color: var(--fg-muted); opacity: 1; transform: none; }
.btn--danger {
  background: rgba(232, 50, 90, 0.1);
  border: 1.5px solid rgba(232, 50, 90, 0.25);
  color: #E8325A;
  justify-content: center;
}
.btn--danger:hover { background: rgba(232, 50, 90, 0.16); opacity: 1; transform: none; }
.app-nudge {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.app-nudge__icon { font-size: 28px; flex-shrink: 0; }
.app-nudge__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 2px;
}
.app-nudge__desc {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
}

@media (max-width: 480px) {
  .auth-card { padding: 28px 20px; }
  .profile-header { flex-direction: column; align-items: flex-start; }
}

/* ─────────────────────────────────────────────────────────────
   DASHBOARD
   ───────────────────────────────────────────────────────────── */
.nav__active { color: var(--fg) !important; }

.dashboard-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 52px 24px 96px;
}
.dashboard-header { margin-bottom: 28px; }
.dashboard-header__greeting {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-muted);
  margin-bottom: 4px;
}
.dashboard-header__title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--fg);
  margin-bottom: 4px;
}
.dashboard-header__sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-muted);
}

/* Filter tabs */
.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.filter-tab {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 800;
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font);
}
.filter-tab:hover { border-color: var(--fg-muted); color: var(--fg); }
.filter-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Loading state for stats */
.stats-loading {
  display: flex;
  justify-content: center;
  padding: 48px 0;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.stat-card:hover { border-color: rgba(244, 123, 32, 0.3); }
.stat-card__icon { font-size: 22px; margin-bottom: 14px; }
.stat-card__value {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 7px;
  transition: filter 0.2s;
}
.stat-card__label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* Locked premium card */
.stat-card--locked .stat-card__value {
  filter: blur(10px);
  user-select: none;
  pointer-events: none;
}
.lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(16, 32, 49, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  gap: 5px;
  border-radius: var(--radius);
}
.lock-overlay__icon { font-size: 20px; }
.lock-overlay__label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary);
}
.lock-overlay__sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--fg-muted);
}

/* Recent workouts */
.recent-section { }
.recent-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.recent-section__title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.workout-list {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.workout-row {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.workout-row:last-child { border-bottom: none; }
.workout-row__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 3px;
}
.workout-row__name {
  font-size: 14px;
  font-weight: 800;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.workout-row__date {
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-muted);
  flex-shrink: 0;
}
.workout-row__meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
}
.workout-row__dot {
  display: inline-block;
  margin: 0 5px;
  opacity: 0.4;
}
.recent-nudge {
  text-align: center;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
}
.recent-nudge span { color: var(--primary); }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 52px 24px;
}
.empty-state__icon { font-size: 40px; margin-bottom: 14px; }
.empty-state__title {
  font-size: 16px;
  font-weight: 900;
  color: var(--fg);
  margin-bottom: 6px;
}
.empty-state__sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
}

/* Period empty note */
.period-empty {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  margin-bottom: 28px;
}
.period-empty p {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-muted);
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ── Expandable workout rows ── */
.workout-entry:not(:last-child) { border-bottom: 1px solid var(--border); }
.workout-row {
  cursor: pointer;
  user-select: none;
  transition: background 0.1s;
}
.workout-row:hover { background: rgba(22, 49, 73, 0.6); }
.workout-row__chevron {
  font-size: 18px;
  line-height: 1;
  color: var(--fg-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.workout-row__chevron.open { transform: rotate(90deg); }
.workout-detail {
  display: none;
  padding: 18px 18px 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.workout-detail.open { display: block; }
.workout-detail__loading {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}
.workout-detail__empty {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  text-align: center;
  padding: 8px 0;
}

/* ── Exercises grid inside expanded row ── */
.exercises-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.exercise-block__name {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.set-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(49, 81, 109, 0.45);
  font-size: 12px;
  font-weight: 700;
}
.set-row:last-child { border-bottom: none; }
.set-row__num {
  color: var(--fg-muted);
  min-width: 36px;
  flex-shrink: 0;
}
.set-row__data {
  color: var(--fg);
  flex: 1;
}
.set-row__effort {
  color: var(--fg-muted);
  font-size: 11px;
  flex-shrink: 0;
}
.set-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: rgba(244, 123, 32, 0.18);
  color: var(--primary);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 900;
  margin-left: 4px;
  vertical-align: middle;
}

@media (max-width: 560px) {
  .exercises-grid { grid-template-columns: 1fr; }
}
