:root {
  color-scheme: light;
  --ink: #1d2321;
  --muted: #66706d;
  --line: #dce2dd;
  --panel: #ffffff;
  --page: #f5f7f2;
  --teal: #0f766e;
  --teal-dark: #0b534e;
  --coral: #c85f42;
  --gold: #b08124;
  --blue: #2f5f98;
  --rose: #b8445f;
  --sage: #e2ebe2;
  --shadow: 0 20px 48px rgba(35, 43, 38, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
select,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 100vh;
  padding: 24px;
  background: #202823;
  color: #f7fbf7;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: #e8f0df;
  color: #1f2a23;
  font-weight: 800;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
}

.brand-subtitle {
  margin-top: 2px;
  color: #bfccc4;
  font-size: 13px;
}

.nav-tabs {
  display: grid;
  gap: 8px;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #dfe8e2;
  text-align: left;
}

.nav-tab:hover,
.nav-tab.active {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.nav-glyph {
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.target-label {
  color: #aebcb4;
  font-size: 12px;
  text-transform: uppercase;
}

.target-region {
  margin-top: 6px;
  font-weight: 700;
}

.target-chip {
  display: inline-flex;
  margin-top: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(15, 118, 110, 0.36);
  color: #e9fffb;
  font-size: 12px;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding: 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 30px;
  line-height: 1.1;
}

h2 {
  font-size: 18px;
}

h3 {
  font-size: 14px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.primary-action,
.secondary-action {
  min-height: 40px;
  border-radius: 8px;
  font-weight: 800;
}

.icon-button {
  width: 40px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}

.primary-action {
  border: 1px solid var(--teal-dark);
  padding: 0 16px;
  background: var(--teal);
  color: #ffffff;
}

.secondary-action {
  border: 1px solid var(--line);
  padding: 0 14px;
  background: #ffffff;
  color: var(--ink);
}

.clinical-context {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hidden {
  display: none !important;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.story-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.1), transparent 48%),
    #ffffff;
  box-shadow: var(--shadow);
}

.story-copy h2 {
  max-width: 720px;
  font-size: 42px;
  line-height: 1.03;
}

.story-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: #37423e;
  font-size: 17px;
  line-height: 1.55;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.story-visual-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 12px;
}

.story-visual {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.story-visual.large {
  min-height: 430px;
}

.story-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.story-visual figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(32, 40, 35, 0.88);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.impact-grid,
.brief-and-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.impact-card,
.parent-brief,
.next-action-card,
.platform-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.impact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 16px;
  align-items: center;
  min-height: 260px;
  padding: 22px;
}

.impact-card p:not(.eyebrow) {
  margin-top: 10px;
  color: #37423e;
  line-height: 1.55;
}

.impact-card img {
  width: 100%;
  height: 210px;
  border-radius: 8px;
  object-fit: cover;
}

.before-card {
  border-left: 4px solid var(--rose);
}

.after-card {
  border-left: 4px solid var(--blue);
}

.parent-brief,
.next-action-card,
.platform-section {
  padding: 22px;
}

.brief-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.parent-brief {
  border-left: 4px solid var(--teal);
}

.parent-brief > p,
.next-action-card > p:last-child {
  color: #37423e;
  font-size: 16px;
  line-height: 1.6;
}

.next-action-card {
  border-left: 4px solid var(--gold);
}

.next-action-card h2 {
  font-size: 28px;
  line-height: 1.12;
}

.mini-path {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.mini-path-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.mini-path-step span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.mini-path-step.warn span {
  background: var(--coral);
}

.mini-path-step p {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  background: #fbfcfa;
  color: #37423e;
  line-height: 1.35;
}

.platform-section {
  margin-top: 16px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.platform-pack {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfa;
}

.platform-pack span {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 7px;
  background: #dcefe8;
  color: #12614e;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.platform-pack strong {
  display: block;
  margin-top: 14px;
  font-size: 18px;
}

.platform-pack p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.4;
}

.patient-banner {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 16px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.patient-avatar {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 8px;
  background: #202823;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.patient-summary {
  min-width: 0;
}

.patient-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.patient-title-row h2 {
  font-size: 24px;
}

.patient-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.patient-data-cell,
.clinical-question,
.summary-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.patient-data-cell {
  min-height: 62px;
  padding: 10px;
}

.patient-data-cell span,
.clinical-question span,
.summary-card span,
.lab-cell small,
.lab-cell em {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.patient-data-cell strong,
.summary-card strong {
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.clinical-question {
  padding: 14px;
}

.clinical-question p {
  margin-top: 8px;
  color: #37423e;
  line-height: 1.45;
}

.metric,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.metric {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.metric-label,
.detail-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric strong {
  font-size: 28px;
  line-height: 1;
}

.metric span:last-child {
  color: var(--muted);
  font-size: 13px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.workbench,
.two-column {
  display: grid;
  grid-template-columns: minmax(320px, 440px) minmax(0, 1fr);
  gap: 16px;
}

.panel {
  min-width: 0;
  padding: 18px;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel-header p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

select {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: #ffffff;
  color: var(--ink);
}

.control-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.segmented-control {
  position: relative;
}

.segmented-control input {
  position: absolute;
  opacity: 0;
}

.segmented-control span {
  display: grid;
  min-height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--muted);
  font-weight: 800;
}

.segmented-control input:checked + span {
  border-color: rgba(15, 118, 110, 0.32);
  background: var(--sage);
  color: var(--teal-dark);
}

.threshold-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.threshold-control input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--teal);
}

.case-list {
  display: grid;
  gap: 8px;
  max-height: 520px;
  overflow: auto;
  padding-right: 2px;
}

.case-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 110px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
}

.case-row.active {
  border-color: rgba(200, 95, 66, 0.65);
  background: #fff7f2;
}

.case-row img {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  background: #101411;
}

.case-row span {
  min-width: 0;
}

.case-row strong,
.case-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-row small {
  margin-top: 3px;
  color: var(--muted);
}

.case-row em {
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.detail-panel {
  display: grid;
  gap: 16px;
}

.record-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.summary-card {
  min-height: 76px;
  padding: 12px;
}

.image-stage {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 8px;
  background: #121716;
}

.image-stage img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: contain;
}

.image-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 6px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 12px;
}

.detail-grid > div {
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfa;
}

.detail-grid strong,
.detail-grid h2 {
  display: block;
  margin-top: 6px;
}

.case-initial {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 8px;
  background: #e2ebe2;
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 900;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.lab-cell,
.decision-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfa;
}

.lab-cell span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.lab-cell strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  font-size: 16px;
}

.lab-cell small,
.lab-cell em {
  display: block;
  margin-top: 6px;
}

.lab-cell em {
  width: max-content;
  border-radius: 999px;
  padding: 4px 7px;
  background: #e9ece7;
  color: #53605b;
  font-style: normal;
}

.lab-cell.missing {
  background: #fff7f2;
}

.lab-cell.flag-low,
.lab-cell.flag-high {
  border-color: rgba(200, 95, 66, 0.48);
  background: #fff7f2;
}

.lab-cell.flag-low em,
.lab-cell.flag-high em {
  background: #f8e5d6;
  color: #8b3f24;
}

.lab-cell.flag-normal em {
  background: #dcefe8;
  color: #12614e;
}

.decision-card {
  display: grid;
  gap: 8px;
  border-left: 4px solid var(--teal);
}

.decision-card p:last-child {
  color: #37423e;
  line-height: 1.45;
}

.pathway {
  display: grid;
  gap: 8px;
}

.path-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.path-step span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.path-step p {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
  line-height: 1.35;
}

.path-step.warn span {
  background: var(--coral);
}

.path-step.warn p {
  border-color: rgba(200, 95, 66, 0.48);
  background: #fff7f2;
}

.orders-panel,
.audit-log {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.orders-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.orders-header p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.order-list,
.audit-items {
  display: grid;
  gap: 8px;
}

.order-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfcfa;
  line-height: 1.35;
}

.audit-log h3 {
  margin-bottom: 10px;
}

.audit-items p {
  border-left: 3px solid var(--teal);
  padding-left: 10px;
  color: #37423e;
  line-height: 1.45;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  background: #f8e5d6;
  color: #8b3f24;
  font-size: 12px;
  font-weight: 900;
}

.status-pill.ok {
  background: #dcefe8;
  color: #12614e;
}

.status-pill.warn {
  background: #f8e5d6;
  color: #8b3f24;
}

.review-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #ffffff;
  font-weight: 800;
}

.toggle-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}

.rationale {
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  padding: 14px 16px;
  background: #eef5ef;
}

.rationale.muted {
  border-left-color: var(--muted);
  background: #f4f5f2;
  color: var(--muted);
}

.rationale p {
  margin-top: 8px;
  color: #37423e;
  line-height: 1.5;
}

.coverage-list,
.gate-list {
  display: grid;
  gap: 12px;
}

.flowchart-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.5fr);
}

.chart-panel {
  min-height: 680px;
}

.chart-viewer {
  overflow: auto;
  height: min(70vh, 760px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.chart-viewer img {
  display: block;
  width: max(100%, 1600px);
  height: auto;
}

.coverage-row {
  display: grid;
  grid-template-columns: 180px 1fr 80px;
  align-items: center;
  gap: 14px;
}

.coverage-row span,
.gate-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e8e2;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.coverage-row em,
.gate-row em {
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.identity-cell {
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfa;
}

.identity-cell span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.identity-cell strong {
  display: block;
  margin-top: 10px;
}

.target-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.target-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
}

.target-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.target-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.gate-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.status-dot.ok {
  background: var(--teal);
}

.audit-table-wrap {
  overflow: auto;
}

.audit-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.audit-table th,
.audit-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 10px;
  text-align: left;
}

.audit-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 5;
  max-width: 320px;
  transform: translateY(20px);
  border-radius: 8px;
  padding: 12px 14px;
  background: #202823;
  color: #ffffff;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: auto;
    padding: 16px;
    gap: 14px;
  }

  .nav-tabs {
    grid-template-columns: repeat(5, minmax(86px, 1fr));
    gap: 6px;
  }

  .nav-tab {
    min-height: 38px;
    padding: 0 10px;
  }

  .sidebar-footer {
    display: none;
  }

  .patient-banner,
  .story-hero,
  .impact-grid,
  .brief-and-proof,
  .workbench,
  .two-column {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .patient-grid,
  .record-summary,
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-copy {
    min-height: auto;
    padding: 24px;
  }

  .story-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  }

  .story-copy h2 {
    font-size: 31px;
  }

  .story-visual-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-visual.large {
    min-height: 320px;
  }

  .image-stage img {
    height: 340px;
  }
}

@media (max-width: 640px) {
  .main {
    padding: 16px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 24px;
  }

  .nav-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .brand {
    justify-content: flex-start;
  }

  .control-row,
  .detail-grid,
  .identity-grid,
  .target-list div,
  .coverage-row,
  .patient-grid,
  .record-summary,
  .metrics,
  .story-visual-grid,
  .impact-card,
  .platform-grid,
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .patient-title-row,
  .brief-header,
  .orders-header {
    flex-direction: column;
  }

  .story-copy {
    padding: 22px;
  }

  .story-hero {
    grid-template-columns: 1fr;
  }

  .story-visual-grid {
    order: -1;
  }

  .story-visual:not(.large) {
    display: none;
  }

  .story-visual.large {
    min-height: 220px;
  }

  .story-copy h2,
  .next-action-card h2 {
    font-size: 25px;
  }

  .story-copy p:not(.eyebrow) {
    margin-top: 12px;
    font-size: 15px;
  }

  .story-actions {
    margin-top: 16px;
  }
  }

  .impact-card img {
    height: 190px;
  }

  .coverage-row em {
    text-align: left;
  }

  .case-row {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .case-row em {
    grid-column: 2;
    text-align: left;
  }
}
