@font-face {
  font-family: "DM Sans";
  src: url("fonts/dmsans.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #F4F1EA;
  --cream2: #EFE6D2;
  --blue: #3868D0;
  --blue-soft: #98B8F8;
  --wash: #EFF3F8;
  --ink: #1B1A19;
  --muted: #6E7375;
  --line: rgba(56, 104, 208, 0.18);
  --paper: #ffffff;
  --ok: #3D7A5A;
  --warn: #C4841A;
  --down: #B4564A;
  --wait: #D8D4CA;
  --r-card: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", "Liberation Sans", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #2C54B0; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--paper);
  padding: 8px 12px;
  z-index: 20;
  border-radius: 8px;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 241, 234, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}

.nav-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px 0 18px;
}

.brand {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}

.brand-relovi {
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  display: block;
}

.brand-club {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
  display: block;
}

.nav-title {
  text-align: right;
}

.nav-title h1 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
}

.pulled {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.status {
  padding: 28px 0 8px;
}

.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--ink);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wait);
  flex: 0 0 auto;
}

.status-word {
  color: var(--muted);
  font-size: 0.78rem;
}

.status-pill[data-state="ok"] .status-dot { background: var(--ok); }
.status-pill[data-state="warn"] .status-dot { background: var(--warn); }
.status-pill[data-state="down"] .status-dot { background: var(--down); }
.status-pill[data-state="ok"] .status-word { color: var(--ok); }
.status-pill[data-state="warn"] .status-word { color: var(--warn); }
.status-pill[data-state="down"] .status-word { color: var(--down); }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  padding: 20px 0 8px;
}

.metric {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px 18px 16px;
  min-width: 0;
}

.metric-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
}

.metric-value {
  margin: 0;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--blue);
}

.metric-value.is-empty {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
}

.block {
  padding: 36px 0 8px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.block h2 {
  margin: 0 0 10px;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  letter-spacing: -0.04em;
  font-weight: 800;
  line-height: 1.12;
}

.deck {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 46rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px 22px 20px;
}

.card h3 {
  margin: 0 0 14px;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  font-weight: 750;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.event-list,
.issue-list,
.note-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-list li,
.issue-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.event-list li:first-child,
.issue-list li:first-child { border-top: 0; padding-top: 0; }
.event-list li:last-child,
.issue-list li:last-child { padding-bottom: 2px; }

.event-name,
.issue-title {
  font-weight: 550;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.event-count,
.issue-meta {
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  white-space: nowrap;
  font-size: 0.95rem;
}

.issue-id {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.note-list li {
  padding: 8px 0;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.note-list li:first-child { border-top: 0; padding-top: 0; }

.empty-row {
  color: var(--muted);
  font-weight: 400;
  display: block;
  padding: 0;
  border: 0;
}

.site-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.site-host {
  margin: 0;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-weight: 750;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
  color: var(--blue);
}

.site-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.site-stats dt {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.site-stats dd {
  margin: 0;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
  color: var(--blue);
}

.site-stats dd.is-empty {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
}

.count-table {
  width: 100%;
  border-collapse: collapse;
}

.count-table th {
  text-align: left;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0 12px 10px 0;
  border-bottom: 1px solid var(--line);
}

.count-table th:last-child,
.count-table td:last-child { text-align: right; padding-right: 0; }

.count-table td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}

.count-table tbody tr:last-child td { border-bottom: 0; }

.count-table .count {
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}

.count-table td.empty-row,
.count-table .empty-row td {
  color: var(--muted);
  text-align: left;
  font-weight: 400;
}

.foot {
  margin-top: 40px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.foot p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-grid { grid-template-columns: 1fr; }
  .wrap { width: min(1120px, calc(100% - 32px)); }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav-inner {
    align-items: flex-end;
    min-height: 0;
    padding: 12px 0 14px;
    gap: 16px;
  }
  .nav-title h1 { font-size: 1.18rem; }
  .hero-metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric { padding: 16px 14px 14px; }
  .metric-value { font-size: 1.45rem; }
  .block { padding-top: 28px; }
  .card { padding: 18px 16px 16px; }
  .site-stats { grid-template-columns: 1fr; gap: 12px; }
  .status { padding-top: 20px; }
}

.event-count {
  text-align: right;
}
.event-window {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: 2px;
}
.site-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-notes {
  margin-top: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 16px 20px 14px;
}
.site-notes li {
  color: var(--muted);
  font-size: 0.92rem;
}
.table-name {
  display: block;
}
.table-note {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
}

.metric-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.4;
}

.event-copy,
.issue-copy,
.table-copy {
  min-width: 0;
}

.event-meaning,
.issue-meaning,
.table-meaning {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.35;
}

.event-raw,
.table-raw {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.issue-level {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: lowercase;
}

.site-role {
  margin: 6px 0 16px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.35;
}

.site-hint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.status-name {
  font-weight: 550;
}


/* Crash rows — tappable, not loud buttons */
.issue-list li {
  display: block;
  padding: 4px 0;
  border-top: 1px solid var(--line);
}
.issue-list li:first-child { border-top: 0; padding-top: 0; }
.issue-list li:last-child { padding-bottom: 2px; }
.issue-list li.empty-row {
  display: block;
  padding: 0;
  border: 0;
}

.issue-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 12px 10px 12px 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.issue-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: start;
}
.issue-open:hover,
.issue-open:focus-visible {
  background: var(--wash);
}
.issue-open:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.issue-open[aria-expanded="true"] {
  background: var(--wash);
}
.issue-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.issue-affordance {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.issue-open:hover .issue-affordance,
.issue-open:focus-visible .issue-affordance,
.issue-open[aria-expanded="true"] .issue-affordance {
  color: var(--blue);
}

/* Crash log drawer */
body.crash-open {
  overflow: hidden;
}

.crash-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  justify-content: flex-end;
}
.crash-layer[hidden] {
  display: none;
}

.crash-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 26, 25, 0.2);
}

.crash-panel {
  position: relative;
  z-index: 1;
  width: min(540px, 100%);
  max-width: 100%;
  height: 100%;
  overflow: auto;
  background: var(--cream);
  border-left: 1px solid var(--line);
  padding: 22px 28px 48px;
  color: var(--ink);
}

.crash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.crash-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.crash-close {
  margin: 0;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}
.crash-close:hover,
.crash-close:focus-visible {
  background: var(--wash);
  color: var(--blue);
}
.crash-close:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.crash-panel h2 {
  margin: 0 0 18px;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.crash-facts {
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.crash-facts .span-2 { grid-column: 1 / -1; }
.crash-facts dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.crash-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.crash-facts dd.is-empty { color: var(--muted); }

.crash-log-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.crash-log {
  list-style: none;
  margin: 0 0 22px;
  padding: 4px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}

.crash-frame {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--muted);
}
.crash-frame:first-child { border-top: 0; }
.crash-frame.is-in-app { color: var(--ink); }

.crash-fn {
  display: block;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.crash-frame.is-in-app .crash-fn { font-weight: 600; }

.crash-file {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.crash-inapp {
  display: inline-block;
  margin-left: 6px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.crash-empty {
  margin: 0 0 22px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  color: var(--muted);
}

.crash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.crash-sentry {
  color: var(--blue);
  font-size: 0.92rem;
}

@media (max-width: 520px) {
  .crash-panel { padding: 18px 18px 40px; }
  .crash-facts { grid-template-columns: 1fr; }
}


/* Quiet OS chips — Club cream/blue, not loud pills */
.issue-os {
  display: block;
  margin-top: 6px;
}

.os-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.os-chip-web {
  color: var(--muted);
}

.os-chip-ios,
.os-chip-android,
.os-chip-both {
  color: var(--ink);
}

.crash-os .os-chip {
  margin-top: 0;
}

.crash-os-detail {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.4;
}

.issue-last-seen,
.crash-last-seen {
  margin: 2px 0 0;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.issue-last-seen.is-empty,
.crash-last-seen.is-empty {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
}
.issue-first-seen,
.crash-first-seen {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.35;
}
.issue-spark,
.crash-spark {
  width: 100%;
}
.os-spark {
  display: block;
  width: 100%;
  height: 34px;
}
.os-spark-lg {
  height: 96px;
}
.spark-bar.is-empty {
  fill: rgba(56, 104, 208, 0.16);
}
.spark-bar.is-on {
  fill: var(--blue);
}
.spark-label {
  fill: var(--muted);
  font-size: 10px;
  font-family: "DM Sans", "Liberation Sans", sans-serif;
}
.crash-spark {
  margin: 0 0 22px;
}
.crash-last-seen {
  margin: 0 0 4px;
  font-size: 1.2rem;
}
.crash-first-seen {
  margin: 0 0 18px;
}

@media (max-width: 520px) {
  .issue-last-seen,
  .crash-last-seen { font-size: 1rem; }
}

/* Capacity / redline — Club cream and blue, status-page gauges */
.capacity-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.capacity-head .kicker,
.capacity-head h2 { margin-bottom: 0; }
.capacity-head h2 { margin-top: 10px; }

.capacity-pill {
  margin: 0;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.capacity-pill[data-state="comfortable"] {
  color: var(--ok);
  border-color: rgba(61, 122, 90, 0.28);
}
.capacity-pill[data-state="warming"] {
  color: var(--warn);
  border-color: rgba(196, 132, 26, 0.32);
}
.capacity-pill[data-state="redline"] {
  color: var(--down);
  border-color: rgba(180, 86, 74, 0.32);
}
.capacity-pill[data-state="unknown"],
.capacity-pill[data-state="wait"] {
  color: var(--muted);
}

.capacity-headline {
  margin: 0 0 8px;
  max-width: 46rem;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink);
}
.capacity-headline.is-empty { color: var(--muted); font-weight: 500; }
.capacity-plan {
  margin: 0 0 20px;
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.gauge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.gauge {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px 18px 16px;
  min-width: 0;
}
.gauge-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}
.gauge-value {
  margin: 0;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--blue);
}
.gauge-value.is-empty {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
}
.gauge-limit {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.gauge-track {
  margin-top: 12px;
  height: 8px;
  border-radius: 999px;
  background: var(--cream2);
  overflow: hidden;
}
.gauge-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--blue);
}
.gauge[data-state="comfortable"] .gauge-fill { background: var(--ok); }
.gauge[data-state="warming"] .gauge-fill { background: var(--warn); }
.gauge[data-state="redline"] .gauge-fill { background: var(--down); }
.gauge[data-state="unknown"] .gauge-fill,
.gauge[data-state="wait"] .gauge-fill { background: var(--blue-soft); }
.gauge-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.capacity-chart { margin-bottom: 16px; }
.capacity-chart-hint {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}
.capacity-spark { width: 100%; }
.capacity-spark .os-spark-lg { height: 96px; }

.advisor-level {
  display: inline-block;
  margin-right: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.advisor-title { font-weight: 550; }
.advisor-hint {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .gauge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .capacity-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .gauge-grid { grid-template-columns: 1fr; gap: 10px; }
  .gauge { padding: 16px 14px 14px; }
}

/* What to do / upgrade suggestions — shop-floor cards, Club cream/blue */
.suggest-head {
  margin-bottom: 10px;
}
.suggest-head .kicker,
.suggest-head h2 { margin-bottom: 0; }
.suggest-head h2 { margin-top: 10px; }

.suggestions-intro {
  margin: 0 0 20px;
  max-width: 46rem;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink);
}
.suggestions-intro.is-empty {
  color: var(--muted);
  font-weight: 500;
}

.suggest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.suggest-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px 22px 20px;
  min-width: 0;
}
.suggest-card[data-state="now"] {
  border-color: rgba(180, 86, 74, 0.32);
}
.suggest-card[data-state="soon"] {
  border-color: rgba(196, 132, 26, 0.32);
}

.suggest-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.suggest-card h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  font-weight: 750;
  line-height: 1.25;
}

.suggest-chip {
  margin: 0;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex: 0 0 auto;
  line-height: 1.3;
}
.suggest-chip[data-state="stay"] {
  color: var(--ok);
  border-color: rgba(61, 122, 90, 0.28);
}
.suggest-chip[data-state="soon"] {
  color: var(--warn);
  border-color: rgba(196, 132, 26, 0.32);
}
.suggest-chip[data-state="now"] {
  color: var(--down);
  border-color: rgba(180, 86, 74, 0.32);
}
.suggest-chip[data-state="blocked"] {
  color: var(--muted);
}

.suggest-facts {
  margin: 0;
  display: grid;
  gap: 14px;
}
.suggest-facts > div {
  min-width: 0;
}
.suggest-facts dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.suggest-facts dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.suggest-facts dd.is-empty {
  color: var(--muted);
}

.suggest-next {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.suggest-next dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.suggest-next dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

@media (max-width: 520px) {
  .suggest-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .suggest-card { padding: 18px 16px 16px; }
}
