:root {
  --bg: #faf5f3;
  --surface: #ffffffdd;
  --surface-solid: #ffffff;
  --text: #3a2f33;
  --muted: #8a7880;
  --accent: #e0a3b8;
  --accent-strong: #c27b96;
  --line: #f0dce2;
  --shadow: 0 18px 45px rgba(180, 130, 150, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, #f8dce6 0%, #f8dce600 28%),
    radial-gradient(circle at 88% 2%, #f5e4d4 0%, #f5e4d400 22%),
    linear-gradient(165deg, #fdf8f6 0%, #f9f2ee 45%, #fdf7f4 100%);
  font-family: "Plus Jakarta Sans", sans-serif;
  min-height: 100vh;
}

.page-glow {
  position: fixed;
  width: 28rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}

.page-glow--one {
  background: rgba(224, 163, 184, 0.18);
  top: -10rem;
  right: -7rem;
}

.page-glow--two {
  background: rgba(220, 190, 160, 0.16);
  bottom: -12rem;
  left: -8rem;
  animation-delay: 2.2s;
}

.site-header {
  width: min(1120px, calc(100% - 3rem));
  margin: 1.2rem auto 0;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0.8rem;
  z-index: 20;
}

.brand {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo {
  height: 2.8rem;
  width: auto;
  display: block;
}

.brand-logo--small {
  height: 2rem;
}

.brand-admin-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: rgba(194, 123, 150, 0.15);
  color: var(--accent-strong);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--text);
}

.button {
  border: 0;
  border-radius: 100px;
  padding: 0.78rem 1.3rem;
  background: linear-gradient(130deg, #dea0b8, #c27b96);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 12px 20px rgba(194, 123, 150, 0.18);
}

.button:hover {
  transform: translateY(-2px);
  filter: saturate(1.04) brightness(1.02);
}

.button--small {
  padding-inline: 1rem;
  font-size: 0.9rem;
}

.button--ghost {
  background: #fff;
  color: var(--accent-strong);
  border: 1px solid #ecc8d6;
  box-shadow: none;
}

.button--full {
  width: 100%;
  margin-top: 0.5rem;
}

.section {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.hero {
  padding-top: 5.2rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin-top: 0.6rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.6rem;
}

p {
  line-height: 1.65;
  color: var(--muted);
}

.hero__content p {
  max-width: 54ch;
}

.hero__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.hero__panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  animation: rise 1.1s ease;
}

.session-list {
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.session-list li {
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
}

.session-list span {
  color: var(--text);
  font-weight: 500;
}

.session-list strong {
  color: var(--accent-strong);
}

.panel-note {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.pillars {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 1.5rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-solid);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.card p {
  margin-bottom: 0;
}

.section-head {
  margin-bottom: 1.8rem;
}

.section-head h2 {
  margin-top: 0.4rem;
}

.booking__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.05fr 0.95fr;
}

.class-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.class-list li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.82rem;
  display: grid;
  gap: 0.25rem;
}

.class-list strong {
  font-size: 1rem;
}

.class-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-card {
  display: grid;
  gap: 0.65rem;
}

label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #7a6670;
}

input,
select {
  width: 100%;
  border: 1px solid #e8d0d8;
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  font: inherit;
  background: #fff;
  color: var(--text);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 163, 184, 0.18);
}

.feedback {
  min-height: 1.25rem;
  margin: 0.3rem 0 0;
  color: #4a9e7e;
  font-size: 0.9rem;
  font-weight: 500;
}

.feedback-error {
  color: #b84a6a;
}

.feedback-success {
  color: #4a9e7e;
}

.packages {
  padding-top: 4.2rem;
}

.package-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.package-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.35rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.package-card--featured {
  border: 1px solid var(--accent);
  background: linear-gradient(160deg, #fdf5f8, #fff);
}

.chip {
  margin: 0;
  display: inline-flex;
  border-radius: 100px;
  padding: 0.28rem 0.62rem;
  background: rgba(194, 123, 150, 0.15);
  color: var(--accent-strong);
  font-size: 0.73rem;
  font-weight: 700;
}

.package-name {
  margin: 0.7rem 0 0.1rem;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
}

.price {
  margin: 0;
  color: var(--accent-strong);
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  line-height: 1;
}

.package-copy {
  margin-top: 0.45rem;
  margin-bottom: 1rem;
  font-size: 0.93rem;
}

.checkout {
  margin-top: 1rem;
  max-width: 34rem;
}

.contact {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(150deg, #fff, #fdf5f7);
  padding: 3.1rem 1.1rem;
  margin-top: 1.4rem;
  margin-bottom: 2.4rem;
}

.contact p {
  margin: 0.6rem auto 0;
  max-width: 48ch;
}

.contact .hero__actions {
  justify-content: center;
}

.site-footer {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 0.6rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="1"] {
  transition-delay: 0.16s;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.admin-layout {
  display: grid;
  gap: 1.2rem;
}

.admin-layout h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.admin-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-token-row {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr auto auto;
  align-items: center;
}

.admin-inline-form {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
}

.admin-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.admin-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem;
  display: grid;
  gap: 0.6rem;
}

.admin-item-input {
  margin: 0;
}

.admin-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.admin-empty {
  border: 1px dashed var(--accent);
  border-radius: 14px;
  padding: 0.75rem;
  color: var(--muted);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2rem, -1rem, 0) scale(1.08);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    width: calc(100% - 1.4rem);
    margin-top: 0.7rem;
    padding-inline: 0.95rem;
  }

  .section {
    width: calc(100% - 1.4rem);
    padding: 4.1rem 0;
  }

  .hero,
  .booking__grid {
    grid-template-columns: 1fr;
  }

  .pillars,
  .package-grid,
  .admin-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 4.2rem;
  }
}

@media (max-width: 700px) {
  .site-nav {
    display: none;
  }

  .site-header .button {
    padding-inline: 0.86rem;
  }

  .pillars,
  .package-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-token-row {
    grid-template-columns: 1fr;
  }

  .admin-inline-form {
    grid-template-columns: 1fr;
  }

  .contact {
    padding-block: 2.4rem;
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }
}

/* ═══════════════════════════════════════════════════════════
   CLIENT: Auth, Calendar, Profile
   ═══════════════════════════════════════════════════════════ */

.header-auth { display: flex; align-items: center; gap: 0.5rem; }

/* Auth modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(58,47,51,0.4); backdrop-filter: blur(6px); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-box { width: min(440px, 100%); max-height: 90vh; overflow-y: auto; position: relative; padding: 2rem; }
.modal-close { position: absolute; top: 0.8rem; right: 1rem; border: 0; background: none; font-size: 1.6rem; cursor: pointer; color: var(--muted); line-height: 1; }
.auth-switch { margin-top: 0.8rem; font-size: 0.9rem; text-align: center; }
.auth-switch a { color: var(--accent-strong); font-weight: 600; }

/* Calendar */
.cal-gate { text-align: center; padding: 3rem 1.5rem; }
.cal-wrap { display: grid; gap: 1rem; }
.cal-header { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.cal-week-label { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 700; }
.cal-credit-bar { padding: 0.5rem 0; }
.credit-pill { display: inline-block; padding: 0.35rem 0.9rem; border-radius: 100px; font-size: 0.88rem; font-weight: 600; }
.credit-pill--ok { background: rgba(74,158,126,0.1); color: #4a9e7e; }
.credit-pill--empty { background: rgba(184,74,106,0.1); color: #b84a6a; }
.credit-pill--empty a { color: var(--accent-strong); font-weight: 700; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.5rem; }
.cal-day { border: 1px solid var(--line); border-radius: 16px; padding: 0.6rem; min-height: 120px; background: var(--surface-solid); }
.cal-day--today { border-color: var(--accent); background: #fdf5f8; }
.cal-day-label { font-weight: 700; font-size: 0.82rem; color: var(--accent-strong); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.cal-empty { font-size: 0.8rem; color: var(--muted); }
.cal-event { border: 1px solid var(--line); border-radius: 12px; padding: 0.5rem; margin-bottom: 0.4rem; background: #fff; }
.cal-event--booked { border-color: #4a9e7e; background: rgba(74,158,126,0.05); }
.cal-event--full { opacity: 0.55; }
.cal-ev-time { font-weight: 700; font-size: 0.85rem; color: var(--accent-strong); }
.cal-ev-name { font-weight: 600; font-size: 0.82rem; }
.cal-ev-instructor { font-size: 0.78rem; color: var(--muted); }
.cal-ev-spots { font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; }
.cal-ev-actions { display: flex; gap: 0.3rem; align-items: center; margin-top: 0.3rem; }
.cal-booked-badge { font-size: 0.78rem; font-weight: 600; color: #4a9e7e; }
.cal-cancel-btn { border: 0; background: none; color: #b84a6a; font-size: 0.75rem; cursor: pointer; text-decoration: underline; padding: 0; }
.cal-book-btn { font-size: 0.78rem !important; padding: 0.35rem 0.7rem !important; }
.cal-no-credits { font-size: 0.75rem; color: #b84a6a; }
.cal-full-badge { font-size: 0.75rem; color: var(--muted); font-weight: 600; }

/* Profile */
.profile-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.profile-summary { grid-column: 1 / -1; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-top: 1rem; }
.stat-card { border: 1px solid var(--line); border-radius: 16px; padding: 1rem; text-align: center; background: #fff; }
.stat-value { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--accent-strong); line-height: 1.1; }
.stat-label { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 0.3rem; }
.credit-row { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 0.5rem; }
.credit-row--used { opacity: 0.5; }
.credit-price { text-align: right; font-weight: 600; color: var(--accent-strong); }
.booking-row, .payment-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem; border-bottom: 1px solid var(--line); }
.payment-amount { text-align: right; font-weight: 600; }
.method-badge { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 100px; font-size: 0.72rem; font-weight: 600; }
.method-badge--cash { background: rgba(74,158,126,0.12); color: #4a9e7e; }
.method-badge--card { background: rgba(194,123,150,0.12); color: var(--accent-strong); }
.empty-msg { color: var(--muted); font-size: 0.9rem; padding: 0.5rem 0; }
.empty-msg a { color: var(--accent-strong); font-weight: 600; }
.package-detail { font-size: 0.85rem; color: var(--accent-strong); font-weight: 600; margin-top: 0.2rem; }

/* ═══════════════════════════════════════════════════════════
   ADMIN: Layout, Sidebar, Tables, Forms
   ═══════════════════════════════════════════════════════════ */

.adm-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 10rem); width: min(1400px, calc(100% - 2rem)); margin: 1rem auto; gap: 1rem; }
.adm-sidebar { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.5rem; background: var(--surface-solid); border: 1px solid var(--line); border-radius: 18px; height: fit-content; position: sticky; top: 5rem; }
.adm-tab { border: 0; background: none; padding: 0.65rem 1rem; border-radius: 12px; text-align: left; font: inherit; font-size: 0.9rem; font-weight: 500; cursor: pointer; color: var(--muted); transition: background 0.15s; }
.adm-tab:hover { background: rgba(194,123,150,0.08); }
.adm-tab.active { background: rgba(194,123,150,0.15); color: var(--accent-strong); font-weight: 700; }
.adm-main { min-width: 0; }
.adm-section { display: none; }
.adm-section.active { display: block; }
.adm-section h2 { font-size: clamp(1.6rem,3vw,2.2rem); margin-bottom: 1rem; }

/* Date range */
.adm-date-range { display: flex; gap: 0.6rem; align-items: end; flex-wrap: wrap; margin-bottom: 1rem; }
.adm-date-range label { font-size: 0.82rem; font-weight: 600; color: #7a6670; display: flex; flex-direction: column; gap: 0.2rem; }
.adm-date-range input[type='date'] { padding: 0.45rem 0.6rem; border: 1px solid #e8d0d8; border-radius: 10px; font: inherit; font-size: 0.88rem; }

/* Stats grid */
.adm-stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.8rem; margin-bottom: 1.2rem; }

/* Tables */
.adm-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.adm-table th { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 2px solid var(--line); font-weight: 700; color: var(--accent-strong); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.adm-table td { padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); }
.adm-table tr:hover td { background: rgba(194,123,150,0.04); }

/* Row items */
.adm-row { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 0.5rem; background: #fff; }
.adm-row-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }

/* Form grid */
.adm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.5rem; }
.adm-form-grid label { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.82rem; font-weight: 600; color: #7a6670; }
.adm-form-grid input, .adm-form-grid select { padding: 0.5rem 0.65rem; border: 1px solid #e8d0d8; border-radius: 10px; font: inherit; font-size: 0.88rem; }
.adm-form-actions { grid-column: 1 / -1; display: flex; gap: 0.5rem; margin-top: 0.3rem; }

/* Mobile admin */
@media (max-width: 900px) {
  .adm-layout { grid-template-columns: 1fr; }
  .adm-sidebar { flex-direction: row; overflow-x: auto; position: static; border-radius: 14px; }
  .adm-tab { white-space: nowrap; font-size: 0.82rem; padding: 0.5rem 0.8rem; }
  .adm-form-grid { grid-template-columns: 1fr; }
}

/* Mobile calendar */
@media (max-width: 800px) {
  .cal-grid { grid-template-columns: 1fr; }
  .cal-day { min-height: auto; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-stats { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD: Layout, Sidebar, Tabs, Bottom Nav
   ═══════════════════════════════════════════════════════════ */

.dash {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.dash-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  background: var(--surface-solid);
  border-right: 1px solid var(--line);
  z-index: 30;
  overflow-y: auto;
}

.dash-sidebar .brand {
  margin-bottom: 2rem;
  padding-left: 0.5rem;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.dash-nav-item:hover {
  background: rgba(194, 123, 150, 0.08);
  color: var(--text);
}

.dash-nav-item.is-active {
  background: rgba(194, 123, 150, 0.15);
  color: var(--accent-strong);
  font-weight: 700;
}

.dash-nav-item svg {
  flex-shrink: 0;
}

.dash-sidebar-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.dash-logout-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.dash-logout-btn:hover {
  background: rgba(184, 74, 106, 0.08);
  color: #b84a6a;
}

/* Mobile header - hidden on desktop */
.dash-mobile-header {
  display: none;
}

/* Main content */
.dash-main {
  grid-column: 2;
  padding: 2rem 2.5rem;
  max-width: 960px;
  width: 100%;
}

.dash-tab {
  display: none;
}

.dash-tab.is-active {
  display: block;
}

.dash-tab-header {
  margin-bottom: 1.5rem;
}

.dash-tab-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0;
}

.dash-subtitle {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Bottom nav - hidden on desktop */
.dash-bottom-nav {
  display: none;
}

/* ── Dashboard Responsive ──────────────────────────────── */

@media (max-width: 800px) {
  .dash {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .dash-sidebar {
    display: none;
  }

  .dash-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background: var(--surface-solid);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 30;
  }

  .dash-mobile-header .brand {
    font-size: 0.9rem;
  }

  .dash-mobile-header .dash-logout-btn {
    width: auto;
    padding: 0.5rem;
  }

  .dash-mobile-header .dash-logout-btn span {
    display: none;
  }

  .dash-main {
    grid-column: 1;
    padding: 1.2rem 1rem;
    padding-bottom: 5rem;
    flex: 1;
  }

  .dash-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface-solid);
    border-top: 1px solid var(--line);
    padding: 0.4rem 0;
    z-index: 30;
    justify-content: space-around;
  }

  .dash-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.35rem 0.6rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 500;
    transition: color 0.15s;
    border-radius: 8px;
  }

  .dash-bottom-item.is-active {
    color: var(--accent-strong);
    font-weight: 700;
  }

  .dash-bottom-item:hover {
    color: var(--text);
  }

  /* Calendar adjustments for dashboard mobile */
  .dash-tab .cal-grid {
    grid-template-columns: 1fr;
  }
  .dash-tab .cal-day {
    min-height: auto;
  }

  .dash-tab .profile-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* Dashboard credits card */
.dash-cta-card {
  background: linear-gradient(150deg, #fff, #fdf5f7);
  text-align: center;
}

.dash-cta-card p {
  margin: 0 0 1rem;
}
