/* The Friendship Gathering — a sisterhood of genuine connections
   Sage = growth, harmony, new beginnings. Rose = sisterhood, affection, warmth.
   Gold = wisdom, value, elegance. Blue = trust, loyalty, peaceful connection.
   Palette: Sage Green #879B83, Dusty Rose #C98F9A, Champagne Gold #D6C29A, Soft Dusty Blue #8DA9C4 */

@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Bold.ttf") format("truetype");
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --sage: #879B83;
  --sage-deep: #536750;
  --sage-deeper: #435541;
  --sage-wash: #EEF1EC;
  --rose: #C98F9A;
  --rose-deep: #94505E;
  --rose-wash: #F7ECEE;
  --gold: #D6C29A;
  --gold-deep: #B39E6E;
  --blue: #8DA9C4;
  --blue-wash: #EBF1F6;
  --ink: #33402F;
  --ink-soft: #5D6859;
  --paper: #FBF7F4;
  --paper-deep: #F3ECE5;
  --card: #FFFDFB;
  --line: #E6DCD1;
  --error: #9B3D3D;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1120px;
  --radius: 10px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--sage-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}

p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

/* ---------- Circle of Friends mark ---------- */
.brand-mark-svg { display: block; overflow: visible; }
.brand-mark-svg .rings { isolation: isolate; }
.brand-mark-svg .ring { fill: none; stroke-width: 10; mix-blend-mode: multiply; }
.ring-sage { stroke: var(--sage); }
.ring-rose { stroke: var(--rose); }
.ring-gold { stroke: var(--gold); }
.ring-blue { stroke: var(--blue); }
.brand-mark-svg .heart { fill: var(--rose); }

.ring-icon { width: 26px; height: 26px; flex: none; margin-top: 1px; }
.ring-icon circle { fill: none; stroke-width: 5; }
.ring-icon-sage circle { stroke: var(--sage); }
.ring-icon-rose circle { stroke: var(--rose); }
.ring-icon-gold circle { stroke: var(--gold); }
.ring-icon-blue circle { stroke: var(--blue); }
.ring-icon-ink circle { stroke: var(--sage-deep); }

/* Friendship • Sisterhood • Connection • Belonging */
.values { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0; font-size: 1.25rem; letter-spacing: .01em; }
.value-sage { color: var(--sage-deep); }
.value-rose { color: var(--rose-deep); }
.value-blue { color: #3F5B78; }
.value-gold { color: #7E6A3E; }
.value-dot { color: var(--gold-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--sage-deep); color: var(--paper); }
.btn-primary:hover { background: var(--sage-deeper); color: var(--paper); }
.btn-quiet { background: transparent; border-color: var(--ink-soft); color: var(--ink); }
.btn-quiet:hover { background: var(--card); color: var(--ink); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--card); color: var(--ink); }
.btn-danger { background: transparent; border-color: var(--error); color: var(--error); }
.btn-danger:hover { background: var(--error); color: #fff; }
.btn-small { min-height: 36px; padding: 6px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.link-quiet { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 32px; flex-wrap: wrap;
  padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 42px; height: 42px; }
.brand-name { font-family: var(--serif); font-size: 1.4rem; line-height: 1.1; }
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  padding: 8px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem;
}
.site-nav a:hover { background: var(--paper-deep); }
.site-nav a[aria-current="page"] { background: var(--sage-wash); color: var(--sage-deeper); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  max-width: 16ch;
  text-wrap: balance;
  margin-bottom: .45em;
}
.hero-intro { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { display: flex; justify-content: center; }
.hero-badge { width: min(100%, 440px); height: auto; }
.hero-values { margin: 0 0 22px; }

/* One quiet moment on load: the badge settles into place. */
@media (prefers-reduced-motion: no-preference) {
  .hero-badge { animation: settle 1.2s cubic-bezier(.2, .8, .2, 1) both; }
}
@keyframes settle {
  from { opacity: 0; transform: scale(.94) rotate(-6deg); }
  to { opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.section-head a { font-weight: 600; }

.next { padding: 72px 0 88px; background: var(--paper-deep); }
.next .section-title { text-align: center; margin-bottom: 32px; }
.next-invite { max-width: 580px; margin: 0 auto; }
.next-more { text-align: center; margin-top: 24px; font-weight: 600; }

.empty {
  max-width: 560px; margin: 0 auto; text-align: center;
  padding: 40px 32px; border: 1px dashed var(--gold-deep); border-radius: var(--radius);
  background: var(--card); color: var(--ink-soft);
}
.empty .brand-mark-svg { width: 64px; margin: 0 auto 16px; }

/* ---------- Invitation (signature component) ---------- */
.invite {
  background: var(--card);
  border: 1px solid var(--gold);
  padding: 10px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(51, 64, 47, .45);
}
.invite-frame {
  border: 1px solid var(--gold);
  padding: 40px 32px 36px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  height: 100%;
}
.invite-mark { width: 52px; height: 52px; margin-bottom: 16px; }
.invite-flyer { display: block; width: 100%; margin: -16px 0 22px; background: var(--paper-deep); border-radius: 4px; }
.invite-flyer img { width: 100%; max-height: 440px; object-fit: contain; margin: 0 auto; border-radius: 4px; }
.flyer { margin: 0 0 28px; }
.flyer img { width: 100%; border-radius: 8px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(51, 64, 47, .45); }
.flyer figcaption { margin-top: 10px; color: var(--ink-soft); font-size: .95rem; }
.flyer figcaption a { font-weight: 600; }
.invite-kicker { font-style: italic; color: var(--ink-soft); margin: 0 0 6px; }
.invite-title { font-size: clamp(1.7rem, 3.2vw, 2.2rem); margin: 0 0 18px; text-wrap: balance; }
.invite-title a { color: inherit; text-decoration: none; }
.invite-title a:hover { text-decoration: underline; text-decoration-color: var(--gold-deep); }
.invite-when {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 0; margin: 0 0 14px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  min-width: 70%;
}
.invite-date { font-weight: 600; font-size: 1.08rem; }
.invite-time { color: var(--ink-soft); }
.invite-where { display: flex; flex-direction: column; margin: 0 0 16px; color: var(--ink-soft); }
.invite-venue { color: var(--ink); font-weight: 600; }
.invite-spots { color: var(--rose-deep); font-weight: 600; font-size: .95rem; margin: 0 0 20px; }
.invite-spots.is-full { color: var(--ink-soft); }
.invite .btn { margin-top: auto; }
.invite.is-cancelled .invite-title,
.invite.is-cancelled .invite-when { opacity: .6; }
.invite.is-cancelled .invite-kicker { color: var(--error); font-style: normal; font-weight: 600; }

.invite-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* ---------- About ---------- */
.about { padding: 88px 0; }
.about-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.prose { max-width: 36em; }
.prose p { margin-bottom: 1.1em; }
.host-note {
  margin: 32px 0 0; padding: 22px 26px;
  background: var(--rose-wash); border-radius: var(--radius);
  font-size: 1.05rem;
}
.host-note p:last-of-type { margin-bottom: 0; }
.host-note footer { margin-top: 10px; font-weight: 600; color: var(--rose-deep); }
.about-ways {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px;
}
.about-ways h3 { font-size: 1.5rem; margin-bottom: 20px; }
.ways { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; }
.ways li { display: flex; gap: 14px; align-items: flex-start; }
.ways .ways-mark { width: 26px; height: 26px; flex: none; margin-top: 1px; }
.ways strong { display: block; font-size: 1.05rem; }
.ways span { color: var(--ink-soft); }
.who { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .98rem; }

/* ---------- The meaning behind our colors ---------- */
.meaning { padding: 80px 0 88px; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meaning-head { max-width: 640px; margin-bottom: 40px; }
.meaning-head p { color: var(--ink-soft); font-size: 1.15rem; margin: 0; }
.colors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.color .ring-icon { width: 72px; height: 72px; margin: 0 0 18px; }
.color .ring-icon circle { stroke-width: 4.5; }
.color h3 { font-size: 1.45rem; margin: 0 0 6px; }
.color p { color: var(--ink-soft); margin: 0; }
.meaning-close { margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink); max-width: 40em; }
.moments { padding-top: 80px; }

/* ---------- Photos ---------- */
.moments { padding: 0 0 88px; }
.photo-strip {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; gap: 12px; grid-template-columns: repeat(6, 1fr);
}
.photo-strip img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 6px; }

.gallery-section { padding: 8px 0 88px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips a {
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; color: var(--ink); background: var(--card); font-size: .95rem;
}
.chips a[aria-current="true"] { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--paper); }
.gallery-grid {
  list-style: none; margin: 0; padding: 0;
  columns: 3 280px; column-gap: 16px;
}
.gallery-grid li { break-inside: avoid; margin-bottom: 16px; }
.gallery-item img { width: 100%; border-radius: 6px; }
.gallery-caption { font-size: .92rem; color: var(--ink-soft); margin: 8px 2px 0; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh;
}
.lightbox::backdrop { background: rgba(35, 44, 33, .88); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 94vw; max-height: 80vh; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { color: var(--paper); text-align: center; margin-top: 10px; }
.lightbox-controls { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.lightbox-controls button {
  font: 600 .95rem var(--sans); color: var(--paper); background: transparent;
  border: 1px solid rgba(251, 247, 244, .5); border-radius: 999px; padding: 8px 18px; cursor: pointer;
}
.lightbox-controls button:hover { background: rgba(251, 247, 244, .12); }

/* ---------- Join band ---------- */
.join { background: var(--sage-deep); color: var(--paper); padding: 64px 0; }
.join-inner { text-align: center; max-width: 640px; }
.join h2 { color: var(--paper); font-size: clamp(1.7rem, 3vw, 2.2rem); text-wrap: balance; }
.join p { color: #E6EBE3; font-size: 1.1rem; margin-bottom: 24px; }
.join-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }


/* ---------- Inner pages ---------- */
.page-intro { padding: 56px 0 32px; }
.page-intro h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
.page-intro p { max-width: 36em; color: var(--ink-soft); font-size: 1.15rem; }
.list-section { padding-bottom: 72px; }

.past { padding: 0 0 88px; }
.past-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.past-list li {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.past-date { color: var(--ink-soft); font-size: .95rem; }
.past-title { font-weight: 600; }

.crumbs { padding-top: 28px; }
.crumbs a { font-weight: 600; font-size: .95rem; }
.crumbs a::before { content: "\2190\00a0"; }

.gathering { padding: 24px 0 88px; }
.gathering-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.gathering-tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.gathering-about { margin-top: 36px; }
.gathering-about h2 { font-size: 1.6rem; }

/* Reply card */
.reply { position: sticky; top: 24px; }
.reply-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--rose);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.reply-card h2 { font-size: 1.7rem; }
.reply-sub { color: var(--ink-soft); }
.reply-mark { width: 48px; height: 48px; margin-bottom: 16px; }
.reply-keep { font-size: .95rem; color: var(--ink-soft); padding: 12px 14px; background: var(--blue-wash); border-radius: 6px; }
.reply-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; margin-top: 20px; }
.reply-actions .link-quiet { text-align: center; margin-top: 4px; }
.reply-card form .btn-quiet { margin-left: 8px; }

/* ---------- Forms ---------- */
.form { margin-top: 8px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="password"], .field input[type="date"], .field input[type="time"],
.field input[type="number"], .field input[type="url"], .field input[type="file"],
.field select, .field textarea {
  width: 100%;
  font: 1rem/1.4 var(--sans);
  color: var(--ink);
  background: #fff;
  border: 1px solid #CDC3B6;
  border-radius: 8px;
  padding: 11px 13px;
  min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--sage-deep); }
.field-hint { font-size: .9rem; color: var(--ink-soft); margin: 6px 0 0; }
.field-error { font-size: .92rem; color: var(--error); margin: 6px 0 0; font-weight: 600; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field-check { display: flex; align-items: center; gap: 10px; }
.field-check input { width: 22px; height: 22px; accent-color: var(--sage-deep); margin: 0; }
.field-check label { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; font-weight: 600; }
.notice-ok { background: var(--sage-wash); color: var(--sage-deeper); }
.notice-error { background: #F6E6E6; color: var(--error); }
.notice-warn { background: #F7F0DF; color: #6D5A2B; margin-top: 20px; }

/* ---------- Social links ---------- */
.social-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-row { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.social-row a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px;
  border: 1.5px solid var(--ink-soft); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.social-row a:hover { background: var(--paper-deep); }
.social-row-light { margin-top: 28px; }
.social-row-light a { border-color: rgba(251, 247, 244, .7); color: var(--paper); }
.social-row-light a:hover { background: rgba(251, 247, 244, .12); color: var(--paper); }
.follow-label { margin: 22px 0 0; font-weight: 600; color: var(--ink); }
.footer-social { display: inline-flex; align-items: center; gap: 8px; }
.footer-social .social-icon { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-deep); border-top: 1px solid var(--line); padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-mark { width: 48px; height: 48px; }
.footer-name { font-family: var(--serif); font-size: 1.25rem; margin: 0; }
.footer-tagline { margin: 0; color: var(--ink-soft); font-family: var(--serif); font-style: italic; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--ink-soft);
}
.footer-base p { margin: 0; }
.host-link { color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { order: -1; justify-content: flex-start; }
  .hero-badge { width: 200px; }
  .colors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-inner, .gathering-inner { grid-template-columns: 1fr; gap: 40px; }
  .reply { position: static; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 18px; }
  .brand-name { font-size: 1.15rem; }
  .brand-mark { width: 34px; height: 34px; }
  .site-nav { width: 100%; margin-left: -14px; }
  .invite-frame { padding: 32px 18px 28px; }
  .invite-grid { grid-template-columns: 1fr; }
  .about-ways { padding: 24px 20px; }
  .past-list li { grid-template-columns: 1fr; gap: 2px; }
  .hero-actions .btn { width: 100%; }
  .values { font-size: 1.08rem; gap: 2px 10px; }
  .color .ring-icon { width: 56px; height: 56px; }
}

/* =========================================================
   Host dashboard
   ========================================================= */
.admin-body { background: #F6F2EE; }
.admin-bar { background: var(--ink); color: var(--paper); }
.admin-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.admin-bar .brand { color: var(--paper); }
.admin-bar .brand-name { font-size: 1.1rem; }
.admin-bar .brand-mark { width: 32px; height: 32px; }
.admin-bar .ring { mix-blend-mode: normal; }
.admin-bar .ring-sage { stroke: var(--paper); }
.admin-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.admin-nav a { color: #E9EDE6; text-decoration: none; padding: 8px 12px; border-radius: 6px; font-weight: 600; font-size: .95rem; }
.admin-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.admin-nav a[aria-current="page"] { background: rgba(255, 255, 255, .14); color: #fff; }
.admin-main { padding: 36px 0 80px; }
.admin-main h1 { font-size: 2rem; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-head h1 { margin: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.panel h2 { font-size: 1.35rem; }
.panel-narrow { max-width: 460px; margin: 40px auto; }
.muted { color: var(--ink-soft); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.table td .row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.table form { display: inline; }

.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.badge-published, .badge-going { background: var(--sage-wash); color: var(--sage-deeper); }
.badge-draft { background: #F1ECE4; color: #6B5F4D; }
.badge-cancelled { background: #F6E6E6; color: var(--error); }
.badge-waitlist { background: var(--blue-wash); color: #3F5B78; }

.stats { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; min-width: 150px; }
.stat strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1.1; }
.stat span { color: var(--ink-soft); font-size: .92rem; }

.thumb-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.thumb-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.thumb-grid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.thumb-grid .thumb-body { padding: 12px; }
.thumb-grid .field { margin-bottom: 10px; }
.thumb-grid .field input, .thumb-grid .field select { min-height: 40px; padding: 8px 10px; font-size: .92rem; }

.current-image { max-width: 240px; border-radius: 8px; margin-bottom: 10px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
