@layer sections {
/* ── Help & Feedback page ───────────────────────────── */
.help-faq-card { padding: 0; }

.help-faq-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  transition: background var(--t-fast);
  gap: 12px;
}
.help-faq-row:hover { background: var(--bg); }

.help-faq-question {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.help-faq-chevron {
  font-size: 16px;
  color: var(--muted);
  flex-shrink: 0;
  display: inline-block;
  transition: transform 0.2s;
}
.help-faq-chevron.open { transform: rotate(-180deg); }

.help-faq-answer {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  padding: 4px 20px 18px;
}

/* Feedback type cards */
.help-type-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.help-type-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  transition: border-color var(--t-slow), background var(--t-slow);
}
.help-type-card:hover { border-color: var(--text); }

.help-type-icon {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 4px;
}
.help-type-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.help-type-desc {
  font-size: 12px;
  color: var(--muted);
}

/* Bug selected, rose */
.help-type-card--bug.active {
  background: oklch(96% 0.02 10);
  border-color: oklch(70% 0.12 10);
}
.help-type-card--bug.active .help-type-icon,
.help-type-card--bug.active .help-type-title,
.help-type-card--bug.active .help-type-desc { color: oklch(38% 0.12 10); }

/* Idea selected, sage green */
.help-type-card--idea.active {
  background: oklch(95% 0.03 145);
  border-color: oklch(60% 0.1 145);
}
.help-type-card--idea.active .help-type-icon,
.help-type-card--idea.active .help-type-title,
.help-type-card--idea.active .help-type-desc { color: oklch(35% 0.1 145); }

/* Message card */
.help-message-card { padding: 0; }

.help-textarea {
  width: 100%;
  min-height: 120px;
  padding: 16px 20px;
  border: none;
  outline: none;
  resize: none;
  font-size: 14px;
  color: var(--text);
  background: transparent;
  line-height: 1.6;
  box-sizing: border-box;
}
.help-textarea::placeholder { color: var(--faint); }

.help-send-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.help-sent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 20px;
  text-align: center;
}
.help-sent-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--sage-bg);
  color: var(--sage-fg);
}
.help-sent-text {
  font-size: 14px;
  color: var(--text);
  margin: 0;
}
.help-send-hint {
  font-size: 12px;
  color: var(--muted);
}
.help-send-btn {
  height: 34px;
  font-size: 13px;
  font-weight: 500;
  padding: 0 18px;
}
}
