/* Camper Dashboard — shared styles. Palette matches the main site / admin gate. */
:root {
  --olive: #5B6B2D;
  --olive-dark: #3D4A1F;
  --cream: #FFF8EC;
  --rust: #C2552D;
  --gold: #C49A02;
  --gold-deep: #8A6D00; /* AA-contrast gold for small text on light bg */
  --ink: #2E3318;
  --muted: #5A6043;     /* darkened from #6B7350 to clear AA on cream */

  /* Surfaces & lines */
  --line: rgba(91, 107, 45, 0.18);        /* standard card border */
  --line-soft: rgba(91, 107, 45, 0.12);   /* hairline divider */
  --line-strong: rgba(91, 107, 45, 0.3);  /* input border */
  --shadow-card: 0 8px 22px rgba(61, 74, 31, 0.12);
  --shadow-soft: 0 10px 30px rgba(61, 74, 31, 0.12);

  /* Status palette (submitted / waiting / error) */
  --success: #5B8C3E;
  --success-pill-bg: #DCEBCB;
  --success-pill-text: #2F4D1C;
  --notice-bg: #FBEFD6;
  --warn-pill-bg: #F6E2B0;
  --warn-pill-text: #7A5A00;
  --error-bg: #FBE3DA;
  --error-text: #8A2D12;
  --badge-bg: #EEF0E2;
}

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

body {
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Lora', Georgia, serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--rust); }

/* Visible keyboard focus on every interactive element (links, buttons, cards,
   inputs). Mouse clicks don't trigger :focus-visible, so it stays clean. */
:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }

/* --- Top nav --- */
.dash-nav {
  position: relative;
  background: var(--olive);
  color: var(--cream);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding: 0.85rem 1.25rem;
}
.dash-nav .brand {
  font-family: 'Righteous', cursive;
  font-size: 1.25rem;
  margin-right: auto;
  color: var(--cream);
  text-decoration: none;
}
/* On desktop the menu is just an inline row of links inside the bar. */
.dash-nav .nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}
.dash-nav a.navlink {
  display: inline-flex; align-items: center; min-height: 44px;
  color: rgba(255, 248, 236, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.35em 0.7em;
  border-radius: 9999px;
}
.dash-nav a.navlink:hover { color: var(--cream); background: rgba(255, 248, 236, 0.12); }
.dash-nav a.navlink.active { color: var(--olive-dark); background: var(--gold); font-weight: 600; }
.dash-nav .logout { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 248, 236, 0.7); font-size: 0.9rem; }

/* Hamburger toggle — desktop hides it; the mobile breakpoint reveals it. */
.dash-nav .nav-toggle {
  display: none;
  position: relative;
  flex: 0 0 auto;
  width: 44px; height: 44px;
  margin-left: 0.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  border-radius: 10px;
  z-index: 70;
}
.dash-nav .nav-toggle:hover { background: rgba(255, 248, 236, 0.12); }
/* Three bars drawn from the span and its two pseudo-elements. */
.dash-nav .nav-toggle__icon,
.dash-nav .nav-toggle__icon::before,
.dash-nav .nav-toggle__icon::after {
  content: ''; position: absolute;
  left: 50%; width: 22px; height: 2px;
  background: currentColor; border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.dash-nav .nav-toggle__icon { top: 50%; margin-top: -1px; }
.dash-nav .nav-toggle__icon::before { top: -7px; }
.dash-nav .nav-toggle__icon::after  { top: 7px; }
/* Open state morphs the three bars into an X. */
.dash-nav.nav-open .nav-toggle__icon { background: transparent; }
.dash-nav.nav-open .nav-toggle__icon::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.dash-nav.nav-open .nav-toggle__icon::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* Backdrop is mobile-drawer only; hidden everywhere else. */
.dash-nav .nav-backdrop { display: none; }

@media (max-width: 720px) {
  .dash-nav { flex-wrap: nowrap; }
  .dash-nav .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  /* The link list slides in from the right as an off-canvas drawer. While
     closed it's visibility:hidden so the links stay out of the tab order and
     the off-screen panel can't bleed horizontal scroll onto the page. */
  .dash-nav .nav-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(82vw, 320px);
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0.25rem;
    padding: 5rem 1.25rem 1.5rem; /* top padding clears the bar + toggle */
    background: var(--olive-dark);
    box-shadow: -12px 0 30px rgba(0, 0, 0, 0.25);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
    overflow-y: auto;
    z-index: 60;
  }
  .dash-nav.nav-open .nav-menu {
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.25s ease, visibility 0s;
  }

  .dash-nav a.navlink,
  .dash-nav .logout {
    width: 100%;
    min-height: 48px;
    font-size: 1.05rem;
    padding: 0.6em 0.9em;
    border-radius: 10px;
  }
  .dash-nav .logout {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 248, 236, 0.15);
    border-radius: 0;
  }

  .dash-nav.nav-open .nav-backdrop {
    display: block;
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 50;
  }
}

/* Lock background scroll while the drawer is open. */
body.nav-locked { overflow: hidden; }

/* --- Page shell --- */
.dash-main { max-width: 880px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.dash-greeting { font-family: 'Righteous', cursive; font-weight: 400; font-size: 2rem; color: var(--olive-dark); margin-bottom: 0.25rem; }
.dash-sub { color: var(--muted); margin-bottom: 2rem; }
.dash-section-title { font-family: 'Righteous', cursive; font-weight: 400; font-size: 1.3rem; color: var(--olive-dark); margin: 2rem 0 1rem; }

/* --- Main-column tabs (folder tabs) --- */
/* Classic folder tabs wired to the content panel below: the active tab shares
   the panel's white surface and erases the divider line beneath itself, so it
   reads as one piece with the content. Inactive tabs sit recessed on a tinted
   fill and a touch shorter, behind the panel's top edge. Camp palette, not the
   reference greys. */
.dash-tabs {
  display: flex;
  align-items: flex-end;
  position: relative;            /* make this the offsetParent so a tab's offsetLeft is measured against the strip (the scroll-into-view math in dashboard.html depends on it) */
  border-bottom: 1px solid var(--line);   /* the panel's top edge, full column width */
  flex-wrap: nowrap;             /* never wrap — overflow scrolls sideways instead */
  overflow-x: auto;              /* scroll when tabs exceed the column width */
  overflow-y: hidden;            /* no stray vertical scrollbar from the active-tab seam */
  scroll-snap-type: x proximity;
  scrollbar-width: none;         /* hide the scrollbar (Firefox) */
  -webkit-overflow-scrolling: touch;
}
.dash-tabs::-webkit-scrollbar { display: none; }   /* hide the scrollbar (WebKit) */
.dash-tab {
  appearance: none;
  position: relative;
  margin-bottom: -1px;          /* sit on the strip's border line */
  padding: 0.6rem 1.3rem;
  min-height: 44px;
  background: var(--badge-bg);  /* recessed fill (inactive) */
  border: 1px solid var(--line);
  border-radius: 10px 10px 0 0;
  font-family: 'Righteous', cursive;
  font-size: 1.02rem;
  line-height: 1.1;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;                /* natural width; never shrink (overflow scrolls) */
  scroll-snap-align: start;
  transition: background 0.12s ease, color 0.12s ease;
}
.dash-tab + .dash-tab { margin-left: -1px; }   /* collapse the shared vertical border */
.dash-tab:hover:not([aria-selected="true"]) { background: #fff; color: var(--olive-dark); }
.dash-tab[aria-selected="true"] {
  z-index: 1;                   /* its borders sit above the neighbour's */
  padding-top: 0.8rem;          /* a touch taller so the active tab pops up */
  background: #fff;             /* matches the panel surface */
  color: var(--olive-dark);
  border-bottom-color: #fff;    /* erase the divider beneath the active tab */
}

/* The panel is the surface the active tab connects to: open at the top (the tab
   strip's border is its top edge), boxed on the other three sides. */
.dash-tabpanel {
  background: #fff;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 14px 14px;
  padding: 1.75rem;
}
.dash-tabpanel[hidden] { display: none; }
/* Panels carry tabindex=0 so keyboard users can reach an empty panel (e.g. while
   the status cards are still loading). Let the global :focus-visible draw the
   ring on keyboard Tab; a plain outline:none here would suppress it for keyboard
   users too, while mouse clicks never trigger :focus-visible anyway. */
.dash-tabpanel > .dash-section-title:first-child { margin-top: 0; }
/* Participation content sits directly on the panel now — drop the old card
   wrapper's surface so we don't nest a white box inside the white panel. */
.dash-tabpanel .participation-card {
  background: none; border: none; border-radius: 0; padding: 0; margin: 0;
}

/* Narrow screens: tabs keep their natural width and the strip scrolls sideways
   (see .dash-tabs overflow rules). Tighten padding/font so more tabs are visible
   per swipe. If/when sections exceed ~6-7, switch this strip to a dropdown
   "Jump to section" picker or add a "More" overflow — horizontal-scroll
   discoverability degrades past that point. */
@media (max-width: 560px) {
  .dash-tab { padding: 0.6rem 1rem; font-size: 0.92rem; }
  .dash-tab[aria-selected="true"] { padding-top: 0.75rem; }
  .dash-tabpanel { padding: 1.25rem; }
}

/* Shared white-surface card recipe — border/radius/bg defined once here; each
   component below carries only its own padding, layout and accents. */
.dash-card, .dash-info, .status-card, .participation-card,
.announcement-card, .ann-card, .form-intro, .referral-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

/* --- Card grid --- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.dash-card {
  display: block;
  padding: 1.4rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.dash-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.dash-card h3 { font-family: 'Righteous', cursive; color: var(--olive-dark); margin-bottom: 0.4rem; font-weight: 400; }
.dash-card p { color: var(--muted); font-size: 1rem; line-height: 1.45; }
.dash-card .emoji { font-size: 1.6rem; display: block; margin-bottom: 0.5rem; }

/* --- Generic info / notices --- */
.dash-info { padding: 1.4rem; margin-bottom: 1.5rem; }
.dash-notice { background: var(--notice-bg); border: 1px solid var(--gold); border-radius: 10px; padding: 0.8rem 1rem; margin-bottom: 1.25rem; color: var(--olive-dark); font-size: 0.95rem; }
.dash-error { background: var(--error-bg); border: 1px solid var(--rust); border-radius: 10px; padding: 0.8rem 1rem; color: var(--error-text); font-size: 0.95rem; }

/* --- Buttons / forms --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  padding: 0.7em 1.4em;
  border: none;
  border-radius: 9999px;
  background: var(--rust);
  color: var(--cream);
  font-family: 'Righteous', cursive;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--gold); color: var(--olive-dark); }
.field { width: 100%; padding: 0.75em 1em; border: 2px solid var(--line-strong); border-radius: 9999px; font-family: 'Lora', serif; font-size: 1rem; }
/* Keep the bold border on focus; the global :focus-visible adds the ring for
   keyboard users (no more outline:none swallowing it). */
.field:focus { border-color: var(--rust); }

/* --- Login --- */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.login-card { background: #fff; border-radius: 14px; padding: 2.25rem; max-width: 420px; width: 100%; box-shadow: var(--shadow-soft); text-align: center; }
.login-card h1 { font-family: 'Righteous', cursive; font-weight: 400; color: var(--olive-dark); margin-bottom: 0.4rem; }
.login-card p.lead { color: var(--muted); margin-bottom: 1.5rem; }
.login-card form { display: flex; flex-direction: column; gap: 0.75rem; }

/* --- Status cards (home: lodging + registration) --- */
.status-card {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 1.25rem; margin-bottom: 1rem;
}
/* Status reads from a thin full border in the status colour (+ the pill/text),
   not a chunky left bar. */
.status-card.ok { border-color: var(--success); }
.status-card.warn { border-color: var(--gold); }
.status-card .status-main { flex: 1 1 260px; }
.status-card .status-main strong { color: var(--olive-dark); font-family: 'Righteous', cursive; font-weight: 400; }
.status-card .status-detail { color: var(--muted); font-size: 1rem; margin-top: 0.25rem; }
.status-card .btn { flex: 0 0 auto; align-self: center; }
.reg-summary { margin-top: 0.6rem; display: grid; gap: 0.3rem; }
.reg-whatsapp {
  flex: 1 1 100%;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.92rem;
  color: var(--muted);
}
.reg-whatsapp a { font-family: 'Righteous', cursive; }
.reg-row { display: flex; gap: 0.6rem; font-size: 0.9rem; }
.reg-label { color: var(--muted); min-width: 150px; flex: 0 0 150px; }
.reg-val { color: var(--ink); }
.card-grid.two { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card-grid.one { grid-template-columns: 1fr; }
.loading { color: var(--muted); }

/* --- Participation: white card wrapping intro + nested form cards --- */
.participation-card {
  padding: 1.75rem;
  margin-bottom: 1rem;
}
.section-intro { line-height: 1.7; color: var(--ink); }
.section-intro p { margin-bottom: 1rem; }
.section-intro p:last-child { margin-bottom: 0; }
.part-deadline { margin: 1.25rem 0; font-weight: 600; color: var(--olive-dark); }

.part-list { display: grid; grid-template-columns: 1fr; gap: 0.85rem; }
.part-card {
  display: flex; align-items: center; gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.part-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.part-card.done { border-color: var(--success); }
.part-card.todo { border-color: var(--gold); }
.part-emoji { font-size: 1.6rem; flex: 0 0 auto; line-height: 1; }
/* Title + status pill share the top row; the description spans the full width
   underneath, so the copy never gets squeezed into a narrow column on mobile. */
.part-body {
  flex: 1 1 auto; min-width: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title status"
    "desc  desc";
  column-gap: 0.75rem;
  row-gap: 0.25rem;
  align-items: center;
}
.part-title { grid-area: title; font-family: 'Righteous', cursive; color: var(--olive-dark); font-size: 1.05rem; }
.part-desc { grid-area: desc; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.part-status {
  grid-area: status; justify-self: end; align-self: start;
  font-family: 'Righteous', cursive; font-size: 0.72rem;
  padding: 0.3em 0.75em; border-radius: 9999px; white-space: nowrap;
}
.part-status:empty { display: none; }
.part-card.done .part-status { background: var(--success-pill-bg); color: var(--success-pill-text); }
.part-card.todo .part-status { background: var(--warn-pill-bg); color: var(--warn-pill-text); }

/* --- Home two-column layout (main + announcements sidebar) --- */
.dash-layout {
  max-width: 1220px; margin: 0 auto; padding: 2rem 1.25rem 4rem;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: start;
  /* minmax(0,...) not plain 1fr: a 1fr track's auto minimum grows to the column's
     content min-width, which the horizontally-scrollable .dash-tabs strip would
     blow out (dragging the whole page wide on mobile). The 0 min lets the column
     stay viewport-width so the strip scrolls inside it. Matches the desktop rule. */
}
/* Inside the grid, .dash-main is just a column — drop its own width/margins.
   (The bare .dash-main rule still applies on lodging/apply/article pages.) */
.dash-layout .dash-main { max-width: none; margin: 0; padding: 0; min-width: 0; }
/* min-width: 0 lets this grid column shrink below its content's intrinsic width.
   Without it the column refuses to go narrower than the .dash-tabs strip and the
   whole page scrolls sideways on mobile; with it the column stays viewport-width
   and the strip scrolls inside itself. */
/* Greeting spans both columns so Lodging + Camp Announcements top-align below it. */
.dash-header { grid-column: 1 / -1; }
.dash-header .dash-sub { margin-bottom: 0; }
/* The tab strip is now the first thing in the column; it carries its own
   spacing, so no first-child margin reset is needed here. */
@media (min-width: 980px) {
  .dash-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .dash-sidebar { position: sticky; top: 1rem; }
}

.dash-sidebar-title { font-family: 'Righteous', cursive; font-weight: 400; font-size: 1.3rem; color: var(--olive-dark); margin-bottom: 1rem; }

/* --- Referral share card (sidebar) --- */
/* white surface / border / radius come from the shared card recipe above */
.referral-card {
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.referral-card .referral-title {
  font-family: 'Righteous', cursive; color: var(--olive-dark);
  font-size: 1.05rem; line-height: 1.25; margin: 0 0 0.25rem;
}
.referral-card .referral-sub { color: var(--muted); font-size: 1rem; line-height: 1.4; margin: 0 0 1rem; }
.referral-card .referral-code-label { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 0.3rem; }
.referral-card .referral-code-value { font-family: 'Righteous', cursive; font-size: 1.6rem; font-weight: 700; color: var(--olive-dark); letter-spacing: 4px; margin: 0 0 1rem; }
.referral-card .referral-share-btn { width: 100%; }

/* --- Announcement summary cards (sidebar + archive) --- */
.announcement-card {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 1rem; margin-bottom: 0.85rem;
  text-decoration: none; color: var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.announcement-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.announcement-card .ann-icon { font-size: 1.3rem; line-height: 1.3; flex: 0 0 auto; }
.announcement-card .ann-thumb { flex: 0 0 auto; width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--cream); }
.announcement-card .ann-headline { display: block; font-family: 'Righteous', cursive; color: var(--olive-dark); font-size: 1.02rem; line-height: 1.25; margin-bottom: 0.15rem; }
.announcement-card .ann-date { display: block; color: var(--gold-deep); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.3rem; }
.announcement-card .ann-summary { display: block; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.announcement-card .ann-readmore { display: block; margin-top: 0.5rem; color: var(--rust); font-family: 'Righteous', cursive; font-size: 0.8rem; }
.announcement-card:hover .ann-readmore { text-decoration: underline; }
.announcements-viewall { display: inline-block; font-family: 'Righteous', cursive; font-size: 0.9rem; margin-top: 0.25rem; }
.ann-empty { color: var(--muted); font-size: 0.92rem; }

/* --- Announcement article page --- */
.ann-article .ann-back { display: inline-block; margin-bottom: 1.25rem; font-size: 0.9rem; }
.ann-card { padding: 1.75rem 2rem; }
.ann-card .ann-hero { display: block; width: 100%; max-height: 340px; object-fit: cover; border-radius: 10px; margin-bottom: 1.5rem; }
.ann-article h1 { font-family: 'Righteous', cursive; font-weight: 400; font-size: 2rem; color: var(--olive-dark); margin-bottom: 0.25rem; }
.ann-article .ann-meta { color: var(--gold-deep); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 1.5rem; }
.ann-content { line-height: 1.7; }
.ann-content h2, .ann-content h3, .ann-content h4 { font-family: 'Righteous', cursive; color: var(--olive-dark); font-weight: 400; margin: 1.6rem 0 0.6rem; }
.ann-content h2 { font-size: 1.4rem; }
.ann-content h3 { font-size: 1.2rem; }
.ann-content h4 { font-size: 1.05rem; }
.ann-content p { margin-bottom: 1rem; }
.ann-content ul { margin: 0 0 1rem 1.4rem; }
.ann-content li { margin-bottom: 0.35rem; }
.ann-content a { color: var(--rust); }

/* --- Embedded form page --- */
.resubmit-note {
  background: #fff;
  border: 1px solid var(--success);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--olive-dark);
}
.resubmit-note strong { font-family: 'Righteous', cursive; font-weight: 400; }
.form-intro {
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: var(--ink);
}
.form-intro > :first-child { margin-top: 0; }
.form-intro > :last-child { margin-bottom: 0; }
.form-intro p { margin-bottom: 1rem; }
.form-intro h2 { font-family: 'Righteous', cursive; color: var(--olive-dark); font-weight: 400; font-size: 1.2rem; margin: 1.6rem 0 0.6rem; }
.form-intro ul { margin: 0 0 1rem 1.4rem; }
.form-intro li { margin-bottom: 0.4rem; }
.embed-wrap { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0.5rem; }
.airtable-embed { width: 100%; background: transparent; border: none; }
.coming-soon { text-align: center; padding: 3rem 1.5rem; color: var(--muted); }
.coming-soon h2 { font-family: 'Righteous', cursive; font-weight: 400; color: var(--olive-dark); margin-bottom: 0.5rem; }

/* Respect users who ask for less motion: drop the card hover lifts/transitions. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .dash-card:hover, .part-card:hover, .announcement-card:hover { transform: none; }
}

/* --- Family Meetings (content sits directly in the tab — no inner card) --- */
.meetings-when { margin: 0 0 1rem; color: var(--olive-dark); font-size: 1.1rem; }
.meetings-intro { margin: 0 0 1.25rem; color: var(--muted); line-height: 1.6; }
.meetings-intro p { margin: 0 0 0.85rem; }
.meetings-intro p:last-child { margin-bottom: 0; }
.meetings-empty { color: var(--muted); margin: 0; }
.meetings-list { display: flex; flex-direction: column; gap: 0.6rem; }
.meeting-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); }
.meeting-row.going { border-color: var(--success); background: var(--success-pill-bg); }
.meeting-when { display: flex; flex-direction: column; }
.meeting-date { font-weight: 600; color: var(--ink); }
.meeting-count { font-size: 0.85rem; color: var(--muted); }
.meeting-actions { display: flex; align-items: center; gap: 0.85rem; }
.meeting-join { font-size: 0.9rem; white-space: nowrap; color: var(--olive); font-weight: 600; }
.meeting-rsvp { flex: 0 0 auto; white-space: nowrap; }
.meeting-rsvp[disabled] { opacity: 0.6; cursor: default; }
@media (max-width: 520px) {
  .meeting-row { flex-direction: column; align-items: stretch; }
  .meeting-actions { justify-content: space-between; }
}
