/* Operação ao vivo */
.op { display: grid; gap: 24px; }
.op-head h1 { font-size: 30px; font-weight: 600; letter-spacing: -1.1px; }
.op-head p { color: var(--secondary); margin-top: 4px; }

.op-indicators { display: grid; gap: 10px; }
.op-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.op-tiles-day { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.op-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 92px; padding: 14px; text-align: left; background: var(--surface); border: 1px solid var(--stroke-strong); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-1); }
.op-tile:hover { border-color: #c9d2c3; }
.op-tile strong { font-size: 26px; font-weight: 600; letter-spacing: -0.8px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.op-tile-label { font-size: 12px; font-weight: 550; color: #53634f; }
.op-tile-hint { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.op-tile[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-line); background: var(--surface-warm); }
.op-tile.is-alert { border-color: #e5c27c; background: #fdf8ea; }
.op-tile.is-danger { border-color: #e2a597; background: #fbefeb; }
.op-tile.is-danger strong { color: var(--danger); }

.op-times-panel { background: var(--surface); border: 1px solid var(--stroke-strong); border-radius: var(--radius-lg); padding: 16px; display: grid; gap: 14px; }
.op-times-panel > p { font-size: 12px; color: var(--secondary); }
.op-times-panel dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.op-times-panel dl > div { background: var(--surface-muted); border-radius: var(--radius); padding: 12px; }
.op-times-panel dt { font-size: 12px; color: var(--secondary); }
.op-times-panel dd { margin: 0; }
.op-time-val { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.op-hourly-head, .op-hourly-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.op-hourly { display: flex; align-items: flex-end; gap: 2px; height: 80px; }
.op-hourly > div { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.op-hourly i { display: block; width: 100%; border-radius: 3px 3px 0 0; background: #d9a48f; }
.op-hourly i.is-peak { background: var(--accent); }

.op-notice { border: 1px solid #efc9bd; background: #fbefeb; color: var(--danger); border-radius: var(--radius); padding: 12px 14px; font-size: 13px; }

.op-queue { display: grid; gap: 12px; }
.op-queue-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.op-queue-head h2 { font-size: 18px; font-weight: 600; letter-spacing: -0.4px; }
.op-clear { min-height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--stroke-strong); background: #fff; font-size: 13px; }
.op-empty { border: 1px dashed #cfd6ca; border-radius: var(--radius-lg); padding: 40px 16px; text-align: center; color: var(--secondary); background: #fbfbf8; }

.op-columns { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: start; }
.op-col h3 { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; padding-bottom: 6px; margin-bottom: 8px; border-bottom: 2px solid #e1c690; }
.op-col[data-col="confirmed"] h3 { border-color: #a9c6dd; }
.op-col[data-col="preparing"] h3 { border-color: #e2b08f; }
.op-col[data-col="ready"] h3 { border-color: #9cc7a6; }
.op-col[data-col="out_for_delivery"] h3 { border-color: #bcaed6; }
.op-count { background: #eef1ea; border-radius: 99px; padding: 0 8px; font-size: 12px; font-variant-numeric: tabular-nums; }
.op-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.op-col-empty { border: 1px dashed #d6dcd2; border-radius: var(--radius); padding: 12px; text-align: center; font-size: 12px; color: var(--muted); }

.op-card { background: var(--surface); border: 1px solid var(--stroke-strong); border-radius: var(--radius-lg); padding: 12px; font-size: 13px; box-shadow: var(--shadow-1); animation: pop .25s ease; }
.op-card.is-unseen { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-line); }
.op-card.is-delayed { border-color: #d98b77; }
.op-card-top { display: flex; justify-content: space-between; gap: 8px; }
.op-card-who { min-width: 0; }
.op-card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.op-card-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-card-total { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.op-tag { border-radius: 99px; padding: 1px 7px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.op-tag-new { background: var(--accent); color: #fffaf5; }
.op-tag-late { background: #fbe1d9; color: #7e2f1f; }
.op-card-mode { font-size: 12px; color: var(--secondary); margin-top: 2px; }
.op-items { list-style: none; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid #eef0ea; display: grid; gap: 2px; font-size: 12px; }
.op-items span { font-weight: 550; }
.op-items em { font-style: normal; color: var(--secondary); }
.op-more { color: var(--secondary); }
.op-notes { margin-top: 6px; background: #fbf4e2; color: #6b521b; border-radius: 6px; padding: 4px 8px; font-size: 12px; }
.op-times { display: flex; flex-direction: column; gap: 1px; margin-top: 8px; font-size: 11px; color: var(--muted); }
.op-actions { display: grid; gap: 6px; margin-top: 10px; }
.op-advance { min-height: 44px; border-radius: 9px; border: 0; background: var(--accent); color: #fffaf5; font-weight: 600; font-size: 13px; }
.op-advance:hover { background: var(--accent-strong); }
.op-advance[disabled] { opacity: 0.6; }
.op-details { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; border-radius: 9px; border: 1px solid var(--stroke-strong); text-decoration: none; font-size: 13px; }
.op-details:hover { background: #f1f3ec; }

@media (max-width: 1200px) { .op-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .op-columns { grid-template-columns: 1fr; gap: 18px; }
  .op-col.is-empty { display: none; }
  .op-tiles-day { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op-times-panel dl { grid-template-columns: 1fr; }
  .op-times { flex-direction: row; justify-content: space-between; gap: 8px; }
  .op-actions { grid-template-columns: 1fr auto; }
  .op-details { min-height: 44px; padding: 0 14px; }
}
@media (max-width: 560px) { .op-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
