:root {
  --bg: #faf8f4;
  --bg-warm: #f3efe8;
  --bg-deep: #2c3029;
  --fg: #2c2c2c;
  --fg-muted: #6b6760;
  --fg-light: #a09a90;
  --accent: #5c6b56;
  --accent-light: #8a9c83;
  --accent-dark: #3d4a38;
  --gold: #c9a96e;
  --gold-light: #e8d5a8;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --max-w: 1200px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- HERO ---- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at center, var(--gold-light) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero-label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.hero-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 500px;
  line-height: 1.8;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-md);
  position: relative;
}

.hero-stat {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  transition: transform 0.3s ease;
}

.hero-stat:hover {
  transform: translateY(-2px);
}

.hero-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero-stat-icon.green { background: #e8f0e6; color: var(--accent); }
.hero-stat-icon.gold { background: #faf0d8; color: var(--gold); }
.hero-stat-icon.sage { background: #e6ece5; color: var(--accent-dark); }

.hero-stat-text h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--fg);
}

.hero-stat-text p {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* ---- PHILOSOPHY ---- */
.philosophy {
  background: var(--bg-deep);
  padding: var(--space-2xl) var(--space-md);
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.philosophy-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.philosophy blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  color: #f0ece4;
  line-height: 1.5;
  position: relative;
  padding: 0 var(--space-md);
}

.philosophy blockquote::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--gold);
  position: absolute;
  top: -2rem;
  left: -0.5rem;
  font-family: var(--serif);
  opacity: 0.5;
}

.philosophy cite {
  display: block;
  margin-top: var(--space-md);
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- SERVICES ---- */
.services {
  padding: var(--space-2xl) var(--space-md);
  background: var(--bg);
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
}

.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  max-width: 350px;
  text-align: right;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: var(--space-md);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}

.service-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
  color: var(--fg);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ---- DIFFERENCE ---- */
.difference {
  padding: var(--space-2xl) var(--space-md);
  background: var(--bg-warm);
  position: relative;
}

.difference::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--gold);
}

.difference-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.difference-text h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.difference-text h2 em {
  font-style: italic;
  color: var(--accent);
}

.difference-text > p {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.diff-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.diff-marker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.diff-content h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg);
  margin-bottom: 2px;
}

.diff-content p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.difference-visual {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: var(--space-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

.review-card {
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
}

.review-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.review-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-xs);
}

.review-card blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.6;
  margin-bottom: var(--space-xs);
}

.review-author {
  font-size: 0.78rem;
  color: var(--fg-light);
  font-weight: 500;
}

/* ---- CLOSING ---- */
.closing {
  padding: var(--space-2xl) var(--space-md);
  background: var(--bg-deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.06;
  pointer-events: none;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #f0ece4;
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

.closing h2 em {
  font-style: italic;
  color: var(--gold);
}

.closing p {
  font-size: 1.05rem;
  color: #a09a8c;
  line-height: 1.8;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-md) var(--space-md);
  text-align: center;
}

.site-footer p {
  font-size: 0.75rem;
  color: #6b6660;
  letter-spacing: 0.05em;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: var(--space-lg) var(--space-sm);
    min-height: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    padding: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header p {
    text-align: left;
  }

  .difference-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .philosophy blockquote {
    font-size: 1.3rem;
  }

  .philosophy {
    padding: var(--space-xl) var(--space-sm);
  }

  .services,
  .difference,
  .closing {
    padding: var(--space-xl) var(--space-sm);
  }
}

/* ---- BUTTONS ---- */
.hero-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-xs);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: white;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--accent);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  border: 1.5px solid var(--accent-light);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(92,107,86,0.06);
}

/* ---- DASHBOARD APP SHELL ---- */
.app-shell {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.app-nav {
  background: var(--bg-deep);
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.app-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.app-nav-brand-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: #f0ece4;
}

.app-nav-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.app-nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.app-nav-links a {
  color: #a09a90;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.app-nav-links a:hover,
.app-nav-links a.active {
  color: #f0ece4;
}

.app-nav-action {
  background: var(--accent);
  color: white !important;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem !important;
  transition: background 0.2s !important;
}

.app-nav-action:hover {
  background: var(--accent-dark) !important;
  color: white !important;
}

.app-content {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: var(--space-md);
}

/* ---- DASHBOARD STATS BAR ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.stat-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: var(--space-sm) var(--space-md);
  text-align: center;
}

.stat-card-number {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1;
}

.stat-card-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 0.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---- STATUS BADGES ---- */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-inquiry { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d1e7dd; color: #0f5132; }
.status-completed { background: #cfe2ff; color: #084298; }
.status-cancelled { background: #f8d7da; color: #842029; }

/* ---- CEREMONY LIST ---- */
.ceremonies-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 0.4rem;
}

.filter-tab {
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--fg-muted);
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  transition: all 0.2s;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.ceremony-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ceremony-row {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: var(--space-sm) var(--space-md);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: var(--space-sm);
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.ceremony-row:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transform: translateY(-1px);
}

.ceremony-date-block {
  text-align: center;
  width: 50px;
}

.ceremony-date-day {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}

.ceremony-date-month {
  font-size: 0.7rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.ceremony-row-names {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg);
}

.ceremony-row-venue {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-top: 2px;
}

.ceremony-row-type {
  font-size: 0.78rem;
  color: var(--fg-light);
  text-transform: capitalize;
}

/* ---- CALENDAR ---- */
.calendar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.calendar-nav h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.calendar-nav a {
  color: var(--accent);
  text-decoration: none;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.1);
  font-size: 0.85rem;
  transition: background 0.2s;
}

.calendar-nav a:hover { background: var(--bg-warm); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  background: rgba(0,0,0,0.06);
  border-radius: 12px;
  overflow: hidden;
}

.calendar-day-header {
  background: var(--bg-warm);
  padding: 0.5rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.calendar-cell {
  background: white;
  min-height: 90px;
  padding: 0.4rem;
  position: relative;
  vertical-align: top;
}

.calendar-cell.other-month {
  background: var(--bg-warm);
  opacity: 0.5;
}

.calendar-cell.today {
  background: #f0f5ef;
}

.calendar-cell-num {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: 0.2rem;
}

.calendar-cell.today .calendar-cell-num {
  color: var(--accent);
}

.calendar-event {
  background: var(--accent);
  color: white;
  font-size: 0.65rem;
  padding: 2px 5px;
  border-radius: 4px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  display: block;
}

.calendar-event.status-confirmed { background: #198754; }
.calendar-event.status-inquiry { background: #ffc107; color: #000; }
.calendar-event.status-completed { background: #0d6efd; }
.calendar-event.status-cancelled { background: #dc3545; }

/* ---- CEREMONY DETAIL ---- */
.detail-header {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
}

.detail-header-left h1 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.detail-header-left .detail-meta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: 0.5rem;
  align-items: center;
}

.detail-meta-item {
  font-size: 0.85rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.detail-header-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}

.btn-sm-primary {
  background: var(--accent);
  color: white;
}

.btn-sm-primary:hover { background: var(--accent-dark); }

.btn-sm-ghost {
  background: transparent;
  color: var(--fg-muted);
  border: 1px solid rgba(0,0,0,0.1);
}

.btn-sm-ghost:hover { background: var(--bg-warm); color: var(--fg); }

.btn-sm-danger {
  background: transparent;
  color: #dc3545;
  border: 1px solid rgba(220,53,69,0.3);
}

.btn-sm-danger:hover { background: #dc3545; color: white; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-md);
}

.detail-panel {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: var(--space-md);
}

.detail-panel-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.detail-field {
  margin-bottom: 0.8rem;
}

.detail-field-label {
  font-size: 0.72rem;
  color: var(--fg-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.detail-field-value {
  font-size: 0.9rem;
  color: var(--fg);
  line-height: 1.5;
}

.detail-field-value.empty {
  color: var(--fg-light);
  font-style: italic;
}

/* Notes textarea */
.notes-area {
  width: 100%;
  min-height: 140px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 0.75rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--fg);
  resize: vertical;
  background: var(--bg);
  line-height: 1.6;
}

.notes-area:focus {
  outline: none;
  border-color: var(--accent-light);
}

/* Script draft area */
.script-area {
  width: 100%;
  min-height: 300px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 1rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--fg);
  resize: vertical;
  background: var(--bg);
  line-height: 1.8;
}

.script-area:focus {
  outline: none;
  border-color: var(--accent-light);
}

.script-save-status {
  font-size: 0.72rem;
  color: var(--fg-light);
  margin-top: 0.4rem;
  height: 1rem;
}

/* Status selector */
.status-select-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-xs);
}

.status-select {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--fg);
  background: white;
  cursor: pointer;
}

.btn-inline {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.3rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
}

.btn-inline:hover { background: var(--accent-dark); }

/* ---- FORM ---- */
.form-shell {
  max-width: 700px;
  margin: 0 auto;
}

.form-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: var(--space-lg);
}

.form-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.form-section {
  margin-bottom: var(--space-md);
}

.form-section-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: var(--space-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: var(--space-sm);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-muted);
}

.form-input,
.form-select,
.form-textarea {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--fg);
  background: white;
  width: 100%;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(92,107,86,0.08);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.6;
}

.form-error {
  background: #fff5f5;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
}

.form-actions {
  display: flex;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: var(--space-md);
}

/* ---- EMPTY STATE ---- */
.empty-state {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
}

.empty-state h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: var(--space-xs);
}

.empty-state p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

/* ---- VIEW TOGGLE ---- */
.view-toggle {
  display: flex;
  gap: 0.3rem;
  background: var(--bg-warm);
  border-radius: 8px;
  padding: 0.2rem;
}

.view-toggle a {
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--fg-muted);
  font-weight: 500;
  transition: all 0.2s;
}

.view-toggle a.active {
  background: white;
  color: var(--fg);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* ---- PAGE HEADER ---- */
.page-header {
  margin-bottom: var(--space-md);
}

.page-header h1 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
}

.page-header p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .detail-header { flex-direction: column; }
  .calendar-cell { min-height: 60px; }
  .ceremony-row {
    grid-template-columns: auto 1fr auto;
  }
  .app-nav-links { display: none; }
}