/* ---------- Reset + tokens ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-2: #f4f1ec;
  --ink: #0c0a09;
  --ink-2: #1c1917;
  --muted: #78716c;
  --muted-2: #a8a29e;
  --line: #ece9e3;
  --line-strong: #d6d3cd;

  --brand: #0f766e;
  --brand-ink: #064e48;
  --brand-soft: #ccfbf1;
  --brand-tint: #f0fdfa;

  --accent: #f59e0b;
  --accent-ink: #b45309;
  --accent-soft: #fef3c7;

  --danger: #dc2626;
  --success: #16a34a;
  --star: #eab308;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(28,25,23,.06), 0 1px 1px rgba(28,25,23,.04);
  --shadow-md: 0 6px 20px -8px rgba(28,25,23,.18), 0 2px 6px rgba(28,25,23,.06);
  --shadow-lg: 0 24px 60px -20px rgba(28,25,23,.28), 0 8px 20px -8px rgba(28,25,23,.12);

  --max: 1200px;
  --pad: clamp(16px, 4vw, 28px);

  --t-fast: 140ms cubic-bezier(.2,.7,.3,1);
  --t: 220ms cubic-bezier(.2,.7,.3,1);
}

html { color-scheme: light; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.view { flex: 1; }
.muted { color: var(--muted); }
.serif { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.01em; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand);
  padding: 4px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-word { color: var(--ink); }
.footer-brand .brand-mark { width: 28px; height: 28px; padding: 3px; }
.topnav { display: flex; gap: 6px; margin-left: 8px; }
.topnav a {
  padding: 8px 12px; border-radius: 999px; font-weight: 500; color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.topnav a:hover { background: var(--surface-2); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: background var(--t-fast);
}
.icon-btn:hover { background: var(--surface-2); }
.avatar-btn {
  width: 40px; height: 40px; border-radius: 999px;
  background: linear-gradient(140deg, var(--brand), #14b8a6);
  color: white; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 999px; align-items: center; justify-content: center; color: var(--ink-2); }
.menu-btn:hover { background: var(--surface-2); }
.mobile-nav { display: none; flex-direction: column; gap: 2px; padding: 8px var(--pad) 14px; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav a { padding: 12px 14px; border-radius: var(--r-md); font-weight: 500; color: var(--ink-2); }
.mobile-nav a:hover { background: var(--surface-2); }

@media (max-width: 880px) {
  .topnav { display: none; }
  .menu-btn { display: inline-flex; }
  .topbar-actions .icon-btn { display: none; }
  .mobile-nav[data-open="true"] { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; font-weight: 600; letter-spacing: -0.005em;
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: white; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #292524; box-shadow: var(--shadow-md); }
.btn-brand { background: var(--brand); color: white; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 6px 16px -6px rgba(15,118,110,.6); }
.btn-brand:hover { background: var(--brand-ink); }
.btn-accent { background: var(--accent); color: #3b2607; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 6px 16px -6px rgba(245,158,11,.55); }
.btn-accent:hover { background: #f7b53a; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-soft { background: var(--surface-2); color: var(--ink); }
.btn-soft:hover { background: #e8e3da; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Cards / chips / badges ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card-hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink-2);
  font-size: 12.5px; font-weight: 500;
}
.chip-brand { background: var(--brand-tint); color: var(--brand-ink); }
.chip-accent { background: var(--accent-soft); color: var(--accent-ink); }
.chip-success { background: #dcfce7; color: #166534; }
.chip-line { background: transparent; border: 1px solid var(--line-strong); color: var(--ink-2); }

.badge-verified {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--brand-ink); font-weight: 600; font-size: 12.5px;
}
.badge-verified svg { color: var(--brand); }

.stars { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink); font-size: 14px; }
.stars svg { color: var(--star); }

/* ---------- Inputs ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }

.search-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  flex-wrap: nowrap;
}
.search-bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 8px 0; font-size: 15px; }
.search-bar .divider { width: 1px; align-self: stretch; background: var(--line); }
.search-bar .seg { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.search-bar .seg:hover { background: var(--surface-2); }
@media (max-width: 560px) {
  .search-bar .divider, .search-bar .seg { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: 12px;
  padding: clamp(36px, 7vw, 64px) 0 clamp(56px, 10vw, 96px);
  overflow: hidden;
}
.hero-grid {
  display: grid; gap: clamp(24px, 5vw, 56px);
  grid-template-columns: 1.1fr 1fr; align-items: center;
}
.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}
.hero h1 em { font-style: italic; color: var(--brand); }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 52ch; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-stats { display: flex; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: 'Fraunces', Georgia, serif; font-size: 28px; line-height: 1; color: var(--ink); }
.hero-stats span { font-size: 13px; color: var(--muted); margin-top: 4px; }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-xl);
  background:
    radial-gradient(80% 80% at 80% 20%, #fef3c7 0%, transparent 60%),
    radial-gradient(80% 80% at 10% 90%, #ccfbf1 0%, transparent 60%),
    linear-gradient(135deg, #ecfdf5, #fef3c7);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-art .blob {
  position: absolute; inset: auto; border-radius: 50%; filter: blur(40px); opacity: .8;
}
.hero-art .float-card {
  position: absolute; background: white; border-radius: 14px; padding: 12px 14px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card.f1 { top: 8%; left: 6%; }
.float-card.f2 { top: 38%; right: 6%; animation-delay: -2s; }
.float-card.f3 { bottom: 8%; left: 16%; animation-delay: -4s; }
.float-card .avtr {
  width: 36px; height: 36px; border-radius: 999px;
  background: linear-gradient(140deg, var(--brand), #14b8a6); color: white;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
}
.float-card .meta { font-size: 13px; }
.float-card .meta strong { display: block; color: var(--ink); }
.float-card .meta span { color: var(--muted); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin: 0 auto; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(40px, 7vw, 72px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(26px, 3.4vw, 36px); margin: 0; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); margin: 4px 0 0; }
.section-head .head-link { font-weight: 600; color: var(--brand-ink); }

/* ---------- Category grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.cat-card {
  position: relative;
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  overflow: hidden;
}
.cat-card:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.cat-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 22px;
  background: var(--brand-tint); color: var(--brand-ink);
}
.cat-card h3 { font-size: 15.5px; margin: 0; font-weight: 600; color: var(--ink); }
.cat-card .from { font-size: 12.5px; color: var(--muted); }
.cat-card .arrow { position: absolute; top: 16px; right: 16px; opacity: 0; transform: translateX(-4px); transition: var(--t); color: var(--brand); }
.cat-card:hover .arrow { opacity: 1; transform: translateX(0); }

/* ---------- Pro card ---------- */
.pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.pro-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pro-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.pro-card .photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--brand-tint), var(--accent-soft));
  display: flex; align-items: center; justify-content: center;
}
.pro-card .avatar-xl {
  width: 88px; height: 88px; border-radius: 999px;
  background: linear-gradient(140deg, var(--brand), #14b8a6);
  color: white; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 26px; letter-spacing: 0.02em;
  box-shadow: var(--shadow-md);
  border: 4px solid white;
}
.pro-card .photo .top-row {
  position: absolute; top: 12px; left: 12px; right: 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.pro-card .save-btn {
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,.92); display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
}
.pro-card .save-btn.saved { color: var(--danger); }
.pro-card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.pro-card .name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pro-card h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.pro-card .title { font-size: 13.5px; color: var(--muted); margin-top: -4px; }
.pro-card .meta-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.pro-card .price-row { display: flex; align-items: end; justify-content: space-between; margin-top: 4px; }
.pro-card .price { font-family: 'Fraunces', Georgia, serif; font-size: 22px; line-height: 1; color: var(--ink); }
.pro-card .price small { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.pro-card .online-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--success); box-shadow: 0 0 0 3px rgba(22,163,74,.18); display: inline-block; }

/* ---------- Filters ---------- */
.filters {
  position: sticky; top: 68px; z-index: 20;
  background: rgba(250, 248, 245, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.filter-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink-2);
  font-size: 13.5px; font-weight: 500;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.filter-pill:hover { border-color: var(--ink-2); }
.filter-pill[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }

/* ---------- Profile ---------- */
.profile-hero {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: 32px 0;
}
.profile-hero .avatar-xxl {
  width: 132px; height: 132px; border-radius: 999px;
  background: linear-gradient(140deg, var(--brand), #14b8a6);
  color: white; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 44px;
  box-shadow: var(--shadow-md); border: 5px solid white;
}
.profile-hero h1 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(28px, 4vw, 40px); margin: 0 0 6px; letter-spacing: -0.02em; }
.profile-hero .title { color: var(--muted); font-size: 16px; margin: 0 0 12px; }
.profile-hero .meta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.profile-hero .price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; min-width: 220px; box-shadow: var(--shadow-sm);
}
.profile-hero .price-card .price { font-family: 'Fraunces', Georgia, serif; font-size: 32px; line-height: 1; }
.profile-hero .price-card .price small { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--muted); }
.profile-section { padding: 20px 0; border-top: 1px solid var(--line); }
.profile-section h2 { font-family: 'Fraunces', serif; font-size: 22px; margin: 0 0 12px; letter-spacing: -0.01em; }

.skills { display: flex; flex-wrap: wrap; gap: 8px; }
.review {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 8px;
}
.review .who { display: flex; align-items: center; gap: 10px; }
.review .who .av { width: 36px; height: 36px; border-radius: 999px; background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ink-2); font-size: 13px; }
.review .who strong { display: block; font-size: 14px; }
.review .who span { font-size: 12.5px; color: var(--muted); }

.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px;
}
.gallery .tile {
  aspect-ratio: 1; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--brand-tint), var(--accent-soft));
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  border: 1px solid var(--line);
}

@media (max-width: 880px) {
  .profile-hero { grid-template-columns: 1fr; text-align: left; }
  .profile-hero .price-card { width: 100%; }
}

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(12, 10, 9, 0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
  animation: fadeIn 180ms ease;
}
.modal {
  background: var(--surface); border-radius: var(--r-xl);
  max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: pop 220ms cubic-bezier(.2,.7,.3,1);
}
.modal-lg { max-width: 720px; }
.modal-head { padding: 22px 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal-head h3 { margin: 0; font-family: 'Fraunces', serif; font-size: 22px; letter-spacing: -0.01em; }
.modal-body { padding: 18px 24px 8px; }
.modal-foot { padding: 16px 24px 24px; display: flex; gap: 10px; justify-content: flex-end; }
.modal-close { width: 36px; height: 36px; border-radius: 999px; color: var(--ink-2); }
.modal-close:hover { background: var(--surface-2); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Toast ---------- */
#toast-root {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: var(--ink); color: white;
  padding: 12px 18px; border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  animation: slideUp 200ms ease;
  display: flex; align-items: center; gap: 10px;
  max-width: 380px;
}
.toast.success { background: #064e3b; }
.toast.error { background: #7f1d1d; }
@keyframes slideUp { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- How-it-works ---------- */
.how-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.how-card { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.how-card .num {
  width: 36px; height: 36px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-ink);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-family: 'Fraunces', serif;
  margin-bottom: 12px;
}

/* ---------- Compare table ---------- */
.compare {
  margin-top: 32px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden;
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { background: var(--surface-2); font-weight: 600; color: var(--ink-2); font-size: 14px; }
.compare td.us { background: var(--brand-tint); color: var(--brand-ink); font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.compare .check { color: var(--success); }
.compare .x { color: var(--danger); }

/* ---------- Become-pro / forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.steps { display: flex; gap: 8px; margin-bottom: 24px; }
.step-dot {
  flex: 1; height: 6px; border-radius: 999px; background: var(--surface-2);
  transition: background var(--t);
}
.step-dot.active { background: var(--brand); }
.step-dot.done { background: var(--brand-ink); }

.check-row { display: flex; flex-wrap: wrap; gap: 8px; }
.check-row label {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong);
  cursor: pointer; font-size: 13.5px; transition: var(--t-fast);
}
.check-row label:has(input:checked) { background: var(--brand); color: white; border-color: var(--brand); }
.check-row input { display: none; }

/* ---------- Dashboard ---------- */
.dash-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.dash-side { position: sticky; top: 84px; }
.dash-side .me {
  display: flex; align-items: center; gap: 12px; padding: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.dash-side nav { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
.dash-side nav a {
  padding: 10px 14px; border-radius: var(--r-md); color: var(--ink-2); font-weight: 500;
}
.dash-side nav a:hover { background: var(--surface-2); }
.dash-side nav a[aria-current="page"] { background: var(--ink); color: white; }

.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.kpi .label { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.kpi .val { font-family: 'Fraunces', serif; font-size: 28px; line-height: 1.1; margin-top: 4px; }
.kpi .delta { font-size: 12.5px; color: var(--success); margin-top: 6px; }

.list { display: flex; flex-direction: column; gap: 10px; }
.list-row {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.list-row .av {
  width: 44px; height: 44px; border-radius: 999px; background: linear-gradient(140deg, var(--brand), #14b8a6);
  color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
}
.list-row .meta { flex: 1; min-width: 0; }
.list-row .meta strong { display: block; font-size: 14.5px; }
.list-row .meta span { color: var(--muted); font-size: 13px; }

@media (max-width: 880px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-side { position: static; }
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 80px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}
.footer-inner { display: flex; flex-direction: column; gap: 18px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--brand); font-size: 18px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-top: 12px; }
.footer-cols h5 { font-size: 13px; color: var(--muted); margin: 0 0 10px; text-transform: uppercase; letter-spacing: .05em; }
.footer-cols a { display: block; padding: 4px 0; color: var(--ink-2); }
.footer-cols a:hover { color: var(--brand-ink); }
.footer-meta { display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; gap: 8px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  background: var(--ink);
  color: white;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex; gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  animation: slideUp 280ms cubic-bezier(.2,.7,.3,1);
  max-width: 920px;
  margin: 0 auto;
}
.cookie-banner p { margin: 0; font-size: 14px; line-height: 1.55; flex: 1; min-width: 260px; }
.cookie-banner a { color: #5eead4; text-decoration: underline; }
.cookie-banner .cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner .btn-ghost {
  background: transparent; color: white; border: 1px solid rgba(255,255,255,0.25);
}
.cookie-banner .btn-ghost:hover { background: rgba(255,255,255,0.08); }
@media (max-width: 560px) {
  .cookie-banner { padding: 14px 18px; }
  .cookie-banner .cookie-actions { width: 100%; }
  .cookie-banner .btn { flex: 1; }
}

/* ---------- Star picker (rating modal) ---------- */
.star-picker {
  display: inline-flex;
  gap: 4px;
  font-size: 40px;
  line-height: 1;
}
.star-picker .star-btn {
  background: transparent;
  border: 0;
  padding: 4px;
  color: var(--line-strong);
  cursor: pointer;
  transition: color var(--t-fast), transform var(--t-fast);
}
.star-picker .star-btn:hover,
.star-picker .star-btn:focus-visible {
  transform: scale(1.06);
  outline: none;
}
.star-picker .star-btn.active {
  color: var(--star);
}

/* ---------- Misc ---------- */
.empty { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty h3 { color: var(--ink); font-family: 'Fraunces', serif; }
.divider { height: 1px; background: var(--line); margin: 16px 0; }
.stack-sm > * + * { margin-top: 8px; }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 24px; }
.row { display: flex; align-items: center; gap: 10px; }
.row-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.grow { flex: 1; }
.center { text-align: center; }
.hide-sm { }
@media (max-width: 640px) { .hide-sm { display: none; } }
