/* FeedbackQueueQOL1. Visual urgency without altering existing Staff Console theme. */
.feedback-qol-toolbar{display:flex;gap:9px;align-items:flex-end;flex-wrap:wrap;border-bottom:1px solid #2e3945;padding:10px 12px;background:#111922}
.feedback-qol-toolbar label{display:flex;flex-direction:column;gap:5px;font-size:11px;min-width:145px}
.feedback-qol-toolbar select{min-width:145px}
.feedback-qol-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 12px;border-top:1px solid #2e3945}
.fb-flag{display:inline-flex;align-items:center;align-self:flex-start;padding:5px 8px;border-radius:6px;font-size:10px;font-weight:800;letter-spacing:.35px}
.fb-flag.reopened{color:#ffddd5;border:1px solid #a6503a;background:rgba(133,44,28,.32)}
.fb-flag.attention{color:#ffe8b9;border:1px solid #91753c;background:rgba(140,104,43,.19)}
.fb-flag.pending{color:#d2e6fa;border:1px solid #49657c;background:#192737}
.fb-row-reopened{border-left:4px solid #e47957!important}
.fb-row-attention{border-left:4px solid #cfb66f!important}
.fb-lifecycle{padding:16px;border:1px solid #3f5365;background:#131d27;margin:12px 0;border-radius:10px}
.fb-lifecycle-head{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.fb-lifecycle-head strong{font-size:15px;color:#eec08c}
.fb-lifecycle-head span{font-size:12px}
.fb-lifecycle .timeline{max-height:450px;overflow:auto}
@media(max-width:760px){.feedback-qol-toolbar{align-items:stretch}.feedback-qol-toolbar label{flex:1 1 100%}.feedback-qol-footer{flex-direction:column;align-items:stretch}}
/* FeedbackQueueQOL3: actionable totals, readable review receipts, explicit bulk IDs. */
.fb-dashboard{display:grid;grid-template-columns:repeat(5,minmax(115px,1fr));gap:8px;padding:12px;background:#101821;border-bottom:1px solid #303d4c}
.fb-dashboard button{display:flex;justify-content:space-between;align-items:center;gap:5px;background:#172330;color:#dce6f5;border:1px solid #35465a;border-radius:9px;padding:10px;text-align:left;font-weight:700;font-size:11px;cursor:pointer}
.fb-dashboard button.active{outline:2px solid #b18e50;background:#273244}.fb-dashboard .fb-count{font-size:20px;color:#f6d397}
.fb-selected-ids{max-height:100px;overflow:auto;font-size:11px;padding:6px 12px;line-height:1.7;background:#111b24;border-bottom:1px solid #35465a;overflow-wrap:anywhere}
.fb-bulk-confirm-list{margin-top:10px;background:#12202e;border:1px solid #3d526a;border-radius:8px;padding:9px;max-height:175px;overflow:auto;overflow-wrap:anywhere}
.fb-bulk-confirm-list p{font-size:12px;line-height:1.6}
.fb-lifecycle button{margin:10px 0}
@media(max-width:1000px){.fb-dashboard{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.fb-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* FeedbackQueueQOL3: real selection controls and bulk management. */
.fb-report-entry{display:flex;align-items:stretch;gap:.5rem;border-bottom:1px solid var(--line,rgba(255,255,255,.1))}
.fb-report-entry>.feedback-queue-row{flex:1;min-width:0;border-bottom:0}
.fb-report-pick{display:flex;align-items:center;justify-content:center;min-width:2.6rem;padding:.3rem;cursor:pointer}
.fb-report-pick input,.fb-select-page input{width:1.2rem;height:1.2rem;accent-color:var(--gold,#caa95b);cursor:pointer}
.fb-bulk-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:.65rem;padding:.5rem .25rem .8rem}
.fb-bulk-toolbar label{display:flex;flex-direction:column;gap:.3rem;font-size:.82rem}
.fb-bulk-toolbar select,.fb-bulk-toolbar input{width:auto;max-width:15rem}
.fb-select-page{display:flex;align-items:center;gap:.4rem;cursor:pointer;font-size:.86rem}
@media(max-width:740px){.fb-bulk-toolbar{gap:.5rem}.fb-bulk-toolbar label{flex:1 1 9rem}.fb-bulk-toolbar input,.fb-bulk-toolbar select{width:100%}}

/* 0.7.11 mobile queue: the original 48vh feedback-list cap cannot hold
   dashboard, filters, bulk actions AND a scrollable result queue. Without this
   override, the queue collapses and its checkboxes become untappable. */
@media(max-width:820px){
  .feedback-list-pane{max-height:none;overflow:visible}
  .feedback-queue{min-height:180px;max-height:44vh;overflow:auto;overscroll-behavior:contain}
  .fb-report-entry{min-height:64px}
}
/* RC3 integration: added filters must never push the bug queue below an
   overflow-hidden desktop pane. Keep both list and details independently
   scrollable, with an actual minimum report-list height. */
@media(min-width:821px){
  #feedbackBugWorkspace.feedback-workspace{grid-template-columns:minmax(420px,46%) minmax(0,1fr);height:min(980px,calc(100dvh - 170px));min-height:720px}
  #feedbackBugWorkspace .feedback-list-pane{min-height:0;overflow-y:auto;overscroll-behavior:contain}
  #feedbackBugWorkspace .feedback-queue{min-height:220px;flex:1 1 220px;overflow-y:auto}
  #feedbackBugWorkspace .fb-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}
  #feedbackBugWorkspace .fb-bulk-toolbar{padding:10px 12px}
}
