.pvc-panel,
.pvc-panel * {
  box-sizing: border-box;
}

.pvc-panel {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 990;
  width: min(260px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid rgba(23, 105, 79, 0.2);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.97);
  color: #102b25;
  box-shadow: 0 15px 45px rgba(13, 49, 36, 0.18);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  backdrop-filter: blur(12px);
}

.pvc-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 0;
  background: linear-gradient(135deg, #123c2d, #1b6b4a);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.pvc-toggle-copy small,
.pvc-toggle-copy strong {
  display: block;
}

.pvc-toggle-copy small {
  color: #d9e9e1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pvc-toggle-copy strong {
  margin-top: 3px;
  font-size: 14px;
}

.pvc-count {
  min-width: 40px;
  padding: 7px 9px;
  border-radius: 999px;
  background: #e7bd57;
  color: #102b25;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.pvc-details {
  padding: 12px 14px 13px;
}

.pvc-panel[data-collapsed="true"] .pvc-details {
  display: none;
}

.pvc-section + .pvc-section {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid #e5ebe7;
}

.pvc-heading {
  margin: 0 0 7px;
  color: #6a786f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pvc-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pvc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.pvc-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pvc-row strong {
  flex: none;
  color: #17694f;
}

.pvc-note {
  margin: 10px 0 0;
  color: #78837d;
  font-size: 9px;
  line-height: 1.45;
}

.pvc-empty {
  margin: 0;
  color: #6a786f;
  font-size: 11px;
}

@media (max-width: 700px) {
  .pvc-panel {
    left: 10px;
    bottom: 76px;
    width: min(230px, calc(100vw - 86px));
    border-radius: 15px;
  }

  .pvc-toggle {
    padding: 10px 12px;
  }

  .pvc-toggle-copy small {
    font-size: 9px;
  }

  .pvc-toggle-copy strong {
    font-size: 12px;
  }

  .pvc-details {
    max-height: 245px;
    overflow-y: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .pvc-panel {
    animation: pvc-arrive 0.45s ease-out both;
  }

  @keyframes pvc-arrive {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
