/* WMS Overview — micro visual anchors (+10–15% life; no hero / no charts) */

/* 1 — Today activity operation glyphs */
.wms-status-board__grid--hub-ops .wms-status-card--hub-ops .wms-status-card__label,
.wms-status-card--hub-ops .wms-status-card__label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wms-ov-op-icon {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0d5c63;
}
.wms-status-card--severity-warn .wms-ov-op-icon { color: #c2410c; }
.wms-status-card--severity-blocked .wms-ov-op-icon { color: #b91c1c; }
.wms-ov-op-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* 2 — Rack micro heat strip */
.wms-ov-rack-mini__heat {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.wms-ov-rack-heat-row {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}
.wms-ov-rack-heat-row__zone {
  flex: 0 0 0.85rem;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}
.wms-ov-rack-heat-row__bar {
  flex: 1 1 auto;
  height: 12px;
  border-radius: 3px;
  background: rgba(226, 232, 240, 0.9);
  overflow: hidden;
  display: flex;
}
.wms-ov-rack-heat-row__fill {
  height: 100%;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(90deg, rgba(13, 92, 99, 0.55), rgba(34, 211, 238, 0.45));
  min-width: 0;
  transition: width 0.2s ease;
}
.wms-ov-rack-heat-row__fill--hot {
  background: linear-gradient(90deg, rgba(180, 83, 9, 0.65), rgba(251, 191, 36, 0.5));
}
.wms-ov-rack-heat-row__fill--dim {
  width: 0 !important;
}
.wms-ov-rack-mini__viz--legacy {
  display: none;
}
.wms-ov-rack-mini--heat .wms-ov-rack-mini__viz--legacy {
  display: none !important;
}

/* 3 — Activity timeline accent */
.wms-ov-activity__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wms-ov-activity__item {
  display: grid;
  grid-template-columns: 3px 16px 1fr auto;
  gap: 6px 8px;
  align-items: start;
  padding: 6px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}
.wms-ov-activity__item:last-child {
  border-bottom: 0;
}
.wms-ov-activity__rail {
  width: 3px;
  align-self: stretch;
  border-radius: 2px;
  min-height: 28px;
  background: #0d5c63;
}
.wms-ov-activity__item--receive .wms-ov-activity__rail { background: #0369a1; }
.wms-ov-activity__item--putaway .wms-ov-activity__rail { background: #0d5c63; }
.wms-ov-activity__item--factory .wms-ov-activity__rail { background: #7c3aed; }
.wms-ov-activity__item--pallet .wms-ov-activity__rail { background: #b45309; }
.wms-ov-activity__item--dispatch .wms-ov-activity__rail { background: #15803d; }
.wms-ov-activity__icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: #334155;
}
.wms-ov-activity__icon svg {
  width: 16px;
  height: 16px;
  display: block;
}
.wms-ov-activity__body {
  min-width: 0;
}
.wms-ov-activity__op {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  line-height: 1.2;
}
.wms-ov-activity__ref {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
  word-break: break-word;
}
.wms-ov-activity__time {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding-top: 2px;
}

/* 4 — Trace search subtle context (no hero) */
.wms-ov-trace-band {
  position: relative;
  overflow: hidden;
}
.wms-ov-trace-band::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  max-width: 220px;
  pointer-events: none;
  opacity: 0.07;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Crect x='8' y='42' width='28' height='22' rx='2' fill='none' stroke='%230d5c63' stroke-width='1.5'/%3E%3Cpath d='M48 18h44v48H48z' fill='none' stroke='%230d5c63' stroke-width='1.2'/%3E%3Cpath d='M52 22h8v40M64 22h8v40M76 22h8v40' stroke='%230d5c63' stroke-width='1'/%3E%3Cpath d='M12 28h18M12 34h14' stroke='%230d5c63' stroke-width='1.2'/%3E%3C/svg%3E")
    no-repeat 100% 50% / contain;
}
.wms-ov-trace-band .p-6,
.wms-ov-trace-band__head {
  position: relative;
  z-index: 1;
}

/* 5 — Desk tools snap glyphs */
.wms-hub-snap-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px !important;
  flex-shrink: 0;
}
.wms-ov-snap-glyph {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #0d5c63;
}
.wms-ov-snap-glyph svg {
  width: 18px;
  height: 18px;
  display: block;
}
.wms-hub-snap-card--racks .wms-ov-snap-glyph { color: #0369a1; }
