.queue-order.panel {
  padding: 6px 10px;
  margin: 0 0 6px;
}
.queue-order-head, .queue-item, .queue-order-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.queue-order-head h3 { margin: 0; font-size: 1rem; }
.queue-order-head p, .queue-order .queue-pickup { margin: 2px 0; }
.queue-number { color: var(--brand-primary); white-space: nowrap; }
.queue-order-head label { flex: 0 0 auto; margin: 0; font-size: .72rem; }
.queue-order-head select { display: block; width: auto; min-height: 32px; margin: 0; padding: 3px 7px; }
.queue-items { list-style: none; margin: 3px 0; padding: 0; }
.queue-items li { padding: 2px 0; border-top: 1px solid #e7e0d5; }
.queue-item span:last-child, .queue-order-foot > strong { white-space: nowrap; }
.queue-items small { display: block; padding-left: 16px; }
.queue-item small { display: inline; padding-left: 3px; }
.queue-order-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; font-size: .825rem; gap: 6px; }
.queue-order-foot > strong { justify-self: end; align-self: center; }
.queue-order-foot summary { cursor: pointer; }
.queue-notes { margin: 2px 0 0; }
.queue-channel { display: inline-block; border: 1px solid #a8baae; border-radius: 4px; padding: 0 4px; font-size: .72rem; }
.queue-order-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.queue-order .queue-arrival {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 2px 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: #d9f1df;
  color: #174426;
  font-size: .75rem;
  font-weight: 800;
}
.queue-order .queue-pickup-detail { margin: 2px 0; font-size: .8rem; }
.queue-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.queue-order .queue-order-age {
  margin: 0;
  color: #a11c24;
  font-size: .85rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.android-printer-discovery { display: none; }
html[data-android-printer-discovery="true"] .android-printer-discovery { display: block; }

.queue-shortcuts {
  position: fixed;
  z-index: 10;
  inset: auto 12px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: calc(100% - 24px);
  max-height: 35vh;
  overflow: auto;
  padding: 7px;
  background: white;
  border: 1px solid #a1b3a8;
  border-radius: 12px;
  box-shadow: 0 4px 16px #0003;
}
.queue-shortcuts[hidden] { display: none; }
.queue-shortcuts:not([hidden]) + #admin-content { padding-bottom: 76px; }
.queue-order:focus { outline: 3px solid #487a5b; outline-offset: 3px; scroll-margin-top: 8px; }
.queue-receipt-action { display: flex; justify-content: center; }
.queue-order .queue-receipt-action .button, .queue-order [data-edit-order] {
  min-height: 32px;
  padding: 4px 7px;
  font-size: .78rem;
}
@media (max-width: 420px) {
  .queue-order-foot { grid-template-columns: 1fr auto; }
  .queue-receipt-action { grid-row: 2; grid-column: 1 / -1; }
  .queue-order-foot > strong { grid-row: 1; grid-column: 2; align-self: start; }
}
.queue-order[data-pickup-queue] {
  border-left: 4px solid #9a5a05;
}
.queue-order .queue-pinned-pickup {
  display: inline-block;
  padding: .25rem .55rem;
  border-radius: .35rem;
  background: #fff0bf;
  color: #523300;
}
.queue-order[data-pickup-queue="overdue"] {
  border-left-color: #a02525;
}
.queue-order[data-pickup-queue="overdue"] .queue-pinned-pickup {
  background: #fce2df;
  color: #811d1d;
}

.queue-favorite-order, .queue-favorite-item { display: inline-block; padding: 1px 5px; border-radius: 4px; background: #fff0bf; color: #523300; font-weight: 700; font-size: .75rem; }

.queue-pickup-alert { display: inline-block; border-radius: 999px; padding: 3px 8px; background: #fff0bf; color: #523300; font-size: .75rem; font-weight: 700; }
