/* ── Q&A page ── */

/* ═══════════════════════════════════════════════════
   1. LAYOUT  (hero, main layout)
   ═══════════════════════════════════════════════════ */
/* .qna-hero → .grid-2col (components.css §19) */
.qna-hero-note {
    margin-top: 0.9rem;
    max-width: 58ch;
    font-size: 0.94rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}
.qna-checklist { margin: 0.65rem 0 0; padding-left: 1rem; color: var(--color-text-secondary); }
.qna-checklist li { margin-bottom: 0.45rem; line-height: 1.5; }

/* .qna-layout → .grid-2col (components.css §19) */


/* ═══════════════════════════════════════════════════
   2. SUBMIT FORM
   .qna-form → .card-elevated  |  .qna-submit → components.css
   ═══════════════════════════════════════════════════ */
.qna-form-copy     { margin: 0 0 1.15rem; color: var(--color-text-secondary); font-size: 0.9rem; line-height: 1.6; }


/* ═══════════════════════════════════════════════════
   3. FORM FIELDS
   ═══════════════════════════════════════════════════ */
/* .qna-field label/input/select/textarea → .form-label / .form-input (components.css §20) */
.qna-field { margin-bottom: 1rem; }
.qna-field textarea { min-height: 7.5rem; resize: vertical; }
.qna-char-count { display: block; text-align: right; font-size: 0.75rem; color: var(--color-text-muted); margin-top: 0.25rem; }


/* ═══════════════════════════════════════════════════
   4. TICKET LIST & CARD
   .ticket-card → .card-elevated (components.css §19)
   ═══════════════════════════════════════════════════ */
.ticket-list { display: flex; flex-direction: column; gap: 0.8rem; }
.ticket-header       { display: flex; justify-content: space-between; align-items: center; gap: 0.65rem; }
.ticket-title        { font-weight: 700; font-size: 0.95rem; color: var(--color-text); flex: 1; }
.ticket-meta         { font-size: 0.72rem; color: var(--color-text-muted); margin-top: 0.3rem; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.ticket-body         { font-size: 0.84rem; color: var(--color-text-secondary); margin-top: 0.5rem; line-height: 1.6; }
.ticket-answer-label { font-size: 0.72rem; font-weight: 700; color: var(--color-success); margin-bottom: 0.2rem; }
#content-browse .pagination { margin-top: 1.2rem; margin-bottom: 0.75rem; }
#content-browse .section-head { margin-top: 0.5rem; }
.qna-empty .btn-cta { margin-top: 1rem; }


/* ═══════════════════════════════════════════════════
   5. EMPTY STATE
   ═══════════════════════════════════════════════════ */
.qna-empty {
    text-align: center;
    padding: 3rem 1.25rem;
    border: 1px dashed var(--color-border);
    border-radius: 1.1rem;
    background: var(--color-surface);
    color: var(--color-text-muted);
    box-shadow: var(--shadow-sm);
}
.qna-empty > div { font-size: 2rem; margin-bottom: 0.5rem; }


/* ═══════════════════════════════════════════════════
   6. ANSWER TEXT
   ═══════════════════════════════════════════════════ */
.ticket-list .info-callout { white-space: pre-line; }
.ticket-list .info-callout .text-kicker { white-space: normal; }
