/* Current order, derived from the live assignment. No synthetic priority UI. */
.resource-panel {
  display: grid;
  gap: 8px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  font-family: var(--font);
}
.resource-panel .card-title {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  letter-spacing: -.04em;
}
.resource-order .resource-status,
.resource-order .resource-empty,
.resource-order .resource-stale-warning,
.resource-order .pause-cost {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.resource-order .resource-current {
  position: relative;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--blue-wash);
}
.resource-order .resource-current.old-order {
  border: 2px solid var(--orange);
}
.resource-order .stale-mark {
  position: absolute;
  top: -14px;
  right: 6px;
  padding: 2px 6px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  background: var(--paper);
  color: var(--warn);
  font-size: 11px;
  font-weight: 700;
}
.resource-order .slot {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.resource-order .slot:last-child { border-bottom: 0; }
.resource-order .slot-label {
  flex: 0 0 54px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.resource-order .chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 700;
}
.resource-order .chip.wood {
  background: var(--orange-soft);
  border-color: var(--warn);
}
.resource-order .chip.stop {
  background: var(--sage);
  border-color: var(--sage-strong);
}
.resource-order .chip.strike {
  color: var(--muted);
  text-decoration: line-through 2px var(--orange);
}
.resource-order .pause-cost {
  padding: 6px 8px;
  border: 1px solid var(--sage-strong);
  border-radius: 8px;
  background: var(--sage);
  color: var(--ink);
  font-weight: 700;
}
.resource-order .resource-stale-warning {
  color: var(--warn);
  font-weight: 700;
}
.resource-panel button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .resource-panel { padding: 12px; }
}
