/* KikuSekai — centre d'aide */

/* ── aide.php ── */
  .auth.auth--help { padding: 110px var(--page-gutter) 0; max-width: var(--page-max); margin: 0 auto; display: block; min-height: 0; }
  .auth--help .auth-card.wide { max-width: none; }
  .help-page [hidden] { display: none !important; }

  /* Recherche + filtres */
  .help-tools { margin-top: 24px; }
  .help-search { position: relative; max-width: 560px; }
  .help-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--red); pointer-events: none; }
  .help-search input {
    width: 100%; background: var(--bg); color: var(--text); font-family: inherit;
    border: 1px solid var(--border2); border-radius: var(--radius-sm);
    padding: 12px 13px 12px 42px; font-size: 16px; transition: border-color 0.15s;
  }
  .help-search input:focus { outline: none; border-color: var(--red); }
  .help-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .help-chip {
    background: transparent; color: var(--text2); border: 1px solid var(--border2); border-radius: 999px;
    padding: 6px 14px; font-size: 13px; font-family: inherit; cursor: pointer; transition: border-color 0.15s, color 0.15s;
  }
  .help-chip:hover { color: var(--text); border-color: var(--text3); }
  .help-chip[aria-pressed="true"] { color: var(--text); border-color: var(--red); background: rgba(255,106,0,0.1); }
  .help-chip:focus-visible, .help-q:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

  /* Mise en page : FAQ puis contact, l'un sous l'autre, pleine largeur */
  .help-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; align-items: start; }
  .help-block { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 24px 24px; }
  .help-block + .help-block { margin-top: 24px; }
  .auth-card .help-block h2 { border-top: 0; padding-top: 0; margin: 22px 0 8px; }
  .help-block .help-lead { font-size: 13.5px; color: var(--text2); line-height: 1.5; margin-bottom: 14px; }
  @media (max-width: 480px) { .help-block { padding: 4px 16px 20px; } }

  .help-group + .help-group { margin-top: 24px; }
  .help-item { border-bottom: 1px solid var(--border); }
  .help-item:last-child { border-bottom: 0; }
  .help-q {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 0; font-size: 14.5px; font-weight: 500; color: var(--text);
  }
  .help-q::-webkit-details-marker { display: none; }
  .help-q::after { content: '+'; font-size: 20px; line-height: 1; color: var(--text2); flex-shrink: 0; transition: transform 0.18s ease; }
  .help-item[open] > .help-q::after { transform: rotate(45deg); color: var(--red); }
  .help-q:hover { color: var(--red); }
  .help-a { padding: 0 0 16px; font-size: 14px; color: var(--text2); line-height: 1.65; max-width: 70ch; }
  .help-a a { color: var(--text); border-bottom: 1px solid var(--border2); }
  .help-a a:hover { color: var(--red); border-color: var(--red); }
  .help-empty { font-size: 14px; color: var(--text2); line-height: 1.6; padding: 22px 0 6px; }
  .help-empty a { color: var(--text); border-bottom: 1px solid var(--border2); }

  /* Formulaire de contact */
  .help-form { display: flex; flex-direction: column; gap: 14px; }
  .help-form .field select, .help-form .field textarea {
    width: 100%; background: var(--bg2); color: var(--text); font-family: inherit;
    border: 1px solid var(--border2); border-radius: var(--radius-sm);
    padding: 12px 13px; font-size: 16px; transition: border-color 0.15s;
  }
  .help-form .field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
  .help-form .field select:focus, .help-form .field textarea:focus { outline: none; border-color: var(--red); }
  .help-form .field input[type="text"], .help-form .field input[type="email"] { background: var(--bg2); }
  .help-as { font-size: 13px; color: var(--text2); line-height: 1.5; }
  .help-as strong { color: var(--text); font-weight: 500; }
  .help-count { font-size: 11.5px; color: var(--text3); text-align: right; margin-top: 4px; }

  /* Mes demandes */
  .tk-list { list-style: none; }
  .tk { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .tk:last-child { border-bottom: 0; }
  .tk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .tk-title { font-size: 14px; font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
  .tk-status { font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--text2); }
  .tk-status.answered { color: #7fd99b; }
  .tk-status.open { color: #ffb84d; }
  .tk-meta { font-size: 12px; color: var(--text3); margin-top: 3px; }
  .tk-reply { margin-top: 10px; padding: 10px 12px; border-left: 2px solid var(--red); background: var(--bg2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 13px; color: var(--text2); line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
  .tk-reply b { display: block; color: var(--text); font-weight: 500; margin-bottom: 3px; }
