.goi-support {
  position: fixed;
  right: calc(1rem + env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 75;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  max-width: min(22rem, calc(100vw - 2rem));
}
.goi-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: #064e31;
  color: #fff;
  font: 800 0.92rem/1.2 Manrope, system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(6, 78, 49, 0.28);
  -webkit-tap-highlight-color: transparent;
}
.goi-support-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
@media (max-width: 700px) {
  .goi-support {
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(3.6rem + env(safe-area-inset-bottom));
    max-width: none;
    align-items: stretch;
    gap: 0.4rem;
  }
  .goi-support-btn {
    align-self: flex-end;
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }
  .goi-support-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .goi-support-panel {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 8.4rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    box-sizing: border-box;
    padding: 0.7rem 0.75rem 0.75rem;
    border-radius: 14px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .goi-support-head strong { font-size: 0.95rem; }
  .goi-support-close { width: 40px; height: 40px; flex: none; }
  .goi-support-form { gap: 0.35rem; }
  .goi-support-form textarea { min-height: 3.2rem; }
  .goi-support-form input,
  .goi-support-form textarea { max-width: 100%; }
  .goi-support-form input[type="file"] { font-size: 14px; }
  .goi-support-send,
  .goi-support-wa { min-height: 44px; }
}
.goi-support-btn:hover,
.goi-support-btn:focus-visible,
.goi-support.is-open .goi-support-btn {
  background: #ca8a04;
  color: #064e31;
}
.goi-support-panel {
  width: min(22rem, calc(100vw - 2rem));
  max-height: min(70vh, 34rem);
  overflow: auto;
  padding: 0.85rem;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 14px 36px rgba(6, 78, 49, 0.28);
}
.goi-support-panel[hidden] { display: none !important; }
.goi-support-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.goi-support-head strong {
  color: #064e31;
  font-size: 1rem;
}
.goi-support-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #ecfdf5;
  color: #064e31;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.goi-support-form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.goi-support-form[hidden] { display: none !important; }
.goi-support-form label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: #064e31;
  font-size: 0.78rem;
  font-weight: 700;
}
.goi-support-form input,
.goi-support-form textarea {
  width: 100%;
  border: 1px solid #d1fae5;
  border-radius: 6px;
  padding: 0.45rem 0.55rem;
  color: #0f172a;
  font: 400 16px/1.35 Manrope, system-ui, sans-serif;
  background: #fff;
}
.goi-support-form textarea { resize: vertical; min-height: 4.2rem; }
.goi-support-form .file-preview:empty { display: none; }
.goi-support-form .file-preview { display: flex; flex-direction: column; gap: 0.35rem; }
.goi-support-form .file-preview img,
.goi-support-form .file-preview video,
.goi-support-form .file-preview iframe { width: 100%; max-height: 120px; border-radius: 6px; object-fit: cover; border: 1px solid #d1fae5; background: #fff; }
.goi-support-form .file-preview iframe { height: 120px; }
.goi-support-form .file-preview-doc { margin: 0; font-size: 0.75rem; font-weight: 600; }
.goi-support-status {
  margin: 0;
  color: #008751;
  font-size: 0.8rem;
  font-weight: 700;
}
.goi-support-send,
.goi-support-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: #008751;
  color: #fff;
  font: 800 0.92rem/1 Manrope, system-ui, sans-serif;
  cursor: pointer;
  text-decoration: none;
}
.goi-support-send:hover,
.goi-support-send:focus-visible,
.goi-support-wa:hover,
.goi-support-wa:focus-visible {
  background: #ca8a04;
  color: #064e31;
}
.goi-support-send:disabled { opacity: 0.7; cursor: wait; }
.goi-support-done {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  min-height: 12rem;
}
.goi-support-done[hidden] { display: none !important; }
.goi-support-done .goi-support-status {
  margin: 0;
  color: #008751;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}
.goi-support-done p:last-of-type {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}
