:root {
  --p1: #ef4444; --p2: #f59e0b; --p3: #3b82f6; --p4: #94a3b8;
  --d-bekliyor: #94a3b8; --d-islemde: #3b82f6; --d-parca: #a855f7; --d-hazir: #22c55e; --d-teslim: #64748b;
  --late: #ef4444; --soon: #f59e0b;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; font-family: var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }

/* Türk plakası görünümü */
.plate {
  display: inline-flex; align-items: stretch; border: 2px solid #111; border-radius: 6px;
  background: #fff; color: #111; overflow: hidden; line-height: 1; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.plate-tr { background: #1d4ed8; color: #fff; font-weight: 700; font-size: .55em; display: flex; align-items: flex-end; padding: .35em .3em; letter-spacing: .02em; }
.plate-no { font-weight: 800; padding: .18em .4em; letter-spacing: .04em; }

/* Öncelik rozetleri */
.prio { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; font-size: .78em; padding: .2em .55em; border-radius: 999px; white-space: nowrap; }
.prio::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: currentColor; }
.prio-1 { color: #fff; background: var(--p1); }
.prio-1::before { background: #fff; }
.prio-2 { color: #92400e; background: #fde68a; }
.prio-3 { color: #1e40af; background: #dbeafe; }
.prio-4 { color: #475569; background: #e2e8f0; }

.birim-tag { display: inline-block; font-size: .72em; font-weight: 600; padding: .15em .5em; border-radius: 4px; background: rgba(148,163,184,.18); white-space: nowrap; }

@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.0); } 50% { box-shadow: 0 0 0 4px rgba(239,68,68,.55); } }
