/* The Feedback widget (public/feedback.js). Classes only: the CSP forbids inline style. */
.fb-root { position: fixed; right: 16px; bottom: 16px; z-index: 60; font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink, #1e1b4b); }
.fb-open { cursor: pointer; border: 0; border-radius: 999px; padding: 10px 16px; font: inherit; font-weight: 600; background: var(--action, var(--brand, #4f46e5)); color: var(--action-ink, #fff); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.fb-open:focus-visible, .fb-send:focus-visible, .fb-close:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.fb-panel { position: absolute; right: 0; bottom: 52px; width: min(340px, calc(100vw - 32px)); background: var(--panel, #fff); color: inherit; border: 1px solid var(--line, #e2e1ec); border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .28); padding: 14px; }
.fb-panel[hidden] { display: none; }
.fb-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.fb-close { cursor: pointer; border: 0; background: none; color: var(--muted, #55536e); font: inherit; text-decoration: underline; }
.fb-field { margin-bottom: 8px; }
.fb-label { display: block; font-size: 12px; color: var(--muted, #55536e); margin-bottom: 2px; }
.fb-input { box-sizing: border-box; width: 100%; font: inherit; padding: 8px; border: 1px solid var(--line, #cfcde0); border-radius: 8px; background: var(--bg, #fff); color: inherit; }
textarea.fb-input { resize: vertical; min-height: 90px; }
.fb-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fb-status { min-height: 1.2em; margin: 4px 0; font-size: 13px; }
.fb-status.is-bad { color: var(--danger, #b4232a); }
.fb-status.is-ok { color: var(--ok, #15803d); }
.fb-send { cursor: pointer; width: 100%; border: 0; border-radius: 8px; padding: 9px; font: inherit; font-weight: 600; background: var(--action, var(--brand, #4f46e5)); color: var(--action-ink, #fff); }
.fb-send:disabled { opacity: .6; cursor: default; }
@media (prefers-color-scheme: dark) { .fb-root { color: #e8e8f5; } .fb-panel { background: var(--panel, #1c1b2e); border-color: var(--line, #3a3856); } .fb-input { background: var(--bg, #14132a); border-color: var(--line, #3a3856); } .fb-label, .fb-close { color: var(--muted, #a9a7c4); } }
@media (prefers-reduced-motion: no-preference) { .fb-open { transition: transform 120ms; } .fb-open:hover { transform: translateY(-1px); } }
