.ai-header-fill {
  flex: none;
  border: 1px solid var(--ai-border-glow);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(248, 176, 56, 0.12);
  color: var(--ai-accent);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.ai-header-fill:hover { background: rgba(248, 176, 56, 0.22); }

.ai-chip-form {
  border-color: var(--ai-border-glow);
  color: var(--ai-accent);
  font-weight: 600;
}

.ai-qf-nudge {
  margin: 10px 0 10px 40px;
  padding: 12px 14px;
  border: 1px solid var(--ai-border-glow);
  border-radius: var(--ai-radius);
  background: rgba(248, 176, 56, 0.08);
  font-size: 14px;
  line-height: 1.55;
}
.ai-qf-nudge p { margin: 0 0 10px; color: var(--ai-text); }
.ai-qf-nudge .ai-btn { width: 100%; }

.ai-qf {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(5, 7, 10, 0.72);
}
.ai-qf[hidden] { display: none; }
.ai-qf__card {
  position: relative;
  width: 100%;
  max-width: var(--ai-max);
  max-height: 92%;
  overflow-y: auto;
  padding: 20px 18px 18px;
  border: 1px solid var(--ai-border-glow);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: #11141b;
  color: var(--ai-text);
}
.ai-qf__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  color: var(--ai-text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.ai-qf__title { margin: 0 28px 6px 0; font-size: 18px; }
.ai-qf__lead { margin: 0 0 12px; color: var(--ai-text-muted); font-size: 13px; line-height: 1.55; }
.ai-qf__banner {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(240, 144, 0, 0.18);
  color: #ffb4a8;
  font-size: 13px;
}
.ai-qf__banner[hidden] { display: none; }
.ai-qf__form { display: grid; gap: 10px; }
.ai-qf__form label { display: grid; gap: 4px; font-size: 13px; color: var(--ai-text-muted); }
.ai-qf__form b { color: #ff8f7f; }
.ai-qf__form small { margin-left: 4px; }
.ai-qf__form input[type='text'],
.ai-qf__form input[type='tel'],
.ai-qf__form select,
.ai-qf__form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--ai-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ai-text);
  font: inherit;
  font-size: 15px;
}
.ai-qf__form select option { color: #111; }
.ai-qf__form textarea { resize: vertical; min-height: 56px; }
.ai-qf__consent { display: flex !important; gap: 8px; align-items: flex-start; font-size: 12px; }
.ai-qf__consent input { margin-top: 3px; }
.ai-qf__submit { width: 100%; padding: 12px; }
.ai-qf__submit:disabled { opacity: 0.6; cursor: wait; }
.ai-qf__alt { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--ai-text-muted); }
.ai-qf__alt a { color: var(--ai-accent); }
.ai-qf__done[hidden] { display: none; }
.ai-qf__done .ai-btn { width: 100%; margin-top: 8px; }
