/* Scoped queue presentation shared by the Staff and primary workspace shells. */
.pbwash-queue-panel {
  color: #172033;
  font: 14px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-width: 0;
}
.pbwash-queue-panel *, .pbwash-queue-panel *::before, .pbwash-queue-panel *::after { box-sizing: border-box; }
.pbwash-queue-panel .pq-muted { color: #64748b; }
.pbwash-queue-panel .pq-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.pbwash-queue-panel .pq-header > div { min-width: 0; }
.pbwash-queue-panel h1 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
.pbwash-queue-panel .pq-header p { margin: 6px 0 0; }
.pbwash-queue-panel input { width: auto; min-width: 150px; min-height: 44px; padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; color: #172033; font: inherit; }
.pbwash-queue-panel .pq-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.pbwash-queue-panel .pq-metric { display: grid; align-content: start; padding: 16px; border: 1px solid #e2e8f0; border-radius: 20px; background: #fff; }
.pbwash-queue-panel .pq-metric strong { margin-top: 4px; font-size: 24px; line-height: 1.25; overflow-wrap: anywhere; }
.pbwash-queue-panel .pq-list-card { padding: 16px; border: 1px solid #e2e8f0; border-radius: 24px; background: #fff; }
.pbwash-queue-panel .pq-list { display: grid; gap: 10px; }
.pbwash-queue-panel .pq-item { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid rgba(226,232,240,.9); border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(15,23,42,.04); }
.pbwash-queue-panel .pq-item p { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.pbwash-queue-panel .pq-main-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pbwash-queue-panel .pq-main-line > div { min-width: 0; display: grid; gap: 2px; }
.pbwash-queue-panel .pq-main-line strong { font-size: 18px; line-height: 23px; font-weight: 900; overflow-wrap: anywhere; }
.pbwash-queue-panel .pq-main-line > div > span { color: #64748b; font-size: 13px; line-height: 17px; overflow-wrap: anywhere; }
.pbwash-queue-panel .pq-badge { display: inline-flex; align-items: center; gap: 5px; flex: 0 1 auto; max-width: 50%; padding: 4px 8px; border-radius: 999px; background: #f1f5f9; color: #64748b; font-size: 12px; line-height: 16px; overflow-wrap: anywhere; }
.pbwash-queue-panel .pq-badge img { width: 18px; height: 18px; flex: 0 0 18px; object-fit: contain; }
.pbwash-queue-panel .pq-success { background: #dcfce7; color: #15803d; }
.pbwash-queue-panel .pq-info { background: #dbeafe; color: #1d4ed8; }
.pbwash-queue-panel .pq-warning { background: #fef3c7; color: #92400e; }
.pbwash-queue-panel .pq-danger { background: #fee2e2; color: #b91c1c; }
.pbwash-queue-panel .pq-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.pbwash-queue-panel .pq-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid rgba(100,116,139,.38); border-radius: 14px; background: linear-gradient(180deg,rgba(248,250,252,.96),rgba(255,255,255,.84)); color: #64748b; font: inherit; font-weight: 700; cursor: pointer; box-shadow: none; }
.pbwash-queue-panel .pq-action-start:not(:disabled) { border-color: rgba(34,197,94,.45); background: linear-gradient(180deg,rgba(240,253,244,.92),rgba(255,255,255,.82)); color: #16a34a; }
.pbwash-queue-panel .pq-action img { width: 16px; height: 16px; flex: 0 0 16px; object-fit: contain; }
.pbwash-queue-panel .pq-action:disabled { opacity: .45; cursor: default; }
.pbwash-queue-panel .pq-action:hover:not(:disabled) { filter: brightness(.98); }
.pbwash-queue-panel .pq-action:focus-visible, .pbwash-queue-panel input:focus-visible { outline: 2px solid #2f6bff; outline-offset: 2px; }
.pbwash-queue-panel [data-queue-feedback]:not(:empty) { margin-bottom: 12px; color: #b91c1c; }
@media (max-width: 699px) {
  .pbwash-queue-panel .pq-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .pbwash-queue-panel .pq-metrics { gap: 8px; margin-bottom: 8px; }
  .pbwash-queue-panel .pq-metric { min-height: 76px; padding: 10px 12px; }
  .pbwash-queue-panel .pq-metric strong { font-size: 18px; line-height: 22px; }
  .pbwash-queue-panel .pq-list-card { padding: 12px; margin-bottom: 18px; }
  .pbwash-queue-panel .pq-main-line { align-items: center; }
  .pbwash-queue-panel .pq-main-line strong { font-size: 17px; line-height: 22px; }
}
