.support-widget-fab {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 240;
  width: 56px;
  height: 56px;
  border: 3px solid #4f7a14;
  border-radius: 999px;
  cursor: pointer;
  color: #faffef;
  background: linear-gradient(180deg, #6da618 0%, #5a9418 38%, #4f8f18 68%, #3a6610 100%);
  box-shadow:
    0 5px 0 #2a4f0c,
    0 8px 18px rgba(30, 42, 22, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  transition: transform .12s ease, box-shadow .12s ease, opacity .2s ease;
}

.support-widget-fab:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.support-widget-fab svg {
  width: 26px;
  height: 26px;
}

.support-widget {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.support-widget.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.support-widget.is-open .support-widget-panel {
  transform: translateY(0);
}

.support-widget-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 42, 22, 0.42);
  backdrop-filter: blur(2px);
}

.support-widget-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: min(calc(100vw - 40px), 400px);
  max-height: min(calc(100vh - 40px), 620px);
  overflow: auto;
  background: var(--panel-solid, #fbfff2);
  border: 2px solid var(--text, #1e2a16);
  border-radius: 20px;
  box-shadow: 10px 10px 0 rgba(182, 204, 105, 0.45);
  padding: 22px;
  transform: translateY(16px);
  transition: transform .24s ease;
}

.support-widget-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(30, 42, 22, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--text, #1e2a16);
}

.support-widget-step[hidden] {
  display: none !important;
}

.support-widget-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  line-height: 1.2;
  padding-right: 36px;
}

.support-widget-lead {
  margin: 0 0 18px;
  color: var(--muted, #6f7d5b);
  line-height: 1.5;
  font-size: .95rem;
}

.support-widget-manager {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 12px;
  background: rgba(237, 245, 211, 0.72);
  border: 2px solid var(--line, #cbd9a9);
  border-radius: 14px;
}

.support-widget-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid #c5d699;
  box-shadow: 0 4px 0 #8aab5c;
  flex-shrink: 0;
}

.support-widget-manager-name {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 900;
}

.support-widget-manager-role {
  margin: 0;
  color: var(--muted, #6f7d5b);
  font-size: .85rem;
  font-weight: 700;
}

.support-widget-actions {
  display: grid;
  gap: 10px;
}

.support-widget-actions .btn {
  width: 100%;
}

.support-widget-form {
  display: grid;
  gap: 12px;
}

.support-widget-form label {
  display: grid;
  gap: 6px;
  font-size: .88rem;
  font-weight: 800;
}

.support-widget-form input,
.support-widget-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid var(--line, #cbd9a9);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text, #1e2a16);
}

.support-widget-form textarea {
  min-height: 110px;
  resize: vertical;
}

.support-widget-note {
  margin: 0;
  color: var(--muted, #6f7d5b);
  font-size: .82rem;
  line-height: 1.45;
}

.support-widget-success {
  text-align: center;
  padding: 8px 0 4px;
}

.support-widget-success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #faffef;
  background: linear-gradient(180deg, #b8de48 0%, #8fbf24 42%, #6da618 100%);
  border: 3px solid #a8c94a;
  box-shadow: 0 4px 0 #3a6610;
  font-size: 1.4rem;
  font-weight: 900;
}

.support-widget-error {
  color: #8b251b;
  font-size: .85rem;
  font-weight: 700;
  margin: 0;
}

@media (max-width: 860px) {
  .support-widget-panel {
    right: 12px;
    bottom: 12px;
    width: min(calc(100vw - 24px), 400px);
    max-height: min(calc(100vh - 24px), 620px);
    border-radius: 18px;
    box-shadow: 8px 8px 0 rgba(182, 204, 105, 0.4);
  }

  .support-widget-fab {
    right: 16px;
    bottom: 80px;
    width: 52px;
    height: 52px;
  }
}
