/* The Feedback button (fb- = feedback). Fixed bottom right on every screen. */
#fb-root { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px) - var(--vv-gap, 0px)); z-index: 50; display: grid; justify-items: end; gap: 10px; }
body.booting #fb-root, #fb-root[hidden] { display: none; }
body:has(.pw-tabs) #fb-root { bottom: calc(84px + env(safe-area-inset-bottom, 0px) - var(--vv-gap, 0px)); }   /* above the phone tab bar, not on top of it */
.fb-btn { background: #000; color: #fff; border: 1px solid #3a3a3a; border-radius: 999px; padding: 10px 16px; font: 600 13px/1 var(--body, "Montserrat", sans-serif); cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.fb-btn:hover { border-color: #c8c8c8; }
.fb-panel { width: min(340px, calc(100vw - 32px)); background: #0b0b0b; color: #fff; border: 1px solid #2c2c2c; border-radius: 14px; padding: 14px; display: grid; gap: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .5); }
.fb-panel[hidden] { display: none; }
.fb-head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.fb-x { background: none; border: 0; color: #c8c8c8; font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }
.fb-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.fb-kind { position: relative; cursor: pointer; }
.fb-kind input { position: absolute; opacity: 0; width: 0; height: 0; min-height: 0; padding: 0; }
.fb-kind span { display: block; padding: 7px 12px; border: 1px solid #2c2c2c; border-radius: 999px; font-size: 13px; color: #c8c8c8; }
.fb-kind input:checked + span { background: #fff; color: #000; border-color: #fff; font-weight: 600; }
.fb-kind input:focus-visible + span { outline: 2px solid #c8c8c8; outline-offset: 2px; }
.fb-panel textarea { width: 100%; box-sizing: border-box; background: #111; color: #fff; border: 1px solid #2c2c2c; border-radius: 10px; padding: 10px; font: 16px/1.4 var(--body, "Montserrat", sans-serif); resize: vertical; min-height: 96px; }
.fb-err { margin: 0; color: #ff6b6b; font-size: 13px; }
.fb-send { background: #fff; color: #000; border: 0; border-radius: 10px; padding: 11px; font: 600 14px/1 var(--body, "Montserrat", sans-serif); cursor: pointer; }
.fb-send:disabled { opacity: .4; cursor: default; }
.fb-panel.sent .fb-send { background: #6fdc8c; opacity: 1; }
@media print { #fb-root { display: none; } }
