.psc-support {
  position: fixed;
  right: calc(1rem + env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  max-width: min(20rem, calc(100vw - 2rem));
}
.psc-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.55rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: #0c6b3c;
  color: #fff;
  font: 700 0.92rem/1.2 "Source Sans 3", "Segoe UI", sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(7, 24, 51, 0.28);
}
.psc-support-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.psc-support-btn:hover,
.psc-support-btn:focus-visible {
  background: #f2c14e;
  color: #071833;
}
.psc-support-panel {
  width: min(22rem, calc(100vw - 2rem));
  max-height: min(70vh, 34rem);
  overflow: auto;
  padding: 0.85rem;
  border-radius: 12px;
  background: #fff;
  color: #152033;
  box-shadow: 0 14px 36px rgba(7, 24, 51, 0.28);
}
.psc-support-form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.psc-support-form[hidden] { display: none !important; }
.psc-support-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.psc-support-form label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: #071833;
  font-size: 0.78rem;
  font-weight: 700;
}
.psc-support-form input,
.psc-support-form textarea {
  width: 100%;
  border: 1px solid #d5e0da;
  border-radius: 6px;
  padding: 0.45rem 0.55rem;
  color: #152033;
  font: 400 16px/1.35 "Source Sans 3", "Segoe UI", sans-serif;
  background: #fff;
}
.psc-support-form textarea { resize: vertical; min-height: 4.2rem; }
.psc-support-status {
  margin: 0;
  color: #0c6b3c;
  font-size: 0.8rem;
  font-weight: 700;
}
.psc-support-done {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  min-height: 16rem;
}
.psc-support-done[hidden] { display: none !important; }
.psc-support-done .psc-support-status {
  color: #0c6b3c;
  font-size: 1.05rem;
  line-height: 1.35;
}
.psc-support-done p:last-of-type {
  margin: 0 0 0.7rem;
  color: #5d6b7c;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}
.psc-support-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 6px;
  background: #0c6b3c;
  color: #fff;
  font: 800 0.92rem/1 "Source Sans 3", "Segoe UI", sans-serif;
  text-decoration: none;
}
.psc-support-wa:hover,
.psc-support-wa:focus-visible {
  background: #f2c14e;
  color: #071833;
}
.psc-support-send {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: #0c6b3c;
  color: #fff;
  font: 800 0.92rem/1 "Source Sans 3", "Segoe UI", sans-serif;
  cursor: pointer;
}
.psc-support-send:hover,
.psc-support-send:focus-visible {
  background: #f2c14e;
  color: #071833;
}
.psc-support-send:disabled { opacity: 0.7; cursor: wait; }
.psc-support-panel[hidden] { display: none; }
.psc-support-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.psc-support-head strong {
  color: #071833;
  font-size: 1rem;
}
.psc-support-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #eef2f0;
  color: #071833;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.psc-support-panel p {
  margin: 0 0 0.7rem;
  color: #5d6b7c;
  font-size: 0.82rem;
  line-height: 1.4;
}
.psc-support-done .psc-support-status {
  margin: 0;
  color: #0c6b3c;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}
.psc-support-action {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  margin-top: 0.4rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: #f5f7f6;
  color: #071833;
  text-decoration: none;
}
.psc-support-action span {
  color: #0c6b3c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.psc-support-action strong {
  font-size: 0.92rem;
  font-weight: 700;
}
.psc-support-action:hover,
.psc-support-action:focus-visible {
  background: #071833;
  color: #fff;
}
.psc-support-action:hover span,
.psc-support-action:focus-visible span {
  color: #f2c14e;
}
body:has(.psc-support) .psc-top {
  bottom: calc(4.6rem + env(safe-area-inset-bottom));
}
