/* Network screens use the landing page palette. Case statuses, evidence checks,
   and map symbols keep their operational colors. */
:root {
  --dark: var(--sos-ink);
  --ink: var(--sos-ink);
  --pine: var(--sos-ink);
  --green: var(--sos-blue);
  --line: var(--sos-line);
  --edge: var(--sos-line);
  --muted: var(--sos-muted);
  color: var(--sos-ink);
  background: var(--sos-paper);
  font-family: var(--sos-sans);
}
body, .entry-shell { color: var(--sos-ink); background: var(--sos-paper); }
body { font-family: var(--sos-sans); }
h1, h2, h3, h4, .brand, .entry-brand, .stat .value, .intent-card strong,
.site-header > .brand, body > header > a:first-child, body > header > strong {
  font-family: var(--sos-serif);
}
h1, h2, h3, h4 { color: var(--sos-ink); }
.brand, .entry-brand, header > a:first-child, .report-header-label { color: var(--sos-ink); }
a { color: var(--sos-blue); }
.brand small, .entry-brand small, .brand span, .nav-label { font-family: var(--sos-sans); }
.entry-brand small { color: var(--sos-muted); }
.entry-header { border-bottom: 1px solid var(--sos-line); }
.site-head, .site-header, .mast, body > header, body > footer, .options, .journey {
  border-color: var(--sos-line);
}
.sidebar { background: var(--sos-ink); color: white; }
.sidebar .brand { color: white; }
.sidebar .brand small, .nav-label, .sidebar-foot, .sidebar-foot a { color: #cedcf6; }
.sidebar .nav button { color: white; }
.sidebar .nav button.active, .sidebar .nav button:hover { background: #244075; }
.tabs button.active { color: var(--sos-ink); border-bottom-color: var(--sos-red); }
.entry-header nav [aria-current="page"], .language a[aria-current],
header nav a[aria-current], .partners .language button[aria-pressed=true],
.receipt .language button[aria-pressed=true] {
  background: var(--sos-surface);
  border-color: var(--sos-line);
  color: var(--sos-ink);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.eyebrow, .report-question, .region, .directory-town, .kind, .intent-card small,
.report-extra summary, .report-photo-guide summary, .existing-work summary,
.side summary, .task strong, .street-result, .community-actions a, .community-actions button,
[data-russ-map-nav] a, .btn, .care-entry-links a, .subtle {
  color: var(--sos-blue);
}
.entry-lead, .report-intro p, .entry-caption, .entry-map-note, .case-id, .hint, .task span,
.report-next p, .report-pin-status, .report-path span, .photo-guide p, .media-card p,
.entry-privacy p, .entry-preparation > div > p, .entry-preparation li span,
.intent-card > span:not(.intent-number), .idea-card p, .entry-prototype .account-preview-label,
.story-preview pre, .location-map-tools span, .pin-locate span, .photo-note, .pin-storage,
.directory-description, .directory-rate small, .community-hint, .partners form :is(p,small),
.mm-shell header p, .mm-ref, .mm-row small, .mm-detail dt, .case-export-dialog .packet-hint {
  color: var(--sos-muted);
}

.banner, .entry-prototype, .entry-preparation, .report-media, .report-next, .report-media-frame,
.area-map, .community-animal, .animal-mark, .intent-number, .photo-guide > div > span,
.public-task, .pin-savebar, .flow-budget, .directory-service-tag, .directory-rate,
.media-card, .story-preview, .photo-guide > div, .case-bottom, .location-editor,
.route-sketch, [data-intake-chat] details, th, .side, .cost, .ride, .gallery-picks img,
.gallery-grid img.community-image {
  background-color: var(--sos-surface);
  border-color: var(--sos-line);
}
.banner, .entry-prototype, .area-map p, .flow-budget span, .directory-service-tag,
.cost strong, .street-find label, .community-post, .mm-row, .pin-editor, .rescue-legend,
dialog.host-audit-dialog, dialog.host-audit-entry { color: var(--sos-ink); }
.report-path li, .referral, .community-caption { border-left-color: var(--sos-blue); }
.intent-card.selected, .task:hover, .task:focus-visible, .provider.selected,
.street-result:hover, .street-result:focus-visible {
  background: var(--sos-surface);
  border-color: var(--sos-blue);
}
.task, .pin-editor, .community-actions a, .community-actions button,
.vet-ride-form input, .vet-ride-form select, .action-panel input,
.russ-desk th, .russ-desk td, .mm-row, .rescue-legend, .gallery-grid figure {
  border-color: var(--sos-line);
}
.intake-progress button:not(.active):not(.done) { color: var(--sos-muted); }
.intake-progress button span { background: var(--sos-surface); }
.intake-progress button.active span { background: #324f7d; }
.vet-ride-form input, .vet-ride-form select, .action-panel input { color: var(--sos-ink); }

.btn.primary, a.primary, button.primary, .community-actions .community-primary,
.partners button.primary, .receipt button.primary, .buttons button:first-child,
article button[type=submit], [data-public-support] form button[type=submit],
.care-entry-links a:first-child, .care-directory-link, .call, .lookup-link {
  background: var(--sos-red); color: white; border-color: var(--sos-red);
}
.btn.primary:hover:not(:disabled), a.primary:hover, button.primary:hover:not(:disabled),
.care-entry-links a:first-child:hover, .call:hover, .lookup-link:hover { background: #ac0013; }
.share { background: var(--sos-ink); color: white; border-color: var(--sos-ink); }
.share:hover { background: var(--sos-blue); }
.buttons button:not(:first-child), .subtle, .care-entry-links a:not(:first-child) {
  background-color: white; color: var(--sos-blue); border-color: var(--sos-line);
}
/* The emergency directory and welcome page both use .intro; only the
   emergency directory places its heading on a dark band. */
.mast + main .intro { background: var(--sos-ink); }
.mast + main .intro h1, .mast + main .intro p { color: white; }
.quick-links a:first-child { background: var(--sos-red); color: white; border-color: var(--sos-red); }
.quick-links a + a { background: transparent; color: white; border-color: #afc3e3; }
.intake-progress button.done { color: #176c55; }
.milestone.done span, .progress i, .timeline li.done .dot { background: #176c55; }
.timeline li.done .dot { border-color: #176c55; }
dialog::backdrop { background: rgb(8 23 68 / .6); }
:is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--sos-blue); outline-offset: 3px;
}
.sidebar :focus-visible, .quick-links :focus-visible { outline-color: white; }
