/* /feedback (2026-10-21). Uses the table's tokens (tokens.css): light and dark follow data-theme / the device. */
:root { color-scheme: light dark; }
body { margin: 0; background: var(--ht-paper, #FBF8F3); color: var(--ht-ink, #1F1B16); font: 15px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
.fb { max-width: 760px; margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) 16px 48px; }
.fb-home { font-weight: 700; color: inherit; text-decoration: none; }
.fb-head h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.2; margin: 16px 0 8px; }
.fb-lede { margin: 0 0 20px; color: var(--ht-muted, #5E574E); }
.fb-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; }
.fb-tabs button, .fb-sort button { border: 1px solid var(--ht-line, rgba(31,27,22,.14)); background: transparent; color: inherit; border-radius: 999px; padding: 8px 14px; font: inherit; cursor: pointer; min-height: 40px; }
.fb-tabs button[aria-selected="true"], .fb-sort button[aria-pressed="true"] { background: var(--ht-ink, #1F1B16); color: var(--ht-paper, #FBF8F3); border-color: transparent; }
.fb-form { display: flex; flex-direction: column; gap: 8px; }
.fb-form label { font-weight: 600; }
.fb-form input, .fb-form textarea { font: inherit; font-size: 16px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--ht-line, rgba(31,27,22,.18)); background: var(--ht-card, #fff); color: inherit; }
.fb-btn { align-self: flex-start; margin-top: 6px; background: var(--ht-action, #2F5BD3); color: #fff; border: 0; border-radius: 999px; padding: 10px 20px; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; }
.fb-btn:disabled { opacity: .6; }
.fb-msg { min-height: 1.4em; margin: 6px 0 0; color: var(--ht-muted, #5E574E); }
.fb-ctx pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; background: var(--ht-raised, rgba(31,27,22,.05)); padding: 8px 10px; border-radius: 10px; margin: 6px 0 0; }
.fb-check { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.fb-sort { display: flex; gap: 6px; margin-bottom: 12px; }
.fb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fb-item { display: flex; gap: 12px; align-items: flex-start; background: var(--ht-card, #fff); border: 1px solid var(--ht-line, rgba(31,27,22,.10)); border-radius: 16px; padding: 12px 14px; }
.fb-vote { display: flex; flex-direction: column; align-items: center; min-width: 52px; min-height: 52px; border-radius: 12px; border: 1px solid var(--ht-line, rgba(31,27,22,.18)); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.fb-vote.on { background: var(--ht-action, #2F5BD3); color: #fff; border-color: transparent; }
.fb-vote .up { font-size: 11px; } .fb-vote .n { font-weight: 700; }
.fb-txt { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fb-txt p { margin: 4px 0; color: var(--ht-muted, #5E574E); }
.fb-status { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--ht-raised, rgba(31,27,22,.06)); margin-top: 4px; }
.s-planned, .s-in_progress { background: #E3ECFF; color: #1E3E8F; }
.s-fix_ready, .s-fixed, .s-shipped { background: #DDF2E3; color: #1D5B33; }
.s-wont_do, .s-duplicate { background: #EEE8E1; color: #5E574E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .s-planned, :root:not([data-theme="light"]) .s-in_progress { background: #22304F; color: #C9D8FF; } :root:not([data-theme="light"]) .s-fix_ready, :root:not([data-theme="light"]) .s-fixed, :root:not([data-theme="light"]) .s-shipped { background: #1F3A2A; color: #C5EBD2; } }
