/* Keepie Vet page: calm, readable, mobile first. Light and dark follow the OS. Self-hosted subset fonts (fonts/), same tokens as the website. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-display: swap;
  src: url('fonts/BricolageGrotesque_800ExtraBold-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/BricolageGrotesque_700Bold-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Figtree_400Regular-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Figtree_500Medium-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Figtree_600SemiBold-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Figtree_700Bold-latin.woff2') format('woff2');
}
/* Cyrillic: Onest for headings, Golos Text for text. The unicode-range keeps Latin on Figtree/Bricolage
   in mixed text, so the stacks below can list the Latin family first. */
@font-face {
  font-family: 'Onest';
  font-weight: 800;
  font-display: swap;
  src: url('fonts/Onest_800ExtraBold-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-04FF, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Onest_700Bold-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-04FF, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/GolosText_400Regular-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-04FF, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-weight: 500;
  font-display: swap;
  src: url('fonts/GolosText_500Medium-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-04FF, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-weight: 600;
  font-display: swap;
  src: url('fonts/GolosText_600SemiBold-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-04FF, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/GolosText_700Bold-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-04FF, U+2116;
}

:root {
  color-scheme: light dark;
  --bg: #fff8f1;
  --surface: #ffffff;
  --surface-2: #f4f0e9;
  --line: #e7e1d8;
  --ink: #1f1b24;
  --ink-2: #5e5866;
  --ink-3: #5e5866;
  --accent: #1f1b24;
  --accent-ink: #ffffff;
  --accent-soft: #bfe8d4;
  --alert: #b4401f;
  --alert-soft: #fbece5;
  --alert-line: #f0cdbd;
  --note-soft: #fdf5dc;
  --note-line: #efdca0;
  --request-bg: #fbe29a;
  --request-ink: #3a2a05;
  --ok: #1b7a4e;
  --focus: #1d6fd1;
  --shadow: 0 1px 2px rgb(29 39 48 / 6%), 0 6px 18px rgb(29 39 48 / 5%);
  --radius: 28px;
  --font: 'Figtree', 'Golos Text', ui-sans-serif, system-ui, sans-serif;
  --font-head: 'Bricolage Grotesque', 'Onest', ui-sans-serif, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f1b24;
    --surface: #2d2a33;
    --surface-2: #26232c;
    --line: #3b3742;
    --ink: #ffffff;
    --ink-2: #b5aec0;
    --ink-3: #b5aec0;
    --accent: #ffffff;
    --accent-ink: #1f1b24;
    --accent-soft: #0f3326;
    --alert: #ff9a76;
    --alert-soft: #35211a;
    --alert-line: #5a3427;
    --note-soft: #332d17;
    --note-line: #55491f;
    --request-bg: #4a3c12;
    --request-ink: #fbe29a;
    --ok: #5ccb9e;
    --focus: #7db6ff;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 6px 18px rgb(0 0 0 / 25%);
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.shell {
  /* The header spans the page like the design (1200 on a 1440 desktop); the content stays 720. */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px calc(40px + env(safe-area-inset-bottom));
}

.app,
.footer {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

/* ---- top bar -------------------------------------------------------------------------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(14px + env(safe-area-inset-top)) 0 14px;
}

.brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand-mark {
  /* The Bento paw keeps its own colours in Light and Dark (brand identity, not a theme colour). */
  width: 26px;
  height: auto;
}

.validity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  /* Long languages ("Zusammenfassung noch 3 Std. 41 Min. geöffnet") wrap inside the pill
     instead of pushing the page sideways on a phone. */
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: right;
}

.validity[data-warn='true'] {
  background: var(--request-bg);
  color: var(--request-ink);
}

.validity[hidden] {
  display: none;
}

.validity::before {
  content: '';
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: currentcolor;
}

/* ---- sample ribbon (only on #sample links; printed too, so a sample never passes as real) -- */

.sample-ribbon {
  margin-top: calc(10px + env(safe-area-inset-top));
  padding: 7px 14px;
  border: 1px dashed var(--note-line);
  border-radius: 999px;
  background: var(--note-soft);
  color: var(--request-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.sample-ribbon + .topbar {
  padding-top: 12px;
}

/* ---- cards ---------------------------------------------------------------------------- */

.app > * + *,
#summary > * + *,
.cards > * + * {
  margin-top: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card > h2 {
  margin-bottom: 12px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card > h2 + * {
  margin-top: 0;
}

.state {
  padding: 36px 22px;
  text-align: center;
}

.state h1 {
  font-size: 21px;
  line-height: 1.3;
}

.state p {
  margin-top: 8px;
  color: var(--ink-2);
}

.state .button {
  margin-top: 16px;
}

.state .spinner {
  width: 28px;
  height: 28px;
  margin: 0 auto 14px;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- pet header ----------------------------------------------------------------------- */

.hero {
  background: linear-gradient(160deg, var(--accent-soft), var(--surface) 70%);
}

.hero h1 {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.hero .sub {
  margin-top: 4px;
  color: var(--ink-2);
}

.facts {
  display: grid;
  /* 150px fits a 15-digit microchip and a phone number on one line (they must not break mid-number). */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 10px 16px;
  margin-top: 16px;
}

.fact dt {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fact dd {
  margin-top: 1px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.fact dd.mono,
.fact .tel {
  overflow-wrap: normal;
  white-space: nowrap;
}

.fact dd.mono {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 15px;
  letter-spacing: 0.02em;
}

/* ---- alerts (allergies, conditions) --------------------------------------------------- */

.card.alert {
  background: var(--alert-soft);
  border-color: var(--alert-line);
}

.card.alert > h2 {
  color: var(--alert);
}

.alert-group + .alert-group {
  margin-top: 14px;
}

.alert-group h3 {
  margin-bottom: 6px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
}

.pill-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pill {
  padding: 9px 12px;
  border: 1px solid var(--alert-line);
  border-radius: 12px;
  background: var(--surface);
}

.pill strong {
  display: block;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.pill span {
  display: block;
  margin-top: 1px;
  color: var(--ink-2);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.card.callout {
  background: var(--note-soft);
  border-color: var(--note-line);
}

.reason .label + p {
  margin-top: 4px;
}

.reason p + .label {
  margin-top: 16px;
}

.callout p,
.reason p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.questions {
  margin-top: 12px;
  counter-reset: question;
}

.questions li {
  position: relative;
  padding: 8px 0 8px 34px;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.questions li::before {
  content: counter(question);
  counter-increment: question;
  position: absolute;
  left: 0;
  top: 9px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}

.label {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- rows and tables ------------------------------------------------------------------ */

.rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.rows li:first-child {
  padding-top: 0;
  border-top: 0;
}

.rows li:last-child {
  padding-bottom: 0;
}

.rows .main {
  min-width: 0;
}

.rows .main strong {
  display: block;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.rows .meta {
  display: block;
  color: var(--ink-2);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.rows .aside {
  flex: none;
  color: var(--ink-2);
  font-size: 14px;
  text-align: right;
}

.tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}

/* A tag inside an allergy/condition pill ("Resolved") stays a small inline chip, not a full-width bar. */
.pill .tag {
  display: inline-block;
  margin-top: 0;
  margin-left: 4px;
  font-size: 12px;
  vertical-align: 1px;
}

.tag.due {
  background: var(--alert-soft);
  color: var(--alert);
}

.empty {
  color: var(--ink-3);
  font-size: 15px;
}

.coverage {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 13px;
}

.sparkline {
  display: block;
  width: 100%;
  /* The labels scale with the drawing: past ~400px they would grow beyond the body text. */
  max-width: 400px;
  height: auto;
  margin-bottom: 12px;
  overflow: visible;
}

.sparkline .grid {
  stroke: var(--line);
  stroke-width: 1;
}

.sparkline .line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sparkline .area {
  fill: var(--accent-soft);
  stroke: none;
}

.sparkline .dot {
  fill: var(--surface);
  stroke: var(--accent);
  stroke-width: 2.5;
}

.sparkline text {
  fill: var(--ink-3);
  font-size: 11px;
  font-family: var(--font);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

td:last-child,
th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ---- Doctor Notes form ---------------------------------------------------------------- */

.notes-intro {
  margin-bottom: 14px;
  color: var(--ink-2);
  font-size: 15px;
}

form {
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
}

.field-row {
  display: grid;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--ink-3);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.button {
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.button.secondary {
  background: var(--surface-2);
  color: var(--ink);
}

.message {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px;
}

.message.error {
  background: var(--alert-soft);
  color: var(--alert);
}

.message.success {
  background: var(--accent-soft);
  color: var(--accent);
}

/* The vet link states (Figma page 63, frames 208:521-208:818). */
.message.coral {
  background: var(--alert-soft);
  color: var(--alert);
  font-weight: 600;
}

.message.info {
  margin-bottom: 14px;
  padding: 0;
  background: transparent;
  font-weight: 600;
}

.message.limit {
  padding: 0;
  color: var(--alert);
  font-size: 14px;
  font-weight: 650;
}

.card.info {
  box-shadow: none;
  font-weight: 600;
}

.notes-hint {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.4;
}

#notes-card textarea {
  min-height: 150px;
}

#notes-card textarea[aria-invalid='true'] {
  border-color: var(--alert);
  border-width: 2px;
}

#notes-card [readonly] {
  color: var(--ink);
}

details.more {
  display: grid;
  gap: 14px;
}

details.more > summary {
  cursor: pointer;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}

details.more[open] > summary {
  margin-bottom: 14px;
}

.request {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--request-bg);
  border-color: var(--request-bg);
  color: var(--request-ink);
  box-shadow: none;
}

.request[hidden] {
  display: none;
}

.request-text {
  flex: 1 1 auto;
  min-width: 0;
}

.request-text h2 {
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.request-text p {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.85;
}

.request .button {
  min-height: 0;
  padding: 11px 16px;
  font-size: 14px;
}

.button.dark {
  border-radius: 999px;
  background: #1f1b24;
  color: #ffffff;
}

@media (prefers-color-scheme: dark) {
  .button.dark {
    background: #ffffff;
    color: #1f1b24;
  }
}

.button.outline {
  border: 1.5px solid currentcolor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
}

.sticky-bar {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 16px;
  z-index: 5;
  max-width: 688px;
  margin: 0 auto;
}

.sticky-bar[hidden] {
  display: none;
}

.sticky-bar .button {
  width: 100%;
  box-shadow: var(--shadow);
}

#notes-card .button {
  width: 100%;
  border-radius: 999px;
}

.sent-card {
  border-color: transparent;
  background: var(--accent-soft);
  box-shadow: none;
}

.sent-card > h2 {
  display: none;
}

.sent-card .sent {
  padding: 0;
}

.sent {
  padding: 16px;
  border-radius: 20px;
  color: var(--accent);
}

.sent h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.sent p {
  margin: 6px 0 14px;
  font-size: 13px;
  line-height: 1.4;
}

.sent p:last-child {
  margin-bottom: 0;
}

.sent .button {
  width: auto;
  padding-right: 18px;
  padding-left: 18px;
}

/* ---- footer --------------------------------------------------------------------------- */

.footer {
  margin-top: 22px;
  color: var(--ink-3);
  font-size: 13px;
  text-align: center;
}

.footer p + p {
  margin-top: 4px;
}

/* ---- language selector (under the footer, on every state) -------------------------------- */

.lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--ink-3);
  font-size: 13px;
}

.lang select {
  min-height: 36px;
  max-width: 60vw;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

/* ---- languages ------------------------------------------------------------------------- */
/* Figtree, Golos and Bricolage carry Latin and Cyrillic only: Japanese, Korean and Chinese text
   falls to the system CJK face, named per script so a line does not mix Chinese and Japanese
   glyph shapes. Long German, Dutch and Polish compounds may hyphenate instead of overflowing. */

:root:lang(ja) {
  --font:
    'Figtree', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Yu Gothic', Meiryo,
    'Noto Sans JP', 'Noto Sans CJK JP', system-ui, sans-serif;
  --font-head:
    'Bricolage Grotesque', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI',
    'Yu Gothic', Meiryo, 'Noto Sans JP', 'Noto Sans CJK JP', system-ui, sans-serif;
}

:root:lang(ko) {
  --font:
    'Figtree', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', 'Noto Sans CJK KR',
    system-ui, sans-serif;
  --font-head:
    'Bricolage Grotesque', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR',
    'Noto Sans CJK KR', system-ui, sans-serif;
}

:root:lang(zh) {
  --font:
    'Figtree', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC',
    'Noto Sans CJK SC', system-ui, sans-serif;
  --font-head:
    'Bricolage Grotesque', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC',
    'Noto Sans CJK SC', system-ui, sans-serif;
}

:root:lang(ja) body,
:root:lang(zh) body {
  line-break: strict;
}

/* Korean breaks between words, not inside them. */
:root:lang(ko) body {
  word-break: keep-all;
}

/* CJK headings: the Latin display tracking crowds the ideographs. */
:root:lang(ja) :is(h1, h2),
:root:lang(ko) :is(h1, h2),
:root:lang(zh) :is(h1, h2) {
  letter-spacing: 0;
}

body {
  overflow-wrap: break-word;
}

/* Only the page's own short labels hyphenate: the owner's words (their language is unknown) and
   running text keep whole words. */
:root:lang(de) :is(.app h2, .app h3, .app dt, .app summary, .app .button, .app label),
:root:lang(nl) :is(.app h2, .app h3, .app dt, .app summary, .app .button, .app label),
:root:lang(pl) :is(.app h2, .app h3, .app dt, .app summary, .app .button, .app label) {
  -webkit-hyphens: auto;
  hyphens: auto;
}

@media (min-width: 560px) {
  .shell {
    padding-left: 24px;
    padding-right: 24px;
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 36px;
  }
}

/* Wide desktop: the design's two-column summary (Figma 41 Vet view, 1440). The hero, the request,
   the notes form and the footer span the width; the record cards flow down two balanced columns. */
@media (min-width: 1100px) {
  .app,
  .footer {
    max-width: 1090px;
  }

  /* Loading, unavailable, error: a short message keeps a readable measure on the wide page. */
  .card.state {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
  }

  .cards {
    columns: 2;
    column-gap: 16px;
  }

  .cards > * {
    break-inside: avoid;
  }

  .cards > * + * {
    margin-top: 0;
  }

  .cards > * {
    margin-bottom: 14px;
  }

  .sticky-bar {
    max-width: 1058px;
  }

  /* The send button keeps a button's width on a wide form (the design: "Send to owner"). */
  #notes-card .button {
    width: auto;
    min-width: 240px;
    justify-self: start;
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .state .spinner {
    animation-duration: 3s;
  }
}

@media print {
  /* Paper is always light, whatever the screen theme: the dark tokens would print as dark slabs. */
  :root {
    color-scheme: light;
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-2: #f4f0e9;
    --line: #d9d2c7;
    --ink: #000000;
    --ink-2: #3d3843;
    --ink-3: #3d3843;
    --accent: #1f1b24;
    --accent-ink: #ffffff;
    --accent-soft: #e6f5ee;
    --alert: #b4401f;
    --alert-soft: #fbece5;
    --alert-line: #f0cdbd;
    --note-soft: #fdf5dc;
    --note-line: #efdca0;
    --request-ink: #3a2a05;
    --ok: #1b7a4e;
  }

  body {
    background: #fff;
    color: #000;
  }

  .shell {
    max-width: none;
    padding: 0;
  }

  .app,
  .footer {
    max-width: none;
  }

  .cards {
    columns: auto !important;
  }

  .card {
    box-shadow: none;
    break-inside: avoid;
  }

  #notes-card,
  .request,
  .sticky-bar,
  .validity,
  .lang {
    display: none;
  }
}

.badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.coverage-line {
  margin-bottom: 12px;
  font-weight: 600;
}

.obs-group + .obs-group {
  margin-top: 14px;
}

.card.alert .obs-group h3,
.obs-group h3 {
  margin-bottom: 6px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
}

.trend-line {
  font-size: 17px;
  font-weight: 650;
}

.card > h2.spaced {
  margin-top: 18px;
}

.card.warning {
  background: var(--alert-soft);
  border-color: var(--alert);
  border-width: 2px;
}

.card.warning > h2 {
  color: var(--alert);
}

.card.warning p {
  font-weight: 650;
}

a.tel {
  color: var(--accent);
  font-weight: 650;
}

h1,
h2 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
}
