.faq-item summary::after {
  content: "";
  box-sizing: border-box;
  background-color: #111820;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M4.5 2.5 9 7l-4.5 4.5' fill='none' stroke='%23ff7441' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
}

.faq-item:hover summary::after {
  background-color: #19232b;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M4.5 2.5 9 7l-4.5 4.5' fill='none' stroke='%23ff7441' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
}

.faq-item[open] summary::after {
  content: "";
  background-color: #442014;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M4.5 2.5 9 7l-4.5 4.5' fill='none' stroke='%23ff9a72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
}

/* Pas de barre verticale décorative sur la question ouverte. */
.faq-item::before,
.faq-item[open]::before {
  display: none;
}

.faq-admin-form {
  display: grid;
  grid-template-columns: 220px minmax(260px, 1fr);
  gap: 16px;
  margin: 22px 0 30px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #090e12;
}

.faq-admin-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.faq-admin-form input,
.faq-admin-form select,
.faq-admin-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  background: #070b0e;
  color: var(--text);
  font: inherit;
}

.faq-admin-form textarea {
  min-height: 120px;
  resize: vertical;
}

.faq-answer-field,
.faq-keywords-field,
.faq-form-footer {
  grid-column: 1 / -1;
}

.faq-form-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

#faq-admin-status {
  color: var(--muted);
}

.faq-admin-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.faq-admin-columns h4 {
  margin: 0 0 12px;
  font-size: 18px;
}

.faq-admin-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 18px 16px;
}

.faq-admin-actions button {
  padding: 8px 12px;
}

@media (max-width: 820px) {
  .faq-admin-form,
  .faq-admin-columns {
    grid-template-columns: 1fr;
  }

  .faq-answer-field,
  .faq-keywords-field,
  .faq-form-footer {
    grid-column: auto;
  }
}
