.plvlabs-atc-drawer-root {
  position: fixed;
  inset: 0;
  z-index: 99998;
  pointer-events: none;
  visibility: hidden;
}

.plvlabs-atc-drawer-root--open {
  pointer-events: auto;
  visibility: visible;
}

.plvlabs-atc-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 24, 16, 0.18);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.plvlabs-atc-drawer-root--open .plvlabs-atc-drawer-backdrop {
  opacity: 1;
}

.plvlabs-atc-drawer {
  position: absolute;
  right: 24px;
  bottom: 6px;
  width: min(390px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 22px;
  border: 1px solid rgba(190, 255, 218, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(247, 255, 250, 0.98), rgba(224, 246, 232, 0.96));
  color: #0b2f1f;
  box-shadow:
    0 22px 52px rgba(0, 45, 25, 0.22),
    0 0 28px rgba(35, 180, 95, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  opacity: 0;
  transition:
    opacity 0.22s ease,
    bottom 0.22s ease;
}

.plvlabs-atc-drawer-root--open .plvlabs-atc-drawer {
  bottom: 24px;
  opacity: 1;
}

.plvlabs-atc-drawer-root--loading .plvlabs-atc-drawer__content {
  opacity: 0.72;
}

.plvlabs-atc-drawer__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(18, 135, 72, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #0b2f1f;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.plvlabs-atc-drawer__content {
  padding-right: 26px;
}

.plvlabs-atc-drawer__eyebrow {
  margin: 0 0 8px;
  color: #087a32;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plvlabs-atc-drawer__title {
  margin: 0 0 18px;
  color: #092818;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.15;
}

.plvlabs-atc-drawer__item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin: 0 0 18px;
}

.plvlabs-atc-drawer__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  min-height: 82px;
  box-sizing: border-box;
  border: 1px solid rgba(18, 135, 72, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.70);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 8px 18px rgba(0, 70, 32, 0.08);
}

.plvlabs-atc-drawer__image,
.plvlabs-atc-drawer__media img {
  display: block;
  width: auto;
  max-width: 62px;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  margin: 0;
}

.plvlabs-atc-drawer__details {
  min-width: 0;
}

.plvlabs-atc-drawer__details .plvlabs-atc-drawer__title {
  margin-bottom: 7px;
  font-size: 18px;
}

.plvlabs-atc-drawer__message {
  margin: 0 0 12px;
  color: rgba(11, 47, 31, 0.74);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.plvlabs-atc-drawer__summary {
  display: grid;
  gap: 7px;
  margin: 0;
}

.plvlabs-atc-drawer__summary > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
}

.plvlabs-atc-drawer__summary dt,
.plvlabs-atc-drawer__summary dd {
  margin: 0;
}

.plvlabs-atc-drawer__summary dt {
  color: rgba(11, 47, 31, 0.68);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.plvlabs-atc-drawer__summary dd {
  color: #082719;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-align: right;
}

.plvlabs-atc-drawer__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.plvlabs-atc-drawer__button,
.plvlabs-atc-drawer__button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  box-sizing: border-box;
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.plvlabs-atc-drawer__button--primary,
.plvlabs-atc-drawer__button--primary:visited {
  border: 0;
  background: linear-gradient(135deg, #064d2c, #079341);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  box-shadow:
    0 10px 22px rgba(0, 90, 45, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.plvlabs-atc-drawer__button--secondary,
.plvlabs-atc-drawer__button--secondary:visited {
  border: 1px solid rgba(18, 135, 72, 0.24);
  background: rgba(255, 255, 255, 0.82);
  color: #0b2f1f;
  -webkit-text-fill-color: #0b2f1f;
}

.plvlabs-atc-drawer__button:hover,
.plvlabs-atc-drawer__button:focus,
.plvlabs-atc-drawer__close:hover,
.plvlabs-atc-drawer__close:focus {
  outline: none;
  filter: brightness(1.03);
}

@media (max-width: 767px) {
  .plvlabs-atc-drawer-backdrop {
    background: rgba(5, 24, 16, 0.30);
  }

  .plvlabs-atc-drawer {
    right: 0;
    bottom: -100%;
    width: 100%;
    max-width: none;
    padding: 24px 18px 20px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 22px 22px 0 0;
  }

  .plvlabs-atc-drawer-root--open .plvlabs-atc-drawer {
    bottom: 0;
  }

  .plvlabs-atc-drawer__content {
    padding-right: 0;
  }

  .plvlabs-atc-drawer__title {
    max-width: calc(100% - 44px);
    font-size: 21px;
  }

  .plvlabs-atc-drawer__item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
  }

  .plvlabs-atc-drawer__media {
    width: 72px;
    min-height: 72px;
  }

  .plvlabs-atc-drawer__image,
  .plvlabs-atc-drawer__media img {
    max-width: 54px;
    max-height: 60px;
  }
}
