/* =====================================================================
   River City Retreat — public frontend stylesheet
   Mobile-first. System font stack. No external assets.
   ===================================================================== */

/* ---------- Variables ---------- */
:root {
  --color-primary: #24405f;        /* deep slate navy */
  --color-primary-dark: #16283c;
  --color-accent: #cf8a3a;         /* warm copper-amber */
  --color-accent-dark: #b06f24;
  --color-text: #232a33;           /* dark slate */
  --color-muted: #6a7280;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f3ef;         /* warm light gray */
  --color-border: #e4ded4;
  --color-available: #d8e7f6;      /* open dates: clear blue tint */
  --color-available-text: #143f6e;
  --color-booked: #fdecea;          /* booked: warm red tint */
  --color-booked-text: #a02c22;
  --color-blocked: #cfd5dc;         /* blocked: solid mid gray + hatch */
  --color-blocked-text: #4d555f;
  --color-info: #e8f1fb;
  --color-info-text: #1d4e89;
  --color-warn: #fdf3e3;
  --color-warn-text: #8a5a12;
  --color-success: #e9eef4;        /* success states follow the navy family */
  --color-success-text: #1e3a5f;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(24, 32, 44, 0.08);
  --max-width: 1080px;
  --max-width-narrow: 720px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-stack);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

h1, h2, h3 { line-height: 1.25; margin: 1.5em 0 0.6em; }
h1 { font-size: 1.9rem; margin-top: 0; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.1rem; }

a { color: var(--color-primary); }
a:hover { color: var(--color-primary-dark); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container.narrow { max-width: var(--max-width-narrow); }

.section { padding: 2.5rem 0; }
.section-alt { background: var(--color-bg-alt); }

.center { text-align: center; }
.muted { color: var(--color-muted); }
.lead { font-size: 1.1rem; color: #3a424b; }
.rich-text p { margin: 0 0 1em; }
.num { text-align: right; white-space: nowrap; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.75rem;
  gap: 1rem;
}
/* ---------- Wordmark lockup ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark { width: 2.15rem; height: 2.15rem; flex: none; }
.brand-mark .m-roof { stroke: var(--color-accent); }
.brand-mark .m-wave1 { stroke: var(--color-primary); }
.brand-mark .m-wave2 { stroke: var(--color-accent); }
.brand-type { display: flex; flex-direction: column; line-height: 1.08; }
.brand-line1 {
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: 0.045em;
  color: var(--color-primary-dark);
}
.brand-line2 {
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.44em;
  color: var(--color-accent-dark);
  margin-top: 0.12rem;
}
.brand-line2:empty { display: none; }
/* Footer variant: light type on the dark footer */
.brand-footer .brand-mark { width: 1.9rem; height: 1.9rem; }
.brand-footer .brand-line1 { color: #fff; font-size: 0.95rem; }
.brand-footer .m-wave1 { stroke: #dbe3ec; }

/* Mobile: nav hidden behind hamburger; JS toggles .open */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}
.primary-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  flex-direction: column;
  padding: 0.5rem 1.25rem 1rem;
  gap: 0.25rem;
}
.primary-nav.open { display: flex; }
.primary-nav a {
  text-decoration: none;
  color: var(--color-text);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
}
.primary-nav a:last-child { border-bottom: none; }
.primary-nav a.btn { text-align: center; margin-top: 0.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.7rem 1.4rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}
.btn-ghost:hover { background: var(--color-bg-alt); color: var(--color-primary-dark); }
.btn-lg { font-size: 1.1rem; padding: 0.85rem 1.8rem; }
.btn-book { background: var(--color-accent); color: #241a05; border: none; }
.btn-book:hover { background: var(--color-accent-dark); color: #241a05; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  min-height: 68vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #101b29 0%, #1b3249 55%, #24405f 100%);
}
/* Branded placeholder (no photos uploaded yet): layered navy gradient with
   a warm copper glow. Never a fake photo. */
.hero-branded {
  background:
    radial-gradient(1100px 480px at 18% -10%, rgba(207,138,58,0.28), transparent 60%),
    radial-gradient(900px 420px at 88% 112%, rgba(207,138,58,0.16), transparent 55%),
    radial-gradient(700px 380px at 75% 20%, rgba(120,160,200,0.10), transparent 60%),
    linear-gradient(160deg, #101b29 0%, #1b3249 55%, #24405f 100%);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(14,24,37,0.80) 0%,
    rgba(14,24,37,0.55) 45%,
    rgba(14,24,37,0.85) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: var(--max-width-narrow); width: 100%; }
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.hero h1 { font-size: 2.1rem; margin: 0 0 1rem; color: #fff; text-wrap: balance; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.92); margin: 0 0 1.75rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.hero-facts li { font-size: 0.9rem; color: rgba(255,255,255,0.95); }
.hero-facts strong { display: block; font-size: 1.4rem; color: #fff; }
.hero-photo-note {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  z-index: 1;
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  background: rgba(10,18,28,0.45);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.section-alt .card { box-shadow: none; }
.card h3 { margin-top: 0; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 1.6rem; position: relative; margin-bottom: 0.5rem; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 800;
}
.testimonial-quote { font-style: italic; }
.testimonial-name { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--color-primary); color: #fff; }
.cta-band h2 { margin-top: 0; }
.cta-band p { opacity: 0.95; }

/* ---------- Facts / info blocks ---------- */
.fact-line { font-size: 1.05rem; }
.info-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 2rem;
}
.info-box h2 { margin-top: 0; }
.steps-list { margin: 0; padding-left: 1.25rem; }
.steps-list li { margin-bottom: 0.6rem; }

/* ---------- Photo placeholders & gallery ---------- */
.photo-strip,
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}
.photo-placeholder,
.video-placeholder {
  background: linear-gradient(135deg, #f1ede6 0%, #e3dccf 100%);
  border: 2px dashed #c3bba9;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-weight: 600;
}
.photo-placeholder.tall { aspect-ratio: 3 / 4; }
.photo-strip-item img,
.gallery-item img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-item figcaption,
.photo-strip-item figcaption {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.35rem;
}
.video-wrap video {
  width: 100%;
  border-radius: var(--radius);
  background: #000;
}
.video-placeholder { aspect-ratio: 16 / 9; }

/* ---------- Area guide map ---------- */
.area-map {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.25rem 0;
  box-shadow: var(--shadow);
}
.area-map-svg { width: 100%; height: auto; display: block; }

/* ---------- Amenities / rules ---------- */
.amenity-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
.amenity-list li {
  padding: 0.6rem 0.8rem 0.6rem 2rem;
  background: var(--color-bg-alt);
  border-radius: 8px;
  position: relative;
}
.amenity-list li::before {
  content: "✓";
  position: absolute;
  left: 0.75rem;
  color: var(--color-primary);
  font-weight: 800;
}
.rule-list li { margin-bottom: 0.5rem; }

/* ---------- Calendar ---------- */
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
}
.cal-title { margin: 0; font-size: 1.25rem; }
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.cal-dow {
  background: var(--color-bg-alt);
  font-weight: 700;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.5rem 0;
  color: var(--color-muted);
}
.cal-day {
  background: #fff;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  position: relative;
}
.cal-day.cal-empty { background: #fafbfc; }
.cal-day.cal-available { background: var(--color-available); color: var(--color-available-text); font-weight: 600; }
.cal-day.cal-booked { background: var(--color-booked); color: var(--color-booked-text); }
.cal-day.cal-blocked {
  background-color: var(--color-blocked);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(20, 30, 45, 0.08) 0 2px,
    transparent 2px 9px
  );
  color: var(--color-blocked-text);
}
.cal-day.cal-today { outline: 2px solid var(--color-primary); outline-offset: -2px; }
.cal-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.9rem;
}
.cal-key {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 4px;
  margin-right: 0.4rem;
  vertical-align: -2px;
}
.cal-key.cal-available { background: var(--color-available); border: 1px solid var(--color-available-text); }
.cal-key.cal-booked { background: var(--color-booked); border: 1px solid var(--color-booked-text); }
.cal-key.cal-blocked { background: var(--color-blocked); border: 1px solid var(--color-blocked-text); }

/* ---------- Forms ---------- */
form { margin: 1.25rem 0; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field label { font-weight: 600; font-size: 0.95rem; }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-field-full { grid-column: 1 / -1; }
.checkbox-field { flex-direction: row; align-items: flex-start; gap: 0.6rem; }
.checkbox-field input { width: auto; margin-top: 0.25rem; }
.form-error {
  background: var(--color-booked);
  color: var(--color-booked-text);
  border: 1px solid var(--color-booked-text);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin: 1rem 0;
}
.form-error ul { margin: 0.25rem 0 0; padding-left: 1.25rem; }
.signature-form { max-width: 32rem; }

/* ---------- Quote table ---------- */
.quote-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}
.quote-table th,
.quote-table td {
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.quote-table th { text-align: left; font-weight: 600; }
.quote-table th.indent { padding-left: 1.25rem; font-weight: 400; color: var(--color-muted); }
.quote-table .total-row th,
.quote-table .total-row td {
  font-size: 1.1rem;
  font-weight: 800;
  border-bottom: none;
}
.quote-table .discount-row th,
.quote-table .discount-row td { color: var(--color-available-text); }
.quote-summary {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.5rem 0;
}
.quote-summary h2 { margin-top: 0; }
#quote-results .quote-table { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 0 1rem; }

/* ---------- Friends & Family banner ---------- */
.ff-banner {
  background: #fdf6e4;
  border: 1px solid var(--color-accent);
  color: #6b4d0f;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

/* ---------- Notices ---------- */
.notice {
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  border: 1px solid;
}
.notice p:last-child { margin-bottom: 0; }
.notice-info { background: var(--color-info); border-color: var(--color-info-text); color: var(--color-info-text); }
.notice-warn { background: var(--color-warn); border-color: var(--color-warn-text); color: var(--color-warn-text); }
.notice-success { background: var(--color-success); border-color: var(--color-success-text); color: var(--color-success-text); }
.notice-action { background: var(--color-bg-alt); border-color: var(--color-border); color: var(--color-text); }
.notice-test { background: #f3eefa; border-color: #6b4fa1; color: #4a3370; }

/* ---------- Guest portal ---------- */
.booking-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  margin: 1.25rem 0;
}
.booking-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; }
.booking-facts div { display: flex; flex-direction: column; }
.booking-facts dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); }
.booking-facts dd { margin: 0; font-weight: 700; }

.timeline { list-style: none; margin: 1.25rem 0; padding: 0; }
.timeline-step { display: flex; gap: 0.9rem; padding: 0.7rem 0; position: relative; }
.timeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 2.2rem;
  bottom: -0.4rem;
  width: 2px;
  background: var(--color-border);
}
.timeline-dot {
  flex: 0 0 1.2rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: #fff;
  margin-top: 0.2rem;
  z-index: 1;
}
.timeline-step.done .timeline-dot { background: var(--color-primary); border-color: var(--color-primary); }
.timeline-step.current .timeline-dot { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(36,64,95,0.22); }
.timeline-step.todo { opacity: 0.55; }
.timeline-body strong { display: block; }
.timeline-body p { margin: 0.15rem 0 0; font-size: 0.9rem; color: var(--color-muted); }

.next-steps .btn { margin-top: 0.75rem; }

.address-card {
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.25rem 0;
  box-shadow: var(--shadow);
}
.address-card h3 { margin-top: 1.25rem; }
.address-card h3:first-child { margin-top: 0; }
.address-line { font-size: 1.15rem; font-weight: 700; }
.lock-code {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
}

/* ---------- Agreement document ---------- */
.agreement-doc {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.agreement-doc h2 { font-size: 1.15rem; margin-top: 1.75rem; }
.agreement-doc h2:first-child { margin-top: 0; }
.agreement-doc ul { padding-left: 1.25rem; }
.agreement-doc li { margin-bottom: 0.5rem; }
.agreement-facts { margin: 0 0 1rem; }
.agreement-facts div { display: flex; gap: 0.75rem; padding: 0.35rem 0; border-bottom: 1px dotted var(--color-border); }
.agreement-facts dt { font-weight: 700; min-width: 9rem; }
.agreement-facts dd { margin: 0; }

/* ---------- Payment page ---------- */
#payment-element { margin: 1rem 0; min-height: 8rem; }
.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: -2px;
  margin-left: 0.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer {
  background: #131c26;
  color: #c3ccd6;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}
.site-footer a { color: #e8edf2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.footer-brand p { margin: 0.5rem 0 0; font-size: 0.9rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-fine { font-size: 0.8rem; color: #8d99a5; margin: 0; }

/* =====================================================================
   Larger screens
   ===================================================================== */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-list { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 78vh; }
  .hero h1 { font-size: 2.6rem; }
  .cal-day { min-height: 3.5rem; }
}

@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 3.5rem 0; }

  /* Desktop nav: always visible, horizontal; hamburger hidden */
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    border: none;
    padding: 0;
    background: none;
  }
  .primary-nav a { border: none; padding: 0.4rem 0; }
  .primary-nav a.btn { margin-top: 0; }
  .footer-inner { grid-template-columns: 1.2fr 1.6fr; }
}

/* ---- Flash messages (public site) ---- */
.flashes { margin: 1rem 0 0; }
.flash { padding: 0.7rem 1rem; border-radius: 8px; margin-bottom: 0.6rem; font-size: 0.95rem; }
.flash-success { background: #e9eef4; color: #1e3a5f; border: 1px solid #c3d2e2; }
.flash-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.flash-info { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

/* ---- Guest message thread ---- */
.message-thread { display: flex; flex-direction: column; gap: 0.75rem; margin: 1rem 0; }
.message { max-width: 85%; padding: 0.7rem 1rem; border-radius: 12px; }
.message-guest { align-self: flex-end; background: #e0e7ff; }
.message-owner { align-self: flex-start; background: #f1f5f9; border: 1px solid #e2e8f0; }
.message-meta { font-size: 0.75rem; color: #64748b; margin-bottom: 0.25rem; }
.message-body { white-space: pre-line; }

/* ---- Unread badge ---- */
.unread-badge {
  display: inline-block; background: #dc2626; color: #fff;
  font-size: 0.75rem; font-weight: 700; border-radius: 999px;
  padding: 0.1rem 0.55rem; margin-left: 0.5rem; vertical-align: middle;
}

/* ---- Account nav link ---- */
.nav-account { font-weight: 600; }
