.emt-non-lab {
  --emt-non-line: rgba(147, 202, 214, .26);
  --emt-non-ink: #e8f3f4;
  --emt-non-muted: #b8cdd3;
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: clamp(15px, 2.5vw, 25px);
  border: 1px solid rgba(104, 192, 209, .38);
  border-radius: 14px;
  background: radial-gradient(circle at 93% 0, rgba(53, 156, 175, .18), transparent 38%), #101e2a;
  color: var(--emt-non-ink);
}
.emt-non-lab * { box-sizing: border-box; min-width: 0; }
.emt-non-lab :is(h3, h4, h5, h6, p, ol, ul) { margin: 0; }
.emt-non-lab p { line-height: 1.45; }
.emt-non-lab button { min-height: 42px; cursor: pointer; }
.emt-non-lab :is(button, select, a):focus-visible { outline: 2px solid #a2ecdf; outline-offset: 3px; }
.emt-non-lab button:disabled { opacity: .5; cursor: not-allowed; }
.emt-non-head { display: grid; gap: 8px; max-width: 100ch; }
.emt-non-head h3 { font-size: 1.35rem; }
.emt-non-head p, .emt-non-setup, .emt-non-section-hint, .emt-non-footer { color: var(--emt-non-muted); font-size: .82rem; }
.emt-non-story-chooser, .emt-non-travel, .emt-non-recipient-options, .emt-non-med-choices, .emt-non-save-actions, .emt-non-contrast-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.emt-non-choice, .emt-non-check, .emt-non-time, .emt-non-fact {
  border: 1px solid var(--emt-non-line);
  border-radius: 8px;
  background: #193344;
  color: var(--emt-non-ink);
  font: inherit;
  text-align: left;
}
.emt-non-choice { flex: 1 1 225px; padding: 9px 12px; font-size: .8rem; font-weight: 700; }
.emt-non-choice[aria-pressed="true"], .emt-non-check[aria-pressed="true"], .emt-non-fact[aria-pressed="true"] {
  border-color: #77d9cd;
  background: #1c534f;
  box-shadow: inset 0 0 0 1px rgba(135, 231, 213, .24);
}
.emt-non-time-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.emt-non-time { min-width: 0; padding: 10px 8px; border-top: 3px solid #537285; text-align: center; font-size: .79rem; font-weight: 730; }
.emt-non-time[data-visited="true"] { border-top-color: #8bcbcf; }
.emt-non-time[aria-pressed="true"] { background: #244b58; color: #f5fff9; border-top-color: #8febce; }
.emt-non-travel .secondary-button, .emt-non-contrast-actions .secondary-button, .emt-non-save-actions .secondary-button { font-size: .77rem; }
.emt-non-stage, .emt-non-lower, .emt-non-transfer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.emt-non-patient, .emt-non-device, .emt-non-medication, .emt-non-communication, .emt-non-contrast, .emt-non-transfer, .emt-non-compare {
  display: grid; align-content: start; gap: 11px;
  padding: clamp(13px, 2vw, 18px);
  border: 1px solid var(--emt-non-line);
  border-radius: 10px;
  background: #0d1d2a;
}
.emt-non-lab h4 { color: #f2fcf7; font-size: 1rem; }
.emt-non-lab h5 { color: #a6e1da; font-size: .81rem; }
.emt-non-lab h6 { color: #e9d8a8; font-size: .74rem; }
.emt-non-patient-art {
  position: relative;
  justify-self: center;
  width: min(100%, 340px);
  height: 125px;
  overflow: hidden;
  border: 1px solid rgba(135, 195, 207, .2);
  border-radius: 9px;
  background: radial-gradient(ellipse at 50% 87%, rgba(107, 174, 189, .15), transparent 49%), linear-gradient(140deg, #183445, #102533);
}
.emt-non-head-shape { position: absolute; top: 18px; left: calc(50% - 15px); width: 30px; height: 30px; border-radius: 50%; background: #b1c5c7; box-shadow: 0 0 13px rgba(179, 222, 215, .24); }
.emt-non-body-shape { position: absolute; left: calc(50% - 38px); bottom: -15px; width: 76px; height: 88px; border-radius: 38px 38px 12px 12px; background: linear-gradient(100deg, #648899, #a7c4c7 54%, #5e8296); }
.emt-non-patient[data-figure="change"] .emt-non-head-shape { transform: rotate(-8deg) translate(-4px, 2px); }
.emt-non-patient[data-figure="concern"] .emt-non-head-shape { transform: rotate(-15deg) translate(-9px, 4px); background: #a9b7bb; }
.emt-non-breath-wave { position: absolute; width: 44px; height: 28px; border: 2px solid rgba(145, 226, 220, .55); border-left: 0; border-bottom: 0; border-radius: 50%; top: 55px; }
.emt-non-breath-wave.one { left: calc(50% + 49px); }
.emt-non-breath-wave.two { right: calc(50% + 49px); transform: scaleX(-1); }
.emt-non-patient[data-figure="concern"] .emt-non-breath-wave { border-color: rgba(241, 185, 130, .75); }
.emt-non-patient-time { color: #91dfd5; font-size: .79rem; }
.emt-non-report, .emt-non-bedside, .emt-non-vitals, .emt-non-device-status, .emt-non-med-status, .emt-non-collapse-status {
  padding: 10px 11px;
  border-left: 3px solid #69b5c3;
  border-radius: 5px;
  background: #17303e;
  font-size: .78rem;
}
.emt-non-bedside { border-left-color: #87d6c4; }
.emt-non-vitals { border-left-color: #d3b477; }
.emt-non-action-grid, .emt-non-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.emt-non-action-grid .secondary-button { font-size: .72rem; line-height: 1.25; }
.emt-non-lead-board { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 13px; align-items: center; padding: 7px 12px; border: 1px solid rgba(113, 179, 195, .24); border-radius: 8px; background: linear-gradient(100deg, #173440, #0e2734); }
.emt-non-lead-figure { position: relative; height: 86px; }
.emt-non-lead-head { position: absolute; left: 48px; top: 1px; width: 29px; height: 24px; border-radius: 50%; background: #9bb6ba; }
.emt-non-lead-torso { position: absolute; left: 32px; top: 29px; width: 63px; height: 55px; border-radius: 23px 23px 9px 9px; background: linear-gradient(110deg, #638998, #a8bfc2 55%, #5f8293); }
.emt-non-lead-marker { position: absolute; z-index: 2; width: 15px; height: 15px; border: 3px solid #e2fbdf; border-radius: 50%; background: #236b69; box-shadow: 0 0 0 3px rgba(39, 102, 110, .62); }
.emt-non-lead-marker.one { left: 42px; top: 39px; }
.emt-non-lead-marker.two { left: 70px; top: 40px; }
.emt-non-lead-marker.moving { left: 100px; top: 58px; border-color: #f6be8b; background: #91554b; transition: left 250ms ease, top 250ms ease, box-shadow 250ms ease; }
.emt-non-lead-board[data-landmarks="true"] .emt-non-lead-marker.moving { left: 57px; top: 59px; }
.emt-non-lead-board[data-contact="true"] .emt-non-lead-marker.moving { border-color: #b4f2d6; background: #246d68; box-shadow: 0 0 0 3px rgba(75, 197, 167, .35); }
.emt-non-lead-board[data-motion="false"] .emt-non-lead-wire { opacity: .4; }
.emt-non-lead-wire { position: absolute; height: 1px; width: 46px; border-top: 2px dotted #83c7c3; }
.emt-non-lead-wire.one { left: 8px; top: 48px; transform: rotate(-12deg); }
.emt-non-lead-wire.two { left: 80px; top: 51px; transform: rotate(13deg); }
.emt-non-lead-legend { display: grid; gap: 5px; font-size: .74rem; line-height: 1.35; }
.emt-non-lead-legend strong { color: #b1eadb; }
.emt-non-lead-legend span { color: #bdd5d8; }
.emt-non-check { position: relative; padding: 10px 9px 10px 29px; font-size: .73rem; line-height: 1.27; }
.emt-non-check::before { position: absolute; top: 10px; left: 9px; content: "○"; color: #b8d1d8; }
.emt-non-check[aria-pressed="true"]::before { content: "✓"; color: #c4f2c9; }
.emt-non-device svg { width: 100%; max-height: 100px; border: 1px solid rgba(117, 172, 187, .26); border-radius: 7px; background: #112a38; }
.emt-non-ecg-grid { fill: none; stroke: rgba(90, 151, 172, .17); stroke-width: 1; }
.emt-non-ecg-trace { fill: none; stroke: #92e9c9; stroke-width: 2.3; }
.emt-non-ecg-noise { fill: none; stroke: rgba(238, 156, 116, .82); stroke-width: 1.3; }
.emt-non-device svg[data-quality="clean"] .emt-non-ecg-noise { display: none; }
.emt-non-device svg[data-quality="limited"] .emt-non-ecg-trace { opacity: .52; }
.emt-non-signal { color: #c2d9da; font-size: .74rem; }
.emt-non-device-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 7px; }
.emt-non-device-actions > * { flex: 1 1 160px; }
.emt-non-primary { padding: 9px 12px; border: 1px solid #86dbcf; border-radius: 8px; background: #23746d; color: #f8fffb; font-family: inherit; font-size: .78rem; font-weight: 700; line-height: 1.3; }
.emt-non-primary:hover:not(:disabled) { background: #2c857b; }
.emt-non-select { min-height: 42px; width: 100%; padding: 8px 10px; border: 1px solid var(--emt-non-line); border-radius: 7px; background: #183645; color: var(--emt-non-ink); font: inherit; font-size: .77rem; }
.emt-non-medication .emt-non-primary, .emt-non-communication .emt-non-primary { justify-self: start; }
.emt-non-contrast { border-color: rgba(221, 176, 117, .4); background: linear-gradient(135deg, rgba(81, 55, 44, .23), transparent 35%), #13222c; }
.emt-non-contrast > p { color: #d2d8d0; font-size: .79rem; }
.emt-non-collapse-status { border-left-color: #e7bd82; }
.emt-non-fact-tray, .emt-non-handoff, .emt-non-receiver {
  display: grid; align-content: start; gap: 9px;
  padding: 12px;
  border: 1px solid rgba(152, 204, 215, .2);
  border-radius: 9px;
  background: #112633;
}
.emt-non-facts, .emt-non-receiver-list { display: grid; align-content: start; gap: 7px; max-height: 350px; overflow: auto; }
.emt-non-fact { width: 100%; padding: 9px 10px 9px 28px; font-size: .72rem; line-height: 1.35; }
.emt-non-fact::before { content: "+"; margin-left: -18px; margin-right: 8px; font-weight: 900; color: #9ed3d8; }
.emt-non-fact[aria-pressed="true"]::before { content: "✓"; color: #bcf3d5; }
.emt-non-preview-list, .emt-non-gaps, .emt-non-compare-card ul, .emt-non-message ul { display: grid; gap: 7px; padding-left: 19px; font-size: .73rem; line-height: 1.4; }
.emt-non-preview-list li { color: #d7e9e8; }
.emt-non-gaps li { color: #e2ccae; }
.emt-non-message { display: grid; gap: 5px; padding: 10px; border-radius: 7px; background: #1c3946; font-size: .72rem; }
.emt-non-message strong { color: #a9e3d7; }
.emt-non-message span { color: #c8d6d9; }
.emt-non-message ul { max-height: 120px; overflow: auto; }
.emt-non-empty { color: #abc7cc; font-size: .75rem; }
.emt-non-compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.emt-non-compare-card { display: grid; align-content: start; gap: 9px; min-height: 88px; padding: 12px; border: 1px solid var(--emt-non-line); border-radius: 8px; background: #162d3b; font-size: .75rem; }
.emt-non-compare-card strong { color: #b8e9dc; }
.emt-non-footer { display: grid; gap: 9px; padding-top: 10px; border-top: 1px solid var(--emt-non-line); }
.emt-non-footer a { color: #91dbee; }
.emt-non-live { color: #c4ece6; }
@media (max-width: 900px) {
  .emt-non-stage, .emt-non-lower { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .emt-non-transfer-grid, .emt-non-compare-grid { grid-template-columns: 1fr; }
  .emt-non-time-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .emt-non-device-actions > * { flex-basis: 100%; }
}
@media (max-width: 380px) {
  .emt-non-action-grid, .emt-non-check-grid { grid-template-columns: 1fr; }
  .emt-non-travel > *, .emt-non-save-actions > *, .emt-non-contrast-actions > * { flex: 1 1 100%; }
  .emt-non-lead-board { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .emt-non-lab *, .emt-non-lab *::before, .emt-non-lab *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
