.pc-toast-stack {
  position: fixed;
  right: 16px;
  top: 16px;
  z-index: 2000;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
}

.pc-toast {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  border-radius: 12px;
  border: 1px solid #d6d8de;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
  padding: 12px 14px;
  color: #111827;
  font-size: 14px;
}

.pc-toast--ok {
  border-color: #86efac;
  background: #ecfdf3;
}

.pc-toast--err {
  border-color: #fecaca;
  background: #fef2f2;
}

.pc-toast--warn {
  border-color: #fde68a;
  background: #fffbeb;
}

.pc-toast__close {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.pc-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
}

.pc-modal.is-open {
  display: block;
}

.pc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.58);
}

.pc-modal__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100vw - 24px));
  border-radius: 14px;
  border: 1px solid #d6d8de;
  background: #fff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.26);
  padding: 16px;
}

.pc-modal__title {
  margin: 0 0 8px;
  font-size: 20px;
  color: #111827;
}

.pc-modal__text {
  margin: 0;
  color: #334155;
  font-size: 14px;
}

.pc-modal__actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.pc-btn {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #111827;
  border-radius: 10px;
  min-height: 38px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
}

.pc-btn:hover {
  background: #f8fafc;
}

.pc-btn--primary {
  border-color: #ffbe33;
  background: #ffbe33;
  color: #1f2937;
}

.pc-btn--primary:hover {
  background: #f4ad12;
}

@media (max-width: 480px) {
  .pc-toast-stack {
    right: 10px;
    left: 10px;
    width: auto;
  }
}
