:root {
  color-scheme: dark;
  --green: #63ff50;
  --cyan: #35daff;
  --yellow: #ffe64c;
  --screen: #080e0b;
  --ink: #242825;
  --plastic: #dedfd6;
  --muted: #9ca69e;
  font-family: Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.38;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #4aaeff;
  outline-offset: 3px;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
[hidden] {
  display: none !important;
}
.msim-body {
  background: #202523;
  color: #e6ebe5;
  min-height: 100dvh;
  background-image: radial-gradient(ellipse at 50% 0, #3c4540, transparent 70%);
}
.msim-stage {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  gap: 10px;
}
.msim-device {
  container-type: inline-size;
  position: relative;
  width: min(1360px, calc(100vw - 32px), calc((100dvh - 68px) * 1.57));
  aspect-ratio: 1.57;
  border-radius: 2.2cqw;
  background: linear-gradient(130deg, #edece2, #c8ccc3);
  border: 2px solid #a7aca3;
  box-shadow:
    0 24px 65px #0008,
    inset 0 0 0 5px #f4f2e444;
  --left: 3.8%;
  --right: 18%;
  --top: 9.5%;
  --bottom: 10.5%;
  color: var(--ink);
  overflow: hidden;
}
.msim-top {
  position: absolute;
  left: var(--left);
  right: var(--right);
  top: 0;
  height: var(--top);
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding: 0 1.5cqw;
  border-bottom: 1px solid #a8aea5;
}
.msim-top-left {
  display: flex;
  gap: 0.7cqw;
}
.msim-btn-square {
  width: 3.5cqw;
  height: 3cqw;
  border: 1px solid #6e746c;
  border-radius: 0.6cqw;
  background: linear-gradient(#727970, #454d45);
  color: #f5f4e9;
  font-size: 1.65cqw;
  font-weight: bold;
  box-shadow:
    inset 0 1px 2px #fff5,
    0 2px 2px #0002;
}
.msim-top-model {
  font-size: 1cqw;
  letter-spacing: 0.12cqw;
  color: #697066;
}
.msim-top-model b {
  font-size: 2.2cqw;
  color: #9e2429;
}
.instructor-link {
  margin-left: auto;
  color: #4a544a;
  font-size: 1cqw;
  text-decoration: none;
  border-bottom: 1px solid #9fa79c;
  padding: 0.4cqw 0;
}
.msim-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--left);
  border-right: 1px solid #b4b9ae;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(90deg, #b9bfb4, #e2e4d9);
}
.msim-left span {
  width: 0.65cqw;
  height: 12cqw;
  border-radius: 1cqw;
  background: linear-gradient(90deg, #9ca497, #c5cbbf);
  box-shadow: inset 2px 0 3px #0003;
}
.msim-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: var(--right);
  padding: 6.4cqw 1.7cqw 6cqw 1.5cqw;
  display: flex;
  flex-direction: column;
  gap: 1.4cqw;
  background: linear-gradient(90deg, #d4d8cb, #e6e8dd 50%, #c5cabd);
  border-left: 1px solid #a8b09f;
}
.msim-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1cqw 0.8cqw;
}
.msim-btn {
  height: 4cqw;
  border: 1px solid #9b171b;
  border-radius: 0.55cqw;
  color: #fff4e6;
  background: linear-gradient(#da4143, #b72029);
  box-shadow:
    inset 0 2px 2px #ffaaaa50,
    0 2px 2px #0003;
  font-size: 1.15cqw;
  font-weight: bold;
  padding: 0 0.3cqw;
}
.msim-btn[aria-pressed="true"] {
  box-shadow:
    inset 0 0 0 2px #fff6,
    0 0 0 2px #8b1b20;
}
.msim-btn[data-action="analyze"],
.msim-btn[data-action="charge"] {
  font-size: 1.05cqw;
}
.msim-shock-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5cqw;
}
.shock-caption {
  font-size: 0.8cqw;
  font-weight: bold;
  letter-spacing: 0.12cqw;
  color: #b6232a;
}
.msim-shock {
  width: 6.9cqw;
  height: 6.9cqw;
  border-radius: 50%;
  background: linear-gradient(#ce4145, #a91e2b);
  border: 0.3cqw solid #efeee2;
  box-shadow:
    0 0 0 1px #8d252c,
    0 3px 5px #0004,
    inset 0 2px 3px #ffffff40;
  color: #ffecca;
  display: grid;
  place-items: center;
  font-size: 5.3cqw;
  line-height: 1;
  font-weight: 900;
}
.msim-shock:disabled {
  opacity: 0.68;
  filter: saturate(0.5);
}
.msim-shock.ready {
  animation: shock-pulse 1s infinite;
  filter: none;
  opacity: 1;
}
@keyframes shock-pulse {
  50% {
    box-shadow:
      0 0 0 0.35cqw #ffb64d,
      0 0 20px #ffd362aa;
  }
}
.dial-wrap {
  margin: auto 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.8cqw;
}
.msim-dial {
  width: 7cqw;
  height: 7cqw;
  border-radius: 50%;
  background: repeating-conic-gradient(#bbc2b6 0deg 7deg, #e2e5d9 7deg 13deg);
  border: 0.2cqw solid #90998b;
  box-shadow: 0 3px 6px #0003;
  display: grid;
  place-items: center;
}
.msim-dial span {
  width: 5.7cqw;
  height: 5.7cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f2f2e8, #c2c9ba);
  box-shadow: inset 0 0 4px #ffffff80;
  border: 1px solid #a9b29f;
  position: relative;
}
.msim-dial span:after {
  content: "";
  position: absolute;
  left: 45%;
  top: 0.2cqw;
  width: 0.45cqw;
  height: 1.2cqw;
  background: #5c6555;
  border-radius: 0.3cqw;
}
.dial-caption {
  font-size: 0.62cqw;
  color: #707b68;
  letter-spacing: 0.08cqw;
}
.msim-bottom-controls {
  display: grid;
  grid-template-columns: 1fr 3.5cqw;
  align-items: end;
  gap: 0.8cqw;
}
.msim-left-col,
.msim-right-col {
  display: flex;
  flex-direction: column;
  gap: 0.65cqw;
}
.msim-small {
  background: linear-gradient(#737c6d, #4c5748);
  color: #f7f5e9;
  height: 2.7cqw;
  border: 1px solid #5c6655;
  border-radius: 0.5cqw;
  box-shadow:
    inset 0 1px 1px #fff4,
    0 1px 2px #0003;
  display: grid;
  place-items: center;
  font-size: 1cqw;
  font-weight: bold;
  text-decoration: none;
  padding: 0 0.4cqw;
}
.msim-screen {
  position: absolute;
  top: var(--top);
  left: var(--left);
  right: var(--right);
  bottom: var(--bottom);
  background: var(--screen);
  color: #e8eee7;
  border: 0.55cqw solid #515b4e;
  box-shadow:
    0 0 0 0.2cqw #a5ad9d,
    inset 0 0 18px #000;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.6cqw;
  gap: 0.6cqw;
  font-size: 1.05cqw;
  overflow: hidden;
}
.screen-status {
  flex: none;
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  min-height: 2cqw;
  background: #d8ded0;
  color: #1c261b;
  padding: 0 0.65cqw;
  font-size: 0.95cqw;
}
.screen-status strong {
  font-size: 1.05cqw;
}
.screen-status time {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
#device-connection {
  margin-left: auto;
  color: #345537;
  font-size: 0.85cqw;
}
#device-connection.offline {
  color: #9e241f;
}
.simulation-badge {
  font-size: 0.75cqw;
  font-weight: bold;
  border: 1px solid #54604f;
  padding: 0.1cqw 0.3cqw;
}
.msim-vitalbar {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr 1fr 1.55fr;
  gap: 0.55cqw;
  flex: none;
}
.msim-vital {
  background: #101b12;
  border: 1px solid #46513d;
  padding: 0.5cqw 0.65cqw;
  min-width: 0;
}
.msim-vital-label {
  font-size: 1.05cqw;
  font-weight: bold;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.2cqw;
}
.msim-vital-label small {
  font-size: 0.65cqw;
  font-weight: normal;
  color: inherit;
  opacity: 0.8;
}
.msim-vital-value {
  font-family: Arial, Helvetica, sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 3.5cqw;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.1cqw;
  white-space: nowrap;
}
.vital-range {
  font-size: 0.7cqw;
  opacity: 0.8;
  line-height: 1.3;
  min-height: 0.9cqw;
}
.vital-hf {
  color: var(--green);
}
.vital-spo2,
.vital-pp {
  color: var(--cyan);
}
.vital-co2 {
  color: var(--yellow);
}
.vital-nibp {
  color: #f7eae9;
}
.vital-nibp .msim-vital-value {
  font-size: 2.9cqw;
  padding: 0.3cqw 0 0.35cqw;
}
.msim-screen-stack {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  gap: 0.45cqw;
}
.msim-pane {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid #293529;
  display: flex;
  flex-direction: column;
  background: #0f1418;
}
.pane-title {
  position: absolute;
  z-index: 1;
  top: 0.35cqw;
  left: 0.5cqw;
  color: var(--green);
  font-size: 0.9cqw;
  font-weight: bold;
  padding-right: 0.4cqw;
  background: #0f1418cc;
}
.pane-3 .pane-title {
  color: var(--cyan);
}
.pane-4 .pane-title {
  color: var(--yellow);
}
.wf-canvas {
  display: block;
  min-height: 0;
  width: 100%;
  height: 100%;
  flex: 1;
}
.device-strip {
  display: flex;
  justify-content: space-between;
  gap: 0.6cqw;
  font-size: 0.8cqw;
  color: #b8c3b2;
  flex: none;
  min-height: 1cqw;
}
.device-strip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.msim-screen-softkeys {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.45cqw;
  flex: none;
  min-height: 2.65cqw;
  background: #223c58;
  border-top: 1px solid #6887a2;
  padding: 0.35cqw 0.2cqw;
}
.msim-screen-softkey-text {
  color: #f5f7f0;
  font-size: 0.84cqw;
  font-weight: bold;
  border: 0;
  border-right: 1px solid #6182a14d;
  background: transparent;
  padding: 0.3cqw 0.2cqw;
  white-space: nowrap;
  min-width: 0;
}
.msim-screen-softkey-text:disabled {
  opacity: 0.35;
}
.msim-screen-softkey-text.active {
  color: #fff5a4;
  background: #3f5d74;
}
.msim-bottom {
  position: absolute;
  left: var(--left);
  right: var(--right);
  height: var(--bottom);
  bottom: 0;
  padding: 1cqw 0.9cqw 0.3cqw;
  display: flex;
  flex-direction: column;
  gap: 0.65cqw;
}
.msim-softkeys {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1cqw;
}
.msim-softkey {
  height: 2.5cqw;
  border: 1px solid #656e60;
  border-radius: 0.5cqw;
  background: linear-gradient(#65705e, #424e3b);
  box-shadow:
    inset 0 2px 1px #fff2,
    0 2px 2px #0003;
}
.msim-logo {
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.09cqw;
  font-size: 1.8cqw;
  color: #9b1f27;
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
  gap: 0.15cqw;
}
.msim-logo span {
  font-size: 1.65cqw;
  color: #4f5948;
}
.msim-logo small {
  font-style: normal;
  letter-spacing: 0.14cqw;
  font-size: 0.55cqw;
  color: #77816d;
  margin-left: 0.6cqw;
}
.training-caption {
  margin: 0;
  font-size: 11px;
  color: #9ca99b;
  letter-spacing: 0.03em;
  text-align: center;
}
.device-notice {
  color: #ffda9b;
  padding: 0.5cqw 0.7cqw;
  border: 1px solid #7a5c30;
  background: #352915;
  font-size: 0.9cqw;
  flex: none;
}
.device-notice.error {
  color: #ffc7bc;
  border-color: #ad5141;
  background: #48291e;
}
.mode-nibp .pane-4,
.mode-aed .pane-4,
.mode-ecg .pane-2,
.mode-ecg .pane-3,
.mode-ecg .pane-4 {
  display: none;
}
.mode-nibp .pane-3,
.mode-aed .pane-3 {
  flex: 2.5;
  background: #0a100c;
  border: 1px solid #3d4d38;
}
.mode-ecg .pane-1 {
  background: #e7e7dd;
}
.nibp-panel,
.defib-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  height: 100%;
  padding: 0.8cqw 1cqw;
  gap: 0.5cqw;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1cqw;
  font-size: 0.9cqw;
}
.panel-heading h1 {
  font-size: 1.1cqw;
  letter-spacing: 0.08cqw;
  margin: 0;
  color: #fff6ee;
}
.panel-heading > span {
  color: #b6c5ad;
}
.nibp-reading {
  display: flex;
  align-items: baseline;
  gap: 0.4cqw;
  font-weight: bold;
  font-size: 5cqw;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: #fff0ed;
}
.reading-separator {
  opacity: 0.45;
}
.nibp-map {
  font-size: 2.4cqw;
  margin-left: 1cqw;
  font-weight: normal;
}
.nibp-map small {
  display: block;
  font-size: 0.75cqw;
  color: #a7b69e;
}
.nibp-details,
.defib-details {
  display: flex;
  justify-content: space-between;
  gap: 0.6cqw;
  color: #c0cbb8;
  font-size: 0.85cqw;
  font-variant-numeric: tabular-nums;
}
.measurement-track {
  background: #253123;
  height: 0.4cqw;
  flex: none;
}
.measurement-track div {
  background: #a3c6a0;
  height: 100%;
  width: 0;
  transition: width 0.2s;
}
.nibp-inline-controls,
.defib-inline-controls {
  display: flex;
  gap: 0.6cqw;
  flex-wrap: wrap;
}
.nibp-inline-controls button,
.defib-inline-controls button {
  font-size: 0.83cqw;
  border: 1px solid #5e7055;
  background: #20301e;
  color: #e2eadd;
  padding: 0.35cqw 0.7cqw;
  border-radius: 0.2cqw;
}
.nibp-inline-controls button[aria-pressed="true"],
.defib-inline-controls button[aria-pressed="true"] {
  color: #ffedaa;
  border-color: #b6a751;
  background: #48431c;
}
.defib-main {
  display: flex;
  align-items: center;
  gap: 2cqw;
  min-height: 0;
  flex: 1;
}
.defib-energy {
  font-size: 5.1cqw;
  font-weight: bold;
  line-height: 1;
  color: #ffdc70;
  min-width: 12cqw;
  font-variant-numeric: tabular-nums;
}
.defib-energy small {
  font-size: 1cqw;
  font-weight: normal;
  display: block;
  line-height: 1.5;
  color: #c4b485;
}
.defib-instruction {
  display: flex;
  flex-direction: column;
  gap: 0.6cqw;
  line-height: 1.2;
}
.defib-instruction strong {
  font-size: 1.65cqw;
  font-weight: bold;
  color: #f8edd8;
}
.defib-instruction > span {
  font-size: 1.15cqw;
  color: #ffdd7a;
  font-variant-numeric: tabular-nums;
}
.mode-aed.is-ready .pane-3 {
  border-color: #d9ba49;
  background: #27220e;
}
.mode-aed.is-ready .defib-instruction strong {
  color: #ffe9a3;
}
.mode-aed.is-analyzing .pane-3 {
  border-color: #68a9bf;
}
.device-dialog {
  width: min(540px, calc(100vw - 32px));
  border: 1px solid #7c8974;
  background: #162015;
  color: #e4ecdc;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 20px 70px #0009;
}
.device-dialog::backdrop {
  background: #0009;
}
.device-dialog form {
  margin: 0;
}
.device-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.device-dialog h2 {
  font-size: 18px;
  margin: 0;
}
.device-dialog button {
  padding: 10px 15px;
  border: 1px solid #6a7a60;
  background: #2a3a24;
  color: #f3f4df;
  border-radius: 4px;
}
.device-dialog header button {
  font-size: 22px;
  padding: 0 8px;
}
.device-dialog footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.choice-grid button.selected {
  border-color: #ecdc8c;
  background: #5b522a;
}
.dialog-note {
  font-size: 13px;
  color: #afbea6;
  line-height: 1.5;
}
.trend-row {
  padding: 10px 0;
  border-bottom: 1px solid #3a4933;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}
@media (max-width: 700px) {
  .msim-stage {
    padding: 8px;
    gap: 8px;
  }
  .msim-device {
    width: calc(100vw - 16px);
    aspect-ratio: auto;
    height: calc(100dvh - 52px);
    min-height: 540px;
    --left: 2%;
    --right: 23%;
    --top: 7%;
    --bottom: 7%;
    border-radius: 12px;
  }
  .msim-body {
    overflow: auto;
  }
  .msim-right {
    padding: 12cqw 1.5cqw 9cqw;
    gap: 5cqw;
  }
  .msim-btn {
    height: 9cqw;
    font-size: 2.2cqw;
    border-radius: 1cqw;
  }
  .msim-btn[data-action="analyze"],
  .msim-btn[data-action="charge"] {
    font-size: 2cqw;
  }
  .msim-grid2 {
    gap: 2cqw 1cqw;
  }
  .msim-shock {
    width: 14cqw;
    height: 14cqw;
    font-size: 10cqw;
  }
  .shock-caption {
    font-size: 1.8cqw;
  }
  .msim-dial {
    width: 15cqw;
    height: 15cqw;
  }
  .msim-dial span {
    width: 12cqw;
    height: 12cqw;
  }
  .dial-caption {
    font-size: 1.4cqw;
  }
  .msim-bottom-controls {
    grid-template-columns: 1fr;
    gap: 2cqw;
  }
  .msim-small {
    height: 7cqw;
    font-size: 2.2cqw;
  }
  .msim-right-col {
    flex-direction: row;
  }
  .msim-btn-square {
    width: 7cqw;
    height: 7cqw;
    font-size: 4cqw;
  }
  .msim-top-model {
    font-size: 1.8cqw;
  }
  .msim-top-model b {
    font-size: 3cqw;
  }
  .instructor-link {
    font-size: 2cqw;
  }
  .msim-top {
    padding: 0 2cqw;
    gap: 2cqw;
  }
  .msim-screen {
    padding: 1cqw;
    gap: 1.4cqw;
  }
  .screen-status {
    min-height: 6cqw;
    font-size: 2cqw;
    gap: 1.3cqw;
  }
  .screen-status strong {
    font-size: 2cqw;
  }
  #device-connection {
    font-size: 1.7cqw;
  }
  .screen-status > span:nth-child(2) {
    display: none;
  }
  .simulation-badge {
    font-size: 1.5cqw;
  }
  .msim-vitalbar {
    gap: 0.6cqw;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .msim-vital {
    padding: 1cqw;
  }
  .vital-nibp {
    grid-column: span 2;
  }
  .msim-vital-label {
    font-size: 2.4cqw;
  }
  .msim-vital-label small {
    font-size: 1.6cqw;
  }
  .msim-vital-value {
    font-size: 6.5cqw;
  }
  .vital-nibp .msim-vital-value {
    font-size: 5.7cqw;
    padding: 0.5cqw 0;
  }
  .vital-range {
    font-size: 1.6cqw;
  }
  .pane-title {
    font-size: 2cqw;
    padding: 0.7cqw;
  }
  .msim-screen-stack {
    gap: 1cqw;
  }
  .msim-screen-softkeys {
    min-height: 9cqw;
    gap: 0;
  }
  .msim-screen-softkey-text {
    font-size: 1.7cqw;
    white-space: normal;
    overflow-wrap: normal;
  }
  .device-strip {
    font-size: 1.8cqw;
    flex-direction: column;
    gap: 0.7cqw;
    min-height: 5cqw;
  }
  .msim-bottom {
    padding: 1.5cqw;
    gap: 1cqw;
    justify-content: center;
  }
  .msim-softkey {
    height: 5cqw;
    border-radius: 0.8cqw;
  }
  .msim-logo {
    font-size: 3cqw;
  }
  .msim-logo span {
    font-size: 3cqw;
  }
  .msim-logo small {
    font-size: 1cqw;
  }
  .training-caption {
    font-size: 9px;
  }
  .panel-heading h1 {
    font-size: 2.7cqw;
  }
  .panel-heading {
    font-size: 2cqw;
  }
  .nibp-panel,
  .defib-panel {
    padding: 1.5cqw;
    gap: 1cqw;
  }
  .nibp-reading {
    font-size: 10cqw;
  }
  .nibp-map {
    font-size: 4cqw;
  }
  .nibp-map small {
    font-size: 1.6cqw;
  }
  .nibp-details,
  .defib-details {
    font-size: 1.9cqw;
  }
  .nibp-inline-controls button,
  .defib-inline-controls button {
    font-size: 1.8cqw;
    padding: 1cqw;
  }
  .measurement-track {
    height: 1cqw;
  }
  .defib-energy {
    font-size: 10cqw;
    min-width: 22cqw;
  }
  .defib-energy small {
    font-size: 2.3cqw;
  }
  .defib-instruction strong {
    font-size: 3.5cqw;
  }
  .defib-instruction > span {
    font-size: 2.6cqw;
  }
  .device-notice {
    font-size: 2.3cqw;
    padding: 1.5cqw;
  }
  .mode-aed .pane-3,
  .mode-nibp .pane-3 {
    flex: 3.8;
  }
}
@media print {
  .msim-top,
  .msim-right,
  .msim-left,
  .msim-bottom,
  .screen-status,
  .msim-vitalbar,
  .device-strip,
  .msim-screen-softkeys,
  .training-caption,
  .device-notice,
  .ecg-toolbar {
    display: none !important;
  }
  .msim-stage,
  .msim-device,
  .msim-screen {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    position: static;
    max-width: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: white;
  }
  .msim-device {
    aspect-ratio: auto;
  }
  .msim-screen-stack,
  .msim-pane {
    height: auto;
    overflow: visible;
  }
  .ecg-workspace {
    height: auto !important;
  }
  .ecg-viewport {
    height: auto !important;
    overflow: visible !important;
  }
  .ecg-viewport img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
