/* Context to Care — low-fi concept storyboards. All selectors .c2c-. RYG is the ONLY color. */
:root {
  --c2c-r: #C43D2E;
  --c2c-a: #C28A18;
  --c2c-g: #2E8B57;
  --c2c-ink: #3E434B;
  --c2c-mid: #6B7178;
  --c2c-dim: #8E939A;
  --c2c-line: #C6C9CE;
  --c2c-soft: #DDDFE2;
  --c2c-desk: #FFFFFF;
  --c2c-green: #2D4A1F;
  --c2c-paper: #FFFFFF;
}

/* ---------- master shell + tabs ---------- */
.c2c-shell {
  height: 100vh; display: flex; flex-direction: column;
  background: #fff; color: var(--c2c-ink);
  font-family: Inter, -apple-system, sans-serif; -webkit-font-smoothing: antialiased;
}
.c2c-mastertabs {
  flex: 0 0 auto; display: flex; align-items: center; gap: 18px;
  padding: 0 22px; background: var(--c2c-green); border-bottom: 1px solid #22381A;
}
.c2c-master-brand {
  font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-weight: 700;
  font-size: 16px; color: #fff; padding: 11px 0; white-space: nowrap;
}
.c2c-master-set { position: relative; display: flex; align-items: center; }
.c2c-mtrigger {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
  color: #fff; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28);
  border-radius: 4px; padding: 7px 11px; white-space: nowrap;
}
.c2c-mtrigger:hover { background: rgba(255,255,255,0.2); }
.c2c-mtrigger svg { transition: transform 0.15s ease; opacity: 0.85; }
.c2c-mtrigger.open svg { transform: rotate(180deg); }
.c2c-mmenu-scrim { position: fixed; inset: 0; z-index: 40; }
.c2c-mmenu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 41; min-width: 260px;
  display: flex; flex-direction: column; background: #fff; border: 1px solid #D8DCD4;
  border-radius: 4px; box-shadow: 0 10px 26px rgba(20,32,16,0.22); padding: 4px; overflow: hidden;
}
.c2c-mitem {
  font-family: Inter, sans-serif; font-size: 13px; font-weight: 500; text-align: left;
  color: #1F2A18; background: none; border: none; cursor: pointer; border-radius: 3px;
  padding: 9px 11px; white-space: nowrap;
}
.c2c-mitem:hover { background: #F1F4EE; }
.c2c-mitem.on { font-weight: 700; background: #E8EEE3; }
.c2c-mtab {
  font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
  color: rgba(255,255,255,0.62); background: none; border: none; cursor: pointer;
  padding: 13px 15px 11px; border-bottom: 2.5px solid transparent; white-space: nowrap;
}
.c2c-mtab:hover { color: rgba(255,255,255,0.9); }
.c2c-mtab.on { color: #fff; border-bottom-color: #fff; }
.c2c-master-tag {
  margin-left: auto; font-family: ui-monospace, Menlo, monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.09em; color: rgba(255,255,255,0.55); white-space: nowrap;
}

.c2c-root {
  position: relative;
  flex: 1 1 auto; min-height: 0;
  overflow-y: auto;
  background: var(--c2c-desk);
  color: var(--c2c-ink);
  font-family: Inter, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.c2c-root a { color: var(--c2c-mid); }
.c2c-root a:hover { color: var(--c2c-ink); }

/* ---------- EMR concept frame ---------- */
.c2c-emrwrap { flex: 1 1 auto; min-height: 0; }
.c2c-emrframe { width: 100%; height: 100%; border: none; display: block; background: #fff; }

/* ---------- top bar ---------- */
.c2c-top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 20px;
  padding: 12px 26px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px dashed var(--c2c-line);
}
.c2c-top-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--c2c-green); }
.c2c-top-sub { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; color: var(--c2c-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.c2c-toc { display: flex; gap: 4px; flex-wrap: wrap; }
.c2c-toc-b {
  font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--c2c-mid);
  background: none; border: 1px solid transparent; border-radius: 999px;
  padding: 4px 9px; cursor: pointer;
}
.c2c-toc-b:hover { border-color: var(--c2c-line); }
.c2c-toc-b.on { background: var(--c2c-green); color: #fff; }
.c2c-legend { display: flex; gap: 12px; margin-left: auto; font-size: 11px; color: var(--c2c-mid); white-space: nowrap; }
.c2c-legend span { display: flex; align-items: center; gap: 5px; }
.c2c-notes-btn {
  font-family: ui-monospace, Menlo, monospace; font-size: 11px;
  border: 1px dashed var(--c2c-dim); border-radius: 999px; padding: 5px 11px;
  background: none; color: var(--c2c-mid); cursor: pointer; white-space: nowrap;
}
.c2c-notes-btn.on { background: var(--c2c-green); color: #fff; border-style: solid; border-color: var(--c2c-green); }

/* ---------- hero pattern strip ---------- */
.c2c-hero {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 18px 28px 0; font-size: 12.5px; color: var(--c2c-mid);
}
.c2c-hero b { font-size: 12.5px; color: var(--c2c-ink); }
.c2c-hero span {
  font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: 0.06em;
  border: 1.5px solid var(--c2c-ink); color: var(--c2c-ink); border-radius: 6px; padding: 4px 10px; font-weight: 600;
}
.c2c-hero i { font-style: normal; color: var(--c2c-dim); }
.c2c-hero em { font-style: normal; color: var(--c2c-dim); font-size: 12px; }

/* ---------- sections ---------- */
.c2c-section { padding: 44px 28px 4px; }
.c2c-kicker { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--c2c-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.c2c-h { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 8px; color: var(--c2c-green); }
.c2c-h3 { font-size: 15px; font-weight: 700; margin: 30px 0 2px; color: var(--c2c-green); }
.c2c-h3 em { font-style: normal; font-weight: 400; color: var(--c2c-mid); font-size: 13px; margin-left: 8px; }
.c2c-intent { max-width: 760px; font-size: 13.5px; line-height: 1.55; color: var(--c2c-mid); margin: 0; text-wrap: pretty; }

/* ---------- strips + frames ---------- */
.c2c-strip { display: flex; align-items: flex-start; gap: 0; overflow-x: auto; padding: 20px 2px 26px; }
.c2c-cell { display: flex; flex-direction: column; gap: 10px; flex: 0 0 auto; }
.c2c-fnum { font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; color: var(--c2c-dim); letter-spacing: 0.03em; }
.c2c-fnum span { color: var(--c2c-mid); margin-left: 7px; }
.c2c-arrow { flex: 0 0 auto; color: #A6ABB1; font-size: 19px; padding: 0 11px; }
.c2c-strip.ph .c2c-arrow { margin-top: 215px; }
.c2c-strip.dk .c2c-arrow { margin-top: 165px; }

.c2c-ph {
  width: 240px; min-height: 430px; box-sizing: border-box;
  background: var(--c2c-paper); border: 1.5px solid #B9BDC3; border-radius: 20px;
  padding: 12px 13px 16px; display: flex; flex-direction: column; gap: 9px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.c2c-ph-notch { width: 52px; height: 5px; border-radius: 999px; background: var(--c2c-soft); margin: 0 auto 3px; }

.c2c-dk {
  width: 540px; min-height: 340px; box-sizing: border-box;
  background: var(--c2c-paper); border: 1.5px solid #B9BDC3; border-radius: 10px;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.c2c-dk-bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; border-bottom: 1px dashed var(--c2c-line); }
.c2c-dk-bar span { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--c2c-line); }
.c2c-dk-bar em { font-style: normal; font-family: ui-monospace, Menlo, monospace; font-size: 10px; color: var(--c2c-dim); margin-left: 8px; letter-spacing: 0.05em; text-transform: uppercase; }
.c2c-dk-body { display: flex; flex: 1; min-height: 0; }
.c2c-rail { width: 128px; flex: 0 0 auto; border-right: 1px dashed var(--c2c-line); padding: 11px; display: flex; flex-direction: column; gap: 8px; }
.c2c-main { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }

/* ---------- annotations ---------- */
.c2c-note {
  display: flex; gap: 8px; align-items: flex-start;
  border: 1px dashed var(--c2c-dim); border-radius: 8px;
  background: #F0F0F1; padding: 8px 10px;
  font-family: ui-monospace, Menlo, monospace; font-size: 11px; line-height: 1.5; color: var(--c2c-mid);
  max-width: 100%; box-sizing: border-box; text-wrap: pretty;
}
.c2c-note-tag { flex: 0 0 auto; font-weight: 700; color: var(--c2c-ink); }
.c2c-root.notes-off .c2c-note { display: none; }

/* ---------- shared wireframe atoms ---------- */
.c2c-t1 { font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.c2c-t2 { font-size: 12.5px; line-height: 1.45; color: var(--c2c-mid); }
.c2c-t2b { font-size: 12.5px; line-height: 1.45; color: var(--c2c-ink); font-weight: 600; }
.c2c-t3 { font-family: ui-monospace, Menlo, monospace; font-size: 9.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--c2c-dim); }
.c2c-btn {
  border-radius: 999px; background: #4A4F57; color: #fff; text-align: center;
  font-size: 12.5px; font-weight: 600; padding: 9px 12px;
}
.c2c-btn.ghost { background: none; border: 1.5px solid var(--c2c-line); color: var(--c2c-mid); }
.c2c-card { border: 1px solid #D6D9DD; border-radius: 10px; padding: 10px 11px; display: flex; flex-direction: column; gap: 7px; background: #FBFBFC; }
.c2c-img {
  border: 1px solid var(--c2c-soft); border-radius: 8px;
  background: repeating-linear-gradient(-45deg, #F2F3F4, #F2F3F4 6px, #EAEBED 6px, #EAEBED 12px);
  display: grid; place-items: center;
  font-family: ui-monospace, Menlo, monospace; font-size: 10px; color: var(--c2c-dim);
}
.c2c-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: ui-monospace, Menlo, monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.04em;
  border-radius: 999px; padding: 3px 9px; border: 1px solid var(--c2c-line); color: var(--c2c-mid);
  white-space: nowrap; width: fit-content;
}
.c2c-chip.r { color: var(--c2c-r); border-color: rgba(196,61,46,0.4); background: rgba(196,61,46,0.07); }
.c2c-chip.a { color: var(--c2c-a); border-color: rgba(194,138,24,0.45); background: rgba(194,138,24,0.08); }
.c2c-chip.g { color: var(--c2c-g); border-color: rgba(46,139,87,0.4); background: rgba(46,139,87,0.07); }
.c2c-chipdot { width: 8px; height: 8px; border-radius: 50%; background: var(--c2c-dim); flex: 0 0 auto; display: inline-block; }
.c2c-chip.r .c2c-chipdot, .c2c-chipdot.r { background: var(--c2c-r); }
.c2c-chip.a .c2c-chipdot, .c2c-chipdot.a { background: var(--c2c-a); }
.c2c-chip.g .c2c-chipdot, .c2c-chipdot.g { background: var(--c2c-g); }
.c2c-metric { display: flex; align-items: center; gap: 7px; font-size: 12.5px; }
.c2c-metric-l { color: var(--c2c-mid); }
.c2c-metric-v { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.c2c-spark { display: block; }
.c2c-ring {
  width: 76px; height: 76px; border-radius: 50%; border: 3px solid #B9BDC3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  margin: 2px auto;
}
.c2c-ring b { font-size: 17px; }
.c2c-ring i { font-style: normal; font-size: 9px; color: var(--c2c-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.c2c-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--c2c-soft); border: 1px solid var(--c2c-line); flex: 0 0 auto; }
.c2c-bub {
  border: 1px solid #D2D5DA; background: #F3F4F5; border-radius: 12px 12px 12px 4px;
  padding: 8px 10px; font-size: 12px; line-height: 1.45; color: #4A4F57; max-width: 90%; align-self: flex-start;
}
.c2c-bub.me { background: #E2E4E7; border-radius: 12px 12px 4px 12px; align-self: flex-end; }
.c2c-share { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--c2c-ink); }
.c2c-share .bx {
  width: 16px; height: 16px; flex: 0 0 auto; border: 1.5px solid #9AA0A7; border-radius: 4px;
  display: grid; place-items: center; font-size: 10px; color: var(--c2c-ink);
}
.c2c-share.off { color: var(--c2c-dim); }
.c2c-tl { display: flex; gap: 8px; align-items: baseline; font-size: 12px; color: var(--c2c-mid); }
.c2c-tl b { font-weight: 400; flex: 0 0 auto; color: var(--c2c-dim); }
.c2c-tl.done b { color: var(--c2c-g); }
.c2c-tl.now { color: var(--c2c-ink); font-weight: 600; }
.c2c-slots { display: flex; gap: 6px; flex-wrap: wrap; }
.c2c-slot { border: 1px solid var(--c2c-line); border-radius: 999px; font-size: 11px; padding: 4px 9px; color: var(--c2c-mid); }
.c2c-slot.on { border-color: var(--c2c-ink); color: var(--c2c-ink); font-weight: 600; }
.c2c-lhead { font-family: ui-monospace, Menlo, monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c2c-dim); margin-top: 3px; }
.c2c-hr { border: none; border-top: 1px dashed var(--c2c-line); margin: 2px 0; width: 100%; }

/* ---------- journey map (section A) ---------- */
.c2c-lanes { display: flex; gap: 8px; margin-top: 16px; }
.c2c-lane {
  font-family: ui-monospace, Menlo, monospace; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 5px; padding: 3px 8px;
}
.c2c-lane.partner { background: var(--c2c-green); color: #fff; }
.c2c-lane.wheel { border: 1.5px solid var(--c2c-green); color: var(--c2c-green); }
.c2c-lane.clin { border: 1.5px dashed #8E939A; color: var(--c2c-mid); }
.c2c-lane.sm { font-size: 8.5px; padding: 2px 6px; }
.c2c-map { align-items: flex-start; }
.c2c-nodecell { width: 168px; }
.c2c-map-arrow { flex: 0 0 auto; color: #A6ABB1; font-size: 17px; padding: 0 7px; margin-top: 58px; }
.c2c-node {
  border: 1.5px solid var(--c2c-green); border-radius: 10px; background: var(--c2c-paper);
  padding: 10px 11px; display: flex; flex-direction: column; gap: 6px; min-height: 118px; box-sizing: border-box;
}
.c2c-node-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.c2c-node-n {
  font-family: ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 700;
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--c2c-green); color: var(--c2c-green);
  display: grid; place-items: center;
}
.c2c-node-l { font-size: 13px; font-weight: 700; line-height: 1.25; color: var(--c2c-green); }
.c2c-node-s { font-size: 11px; line-height: 1.45; color: var(--c2c-mid); }
.c2c-art {
  font-family: ui-monospace, Menlo, monospace; font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em;
  border: 1.5px solid var(--c2c-green); color: var(--c2c-green); border-radius: 6px; padding: 3px 7px; width: fit-content; margin-top: auto;
}
.c2c-swap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 2px 0 10px; }
.c2c-swap-l { font-size: 12px; color: var(--c2c-mid); font-weight: 600; }
.c2c-swap-chip {
  font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; color: var(--c2c-mid);
  border: 1px dashed var(--c2c-dim); border-radius: 999px; padding: 4px 11px;
}

/* ---------- EMR / desk internals ---------- */
.c2c-theme { border: 1px solid #D6D9DD; border-left-width: 3px; border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; }
.c2c-theme.r { border-left-color: var(--c2c-r); }
.c2c-theme.a { border-left-color: var(--c2c-a); }
.c2c-theme.g { border-left-color: var(--c2c-g); }
.c2c-theme-t { font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.c2c-theme-s { font-size: 11px; color: var(--c2c-mid); line-height: 1.45; }
.c2c-sig { display: flex; align-items: center; gap: 7px; font-size: 11.5px; }
.c2c-sig i { font-style: normal; margin-left: auto; color: var(--c2c-dim); font-variant-numeric: tabular-nums; }
.c2c-banner {
  border: 1px solid rgba(194,138,24,0.45); background: rgba(194,138,24,0.07); color: var(--c2c-a);
  border-radius: 8px; padding: 7px 10px; font-size: 11px; line-height: 1.4; font-weight: 600;
}
.c2c-queue { display: flex; align-items: center; gap: 9px; border: 1px solid #D6D9DD; border-radius: 8px; padding: 9px 11px; font-size: 12px; }
.c2c-queue .who { font-weight: 700; }
.c2c-queue .meta { color: var(--c2c-mid); }
.c2c-queue .act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.c2c-minibtn { border: 1.5px solid var(--c2c-ink); border-radius: 999px; font-size: 11px; font-weight: 600; padding: 3px 10px; }
.c2c-cols { display: flex; gap: 12px; flex: 1; min-height: 0; }
.c2c-col { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.c2c-col.transcript { flex: 0 0 38%; border-right: 1px dashed var(--c2c-line); padding-right: 12px; }
.c2c-plan { display: flex; align-items: flex-start; gap: 7px; font-size: 11.5px; line-height: 1.4; }
.c2c-plan .why { color: var(--c2c-dim); font-size: 10.5px; }
.c2c-plan .acts { margin-left: auto; display: flex; gap: 4px; flex: 0 0 auto; }
.c2c-plan .acts span { border: 1px solid var(--c2c-line); border-radius: 999px; font-size: 10px; padding: 2px 7px; color: var(--c2c-mid); }
.c2c-bar { background: var(--c2c-soft); border-radius: 999px; height: 8px; }
.c2c-kv { display: flex; gap: 10px; font-size: 11.5px; align-items: baseline; }
.c2c-kv b { font-family: ui-monospace, Menlo, monospace; font-weight: 400; font-size: 10.5px; color: var(--c2c-dim); flex: 0 0 148px; }
.c2c-kv i { font-style: normal; font-weight: 600; }

/* ---------- medium-fidelity additions (onsite flows) ---------- */
.c2c-ph.dark { background: #17191C; border-color: #0E1012; color: #ECEDEE; }
.c2c-ph.dark .c2c-t1 { color: #F2F3F4; }
.c2c-ph.dark .c2c-t2 { color: #A6ABB2; }
.c2c-ph.dark .c2c-t2b { color: #E4E6E8; }
.c2c-ph.dark .c2c-t3 { color: #7C838B; }
.c2c-ph.dark .c2c-card { background: #212428; border-color: #2E3237; }
.c2c-ph.dark .c2c-hr { border-top-color: #2E3237; }
.c2c-ph.dark .c2c-btn { background: #ECEDEE; color: #17191C; }
.c2c-ph.dark .c2c-btn.ghost { background: none; border-color: #3A3F45; color: #A6ABB2; }
.c2c-ph.dark .c2c-metric-l { color: #8B9198; }
.c2c-ph.dark .c2c-metric-v { color: #ECEDEE; }
.c2c-ph.dark .c2c-sig { color: #C9CCD0; }
.c2c-ph.dark .c2c-tl { color: #A6ABB2; }
.c2c-ph.dark .c2c-tl.now { color: #ECEDEE; }
.c2c-ph.dark .c2c-slot { border-color: #3A3F45; color: #A6ABB2; }
.c2c-ph.dark .c2c-slot.on { border-color: #ECEDEE; color: #ECEDEE; }
.c2c-ph.dark .c2c-avatar { background: #2E3237; border-color: #3A3F45; }
.c2c-ph.dark .c2c-ring { border-color: #3A3F45; }
.c2c-ph.dark .c2c-img { border-color: #2E3237; background: repeating-linear-gradient(-45deg, #1D2023, #1D2023 6px, #24272B 6px, #24272B 12px); color: #7C838B; }
.c2c-status { display: flex; justify-content: space-between; font-size: 10px; opacity: 0.65; font-variant-numeric: tabular-nums; padding: 0 2px 2px; }
.c2c-homebar { width: 72px; height: 4px; border-radius: 999px; background: #3A3F45; margin: 10px auto 0; flex: 0 0 auto; }
.c2c-appbar {
  display: flex; align-items: center; gap: 10px; padding: 7px 10px;
  border: 1px solid var(--c2c-soft); border-radius: 8px; background: #F7F7F8;
  font-size: 11px; font-weight: 700; color: var(--c2c-mid);
}
.c2c-appbar .sp { margin-left: auto; font-family: ui-monospace, Menlo, monospace; font-weight: 400; font-size: 9px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--c2c-dim); }
.c2c-score { border: 1.5px solid var(--c2c-green); background: #fff; border-radius: 12px; padding: 8px 18px; max-width: 860px; margin-top: 14px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.c2c-score-row { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px dashed var(--c2c-soft); font-size: 13px; }
.c2c-score-row:first-child { border-top: none; }
.c2c-score-n {
  font-family: ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 700;
  width: 20px; height: 20px; border: 1.5px solid var(--c2c-green); color: var(--c2c-green); border-radius: 50%;
  display: grid; place-items: center; flex: 0 0 auto;
}
.c2c-score-t { flex: 1; line-height: 1.45; color: var(--c2c-mid); }
.c2c-score-t b { color: var(--c2c-green); }
.c2c-score-links { display: flex; gap: 5px; flex: 0 0 auto; }
.c2c-score-link {
  font-family: ui-monospace, Menlo, monospace; font-size: 10px;
  border: 1px solid var(--c2c-line); border-radius: 999px; padding: 3px 9px;
  background: none; color: var(--c2c-mid); cursor: pointer;
}
.c2c-score-link:hover { border-color: var(--c2c-green); color: var(--c2c-green); }
.c2c-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.c2c-path { border: 1px solid #D6D9DD; border-radius: 10px; padding: 9px 11px; display: flex; flex-direction: column; gap: 4px; background: #FBFBFC; }
.c2c-path.off { opacity: 0.5; background: none; }
.c2c-path-top { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.c2c-path-s { font-size: 10px; color: var(--c2c-mid); }
.c2c-tgl { margin-left: auto; width: 30px; height: 17px; border-radius: 999px; background: var(--c2c-soft); position: relative; flex: 0 0 auto; }
.c2c-tgl::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.c2c-tgl.on { background: var(--c2c-g); }
.c2c-tgl.on::after { left: auto; right: 2px; }
.c2c-step { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.c2c-step .dose { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 52px; }
.c2c-divider {
  margin: 56px 28px 0; padding-top: 14px; border-top: 1.5px solid var(--c2c-line);
  font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c2c-dim);
}

/* ---------- hi-fi: WHOOP member frames (.c2cw-) ---------- */
.c2cw-ph {
  width: 272px; min-height: 480px; box-sizing: border-box;
  background: #0F1318; border: 2px solid #23272D; border-radius: 34px;
  padding: 12px 14px 12px; display: flex; flex-direction: column; gap: 10px;
  color: #EEF1F4; font-family: Barlow, Inter, sans-serif;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
}
.c2cw-status { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; color: #C7CDD3; padding: 0 6px; }
.c2cw-brand { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.34em; color: #8E97A1; }
.c2cw-micro { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #7E8894; }
.c2cw-t1 { font-size: 17px; font-weight: 700; color: #F2F4F6; line-height: 1.25; }
.c2cw-t2 { font-size: 12px; line-height: 1.5; color: #A6AFB9; }
.c2cw-t2b { font-size: 12.5px; line-height: 1.45; color: #E7EAED; font-weight: 600; }
.c2cw-big { font-size: 30px; font-weight: 700; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.c2cw-card { background: #1A2027; border: 1px solid #262D36; border-radius: 16px; padding: 12px 13px; display: flex; flex-direction: column; gap: 8px; }
.c2cw-btn { border-radius: 999px; background: #fff; color: #0F1318; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; padding: 11px 12px; }
.c2cw-btn.blue { background: #66AEE8; }
.c2cw-btn.ghost { background: none; border: 1.5px solid #39424C; color: #C7CDD3; }
.c2cw-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 6px; padding: 3px 8px; width: fit-content; }
.c2cw-chip.g { color: #35D06A; background: rgba(46,209,88,0.12); }
.c2cw-chip.a { color: #E9A13B; background: rgba(233,161,59,0.13); }
.c2cw-chip.r { color: #E4574F; background: rgba(228,87,79,0.13); }
.c2cw-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #C9CFD6; }
.c2cw-row i { font-style: normal; margin-left: auto; color: #8E97A1; font-variant-numeric: tabular-nums; font-weight: 600; }
.c2cw-rings { display: flex; justify-content: space-between; padding: 2px 8px; }
.c2cw-ring { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.c2cw-ring .rv { position: relative; width: 56px; height: 56px; }
.c2cw-ring .rv b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.c2cw-avatar { width: 32px; height: 32px; border-radius: 50%; background: #2A313A; border: 1px solid #39424C; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #C7CDD3; flex: 0 0 auto; }
.c2cw-bub { background: #1D242C; border-radius: 14px 14px 14px 4px; padding: 9px 11px; font-size: 12px; line-height: 1.5; color: #D9DEE3; }
.c2cw-filter { display: flex; gap: 6px; overflow: hidden; }
.c2cw-filter span { font-size: 10.5px; font-weight: 600; color: #C7CDD3; background: #232A32; border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.c2cw-filter span.on { background: #fff; color: #0F1318; }
.c2cw-check { width: 16px; height: 16px; border-radius: 4px; background: #66AEE8; color: #0F1318; display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: 0 0 auto; }
.c2cw-home { width: 90px; height: 4px; border-radius: 999px; background: #39424C; margin: 8px auto 0; flex: 0 0 auto; }
.c2cw-embed { font-family: Barlow, Inter, sans-serif; color: #EEF1F4; display: flex; flex-direction: column; gap: 7px; }
.c2cw-dose { display: flex; align-items: baseline; gap: 10px; font-size: 12px; color: #A6AFB9; }
.c2cw-dose b { font-size: 15px; font-weight: 700; color: #F2F4F6; min-width: 58px; font-variant-numeric: tabular-nums; }

/* ---------- hi-fi: Wheel EMR frames (.c2ce-) ---------- */
.c2ce-win {
  background: #fff; border: 1px solid #D8D5CC; border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; color: #2A2E26;
  box-shadow: 0 8px 22px rgba(31,54,20,0.10);
}
.c2ce-head { display: flex; align-items: center; gap: 10px; background: #2D4A1F; color: #fff; padding: 8px 14px; font-size: 11.5px; font-weight: 600; }
.c2ce-wordmark { height: 13px; width: auto; display: block; }
.c2ce-head .sp { margin-left: auto; font-size: 9.5px; opacity: 0.75; font-weight: 500; text-transform: uppercase; letter-spacing: 0.07em; }
.c2ce-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.c2ce-patient { display: flex; align-items: center; gap: 10px; padding: 7px 10px; background: #F4F2EC; border-radius: 8px; font-size: 11.5px; color: #5F655A; }
.c2ce-patient b { color: #22301C; font-size: 12.5px; }
.c2ce-title { font-size: 15px; font-weight: 700; color: #22301C; }
.c2ce-btn { display: inline-flex; justify-content: center; border-radius: 999px; background: #2D4A1F; color: #fff; font-size: 12px; font-weight: 600; padding: 8px 18px; width: fit-content; }
.c2ce-btn.ghost { background: #fff; border: 1.5px solid #2D4A1F; color: #2D4A1F; }
.c2ce-contrib { display: flex; align-items: center; gap: 8px; font-size: 11.5px; }
.c2ce-contrib .lbl { width: 112px; flex: 0 0 auto; color: #5F655A; }
.c2ce-contrib .bar { flex: 1; height: 6px; background: #EDEBE3; border-radius: 999px; position: relative; }
.c2ce-contrib .bar span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: #2E8B57; }
.c2ce-contrib .val { width: 78px; flex: 0 0 auto; text-align: right; color: #2E8B57; font-weight: 700; font-variant-numeric: tabular-nums; }

.c2cw-bub.me { background: #2A313A; border-radius: 14px 14px 4px 14px; align-self: flex-end; }
.c2cw-slots { display: flex; gap: 6px; flex-wrap: wrap; }
.c2cw-slot { border: 1px solid #39424C; border-radius: 999px; font-size: 10.5px; font-weight: 600; padding: 5px 11px; color: #A6AFB9; }
.c2cw-slot.on { border-color: #EEF1F4; color: #EEF1F4; }
.c2cw-share { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #D9DEE3; }
.c2cw-share .bx { width: 16px; height: 16px; flex: 0 0 auto; border-radius: 4px; border: 1.5px solid #39424C; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #0F1318; }
.c2cw-share.on .bx { background: #66AEE8; border-color: #66AEE8; }
.c2cw-share.off { color: #7E8894; }
.c2cw-powered { display: flex; gap: 5px; justify-content: center; align-items: baseline; font-size: 9.5px; letter-spacing: 0.05em; color: #7E8894; }
.c2cw-wheel { font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-weight: 700; font-size: 12px; color: #A6AFB9; }
.c2cw-locktime { text-align: center; font-size: 46px; font-weight: 700; color: #F2F4F6; line-height: 1; margin-top: 26px; font-variant-numeric: tabular-nums; }

.c2cw-call { position: relative; background: linear-gradient(180deg, #171D24, #12161B); border: 1px solid #262D36; border-radius: 16px; min-height: 185px; display: flex; flex-direction: column; justify-content: center; }
.c2cw-pip { position: absolute; top: 8px; right: 8px; width: 44px; height: 58px; border-radius: 8px; background: #232A32; border: 1px solid #39424C; display: grid; place-items: center; font-size: 9px; font-weight: 600; color: #7E8894; }
.c2cw-callid { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.c2cw-callbar { display: flex; justify-content: center; gap: 8px; }
.c2cw-cpill { border-radius: 999px; background: #232A32; color: #C7CDD3; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 16px; }
.c2cw-cpill.end { background: #E4574F; color: #fff; }
.c2cw-opt { display: flex; align-items: center; gap: 10px; border: 1.5px solid #39424C; border-radius: 12px; padding: 9px 11px; }
.c2cw-opt.on { border-color: #66AEE8; background: rgba(102,174,232,0.08); }
.c2cw-opt .rad { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #4A545F; flex: 0 0 auto; position: relative; }
.c2cw-opt.on .rad { border-color: #66AEE8; }
.c2cw-opt.on .rad::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #66AEE8; }

.c2ce-rail { width: 116px; flex: 0 0 auto; border-right: 1px solid #EDEBE3; padding-right: 10px; display: flex; flex-direction: column; gap: 7px; }
.c2ce-btn.sm { font-size: 11px; padding: 5px 13px; }

.c2cw-logo { height: 11px; width: auto; align-self: flex-start; margin: 2px 2px 0 4px; }

/* ---------- hi-fi: Wheel mobile-app frames (.c2cl-) — the post-handoff surface ---------- */
.c2cl-ph {
  width: 272px; min-height: 480px; box-sizing: border-box;
  background: #FFFFFF; border: 2px solid #D8D5CC; border-radius: 34px;
  padding: 0 0 12px; display: flex; flex-direction: column; gap: 10px;
  color: #2A2E26; font-family: Inter, sans-serif; overflow: hidden;
  box-shadow: 0 10px 26px rgba(31,54,20,0.12);
}
.c2cl-ph > :not(.c2cl-top):not(.c2cl-home) { margin-left: 14px; margin-right: 14px; }
.c2cl-top { background: #2D4A1F; border-radius: 31px 31px 0 0; padding: 10px 16px 12px; display: flex; flex-direction: column; gap: 9px; }
.c2cl-status { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.78); }
.c2cl-brand { display: flex; align-items: center; }
.c2cl-brand img { height: 13px; width: auto; display: block; }
.c2cl-t1 { font-size: 16px; font-weight: 700; color: #22301C; line-height: 1.3; }
.c2cl-t2 { font-size: 12px; line-height: 1.5; color: #5F655A; }
.c2cl-t2b { font-size: 12.5px; font-weight: 600; color: #22301C; line-height: 1.45; }
.c2cl-micro { font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8A8F82; }
.c2cl-card { background: #FBFAF7; border: 1px solid #E4E1D7; border-radius: 12px; padding: 11px 12px; display: flex; flex-direction: column; gap: 7px; }
.c2cl-btn { border-radius: 999px; background: #2D4A1F; color: #fff; font-size: 12.5px; font-weight: 600; text-align: center; padding: 11px 12px; }
.c2cl-btn.ghost { background: #fff; border: 1.5px solid #2D4A1F; color: #2D4A1F; }
.c2cl-home { width: 90px; height: 4px; border-radius: 999px; background: #D8D5CC; margin: 8px auto 0; flex: 0 0 auto; }
.c2cl-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #3E4438; }
.c2cl-avatar { width: 32px; height: 32px; border-radius: 50%; background: #F4F2EC; border: 1px solid #D8D5CC; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #2D4A1F; flex: 0 0 auto; }
.c2cl-opt { display: flex; align-items: center; gap: 10px; border: 1.5px solid #D8D5CC; border-radius: 12px; padding: 9px 11px; }
.c2cl-opt.on { border-color: #2D4A1F; background: #F4F2EC; }
.c2cl-opt .rad { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #A9AC9E; flex: 0 0 auto; position: relative; }
.c2cl-opt.on .rad { border-color: #2D4A1F; }
.c2cl-opt.on .rad::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #2D4A1F; }
.c2cl-from { display: inline-flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: #5F655A; background: #F4F2EC; border-radius: 999px; padding: 4px 10px; width: fit-content; }
.c2cl-from img { height: 8px; width: auto; display: block; filter: brightness(0) opacity(0.6); }
.c2cl-call { position: relative; border-radius: 16px; overflow: hidden; min-height: 195px; background: #EDEBE3; border: 1px solid #E4E1D7; }
.c2cl-call .main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c2cl-call .tag { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,0.92); border-radius: 999px; padding: 4px 10px; font-size: 10px; font-weight: 700; color: #22301C; }
.c2cl-pipimg { position: absolute; top: 8px; right: 8px; width: 46px; height: 60px; border-radius: 9px; overflow: hidden; border: 1.5px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.c2cl-pipimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c2cl-cpill { border-radius: 999px; background: #EDEBE3; color: #3E4438; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 16px; }
.c2cl-cpill.end { background: #C43D2E; color: #fff; }

/* ---------- footer ---------- */
.c2c-foot {
  padding: 26px 28px 90px; font-family: ui-monospace, Menlo, monospace;
  font-size: 11px; color: var(--c2c-dim); line-height: 1.6; border-top: 1px dashed var(--c2c-line); margin-top: 30px;
}

/* ---------- WHOOP Slide (master tab 2) ---------- */
.c2cs-stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; background: #EEF0ED; padding: 20px; overflow: auto; }
.c2cs-frame { flex: 0 0 auto; }
.c2cs-slide {
  width: 1600px; height: 900px; box-sizing: border-box; background: #fff;
  border: 1px solid var(--c2c-soft); border-radius: 4px; box-shadow: 0 8px 30px rgba(31,54,20,0.14);
  padding: 54px 60px 40px; display: flex; flex-direction: column; gap: 26px;
  font-family: Inter, sans-serif; color: var(--c2c-ink);
}
.c2cs-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.c2cs-kicker { font-family: ui-monospace, Menlo, monospace; font-size: 15px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--c2c-dim); margin-bottom: 8px; }
.c2cs-h1 { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; color: var(--c2c-green); margin: 0; }
.c2cs-legend { display: flex; gap: 22px; font-size: 16px; color: var(--c2c-mid); padding-top: 12px; white-space: nowrap; }
.c2cs-legend span { display: flex; align-items: center; gap: 8px; }
.c2cs-dot { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.c2cs-dot.partner { background: var(--c2c-green); }
.c2cs-dot.clin { border: 2px dashed #9AA0A7; border-radius: 4px; }

.c2cs-row { display: flex; align-items: stretch; gap: 0; flex: 1; min-height: 0; }
.c2cs-cell { display: flex; align-items: stretch; flex: 1 1 0; min-width: 0; }
.c2cs-card {
  flex: 1 1 0; min-width: 0; box-sizing: border-box;
  border: 2px solid var(--c2c-green); border-radius: 14px; background: #fff;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 12px;
}
.c2cs-card.clin { border: 2px dashed #B6BBB2; }
.c2cs-card-top { display: flex; align-items: center; gap: 10px; }
.c2cs-num {
  width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%;
  border: 2px solid var(--c2c-green); color: var(--c2c-green);
  display: grid; place-items: center; font-size: 18px; font-weight: 700;
}
.c2cs-card.clin .c2cs-num { border-color: #8E939A; color: #6B7178; }
.c2cs-lane {
  font-family: ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; border-radius: 999px; padding: 4px 11px; white-space: nowrap;
}
.c2cs-lane.partner { background: var(--c2c-green); color: #fff; }
.c2cs-lane.clin { border: 1.5px dashed #9AA0A7; color: #6B7178; }
.c2cs-title { font-size: 23px; font-weight: 700; letter-spacing: -0.01em; color: var(--c2c-ink); line-height: 1.15; }
.c2cs-bullets { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 8px; }
.c2cs-bullets li { font-size: 16px; line-height: 1.4; color: var(--c2c-mid); text-wrap: pretty; }
.c2cs-arrow { flex: 0 0 auto; align-self: center; color: #B4B9B0; font-size: 26px; padding: 0 10px; }

.c2cs-loop {
  flex: 1 1 0; min-width: 0; box-sizing: border-box;
  border: 2px dashed var(--c2c-a); border-radius: 14px; background: rgba(194,138,24,0.06);
  padding: 18px 20px; display: flex; gap: 14px; align-items: center;
}
.c2cs-loop-icon { font-size: 34px; color: var(--c2c-a); flex: 0 0 auto; }
.c2cs-loop-t { font-size: 21px; font-weight: 700; color: var(--c2c-a); margin-bottom: 5px; }
.c2cs-loop-s { font-size: 15px; line-height: 1.4; color: var(--c2c-mid); }
.c2cs-foot { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--c2c-dim); letter-spacing: 0.02em; text-align: center; }
