/* Mammai's Kitchen — design tokens + components
   Journey: visitor → hungry → ordering → confirmed
   Palette derived from logo: deep purple sari, marigold, saffron gold, warm cream */

:root {
  /* Color */
  --bg: oklch(0.98 0.012 80);
  --bg-warm: oklch(0.96 0.025 70);
  --surface: oklch(1 0 0);
  --ink: oklch(0.22 0.04 30);
  --ink-soft: oklch(0.42 0.03 30);
  --line: oklch(0.88 0.018 60);

  --saffron: oklch(0.74 0.16 60);     /* primary accent — saffron/turmeric */
  --marigold: oklch(0.78 0.18 75);    /* warm secondary */
  --purple: oklch(0.42 0.16 320);     /* deep festive purple from saree */
  --rose: oklch(0.58 0.18 25);        /* tomato/kumkum red */
  --leaf: oklch(0.55 0.12 145);       /* curry leaf green */
  --gold: oklch(0.78 0.14 90);

  /* Type */
  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Satoshi', 'Inter', system-ui, -apple-system, sans-serif;
  --deva: 'Tiro Devanagari Marathi', 'Noto Serif Devanagari', serif;

  --text-xs: 0.78rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.875rem;
  --text-3xl: 2.5rem;
  --text-hero: clamp(2.75rem, 6vw + 0.5rem, 5.5rem);
  --text-display: clamp(3.5rem, 9vw, 7rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px oklch(0.22 0.04 30 / 0.08);
  --shadow: 0 8px 32px oklch(0.22 0.04 30 / 0.10);
  --shadow-lg: 0 30px 80px oklch(0.22 0.04 30 / 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme='dark'] {
  --bg: oklch(0.16 0.025 30);
  --bg-warm: oklch(0.19 0.03 35);
  --surface: oklch(0.22 0.035 35);
  --ink: oklch(0.96 0.01 80);
  --ink-soft: oklch(0.75 0.02 60);
  --line: oklch(0.32 0.04 35);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) clamp(var(--space-4), 4vw, var(--space-12));
  background: color-mix(in oklch, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--marigold);
  box-shadow: 0 0 0 2px var(--bg), 0 4px 14px oklch(0.42 0.16 320 / 0.25);
}
.brand-name {
  font-family: var(--serif);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: 1;
}
.brand-tag {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: transform 0.2s var(--ease);
}
.cart-button:hover { transform: translateY(-1px); }
.cart-count {
  background: var(--marigold);
  color: var(--ink);
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0 6px;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.2s;
}
.theme-toggle:hover { background: var(--bg-warm); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  padding: clamp(var(--space-16), 12vh, var(--space-32)) clamp(var(--space-4), 5vw, var(--space-16)) var(--space-24);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  overflow: hidden;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--space-20); }
}

#spice-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: var(--space-6);
}
.sec-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero-title {
  font-size: var(--text-hero);
  letter-spacing: -0.03em;
}
.hero-title em {
  font-style: italic;
  color: var(--purple);
  font-weight: 400;
}
.hero-deva {
  font-family: var(--deva);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--ink-soft);
  margin-top: var(--space-4);
  line-height: 1.5;
}
.hero-caption {
  margin-top: var(--space-8);
  font-size: var(--text-lg);
  color: var(--ink-soft);
  max-width: 44ch;
}

.hero-ctas {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-pill);
  font-size: var(--text-base);
  font-weight: 500;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--purple); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--text-base);
  transition: background 0.2s;
}
.btn-ghost:hover { background: var(--bg-warm); }

/* Hero collage */
.hero-collage {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 5;
  justify-self: center;
  min-height: 480px;
}
.hero-collage img {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.hero-collage .photo-1 { width: 70%; height: 75%; top: 0; right: 0; transform: rotate(2deg); }
.hero-collage .photo-2 { width: 55%; height: 50%; bottom: 0; left: 0; transform: rotate(-3deg); border: 8px solid var(--bg); }
.hero-collage .badge {
  position: absolute;
  bottom: 14%;
  right: -2%;
  background: var(--marigold);
  color: var(--ink);
  border-radius: 50%;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--text-base);
  line-height: 1.2;
  padding: var(--space-3);
  box-shadow: var(--shadow);
  transform: rotate(8deg);
  animation: spin-slow 22s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(368deg); } }

/* ============ SECTIONS ============ */
section {
  padding: clamp(var(--space-16), 10vw, var(--space-32)) clamp(var(--space-4), 5vw, var(--space-16));
}
.section-head {
  max-width: 720px;
  margin-bottom: var(--space-16);
}
.section-head h2 {
  font-size: var(--text-3xl);
  margin-top: var(--space-4);
}
.section-head p {
  margin-top: var(--space-6);
  color: var(--ink-soft);
  font-size: var(--text-lg);
}

/* ============ CATALOG GRID ============ */
.catalog {
  background: var(--bg-warm);
  position: relative;
}
.catalog-filters {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}
.chip {
  padding: var(--space-2) var(--space-4);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-8);
}

.dish {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.dish:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dish-media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: var(--bg-warm);
}
.dish-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.dish:hover .dish-media img { transform: scale(1.06); }
.dish-cat {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: 4px 10px;
  background: color-mix(in oklch, var(--bg) 85%, transparent);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.dish-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-3);
}
.dish-name {
  font-family: var(--serif);
  font-size: var(--text-xl);
  line-height: 1.15;
}
.dish-marathi {
  font-family: var(--deva);
  font-size: var(--text-base);
  color: var(--purple);
  margin-top: -2px;
}
.dish-desc {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  line-height: 1.55;
  flex: 1;
}
.dish-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.price {
  font-family: var(--serif);
  font-size: var(--text-xl);
}
.price small { font-size: var(--text-xs); color: var(--ink-soft); font-family: var(--sans); letter-spacing: 0.06em; }
.add-btn {
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}
.add-btn:hover { background: var(--purple); transform: translateY(-1px); }
.add-btn[data-added='true'] { background: var(--leaf); }

/* ============ STORY ============ */
.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 900px) {
  .story { grid-template-columns: 1fr 1.1fr; gap: var(--space-20); }
}
.story-img {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}
.story-text h2 { font-size: var(--text-3xl); }
.story-text p { color: var(--ink-soft); font-size: var(--text-lg); margin-top: var(--space-6); }
.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: var(--serif);
  font-size: var(--text-3xl);
  display: block;
  color: var(--purple);
}
.stat-lbl {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: var(--space-1);
}

/* ============ HOW IT WORKS ============ */
.how {
  background: var(--ink);
  color: var(--bg);
}
.how .section-head p { color: oklch(0.78 0.02 60); }
.how .sec-label { color: var(--marigold); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  border-top: 1px solid color-mix(in oklch, var(--bg) 25%, transparent);
  padding-top: var(--space-6);
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--marigold);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  display: block;
}
.step h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.step p { color: oklch(0.78 0.02 60); font-size: var(--text-base); }

/* ============ FOOTER ============ */
footer {
  padding: var(--space-16) clamp(var(--space-4), 5vw, var(--space-16)) var(--space-8);
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 720px) { footer { grid-template-columns: 1.5fr 1fr 1fr; } }
.foot-deva { font-family: var(--deva); color: var(--ink-soft); margin-top: var(--space-4); }
.foot-links { display: flex; flex-direction: column; gap: var(--space-2); }
.foot-links a { color: var(--ink-soft); font-size: var(--text-sm); }
.foot-links a:hover { color: var(--ink); }
.foot-copy {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ============ CART DRAWER ============ */
.scrim {
  position: fixed;
  inset: 0;
  background: oklch(0.16 0.025 30 / 0.5);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.scrim[data-open='true'] { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  background: var(--surface);
  z-index: 100;
  transform: translateX(105%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.drawer[data-open='true'] { transform: translateX(0); }
.drawer-head {
  padding: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: var(--text-xl); font-family: var(--serif); }
.icon-btn {
  background: transparent;
  border: none;
  color: var(--ink);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-btn:hover { background: var(--bg-warm); }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4) var(--space-6);
}
.cart-empty {
  text-align: center;
  padding: var(--space-16) var(--space-6);
  color: var(--ink-soft);
}
.cart-empty svg { margin-bottom: var(--space-4); opacity: 0.4; }

.cart-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-row img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-row-info { font-size: var(--text-sm); }
.cart-row-info strong { display: block; font-family: var(--serif); font-size: var(--text-base); font-weight: 500; }
.cart-row-info small { color: var(--ink-soft); }
.qty {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-1);
}
.qty button {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
}
.cart-row-price { font-family: var(--serif); font-size: var(--text-base); }

.drawer-foot {
  padding: var(--space-6);
  border-top: 1px solid var(--line);
}
.totals {
  display: flex;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}
.btn-checkout {
  width: 100%;
  padding: var(--space-4);
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-pill);
  font-size: var(--text-base);
  font-weight: 500;
  transition: background 0.2s;
}
.btn-checkout:hover { background: var(--purple); }
.btn-checkout:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============ CHECKOUT MODAL ============ */
.modal {
  position: fixed;
  inset: 0;
  background: oklch(0.16 0.025 30 / 0.6);
  backdrop-filter: blur(8px);
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.modal[data-open='true'] { display: flex; }
.modal-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-8);
  position: relative;
}
.modal-card h3 { font-size: var(--text-2xl); font-family: var(--serif); margin-bottom: var(--space-2); }
.modal-card .sub { color: var(--ink-soft); margin-bottom: var(--space-6); font-size: var(--text-sm); }

.field { margin-bottom: var(--space-4); }
.field label {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: var(--space-2);
  font-weight: 600;
}
.field input, .field textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: var(--text-base);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--purple);
}
.field textarea { resize: vertical; min-height: 80px; }
.contact-toggle {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.contact-toggle button {
  flex: 1;
  padding: var(--space-2);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  color: var(--ink-soft);
}
.contact-toggle button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.summary {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}
.summary-row { display: flex; justify-content: space-between; margin-bottom: var(--space-2); }
.summary-total {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: var(--text-lg);
}

/* Thank-you state */
.thanks {
  text-align: center;
  padding: var(--space-6) 0;
}
.thanks .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: var(--marigold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thanks h3 { font-size: var(--text-3xl); margin-bottom: var(--space-3); }
.thanks p { color: var(--ink-soft); margin-bottom: var(--space-6); }
.thanks .order-id {
  font-family: var(--serif);
  font-style: italic;
  color: var(--purple);
  font-size: var(--text-xl);
  display: block;
  margin-top: var(--space-2);
}

/* ============ ADMIN ============ */
.admin-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-12) clamp(var(--space-4), 5vw, var(--space-12));
}
.admin-shell h1 { font-size: var(--text-3xl); margin-bottom: var(--space-2); }
.admin-shell .sub { color: var(--ink-soft); margin-bottom: var(--space-8); }
.admin-tabs { display: flex; gap: var(--space-2); margin-bottom: var(--space-8); border-bottom: 1px solid var(--line); }
.admin-tab {
  padding: var(--space-3) var(--space-6);
  background: transparent;
  border: none;
  color: var(--ink-soft);
  font-size: var(--text-base);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.admin-tab[aria-pressed='true'] {
  color: var(--ink);
  border-bottom-color: var(--purple);
  font-weight: 500;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.admin-table th, .admin-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.admin-table th {
  background: var(--bg-warm);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  font-weight: 600;
}
.admin-table input, .admin-table textarea, .admin-table select {
  width: 100%;
  padding: var(--space-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
}
.row-actions { display: flex; gap: var(--space-2); }
.row-actions button {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: var(--text-xs);
  color: var(--ink);
}
.row-actions button.save { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.row-actions button.del { color: var(--rose); border-color: var(--rose); }
.status-pill {
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.status-new { background: oklch(0.78 0.18 75 / 0.2); color: oklch(0.45 0.18 60); }
.status-confirmed { background: oklch(0.55 0.12 145 / 0.2); color: oklch(0.4 0.12 145); }
.status-done { background: var(--bg-warm); color: var(--ink-soft); }

.gate {
  max-width: 360px;
  margin: 12vh auto;
  padding: var(--space-8);
  background: var(--surface);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--line);
}
.gate h2 { font-size: var(--text-2xl); margin-bottom: var(--space-2); }
.gate p { color: var(--ink-soft); font-size: var(--text-sm); margin-bottom: var(--space-6); }

/* ============ A11Y / motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .badge { animation: none; }
}
