/* ===== Design tokens ===== */
:root {
  --pine: #1b4332;
  --pine-light: #2d5a45;
  --clay: #e0703f;
  --clay-light: #f4a261;
  --cream: #faf6ef;
  --paper: #fffdf9;
  --ink: #26241f;
  --ink-soft: #6b6558;
  --border: #e7e0d3;
  --shadow: 0 10px 30px -12px rgba(27, 67, 50, 0.18);
  --shadow-sm: 0 2px 10px -4px rgba(27, 67, 50, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1160px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

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

button, input, select, textarea { font-family: inherit; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--clay); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #d0602f; box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--pine);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--pine); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--clay); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-danger { background: #b3261e; color: #fff; }

/* ===== Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 239, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--pine); }
.brand img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a.active { background: #fff; color: var(--pine); box-shadow: var(--shadow-sm); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-links { position: fixed; inset: 64px 0 auto 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 10px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all 0.2s ease; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 16px; }
  .nav-toggle { display: inline-flex; }
}

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); margin-top: 80px; padding: 40px 0; color: var(--ink-soft); font-size: 0.9rem; }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; gap: 18px; }

/* ===== Install prompt ===== */
.install-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 460px;
  margin: 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  transform: translateY(calc(100% + 24px));
  transition: transform 0.3s ease;
}
.install-banner.show { transform: translateY(0); }
.install-banner img { width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; }
.install-banner .install-copy { flex: 1; min-width: 0; }
.install-banner .install-copy strong { display: block; font-size: 0.95rem; }
.install-banner .install-copy span { font-size: 0.82rem; color: var(--ink-soft); }
.install-banner .install-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.install-banner .install-dismiss {
  background: none; border: none; font-size: 1rem; color: var(--ink-soft);
  cursor: pointer; padding: 6px; line-height: 1; border-radius: 50%;
}
.install-banner .install-dismiss:hover { background: var(--cream); color: var(--ink); }

/* ===== Hero ===== */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--pine); }
.hero .subtitle { max-width: 560px; margin: 0 auto 32px; font-size: 1.1rem; }
.eyebrow {
  display: inline-block;
  color: var(--clay);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

/* ===== Search bar ===== */
.search-bar {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--shadow-sm);
}
.search-bar input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 18px;
  font-size: 1rem;
  color: var(--ink);
}
.search-bar .btn { flex-shrink: 0; }
.locate-link { font-size: 0.9rem; color: var(--pine); font-weight: 600; cursor: pointer; }
.locate-link:hover { color: var(--clay); }

/* ===== Section headers ===== */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 56px 0 24px; gap: 16px; flex-wrap: wrap; }
.section-head h2 { color: var(--pine); font-size: 1.8rem; margin: 0; }
.section-head .count { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== Tour grid & cards ===== */
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.tour-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tour-card .thumb {
  height: 170px;
  background: linear-gradient(135deg, var(--pine-light), var(--pine));
  position: relative;
  overflow: hidden;
}
.tour-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.tour-card .thumb .badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,0.92); color: var(--pine);
  font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.tour-card .thumb .badge-pending { color: #9a6b00; }
.tour-card .thumb .badge-rejected { color: #b3261e; }
.tour-card .body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.tour-card h3 { font-size: 1.15rem; margin-bottom: 6px; color: var(--ink); }
.tour-card p { font-size: 0.92rem; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-meta { display: flex; gap: 14px; margin-top: auto; font-size: 0.82rem; color: var(--ink-soft); }
.tour-meta span { display: flex; align-items: center; gap: 5px; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }

/* ===== Feature strip ===== */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 40px 0 60px; }
.feature-card { padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.feature-card .icon { font-size: 1.6rem; margin-bottom: 10px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--pine); }
.feature-card p { font-size: 0.9rem; margin: 0; }

/* ===== CTA band ===== */
.cta-band {
  margin: 70px 0;
  padding: 52px 40px;
  background: radial-gradient(circle at 20% 20%, var(--pine-light), var(--pine));
  border-radius: 24px;
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 480px; margin: 0 auto 24px; }

/* ===== About page ===== */
.about-lead { max-width: 720px; margin: 0 auto 48px; text-align: center; font-size: 1.1rem; color: var(--ink-soft); }
.about-section { max-width: 760px; margin: 0 auto 56px; }
.about-section h2 { color: var(--pine); font-size: 1.5rem; margin-bottom: 14px; }
.about-section p { margin-bottom: 14px; }

.disclosure {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  margin-bottom: 12px;
}
.disclosure summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::before { content: "+ "; color: var(--clay); font-weight: 700; }
.disclosure[open] summary::before { content: "− "; }
.disclosure p, .disclosure ol, .disclosure ul { padding-bottom: 16px; color: var(--ink-soft); font-size: 0.95rem; }
.disclosure ol, .disclosure ul { padding-left: 20px; margin: 0; }
.disclosure li { margin-bottom: 6px; }

/* ===== Auth / forms ===== */
.auth-wrap { max-width: 420px; margin: 60px auto; }
.card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: #fff; font-size: 0.95rem; color: var(--ink); outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--pine); }
.field textarea { resize: vertical; min-height: 80px; }
.field input[readonly] { background: var(--border); color: var(--ink-soft); cursor: not-allowed; }
.form-note { text-align: center; margin-top: 16px; font-size: 0.9rem; }
.alert { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 0.88rem; margin-bottom: 16px; }
.alert-error { background: #fdecea; color: #a3261e; border: 1px solid #f4c2be; }
.alert-info { background: #eaf3ee; color: var(--pine); border: 1px solid #cfe4d8; }

/* ===== Tour detail page ===== */
.tour-hero { position: relative; height: 320px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--pine-light), var(--pine)); margin: 24px 0; }
.tour-hero img { width: 100%; height: 100%; object-fit: cover; }
.tour-hero .overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0)); display: flex; align-items: flex-end; padding: 28px; }
.tour-hero .overlay h1 { color: #fff; margin: 0; }
.tour-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: start; margin-bottom: 60px; }
@media (max-width: 860px) { .tour-layout { grid-template-columns: 1fr; } }
.tour-map { height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); position: sticky; top: 90px; }
.stop-list { display: flex; flex-direction: column; gap: 0; }
.stop-item { padding: 20px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.stop-item:hover .stop-num { background: var(--clay); }
.stop-item.active { background: var(--cream); border-radius: var(--radius-sm); }
.stop-item.active .stop-num { background: var(--clay); }
.stop-num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--pine); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; transition: background 0.15s ease; }
.stop-body { overflow: hidden; }
.stop-photo { width: 140px; height: 105px; object-fit: cover; border-radius: var(--radius-sm); float: left; margin: 0 16px 8px 0; }
.stop-item h4 { margin: 0; font-size: 1.02rem; }
.stop-item p { margin: 0 0 10px; font-size: 0.9rem; }
.stop-item p:last-child { margin-bottom: 0; }
.stop-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.stop-speak { flex-shrink: 0; border: none; background: transparent; cursor: pointer; font-size: 0.95rem; line-height: 1; padding: 2px 6px; border-radius: 6px; color: var(--pine); opacity: 0.7; }
.stop-speak:hover { opacity: 1; background: var(--cream); }
.stop-speak.speaking { opacity: 1; color: var(--clay); }
.tour-actions { display: flex; gap: 10px; margin: 20px 0; flex-wrap: wrap; }

/* Sheet chrome is desktop-invisible; it only appears in the mobile field-mode layout below. */
.sheet-title { display: none; }

/* ===== Mobile "field mode": full-screen map + a fixed-height bottom tray ===== */
@media (max-width: 760px) {
  body.tour-page .tour-hero { display: none; }
  body.tour-page .site-footer { display: none; }

  body.tour-page .tour-layout { display: block; margin: 0; }

  body.tour-page #tour-map.tour-map {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    border-radius: 0;
    border: none;
    z-index: 1;
  }

  body.tour-page .stop-sheet {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50vh;
    background: var(--paper);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px -8px rgba(27, 67, 50, 0.28);
    z-index: 10;
  }

  body.tour-page .sheet-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 20px 32px;
  }

  body.tour-page .sheet-title { display: block; }
  body.tour-page .tour-actions { margin: 4px 0 14px; }

  body.tour-page .stop-photo { float: none; width: 100%; height: 200px; margin: 0 0 12px; }
}

/* ===== Create tour page ===== */
.create-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; margin: 24px 0 60px; }
@media (max-width: 980px) { .create-layout { grid-template-columns: minmax(0, 1fr); } }
.create-map { height: 520px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); position: sticky; top: 90px; }
@media (max-width: 980px) { .create-map { position: static; top: auto; height: 340px; } }
.add-mode-toggle { display: flex; gap: 8px; margin-bottom: 12px; }
.mode-btn {
  flex: 1; min-width: 0; padding: 10px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: #fff; color: var(--ink-soft); font-weight: 600; font-size: 0.9rem; cursor: pointer;
  white-space: normal; text-align: center;
  transition: all 0.15s ease;
}
.mode-btn.active { border-color: var(--pine); color: var(--pine); background: #eaf3ee; }

.create-card { padding: 24px 0; }
@media (max-width: 980px) { .create-card { padding: 16px 0; } }

.stop-edit-list { display: flex; flex-direction: column; gap: 0; margin-top: 16px; }
.stop-edit-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.stop-edit-item:last-child { border-bottom: none; }
.stop-edit-item .row1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.stop-edit-item .row1 strong { font-size: 0.9rem; }
.row1-label { display: flex; align-items: center; gap: 8px; }
.stop-num-badge {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--pine); color: #fff; font-weight: 700; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}

.waypoint-edit-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: 8px 14px; background: var(--cream);
}
.waypoint-edit-item span { font-size: 0.85rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.waypoint-edit-item .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-soft); flex-shrink: 0; }
.hint { font-size: 0.85rem; color: var(--ink-soft); background: #fff; border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 16px; }
.icon-btn { background: none; border: none; cursor: pointer; color: var(--ink-soft); font-size: 0.95rem; padding: 4px 6px; border-radius: 6px; }
.icon-btn:hover { color: var(--clay); background: var(--cream); }

.stop-photo-row { display: flex; align-items: center; gap: 12px; }
.stop-photo-preview {
  position: relative; width: 64px; height: 64px; flex-shrink: 0; border-radius: var(--radius-sm);
  overflow: visible; background: var(--cream); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.stop-photo-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.stop-photo-placeholder { font-size: 1.4rem; }
.cover-photo-preview { width: 120px; height: 80px; }
.stop-photo-remove {
  position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--clay); color: #fff; border: none; font-size: 11px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.stop-photo-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.stop-photo-status { font-size: 0.78rem; color: var(--ink-soft); }
.leaflet-marker-icon.stop-marker { display: flex; align-items: center; justify-content: center; }

.stop-audio-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stop-audio-preview:empty { display: none; }
.stop-audio-preview { display: flex; align-items: center; gap: 6px; }
.stop-audio-preview audio { height: 32px; max-width: 220px; }
.stop-audio-status { font-size: 0.78rem; color: var(--ink-soft); width: 100%; }

.waypoint-dot {
  display: block; width: 12px; height: 12px; margin: 3px;
  background: #fff; border: 3px solid var(--ink-soft); border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.me-dot {
  display: block; width: 14px; height: 14px; margin: 2px;
  background: #2b7de9; border: 2px solid #fff; border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(43, 125, 233, 0.35), 0 1px 4px rgba(0,0,0,0.35);
  position: relative;
}
.me-dot::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  background: rgba(43, 125, 233, 0.35); animation: me-ping 1.8s ease-out infinite;
}
@keyframes me-ping {
  0% { transform: scale(0.4); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ===== Profile page ===== */
.profile-header { display: flex; align-items: center; gap: 20px; padding: 40px 0 20px; flex-wrap: wrap; }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--pine); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 700; flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-info h1 { margin-bottom: 4px; font-size: 1.6rem; }
.profile-stats { display: flex; gap: 24px; margin-top: 10px; }
.profile-stats div { text-align: left; }
.profile-stats strong { display: block; font-size: 1.2rem; color: var(--pine); }
.profile-stats span { font-size: 0.82rem; color: var(--ink-soft); }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin: 30px 0 24px; }
.tab { padding: 10px 4px; margin-right: 20px; font-weight: 600; color: var(--ink-soft); border-bottom: 2px solid transparent; cursor: pointer; }
.tab.active { color: var(--pine); border-color: var(--clay); }

/* ===== Loading / skeleton ===== */
.spinner { width: 22px; height: 22px; border: 3px solid var(--border); border-top-color: var(--clay); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--border) 25%, #f2ede1 37%, var(--border) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius); }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 0.9rem; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; z-index: 100; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }

/* ===== Admin page ===== */
.admin-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 60px; }
.admin-row { display: flex; gap: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--paper); padding: 16px; }
.admin-row-thumb { width: 96px; height: 72px; flex-shrink: 0; border-radius: var(--radius-sm); background: var(--cream); overflow: hidden; }
.admin-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-row-body { flex: 1; min-width: 0; }
.admin-row-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-row-body p { margin: 4px 0 8px; font-size: 0.88rem; color: var(--ink-soft); }
.admin-row-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 10px; }
.admin-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.badge-inline { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em; }
.badge-inline-approved { background: #eaf3ee; color: var(--pine); }
.badge-inline-pending { background: #fdf3e0; color: #9a6b00; }
.badge-inline-rejected { background: #fdecea; color: #a3261e; }
