/* ===========================================================
   Initial Care — Design System
   Palette: white ground, sage green accent, dark brown/near-black ink
   Type: Fraunces (display, warm serif) + Work Sans (body/utility)
   Signature motif: the heart-in-circle mark — care, simply stated.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --putty: #FFFFFF;
  --putty-deep: #EEF4EF;
  --card: #FFFFFF;
  --ink: #2A2420;
  --ink-soft: #6b6a63;
  --forest: #7FA089;
  --forest-deep: #2A2420;
  --brass: #7FA089;
  --brass-bright: #8FB399;
  --line: rgba(42, 36, 32, 0.12);
  --radius: 2px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--putty);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  color: var(--forest-deep);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

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

.eyebrow {
  font-family: 'Work Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brass);
  display: block;
  margin-bottom: 0.9em;
}

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

/* ---------- Header / Nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--forest-deep);
  text-decoration: none;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand .mark {
  width: 30px; height: 30px;
  flex-shrink: 0;
}
.brand .mark .mark-bg { fill: var(--forest); }

.brand-lockup { display: flex; flex-direction: column; line-height: 1.25; }
.brand-lockup .tagline {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav.links {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav.links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

nav.links a.active,
nav.links a:hover {
  color: var(--forest-deep);
}

nav.links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--brass);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--forest-deep);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--forest-deep);
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:hover { background: #1e1a17; transform: translateY(-1px); }

.btn.brass {
  background: var(--brass);
  border-color: var(--brass);
  color: #fff;
}
.btn.brass:hover { background: var(--brass-bright); }

.btn.ghost {
  background: transparent;
  color: var(--forest-deep);
  border: 1px solid var(--forest-deep);
}
.btn.ghost:hover { background: var(--forest-deep); color: #fff; }

.admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.admin-link:hover {
  color: var(--brass);
  border-color: var(--brass);
  background: var(--card);
}

.heart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  transition: background 0.2s ease;
}
.heart-link:hover { background: var(--brass-bright); }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 { margin-bottom: 0.4em; }
.hero .lede { font-size: 1.15rem; max-width: 46ch; }

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 2em;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 2.4em;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-trust div { max-width: 200px; }
.hero-trust .num {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: var(--forest-deep);
  display: block;
}
.hero-trust .lbl {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* --- Doorway signature graphic --- */
.doorway-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doorway {
  width: 100%;
  max-width: 380px;
  height: auto;
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 3em;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Cards / grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.card .icon {
  width: 40px; height: 40px;
  margin-bottom: 18px;
  color: var(--brass);
}

.card h3 { margin-bottom: 0.5em; }
.card p { margin-bottom: 0; font-size: 0.96rem; }

/* ---------- Panel (alt background band) ---------- */
.panel {
  background: var(--forest-deep);
  color: #F0F4F1;
}
.panel h2, .panel h3 { color: #fff; }
.panel p { color: #c8cec9; }
.panel .eyebrow { color: var(--brass-bright); }

/* ---------- Timeline (day-in-the-life — a genuine sequence) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 2em;
}
.timeline .slot {
  padding: 28px 24px 0;
  border-right: 1px solid var(--line);
}
.timeline .slot:last-child { border-right: none; }
.timeline .time {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--brass);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5em;
}

/* ---------- Quote ---------- */
.quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--forest-deep);
  max-width: 700px;
  line-height: 1.5;
  margin: 0 auto 1em;
}
.quote-attr {
  font-family: 'Work Sans', sans-serif;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brass);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); }

/* ---------- Forms ---------- */
form.card { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--forest-deep); }
.field input, .field select, .field textarea {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--forest-deep);
  color: #cfd6cf;
  padding: 56px 0 28px;
}
footer.site a { color: #F0F4F1; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 {
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1em;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #9aa79e;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand-row .mark { width: 34px; height: 34px; flex-shrink: 0; }
.footer-brand-row strong {
  display: block;
  color: #fff;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.1rem;
}
.footer-brand-row .tagline { display: block; color: #b9c2bc; font-size: 0.72rem; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: var(--forest); }

.footer-contact-list { display: grid; gap: 14px; padding: 0; margin: 0; }
.footer-contact-list li { display: flex; gap: 10px; align-items: flex-start; list-style: none; font-size: 0.92rem; }
.footer-contact-list svg { flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; color: var(--brass-bright); }

.footer-cta-card {
  background: rgba(127, 160, 137, 0.14);
  border: 1px solid rgba(127, 160, 137, 0.3);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.footer-cta-card .eyebrow { color: var(--brass-bright); margin-bottom: 0.6em; }
.footer-cta-card h4 {
  color: #fff;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.15rem;
  margin-bottom: 0.5em;
}
.footer-cta-card p { color: #c8cec9; font-size: 0.88rem; margin-bottom: 0; }
.footer-cta-card .btn { margin-top: 1em; width: 100%; justify-content: center; }

/* ---------- Compliance notice strip ---------- */
.notice {
  border: 1px solid var(--brass);
  background: #EFF6F1;
  padding: 18px 22px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.notice svg { flex-shrink: 0; margin-top: 2px; color: var(--brass); width: 20px; height: 20px; }

/* ---------- Page header (subpages) ---------- */
.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
}

/* ---------- List with brass ticks ---------- */
ul.ticklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ul.ticklist li { display: flex; gap: 10px; align-items: flex-start; }
ul.ticklist svg { flex-shrink: 0; margin-top: 4px; width: 16px; height: 16px; color: var(--brass); }

/* ---------- Top contact bar ---------- */
.topbar {
  background: var(--forest-deep);
  color: #e8ece9;
  font-size: 0.85rem;
}
.topbar .wrap {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 8px 28px;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

/* ---------- Photo hero (full-bleed) ---------- */
.photo-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #4a6b56 0%, #2A2420 55%, #1e1a17 100%);
  overflow: hidden;
}
.photo-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 0;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
.photo-hero::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(42,36,32,0.88) 0%, rgba(42,55,46,0.72) 45%, rgba(42,36,32,0.55) 100%),
    radial-gradient(circle at 20% 30%, rgba(127,160,137,0.28), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(127,160,137,0.20), transparent 50%);
}
.photo-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: #fff;
  padding: 60px 0;
}
.photo-hero .eyebrow { color: var(--brass-bright); }
.photo-hero h1 { color: #fff; }
.photo-hero p.lede { color: #dde3dc; }

.img-placeholder {
  position: relative;
  overflow: hidden;
  background: var(--putty-deep);
  border-radius: var(--radius);
}
.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: fadeIn 0.9s ease both;
  transition: transform 0.6s ease;
}
.service-card:hover .img-placeholder img { transform: scale(1.06); }

/* ---------- Service cards with photo ---------- */
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card .img-placeholder { height: 170px; }
.service-card .body { padding: 22px 24px; }
.service-card h3 { margin-bottom: 0.4em; }
.service-card p { font-size: 0.94rem; margin-bottom: 0.8em; }
.service-card a.link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--forest-deep);
  text-decoration: none;
}
.service-card a.link:hover { text-decoration: underline; }

/* ---------- Quality/CQC band ---------- */
.quality-band {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.quality-band .badge {
  width: 74px; height: 74px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--forest-deep);
  display: flex; align-items: center; justify-content: center;
}
.quality-band .badge svg { width: 34px; height: 34px; color: var(--brass-bright); }

@media (max-width: 700px) {
  .topbar .wrap { justify-content: center; }
  .quality-band { flex-direction: column; text-align: center; }
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .doorway-wrap { order: -1; max-width: 220px; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .timeline .slot { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }

  nav.links { 
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--putty);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px 28px;
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 18px;
  }
  nav.links.open { display: flex; }
  .menu-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px 10px;
    cursor: pointer;
  }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   Motion
   =========================================================== */

/* ---------- Hero entrance ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.photo-hero .eyebrow,
.photo-hero h1,
.photo-hero p.lede,
.photo-hero .hero-cta {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}
.photo-hero .eyebrow { animation-delay: 0.05s; }
.photo-hero h1 { animation-delay: 0.18s; }
.photo-hero p.lede { animation-delay: 0.32s; }
.photo-hero .hero-cta { animation-delay: 0.46s; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-group .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.09s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.18s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.27s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.36s; }
.reveal-group .reveal:nth-child(6) { transition-delay: 0.45s; }

/* ---------- Hover lift ---------- */
.card, .service-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover, .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px -18px rgba(42, 38, 32, 0.35);
}

/* ---------- Underline sweep on links ---------- */
footer.site a, nav.links a:not(.btn):not(.admin-link):not(.heart-link) {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: background-size 0.25s ease, color 0.2s ease;
}
footer.site a:hover, nav.links a:not(.btn):not(.admin-link):not(.heart-link):hover {
  background-size: 100% 1px;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .photo-hero .eyebrow, .photo-hero h1, .photo-hero p.lede, .photo-hero .hero-cta {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===========================================================
   Admin dashboard
   =========================================================== */
.admin-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--putty);
}
.admin-login-card {
  width: 100%;
  max-width: 380px;
  display: grid;
  gap: 16px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 32px;
  flex-wrap: wrap;
}
.admin-header h1 { margin: 0; }
.admin-header .btn { padding: 10px 18px; font-size: 0.85rem; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.stat-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.stat-tile .num {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  color: var(--forest-deep);
  display: block;
  line-height: 1.1;
}
.stat-tile .lbl {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.chart-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 32px;
}
.chart-card h3 { margin-bottom: 1.2em; }
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 160px;
}
.chart-bars .bar {
  flex: 1;
  background: var(--brass);
  border-radius: 2px 2px 0 0;
  min-height: 2px;
  position: relative;
  transition: background 0.15s ease;
}
.chart-bars .bar:hover { background: var(--brass-bright); }
.chart-bars .bar .tip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--forest-deep);
  color: #fff;
  font-size: 0.72rem;
  padding: 3px 7px;
  border-radius: 2px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  margin-bottom: 6px;
}
.chart-bars .bar:hover .tip { opacity: 1; }
.chart-axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 8px;
}

.category-list { display: grid; gap: 10px; }
.category-row { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; }
.category-row .name { width: 140px; flex-shrink: 0; color: var(--ink-soft); }
.category-row .track { flex: 1; background: var(--putty-deep); border-radius: 2px; height: 10px; overflow: hidden; }
.category-row .fill { height: 100%; background: var(--forest); border-radius: 2px; }
.category-row .count { width: 30px; text-align: right; font-weight: 600; color: var(--forest-deep); }

.msg-table-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
}
table.msg-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.msg-table th, table.msg-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.msg-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background: var(--putty-deep);
  white-space: nowrap;
}
table.msg-table tr:last-child td { border-bottom: none; }
table.msg-table td.msg-cell { max-width: 320px; white-space: pre-wrap; color: var(--ink-soft); }
table.msg-table td.nowrap { white-space: nowrap; }

.admin-loading, .admin-empty { text-align: center; padding: 40px; color: var(--ink-soft); }

@media (max-width: 880px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .category-row .name { width: 100px; }
}
