/* Feedback hub. Load order matters: shared controls precede this module. */
.fb-page { max-width: 1040px; margin: auto; }
.fb-toolbar, .fb-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-bottom: 18px; }
.fb-filters label { display: grid; gap: 6px; flex: 1 1 140px; }
.fb-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.fb-card, .fb-stats { border: 1px solid var(--cf-line); border-radius: var(--cf-radius-md); background: var(--cf-surface); padding: 18px; }
.fb-card h2 { font-size: 18px; margin: 12px 0; }
.fb-card h2 button { text-align: left; max-width: 100%; white-space: normal; }
.fb-card p, .fb-detail, .fb-stats { overflow-wrap: anywhere; }
.fb-detail textarea { width: 100%; resize: vertical; min-height: 100px; }
.fb-detail dl { margin: 12px 0; }
.fb-detail dd { margin: 0 0 8px; }
.fb-pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.fb-comment { border-bottom: 1px solid var(--cf-line); padding: 10px 0; }
.fb-check { display: flex; gap: 8px; align-items: center; }
.fb-check input { width: auto; }
.fb-stats { margin-top: 20px; }
.fb-detail input[type=file] { max-width: 100%; }
body.dark .fb-card, body.dark .fb-stats { background: var(--fg-surface, var(--cf-surface)); color: var(--fg-text, var(--cf-ink)); border-color: var(--fg-line, var(--cf-line)); }
@media (max-width: 700px) { .fb-toolbar > button { flex: 1 1 40%; } .fb-card { padding: 14px; } }
