/* Beside — design mockups v1. Local only. Clean / minimal / gentle. */
:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --ink: #2a2a28;
  --muted: #6b6a64;
  --line: #e6e2d9;
  --accent: #6b8f71;      /* soft sage */
  --accent-deep: #4f6f56;
  --warn-bg: #f3eee6;
  --warn-ink: #5c4a32;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(42,42,40,.04), 0 8px 24px rgba(42,42,40,.05);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --max: 420px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--font); }
body { min-height: 100vh; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.phone {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  padding: 20px 18px 88px;
}
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.logo {
  font-weight: 650; letter-spacing: -0.02em; font-size: 1.05rem;
  color: var(--ink); text-decoration: none;
}
.logo span { color: var(--accent-deep); font-weight: 500; }
.pill {
  font-size: .72rem; color: var(--muted); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px;
}
h1 {
  font-size: 1.55rem; line-height: 1.25; letter-spacing: -0.03em;
  font-weight: 650; margin: 0 0 10px;
}
h2 { font-size: 1.05rem; margin: 0 0 8px; letter-spacing: -0.02em; }
p, li { font-size: .95rem; line-height: 1.55; color: var(--ink); }
.lede { color: var(--muted); margin: 0 0 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.card.quiet { box-shadow: none; background: transparent; border-style: dashed; }
.card-kicker {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); margin-bottom: 6px;
}
.row { display: flex; gap: 10px; align-items: flex-start; }
.icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: #e8efe9; color: var(--accent-deep);
  display: grid; place-items: center; font-size: 1rem;
}
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  border: none; border-radius: 999px; padding: 11px 18px;
  font-size: .92rem; font-weight: 600; text-decoration: none;
  box-shadow: none;
}
.btn:hover { background: var(--accent-deep); text-decoration: none; }
.btn.secondary {
  background: transparent; color: var(--accent-deep);
  border: 1px solid var(--line);
}
.btn.block { display: block; text-align: center; width: 100%; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.topic {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; color: var(--ink);
  text-decoration: none; min-height: 88px;
}
.topic:hover { border-color: var(--accent); text-decoration: none; }
.topic strong { display: block; font-size: .95rem; margin-bottom: 4px; }
.topic span { font-size: .8rem; color: var(--muted); }
.search {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: .95rem; margin-bottom: 14px; color: var(--ink);
}
.search:focus { outline: 2px solid #c5d6c8; border-color: var(--accent); }
.section-label {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); margin: 22px 0 10px;
}
.steps { margin: 0; padding-left: 1.15rem; }
.steps li { margin-bottom: 10px; }
.help {
  background: var(--warn-bg); border: 1px solid #e6d9c6;
  border-radius: var(--radius); padding: 14px; margin-top: 18px;
  color: var(--warn-ink);
}
.help strong { display: block; margin-bottom: 4px; }
.cite {
  margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: .78rem; color: var(--muted); line-height: 1.45;
}
.cite a { color: var(--muted); text-decoration: underline; }
.nav {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 100%; max-width: var(--max);
  background: rgba(247,245,241,.92); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}
.nav a {
  text-align: center; font-size: .68rem; color: var(--muted);
  padding: 6px 2px; text-decoration: none;
}
.nav a.active { color: var(--accent-deep); font-weight: 600; }
.nav .nicon { display: block; font-size: 1rem; margin-bottom: 2px; }
.tag {
  display: inline-block; font-size: .7rem; background: #e8efe9;
  color: var(--accent-deep); border-radius: 999px; padding: 3px 8px;
  margin-right: 6px;
}
.placeholder {
  font-size: .72rem; color: #9a6b2f; background: #fff6e8;
  border: 1px dashed #e6c48a; border-radius: 8px; padding: 6px 8px;
  margin: 8px 0 0;
}

/* t69u — safety / vets / category chips */
.nav { grid-template-columns: repeat(5, 1fr); }
.nav a { font-size: .62rem; }
.chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px;
}
.chip {
  display: inline-block; font-size: .78rem; font-weight: 600;
  padding: 8px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.chip:hover { border-color: var(--accent); text-decoration: none; }
.chip.urgent {
  background: #f8ecec; border: 1.5px solid #c45c5c; color: #8b2e2e;
}
.chip.urgent:hover { border-color: #a33; }
.card.urgent {
  background: #fdf6f6; border-color: #e2b4b4;
}
.card.urgent .card-kicker { color: #8b2e2e; }
.banner-note {
  background: #fff8f0; border: 1px solid #e6d0a8; border-radius: var(--radius);
  padding: 12px 14px; font-size: .85rem; color: var(--warn-ink); margin-bottom: 14px;
}
.triage {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px;
}
.triage ol { margin: 8px 0 0; padding-left: 1.15rem; }
.triage li { margin-bottom: 8px; font-size: .92rem; }
.contact {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; margin-bottom: 10px;
}
.contact.er { border-color: #e2b4b4; background: #fffafa; }
.contact h3 { margin: 0 0 4px; font-size: .98rem; letter-spacing: -0.02em; }
.contact .meta { font-size: .82rem; color: var(--muted); margin: 0 0 8px; }
.contact .phone-line {
  font-size: .95rem; font-weight: 600; margin: 4px 0;
}
.contact .phone-line a { color: var(--accent-deep); text-decoration: none; }
.contact .src {
  font-size: .7rem; color: var(--muted); margin-top: 8px;
  line-height: 1.4;
}
.badge-24 {
  display: inline-block; font-size: .65rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  background: #8b2e2e; color: #fff; border-radius: 6px;
  padding: 2px 6px; margin-left: 6px; vertical-align: middle;
}
.slot {
  border: 1.5px dashed var(--line); border-radius: var(--radius);
  padding: 14px; margin-bottom: 10px; color: var(--muted);
  font-size: .85rem; background: transparent;
}
.coming {
  font-size: .82rem; color: var(--muted); padding: 8px 0 4px;
}

/* t71u — onboarding */
.ob-q { margin-bottom: 16px; }
.ob-q h2 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); font-weight: 600; margin: 0 0 8px;
}
.ob-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-chip {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-size: .78rem; font-weight: 600;
  padding: 8px 12px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink);
}
.ob-chip:hover { border-color: var(--accent); }
.ob-chip[aria-pressed="true"] {
  background: #e8efe9; border-color: var(--accent-deep); color: var(--accent-deep);
}
.ob-preview { margin-top: 8px; }
.ob-preview .example-tag {
  display: inline-block; font-size: .65rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  background: #eef2ee; color: var(--accent-deep);
  border-radius: 6px; padding: 2px 6px; margin-bottom: 6px;
}
.ob-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.skip-link {
  display: block; text-align: center; font-size: .85rem;
  color: var(--muted); padding: 10px; text-decoration: none;
}
.skip-link:hover { color: var(--accent-deep); text-decoration: underline; }
.ob-soft {
  font-size: .78rem; color: var(--muted); line-height: 1.45; margin: 10px 0 0;
}
