/* HospitalIQ — distinct theme layer. Local SVG art only. */
body.theme-hospital {
  --accent: #f87171;
  --accent-2: #60a5fa;
  --accent-ink: #2b0b0b;
  --accent-soft: #f8717126;
  --theme-bg: #160d10;
}
body.theme-hospital .eyebrow { color: var(--accent-2); }
body.theme-hospital h1 span { background: linear-gradient(135deg, var(--accent), var(--accent-2)); background-clip: text; color: transparent; }
body.theme-hospital .brand-mark,
body.theme-hospital .header-cta,
body.theme-hospital .button.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); border-color: transparent; }
body.theme-hospital .site-nav a:hover { color: var(--accent-2); }
body.theme-hospital .mini-tag { background: var(--accent-soft); color: var(--accent-2); }
body.theme-hospital .dot.green { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
body.theme-hospital .hero { background: radial-gradient(circle at 85% 20%, var(--accent-soft), transparent 34%), var(--theme-bg); }
body.theme-hospital .hero-card { background: linear-gradient(160deg, var(--theme-bg), #0b1120); }
body.theme-hospital .mini-note { background: var(--accent-soft); color: var(--accent-2); }
body.theme-hospital .section.soft { background: var(--accent-soft); }
body.theme-hospital .data-table .status-cell { color: var(--accent-2); }
body.theme-hospital .data-table .status-cell.review { color: #fbbf24; }
body.theme-hospital .workflow-card span { color: var(--accent-2); }
body.theme-hospital .log-item { border-left: 3px solid var(--accent); }
body.theme-hospital .hero-art,
body.theme-hospital .flow-banner img { display: block; width: 100%; height: auto; border-radius: 16px; }
body.theme-hospital .hero-art { margin: 16px 0 8px; }
body.theme-hospital .flow-banner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 18px; align-items: center; margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(8, 13, 24, .55); }
body.theme-hospital .flow-banner p { margin: 0; color: #a9bbcd; font-size: .86rem; }
body.theme-hospital .hero-card { border-radius: 16px; border-left: 6px solid var(--accent); }
body.theme-hospital .data-table tbody td:last-child { font-weight: 900; }
@media (max-width: 780px) {
  body.theme-hospital .flow-banner { grid-template-columns: 1fr; }
  body.theme-hospital .hero-card { transform: none; }
}


/* LAYOUT: hospital status board */
body.theme-hospital .strip div { border-bottom: 4px solid var(--accent-soft); }
body.theme-hospital .data-table td:last-child { font-weight: 900; }
body.theme-hospital .data-table .status-cell { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--accent-soft); }
body.theme-hospital .data-table tbody tr:nth-child(odd) { background: rgba(248, 113, 113, .05); }
body.theme-hospital .workflow-grid { display: flex; gap: 0; }
body.theme-hospital .workflow-card { flex: 1; border-right: 3px solid var(--accent2); border-radius: 0; }
body.theme-hospital .workflow-card:first-child { border-radius: 18px 0 0 18px; }
body.theme-hospital .workflow-card:last-child { border-right: 0; border-radius: 0 18px 18px 0; }

/* BACKEND: full-stack status controls */
.backend-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.backend-controls .mini-note { margin: 0; }
.backend-controls .mini-note.error { color: #fca5a5; border-color: rgba(248, 113, 113, .5); }

.log-kind { display: inline-block; margin-right: 8px; color: var(--accent-2); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
