.gps-help-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 16px));
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.gps-help-fab-btn {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(145deg, #228a48, #14502c);
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 80, 44, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gps-help-fab-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(20, 80, 44, 0.42);
}

.gps-help-fab-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.gps-help-fab-avatar {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.gps-help-fab-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gps-help-fab-panel {
  width: min(300px, calc(100vw - 32px));
  max-height: min(70vh, 520px);
  overflow: auto;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #c8e6d0;
  box-shadow: 0 12px 32px rgba(15, 45, 28, 0.18);
}

.gps-help-fab-section {
  margin: 10px 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.gps-help-fab-section:first-of-type {
  margin-top: 0;
}

.gps-help-fab-faq-list {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.gps-help-fab-faq {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 0 10px;
}

.gps-help-fab-faq summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #14502c;
  padding: 9px 0;
  list-style: none;
}

.gps-help-fab-faq summary::-webkit-details-marker {
  display: none;
}

.gps-help-fab-faq p {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #334155;
}

.gps-help-fab-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #14502c;
}

.gps-help-fab-link {
  display: block;
  padding: 9px 10px;
  margin-bottom: 6px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #14502c;
  background: #f4faf6;
  border: 1px solid #d8e8de;
}

.gps-help-fab-link--primary {
  background: #e8f5e9;
  border-color: #a5d6a7;
}

.gps-help-fab-link:hover {
  background: #e8f5e9;
}

.gps-help-fab-foot {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #64748b;
}

.gps-help-fab-search-label {
  display: block;
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.gps-help-fab-search {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid #c8e6d0;
  border-radius: 10px;
  font-size: 13px;
  color: #14502c;
  background: #fff;
}

.gps-help-fab-search:focus-visible {
  outline: 2px solid #228a48;
  outline-offset: 1px;
}

.gps-help-fab-empty {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
}

.gps-help-fab-suggest-list {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.gps-help-fab-suggest {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.gps-help-fab-suggest strong {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: #14502c;
}

.gps-help-fab-suggest p {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #475569;
}

.gps-help-fab-suggest--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.gps-help-fab-suggest--link:hover {
  background: #e8f5e9;
  border-color: #a5d6a7;
}

.gps-help-fab-ask-btn {
  width: 100%;
  margin: 0 0 10px;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(145deg, #228a48, #14502c);
}

.gps-help-fab-ask-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.gps-help-fab-assistant {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #c8e6d0;
  background: #f4faf6;
}

.gps-help-fab-assistant--warn {
  border-color: #fecaca;
  background: #fef2f2;
}

.gps-help-fab-assistant--loading {
  opacity: 0.85;
}

.gps-help-fab-assistant-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #334155;
}

.gps-help-fab-assistant-sources {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #64748b;
}

.gps-help-fab-assistant-sources a {
  color: #14502c;
  font-weight: 600;
}
