/* DoctorIQ — distinct theme layer. Local SVG art only. */
body.theme-clinic {
  --accent: #2dd4bf;
  --accent-2: #38bdf8;
  --accent-ink: #04252a;
  --accent-soft: #2dd4bf26;
  --theme-bg: #0b1620;
}
body.theme-clinic .eyebrow { color: var(--accent-2); }
body.theme-clinic h1 span { background: linear-gradient(135deg, var(--accent), var(--accent-2)); background-clip: text; color: transparent; }
body.theme-clinic .brand-mark,
body.theme-clinic .header-cta,
body.theme-clinic .button.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); border-color: transparent; }
body.theme-clinic .site-nav a:hover { color: var(--accent-2); }
body.theme-clinic .mini-tag { background: var(--accent-soft); color: var(--accent-2); }
body.theme-clinic .dot.green { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
body.theme-clinic .hero { background: radial-gradient(circle at 85% 20%, var(--accent-soft), transparent 34%), var(--theme-bg); }
body.theme-clinic .hero-card { background: linear-gradient(160deg, var(--theme-bg), #0b1120); }
body.theme-clinic .mini-note { background: var(--accent-soft); color: var(--accent-2); }
body.theme-clinic .section.soft { background: var(--accent-soft); }
body.theme-clinic .data-table .status-cell { color: var(--accent-2); }
body.theme-clinic .data-table .status-cell.review { color: #fbbf24; }
body.theme-clinic .workflow-card span { color: var(--accent-2); }
body.theme-clinic .log-item { border-left: 3px solid var(--accent); }
body.theme-clinic .hero-art,
body.theme-clinic .flow-banner img { display: block; width: 100%; height: auto; border-radius: 16px; }
body.theme-clinic .hero-art { margin: 16px 0 8px; }
body.theme-clinic .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-clinic .flow-banner p { margin: 0; color: #a9bbcd; font-size: .86rem; }
body.theme-clinic .hero-card { border-radius: 30px 30px 8px 30px; border-top: 5px solid var(--accent); }
@media (max-width: 780px) {
  body.theme-clinic .flow-banner { grid-template-columns: 1fr; }
  body.theme-clinic .hero-card { transform: none; }
}


/* LAYOUT: clinic dashboard */
body.theme-clinic .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
body.theme-clinic .hero-art { border-radius: 20px 20px 6px 20px; }
body.theme-clinic .strip { border-radius: 14px; }
body.theme-clinic .strip div { position: relative; padding-left: 36px; }
body.theme-clinic .strip div::before { content: '+'; position: absolute; left: 15px; top: 17px; color: var(--accent); font-size: 1.2rem; font-weight: 900; }
body.theme-clinic .data-table tbody tr { border-left: 3px solid var(--accent-soft); }
body.theme-clinic .data-table tbody tr:hover { background: var(--accent-soft); }
body.theme-clinic .workflow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.theme-clinic .workflow-card { border-top: 4px solid var(--accent); }
body.theme-clinic .log-panel { order: -1; }

/* 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; }
