/* Patient radiography tools */
.rx-atelier > .atelier-columns {
  grid-template-areas: "library";
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.rx-atelier > .atelier-columns.rx-atelier-with-tools {
  grid-template-areas: "library tools";
  grid-template-columns: minmax(0, 1fr) clamp(220px, 23%, 246px);
}

.rx-atelier > .atelier-columns > .atelier-library {
  grid-area: library;
}

.rx-atelier .rx-atelier-tools {
  grid-area: tools;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #ffffffef;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff9, #f1f7fd58);
  box-shadow: inset 0 1px 0 #fff, 0 8px 24px #324e6714;
}

.rx-atelier-tools > .rvg-launch,
.rx-atelier-tools > .rx-tool-stellaris {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #fff;
  border-radius: 13px;
  background: linear-gradient(165deg, #ffffffec, #f1f7fb);
  color: #253e50;
  box-shadow: 0 2px 5px #30495812;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
}

.rx-atelier-tools > .rvg-launch > svg:first-child,
.rx-atelier-tools > .rx-tool-stellaris > svg:first-child {
  box-sizing: content-box;
  padding: 4px;
  border-radius: 7px;
  background: #e7eff7;
  color: #3b617e;
}

.rx-atelier-tools > .rvg-launch:not(.rvg-compare-launch) {
  border-color: #315766;
  background: linear-gradient(160deg, #325f6d, #193c4b);
  color: #fff;
  box-shadow: inset 0 1px 1px #ffffff34, 0 3px 8px #1939482e;
}

.rx-atelier-tools > .rvg-launch:not(.rvg-compare-launch) > svg:first-child {
  background: #ffffff27;
  color: #edfaff;
}

.rx-atelier-tools > .rvg-launch:not(.rvg-compare-launch):hover {
  background: #254c5b;
}

.rx-atelier-tools > .rvg-compare-launch:hover,
.rx-atelier-tools > .rx-tool-stellaris:hover {
  border-color: #bed2df;
  background: #fff;
}

.rx-atelier-tools > .rx-tool-stellaris {
  background: #f6f9fc94;
}

.rx-tool-stellaris-label {
  display: grid;
  flex: 1;
  gap: 2px;
  min-width: 0;
}

.rx-tool-receiver-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #536a7b;
  font-size: 11px;
  font-weight: 550;
}

.rx-tool-receiver-status::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}

.rx-tool-receiver-status[data-tone="online"] {
  color: #146c54;
}

.rx-tool-receiver-status[data-tone="attention"] {
  color: #8c521c;
}

@container imaging (max-width: 850px) {
  .rx-atelier > .atelier-columns.rx-atelier-with-tools {
    grid-template-areas: "tools" "library";
    grid-template-columns: minmax(0, 1fr);
  }

  .rx-atelier .rx-atelier-tools {
    flex-flow: row wrap;
  }

  .rx-atelier-tools > .rvg-launch {
    flex: 1 1 148px;
  }

  .rx-atelier-tools > .rx-tool-stellaris {
    flex: 1 0 100%;
  }
}

@container imaging (max-width: 395px) {
  .rx-atelier-tools > .rvg-launch {
    gap: 7px;
    padding-inline: 8px;
    font-size: 12px;
  }
}
