.tvc-reader-visual {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin-top: 17px;
  padding: clamp(15px, 2vw, 22px);
  border: 1px solid rgba(100, 215, 194, .42);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(18, 56, 65, .9), rgba(16, 31, 48, .96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.tvc-head h4 {
  margin: 3px 0 7px;
  color: #e5fff6;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.additional-course-section .tvc-head p,
.additional-course-section .tvc-body p,
.additional-course-section .tvc-footer p {
  max-width: 90ch;
  margin: 0;
  color: #d4e5e9;
  line-height: 1.48;
  white-space: normal;
}

.tvc-eyebrow {
  color: #8ef4d8;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tvc-body { display: grid; gap: 13px; min-width: 0; }

.tvc-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tvc-button,
.tvc-event-card {
  border: 1px solid rgba(164, 203, 216, .45);
  border-radius: 9px;
  background: rgba(14, 31, 47, .86);
  color: #e3f4f5;
  cursor: pointer;
  font: inherit;
}

.tvc-button {
  min-height: 39px;
  padding: 7px 11px;
  font-size: .85rem;
  font-weight: 650;
}

.tvc-button:hover,
.tvc-event-card:hover { border-color: #a9f0d6; }
.tvc-button[aria-pressed="true"],
.tvc-event-card[aria-pressed="true"] {
  border-color: #8bf2d2;
  background: rgba(42, 112, 102, .6);
  color: #fff;
}

.tvc-button:focus-visible,
.tvc-event-card:focus-visible,
.tvc-slider-label input:focus-visible {
  outline: 3px solid #ffe28a;
  outline-offset: 3px;
}

.tvc-button:disabled { cursor: default; opacity: .62; }
.tvc-scale { color: #a9d5df !important; font-size: .79rem; }
.tvc-pr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 9px; }
.tvc-pr-beat {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(138, 184, 194, .32);
  border-radius: 10px;
  background: rgba(10, 28, 40, .6);
}
.tvc-pr-beat strong { font-size: .82rem; }
.tvc-pr-beat svg { display: block; width: 100%; height: auto; }
.tvc-pr-axis { stroke: #85a9b2; stroke-width: 2; }
.tvc-pr-tick { stroke: #6d929d; stroke-width: 1; }
.tvc-pr-p { fill: #ffdc8a; }
.tvc-pr-qrs { fill: #7ef0cf; }
.tvc-pr-span { stroke: #ffdc8a; stroke-width: 3; }
.tvc-pr-symbol { fill: #ecfaf7; font-size: 13px; font-weight: 750; }
.tvc-pr-detail { color: #b9d5dc; font-size: .76rem; }
.tvc-observation { padding: 10px 12px; border-left: 3px solid #91eacf; background: rgba(84, 162, 151, .12); }
.tvc-check { display: grid; gap: 8px; }
.tvc-check > strong { font-size: .84rem; }
.tvc-feedback { min-height: 1.6em; color: #dce9ef !important; font-size: .82rem; }
.tvc-feedback[data-supported="true"] { color: #bdf4d2 !important; }
.tvc-feedback[data-supported="false"] { color: #ffe2a2 !important; }

.tvc-qt-figure { min-width: 0; margin: 0; }
.tvc-qt-canvas { overflow-x: auto; border: 1px solid rgba(130, 185, 197, .38); border-radius: 9px; background: #0a1f30; }
.tvc-qt-canvas svg { display: block; width: max(100%, 620px); height: 170px; }
.tvc-qt-legend { display: none; }
.tvc-qt-legend [hidden] { display: none; }
.tvc-qt-key { align-items: center; gap: 5px; font-size: .76rem; font-weight: 700; }
.tvc-qt-key::before { content: ""; width: 14px; height: 0; border-top: 3px solid; }
.tvc-qt-key--onset::before { border-color: #ffdb83; }
.tvc-qt-key--user::before { border-color: #fcae92; }
.tvc-qt-key--model::before { border-color: #fff; border-top-style: dashed; }
.tvc-grid-minor { stroke: rgba(91, 130, 139, .23); stroke-width: 1; }
.tvc-grid-major { stroke: rgba(111, 160, 170, .45); stroke-width: 1; }
.tvc-baseline { stroke: rgba(157, 202, 205, .35); stroke-width: 1; }
.tvc-qt-trace,
.tvc-lead-trace { fill: none; stroke: #91f0d3; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.tvc-qt-onset { stroke: #ffdb83; stroke-width: 2.5; }
.tvc-qt-user { stroke: #fcae92; stroke-width: 2.5; }
.tvc-qt-model { stroke: #fff; stroke-width: 2; stroke-dasharray: 6 5; }
.tvc-qt-label { fill: #e8f7f4; font-size: 13px; font-weight: 700; }
.tvc-caption { display: block; margin-top: 7px; color: #b9d6dd; font-size: .79rem; }
.tvc-slider-label { display: grid; gap: 5px; color: #e5f4f2; font-size: .83rem; font-weight: 700; }
.tvc-slider-label input { width: min(100%, 600px); accent-color: #8ff0d1; }
.tvc-readout { color: #ffe3a8; font-size: .82rem; font-variant-numeric: tabular-nums; }

.tvc-photo-study { display: grid; gap: 8px; width: min(100%, 860px); min-width: 0; margin: 0; }
.tvc-photo-frame { position: relative; overflow: hidden; border: 1px solid rgba(160, 203, 213, .5); border-radius: 10px; background: #132b35; }
.tvc-photo-frame img { display: block; width: 100%; height: auto; }
.tvc-photo-point { position: absolute; display: grid; place-items: center; width: clamp(28px, 3.4vw, 38px); height: clamp(28px, 3.4vw, 38px); padding: 0; transform: translate(-50%, -50%); border: 2px solid #fff; border-radius: 50%; background: rgba(8, 40, 54, .88); color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .65); font: inherit; font-size: .82rem; font-weight: 850; cursor: pointer; }
.tvc-photo-point:hover, .tvc-photo-point[aria-pressed="true"] { background: #ffe0a4; color: #172c35; }
.tvc-photo-point:focus-visible { outline: 3px solid #ffe0a4; outline-offset: 3px; }
.additional-course-section .tvc-photo-readout { min-height: 3.1em; padding: 10px 12px; border-left: 3px solid #ffe0a4; border-radius: 0 6px 6px 0; background: rgba(13, 37, 49, .83); color: #e8f5f4; font-size: .79rem; }
.tvc-photo-caption { color: #b9d6dd; font-size: .74rem; line-height: 1.4; }
.tvc-photo-caption a { color: #a7e9e1; text-underline-offset: 2px; }
.tvc-lead-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.tvc-lead-strip { min-width: 0; margin: 0; padding: 10px; overflow-x: auto; border: 1px solid rgba(130, 185, 197, .38); border-radius: 9px; background: #0a1f30; }
.tvc-lead-strip > strong { font-size: .8rem; }
.tvc-lead-strip svg { display: block; width: max(100%, 430px); height: 100px; margin-top: 5px; }
.tvc-lead-strip figcaption { color: #b9d6dd; font-size: .75rem; }

.tvc-event-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); gap: 8px; }
.tvc-event-card { display: grid; gap: 6px; min-height: 93px; padding: 10px; text-align: left; }
.tvc-event-time { color: #ffe09d; font-size: .8rem; font-variant-numeric: tabular-nums; font-weight: 800; }
.tvc-event-card strong { line-height: 1.24; font-size: .82rem; }
.tvc-event-lane { color: #a7c8d3; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.tvc-event-card[data-lane="bedside"] { border-left: 4px solid #f7c680; }
.tvc-event-card[data-lane="handoff"] { border-left: 4px solid #b7a9f2; }
.tvc-packet { display: grid; gap: 9px; min-width: 0; padding: 12px; border: 1px solid rgba(137, 193, 197, .32); border-radius: 9px; background: rgba(9, 26, 39, .63); }
.tvc-packet h5 { margin: 0; color: #e6fff6; font-size: .92rem; }
.tvc-packet > strong { font-size: .81rem; }
.tvc-packet-list { display: grid; gap: 8px; margin: 0; }
.tvc-packet-list > div { padding-bottom: 8px; border-bottom: 1px solid rgba(130, 178, 187, .22); }
.tvc-packet-list dt { color: #e2f6f4; font-size: .79rem; font-weight: 750; }
.tvc-packet-list dd { margin: 2px 0 0; color: #c5d9df; font-size: .78rem; line-height: 1.42; }
.tvc-packet-gaps { margin: 0; padding-left: 19px; color: #ffdfaa; font-size: .78rem; line-height: 1.5; }
.tvc-packet-gaps li + li { margin-top: 4px; }

.tvc-footer { display: grid; gap: 7px; padding-top: 11px; border-top: 1px solid rgba(150, 204, 209, .26); }
.additional-course-section .tvc-footer p { color: #aacbd2; font-size: .76rem; }
.tvc-lab-link { justify-self: start; margin-top: 3px; }

@media (max-width: 720px) {
  .tvc-pr-symbol { font-size: 20px; }
  .tvc-qt-canvas svg { width: 100%; }
  .tvc-qt-label { display: none; }
  .tvc-qt-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 7px; color: #e8f7f4; }
  .tvc-qt-key { display: flex; }
  .tvc-lead-pair { grid-template-columns: minmax(0, 1fr); }
  .tvc-button { flex: 1 1 auto; }
  .tvc-event-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 360px) {
  .tvc-pr-symbol { font-size: 28px; }
}
