.anesthesia-alarm-launch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  margin: 0;
  padding: 6px 12px;
  overflow: hidden;
  border: 2px solid #b42318;
  border-radius: 12px;
  background: #fdf1f1;
  color: #b42318;
  text-align: center;
  line-height: 1.15;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
}
.anesthesia-alarm-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #b42318;
}
body.atlas-mobile-chat-open .anesthesia-alarm-launch,
body.atlas-messenger-active .anesthesia-alarm-launch {
  pointer-events: auto;
  z-index: 8000;
}
.anesthesia-alarm-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
}
.anesthesia-alarm-launch strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
}
.anesthesia-alarm-hint {
  flex: 1 0 100%;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}
.anesthesia-alarm-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background: rgba(180, 35, 24, .28);
  pointer-events: none;
}
.anesthesia-alarm-launch:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.anesthesia-alarm-dock {
  position: fixed;
  z-index: 340;
  left: calc(var(--atlas-sidebar-width, 250px) + 12px);
  right: 96px;
  bottom: 0;
  display: grid;
  gap: 8px;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 14px;
  background: #7f1d1d;
  color: #fff;
}
.anesthesia-alarm-dock[hidden],
.anesthesia-alarm-status[hidden],
.anesthesia-alarm-incoming[hidden] { display: none !important; }
.anesthesia-alarm-status {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
}
.anesthesia-alarm-status-text,
.anesthesia-alarm-caller {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.anesthesia-alarm-status { flex-wrap: wrap; }
.anesthesia-alarm-status-text { flex: 1 1 220px; }
.anesthesia-alarm-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
  row-gap: 4px;
}
.anesthesia-alarm-headline {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}
.anesthesia-alarm-caller { grid-column: 1; grid-row: 2; }
.anesthesia-alarm-accept { grid-column: 2; grid-row: 1 / span 2; }
.anesthesia-alarm-close,
.anesthesia-alarm-accept,
.anesthesia-alarm-tile,
.anesthesia-alarm-tile-close {
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
}
.anesthesia-alarm-close,
.anesthesia-alarm-accept {
  border: 0;
  background: #fff;
  color: #7f1d1d;
}
.anesthesia-alarm-error:empty { display: none; }
.anesthesia-alarm-error { margin: 0; color: #7f1d1d; font-size: 18px; font-weight: 700; }
.anesthesia-alarm-tiles {
  position: fixed;
  z-index: 600;
  inset: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 12px;
  box-sizing: border-box;
  padding: 20px;
  overflow: auto;
  background: #fbfaf6;
  color: #24324a;
}
.anesthesia-alarm-tiles-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.anesthesia-alarm-tiles-copy { min-width: 0; }
.anesthesia-alarm-tiles h2 { margin: 0 0 6px; font-size: 28px; line-height: 1.2; }
.anesthesia-alarm-tiles p { margin: 0; font-size: 18px; line-height: 1.35; }
.anesthesia-alarm-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  align-content: start;
}
.anesthesia-alarm-tile {
  display: grid;
  gap: 4px;
  align-content: center;
  min-height: 72px;
  border: 2px solid #b42318;
  background: #fff;
  color: #7f1d1d;
  text-align: left;
}
.anesthesia-alarm-tile strong { font-size: 22px; font-weight: 700; }
.anesthesia-alarm-tile small { font-size: 16px; color: #24324a; }
.anesthesia-alarm-tile-close {
  flex: 0 0 auto;
  align-self: flex-start;
  box-sizing: border-box;
  height: 56px;
  min-height: 56px;
  max-height: 56px;
  padding: 0 16px;
  border: 1px solid #dfe3e8;
  background: #fff;
  color: #24324a;
}
body.has-anesthesia-dock { height: 100dvh; overflow: hidden; }
body.has-anesthesia-dock .shell {
  height: calc(100dvh - var(--alarm-dock-space, 0px));
  max-height: calc(100dvh - var(--alarm-dock-space, 0px));
  min-height: 0;
  overflow: hidden;
  grid-template-rows: minmax(0, 1fr);
}
body.has-anesthesia-dock .content {
  box-sizing: border-box;
  min-height: 0;
  max-height: 100%;
  overflow: auto;
}
body.has-anesthesia-dock:not(.atlas-messenger-active) .shell > .content,
body.has-anesthesia-dock .atlas-v49-view {
  scroll-padding-bottom: var(--alarm-dock-space, 0px);
}
body.has-anesthesia-dock:not(.atlas-messenger-active) .shell > .content {
  padding-bottom: calc(80px + var(--alarm-dock-space, 0px));
}
body.has-anesthesia-dock .atlas-v49-view {
  bottom: var(--alarm-dock-space, 0px);
  padding-bottom: calc(48px + var(--alarm-dock-space, 0px));
}
@media (min-width: 761px) {
  body.has-anesthesia-alarm .anesthesia-alarm-launch {
    position: sticky;
    top: 0;
    z-index: 4800;
    flex: 0 0 auto;
    align-self: stretch;
  }
  body.has-anesthesia-alarm .sidebar {
    overflow: hidden;
    height: 100dvh;
    max-height: 100dvh;
  }
  body.has-anesthesia-alarm .sidebar nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  body.has-anesthesia-dock .sidebar {
    height: calc(100dvh - var(--alarm-dock-space, 0px));
    max-height: calc(100dvh - var(--alarm-dock-space, 0px));
  }
}
@media (max-width: 760px) {
  body.has-anesthesia-alarm {
    --alarm-launch-space: 56px;
    overflow-anchor: none;
  }
  body.has-anesthesia-alarm .sidebar {
    padding-top: calc(18px + var(--alarm-launch-space));
    margin-bottom: 0;
  }
  .anesthesia-alarm-launch {
    position: fixed;
    z-index: 4800;
    top: 0;
    right: 0;
    left: 0;
    width: auto;
    height: var(--alarm-launch-space, 56px);
    min-height: 56px;
    margin: 0;
    padding: 4px 10px;
    border-radius: 0 0 12px 12px;
  }
  .anesthesia-alarm-launch strong { white-space: nowrap; }
  body.has-anesthesia-alarm .atlas-v49-view { top: var(--alarm-launch-space, 64px); }
  body.has-anesthesia-alarm .onboarding-layer { top: var(--alarm-launch-space, 64px); }
  body.has-anesthesia-alarm .onboarding-card { min-height: 0; height: 100%; }
  .anesthesia-alarm-dock { left: 0; right: 0; }
  .anesthesia-alarm-banner { grid-template-columns: 1fr; }
  .anesthesia-alarm-headline { font-size: 24px; }
  .anesthesia-alarm-accept { grid-column: 1; grid-row: 3; justify-self: start; }
  body.has-anesthesia-alarm.has-anesthesia-dock .shell { overflow: auto; }
  .anesthesia-alarm-tile-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .anesthesia-alarm-fill { transition: none; }
}
@media print {
  .anesthesia-alarm-launch,
  .anesthesia-alarm-dock,
  .anesthesia-alarm-tiles { display: none !important; }
}
