/* Feedback button + capture sheet + My feedback (feedback.js) */
.fbbtn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 40px; min-height: 36px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid #8e959e; background: linear-gradient(180deg, #34373d, #16171a); color: #f1f3f5; font-size: 1rem; line-height: 1; cursor: pointer; flex: none; }
.fbbtn svg { width: 20px; height: 20px; flex: none; }
.fbbtn .lbl { font-size: .85rem; font-weight: 700; }
body.at-table .fbbtn { min-width: 40px; padding: 4px 8px; }
body.at-table .fbbtn .lbl { display: none !important; } /* icon-only at the table (aria-label / tooltip "Feedback") */
.fbbtn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.fb-back { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.5); display: flex; align-items: flex-end; justify-content: center; padding: 10px; }
.fb-back[hidden] { display: none; }
@media (min-width: 700px) { .fb-back { align-items: flex-start; justify-content: flex-end; padding-top: 60px; } }
.fb-sheet { width: min(420px, 100%); max-height: calc(100dvh - 20px); overflow-y: auto; border-radius: 16px; padding: 10px 14px 10px; color: #f1f3f5;
  background: linear-gradient(180deg, #24262b, #0f1013); border: 1px solid #9aa0a8; box-shadow: 0 14px 40px rgba(0,0,0,.7); animation: rise .16s ease-out; }
.fb-sheet header { display: flex; align-items: center; justify-content: space-between; }
.fb-sheet h2 { margin: 0; font-size: 1.2rem; }
.fb-x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #6b717a; background: linear-gradient(180deg, #34373d, #1b1c20); color: #fff; font-size: 1rem; cursor: pointer; }
.fb-types { display: flex; border: 1px solid #6b717a; border-radius: 12px; overflow: hidden; margin: 8px 0; }
.fb-types button { flex: 1 1 0; min-height: 42px; padding: 0 6px; border: 0; border-left: 1px solid #4a4f56; background: linear-gradient(180deg, #34373d, #1b1c20); color: #f1f3f5; font-weight: 800; font-size: .88rem; cursor: pointer; }
.fb-types button:first-child { border-left: 0; }
.fb-types button.on { background: var(--chrome, #e6e8eb); color: #111; }
.fb-types.small button { min-height: 36px; font-size: .8rem; }
.fb-shotrow { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.fb-prev { width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: #1b1d21; border: 1px solid #4a4f56; display: grid; place-items: center; flex: none; }
.fb-prev img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fb-prev.off { opacity: .3; filter: grayscale(1); }
.fb-inc { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; cursor: pointer; }
.fb-inc input { width: 22px; height: 22px; }
.fb-sheet textarea, .fb-panel textarea { width: 100%; box-sizing: border-box; resize: vertical; font: inherit; font-size: 16px; padding: 8px 10px; border-radius: 10px; border: 1px solid #5b6066; background: #15161a; color: #f1f3f5; }
.fb-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.fb-actions.left { justify-content: flex-start; margin-top: 14px; }
.fb-actions .primary { min-width: 120px; min-height: 44px; font-size: 1.05rem; }
.fb-later { margin: 8px 0 0; }

.fb-panel h2 { margin-top: 0; }
.fb-list { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.fb-row { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 8px; border-radius: 12px; border: 1px solid #3a3d42; background: #1b1d21; color: inherit; cursor: pointer; font: inherit; }
.fb-row img, .fb-noimg { width: 64px; height: 96px; object-fit: cover; object-position: top; border-radius: 6px; flex: none; background: #2a2d31; display: grid; place-items: center; font-size: 1.4rem; }
.fb-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fb-kind { align-self: flex-start; font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #3a3f55; }
.fb-kind.k-problem { background: #7a2b2b; } .fb-kind.k-suggestion { background: #2b5a3a; }
.fb-res { align-self: flex-start; font-size: .72rem; color: #7fd39b; }
.fb-when { font-size: .78rem; color: var(--muted, #a9b0b8); }
.fb-snip { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.fb-saved { margin-left: auto; }
.fb-shot { position: relative; margin: 8px auto; width: fit-content; max-width: 100%; touch-action: manipulation; cursor: crosshair; user-select: none; -webkit-user-select: none; }
.fb-shot img { display: block; max-width: 100%; max-height: 75vh; border-radius: 8px; border: 1px solid #4a4f56; }
.fb-pin { position: absolute; transform: translate(-50%, -100%); min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px 13px 13px 0; border: 2px solid #fff;
  background: #ff4d4f; color: #fff; font-weight: 900; font-size: 13px; line-height: 22px; box-shadow: 0 2px 6px rgba(0,0,0,.6); cursor: pointer; }
.fb-pin.on { background: #ffd400; color: #111; }
.fb-notes { display: grid; gap: 8px; }
.fb-pn { display: flex; gap: 8px; align-items: flex-start; }
.fb-pnum { flex: none; width: 26px; height: 26px; border-radius: 13px; background: #ff4d4f; color: #fff; font-weight: 900; display: grid; place-items: center; font-size: 13px; margin-top: 6px; }
.fb-pdel { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #6b717a; background: #1b1c20; color: #fff; cursor: pointer; }
.ghost.danger { color: #ff8b8b; border-color: #7a3b3b; }
