/* Zestia OS · tablero operativo por rutas.
   Capa final, deliberadamente limitada al dashboard de Negocio. */

body.page-dashboard #ops-center {
  --route-board-surface: #fffdf8;
  --route-board-lane: #f7f3e9;
  --route-board-ink: #172033;
  --route-board-muted: #657085;
  --route-board-line: #d9d2c3;
  --route-board-shadow: 0 10px 28px rgba(52, 42, 23, 0.09);
}

/* Uppercase is presentation only: stored product names, notes and inputs stay intact. */
body.page-dashboard #ops-center,
body.page-dashboard #ops-center *,
body.page-dashboard #ops-center input,
body.page-dashboard #ops-center textarea,
body.page-dashboard #ops-center select,
body.page-dashboard #ops-center option,
body.page-dashboard #ops-center button,
body.page-dashboard #ops-center input::placeholder,
body.page-dashboard #ops-center textarea::placeholder {
  text-transform: uppercase !important;
}

body.page-dashboard #ops-center .ops-header > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

body.page-dashboard #ops-center .ops-live-total {
  color: var(--route-board-muted);
  font-size: 13px;
  font-weight: 800;
}

body.page-dashboard #ops-center .ops-actions--primary {
  align-items: center;
}

body.page-dashboard #ops-center .ops-more-actions {
  position: relative;
}

body.page-dashboard #ops-center .ops-more-actions > summary {
  min-height: 40px;
  padding: 9px 13px;
  color: var(--route-board-ink);
  background: var(--route-board-surface);
  border: 1px solid var(--route-board-line);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

body.page-dashboard #ops-center .ops-more-actions > summary::-webkit-details-marker {
  display: none;
}

body.page-dashboard #ops-center .ops-more-actions > div {
  position: absolute;
  z-index: 30;
  right: 0;
  top: calc(100% + 6px);
  display: grid;
  gap: 4px;
  width: 210px;
  padding: 7px;
  background: var(--route-board-surface);
  border: 1px solid var(--route-board-line);
  border-radius: 12px;
  box-shadow: var(--route-board-shadow);
}

body.page-dashboard #ops-center .ops-more-actions a,
body.page-dashboard #ops-center .ops-more-actions button {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  color: var(--route-board-ink);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
  text-decoration: none;
}

body.page-dashboard #ops-center .ops-more-actions a:hover,
body.page-dashboard #ops-center .ops-more-actions button:hover,
body.page-dashboard #ops-center .ops-more-actions a:focus-visible,
body.page-dashboard #ops-center .ops-more-actions button:focus-visible {
  background: #efe7d8;
}

body.page-dashboard #ops-center .ops-toolbar {
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 0 !important;
}

body.page-dashboard #ops-center .ops-filters {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  min-width: 0 !important;
}

body.page-dashboard #ops-center .ops-filters .chip,
body.page-dashboard #ops-center .ops-tools .chip {
  min-height: 38px !important;
  padding: 7px 11px !important;
  white-space: nowrap !important;
}

body.page-dashboard #ops-center .ops-search {
  width: min(220px, 100%) !important;
  min-height: 38px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__mobile-nav {
  display: none !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__mobile-route-summary {
  display: none !important;
}

body.page-dashboard #ops-center .ops-route-board-v2,
body.app-frame.page-dashboard #ops-center.is-active .ops-route-board-v2 {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: start !important;
  gap: 12px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__area,
body.page-dashboard.ops-fullscreen #ops-center .ops-route-board-v2__area {
  display: grid !important;
  grid-template-rows: auto auto !important;
  align-content: start !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 8px 8px !important;
  overflow: visible !important;
  background: var(--route-board-lane) !important;
  border: 1px solid var(--route-board-line) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__area[data-column="ENTRIES"] {
  --route-lane-accent: #d97706;
}

body.page-dashboard #ops-center .ops-route-board-v2__area[data-column="KITCHEN"] {
  --route-lane-accent: #0284c7;
}

body.page-dashboard #ops-center .ops-route-board-v2__area[data-column="ASSEMBLY"] {
  --route-lane-accent: #a16207;
}

body.page-dashboard #ops-center .ops-route-board-v2__area[data-column="PICKUP"] {
  --route-lane-accent: #059669;
}

body.page-dashboard #ops-center .ops-route-board-v2__area[data-column="ROUTES"] {
  --route-lane-accent: #7c3aed;
}

body.page-dashboard #ops-center .ops-route-board-v2__area .ops-column__head {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 8px 2px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: inset 0 -3px 0 var(--route-lane-accent) !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__area .ops-column__head > span:first-child {
  display: grid !important;
  align-content: center !important;
  min-width: 0 !important;
  color: var(--route-board-ink) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0.055em !important;
  text-transform: uppercase !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__lane-summary {
  display: block !important;
  margin-top: 2px !important;
  color: var(--route-board-muted) !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__area .ops-column__head .badge {
  display: grid !important;
  place-items: center !important;
  min-width: 30px !important;
  height: 30px !important;
  padding: 0 8px !important;
  color: #fff !important;
  background: var(--route-lane-accent) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__area .ops-column__list,
body.page-dashboard.ops-fullscreen #ops-center .ops-route-board-v2__area .ops-column__list,
body.app-frame.page-dashboard #ops-center.is-active .ops-route-board-v2__area .ops-column__list {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-content: start !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  padding: 8px 0 0 !important;
  overflow: visible !important;
  overscroll-behavior: auto !important;
  scrollbar-gutter: auto !important;
  scrollbar-width: none !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__area .ops-column__list::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__order,
body.page-dashboard #ops-center .ops-route-board-v2__route {
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 8px !important;
  color: var(--route-board-ink) !important;
  background: var(--route-board-surface) !important;
  border: 1px solid color-mix(in srgb, var(--route-lane-accent, var(--route-color, #2563eb)) 42%, #d9d2c3) !important;
  border-left: 6px solid var(--route-lane-accent, var(--route-color, #2563eb)) !important;
  border-radius: 12px !important;
  box-shadow: var(--route-board-shadow) !important;
  overflow: hidden !important;
}

body.app-frame.page-dashboard #ops-center .ops-route-board-v2__order,
body.app-frame.page-dashboard.ops-compact #ops-center .ops-route-board-v2__order,
body.page-dashboard #ops-center .ops-route-board-v2__order {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  /* Reset legacy reserved rows: only actual content should consume height. */
  grid-template-rows: none !important;
  grid-template-areas: none !important;
  gap: 6px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__order::before,
body.page-dashboard #ops-center .ops-route-board-v2__order::after {
  display: none !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__order-head {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 4px !important;
  min-width: 0 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__number {
  grid-row: 1 / 3 !important;
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  padding: 2px !important;
  color: var(--turn-color-text, #fff) !important;
  background: var(--turn-color, #111827) !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 12px !important;
  box-shadow: 0 0 0 3px var(--turn-color, #111827), 0 5px 12px color-mix(in srgb, var(--turn-color, #111827) 25%, transparent) !important;
  font: 900 clamp(16px, 1.5vw, 22px) / 1 "JetBrains Mono", monospace !important;
  letter-spacing: -0.07em !important;
  text-decoration: none !important;
  overflow: hidden !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__identity {
  grid-column: 2 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 3px !important;
  min-width: 0 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__identity strong {
  color: var(--route-lane-accent) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.05em !important;
}

/* Fulfillment is recognizable in every stage, independent of turn/station colors. */
body.page-dashboard #ops-center .ops-route-board-v2__order[data-fulfillment="DELIVERY"] {
  --fulfillment-ink: #1e40af;
  --fulfillment-fill: #dbeafe;
  --fulfillment-edge: #2563eb;
}

body.page-dashboard #ops-center .ops-route-board-v2__order[data-fulfillment="PICKUP"] {
  --fulfillment-ink: #166534;
  --fulfillment-fill: #dcfce7;
  --fulfillment-edge: #16a34a;
}

body.page-dashboard #ops-center .ops-route-board-v2__order[data-fulfillment],
body.app-frame.page-dashboard #ops-center.is-active .ops-route-board-v2__order[data-fulfillment] {
  border-left: 4px solid var(--fulfillment-edge, var(--route-lane-accent)) !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__order[data-fulfillment] .ops-route-board-v2__identity > strong {
  width: fit-content !important;
  padding: 3px 6px !important;
  border-radius: 6px !important;
  color: var(--fulfillment-ink, var(--route-board-ink)) !important;
  background: var(--fulfillment-fill, var(--route-board-lane)) !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__identity span {
  display: block !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 3px 6px !important;
  color: var(--route-board-ink) !important;
  background: color-mix(in srgb, var(--route-lane-accent) 11%, var(--route-board-surface)) !important;
  border: 1px solid color-mix(in srgb, var(--route-lane-accent) 28%, var(--route-board-line)) !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1.05 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__target {
  grid-column: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1px !important;
  min-width: 64px !important;
  padding: 5px 6px !important;
  background: #f5f0e5 !important;
  border-radius: 8px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__target span {
  color: var(--route-board-muted) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__target strong {
  color: var(--route-board-ink) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__items {
  display: grid !important;
  gap: 4px !important;
  min-width: 0 !important;
  padding: 4px 6px !important;
  background: #f5f0e5 !important;
  border-radius: 9px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 3px !important;
  min-width: 0 !important;
  color: var(--route-board-ink) !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__item strong {
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__item-changes {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 2px 8px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--route-board-ink) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__item-changes li {
  display: block !important;
  margin: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__item-changes li::before {
  content: "• ";
}

body.page-dashboard #ops-center .ops-route-board-v2__item-allergy {
  display: block !important;
  padding: 3px 5px !important;
  color: #991b1b !important;
  background: #fee2e2 !important;
  border: 1px solid #fca5a5 !important;
  border-radius: 5px !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  overflow: visible !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__signals {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  min-width: 0 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__signals:empty {
  display: none !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__signal {
  display: block !important;
  max-width: 100% !important;
  padding: 4px 7px !important;
  border-radius: 7px !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__signal--group,
body.page-dashboard #ops-center .ops-route-board-v2__signal--route {
  color: #5b21b6 !important;
  background: #ede9fe !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__signal--urgent {
  width: 100% !important;
  color: #9a3412 !important;
  background: #ffedd5 !important;
  border: 1px solid #fdba74 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__signal--allergen {
  width: 100% !important;
  color: #991b1b !important;
  background: #fee2e2 !important;
  border: 1px solid #fca5a5 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__signal--exception {
  width: 100% !important;
  color: #92400e !important;
  background: #fef3c7 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__signal--eta-auto,
body.page-dashboard #ops-center .ops-route-board-v2__signal--eta-review {
  width: 100% !important;
  overflow: visible !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  border: 1px solid #fcd34d !important;
  color: #78350f !important;
  background: #fef3c7 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__signal--eta-review {
  border-color: #fca5a5 !important;
  color: #991b1b !important;
  background: #fee2e2 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__action,
body.page-dashboard #ops-center .ops-route-board-v2__route-action {
  min-width: 0 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__action > form,
body.page-dashboard #ops-center .ops-route-board-v2__action > a,
body.page-dashboard #ops-center .ops-route-board-v2__route-action > form,
body.page-dashboard #ops-center .ops-route-board-v2__route-action > a {
  width: 100% !important;
  margin: 0 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__action button,
body.page-dashboard #ops-center .ops-route-board-v2__action .button,
body.page-dashboard #ops-center .ops-route-board-v2__route-action button,
body.page-dashboard #ops-center .ops-route-board-v2__route-action .button {
  display: grid !important;
  place-items: center !important;
  min-height: 44px !important;
  width: 100% !important;
  padding: 8px 10px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-align: center !important;
  white-space: normal !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__payment {
  display: grid !important;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) !important;
  gap: 6px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__payment-total {
  grid-column: 1 / -1 !important;
  color: var(--route-board-ink) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-align: left !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__payment label,
body.page-dashboard #ops-center .ops-route-board-v2__payment select {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__subhead {
  padding: 6px 8px !important;
  color: #5b21b6 !important;
  background: #ede9fe !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.035em !important;
  text-transform: uppercase !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__subhead--warning {
  color: #92400e !important;
  background: #fef3c7 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route {
  --route-lane-accent: var(--route-color, #7c3aed);
  display: grid !important;
  gap: 8px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-head {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-letter {
  grid-row: span 2 !important;
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  color: #fff !important;
  background: var(--route-color, #7c3aed) !important;
  border-radius: 12px !important;
  font: 900 22px/1 "JetBrains Mono", monospace !important;
  overflow: hidden !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-head > div {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-head > div strong,
body.page-dashboard #ops-center .ops-route-board-v2__route-head > div span {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-head > div strong {
  font-size: 13px !important;
  font-weight: 900 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-head > div span {
  color: var(--route-board-muted) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-head > b {
  grid-column: 2 !important;
  justify-self: start !important;
  color: #5b21b6 !important;
  background: #ede9fe !important;
  border-radius: 999px !important;
  padding: 5px 7px !important;
  font-size: 11px !important;
  white-space: nowrap !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-timing {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-timing > span {
  display: grid !important;
  gap: 1px !important;
  min-width: 0 !important;
  padding: 6px 7px !important;
  background: #f5f0e5 !important;
  border-radius: 8px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-timing small {
  color: var(--route-board-muted) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-timing strong {
  font-size: 12px !important;
  font-weight: 900 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-meta {
  display: grid !important;
  gap: 3px !important;
  min-width: 0 !important;
  color: var(--route-board-muted) !important;
  font-size: 11px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-meta span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-meta b {
  color: var(--route-board-ink) !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-orders {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-order {
  display: inline-grid !important;
  grid-template-columns: auto auto !important;
  align-items: center !important;
  gap: 4px !important;
  min-height: 27px !important;
  padding: 3px 6px !important;
  color: #4c1d95 !important;
  background: #f3e8ff !important;
  border: 1px solid #d8b4fe !important;
  border-radius: 7px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-order a {
  color: inherit !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-order small {
  color: #6d28d9 !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__route-order-more {
  display: grid !important;
  place-items: center !important;
  min-width: 30px !important;
  min-height: 27px !important;
  padding: 3px 6px !important;
  color: #4c1d95 !important;
  background: #f3e8ff !important;
  border: 1px solid #d8b4fe !important;
  border-radius: 7px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__lane-more {
  min-width: 0 !important;
  margin: 0 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__lane-more > summary {
  display: grid !important;
  place-items: center !important;
  min-height: 44px !important;
  padding: 7px 10px !important;
  color: var(--route-lane-accent, #475569) !important;
  background: color-mix(in srgb, var(--route-lane-accent, #475569) 8%, var(--route-board-surface)) !important;
  border: 1px dashed color-mix(in srgb, var(--route-lane-accent, #475569) 45%, var(--route-board-line)) !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  list-style: none !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__lane-more > summary::-webkit-details-marker {
  display: none !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__lane-more > summary:focus-visible {
  outline: 3px solid #2563eb !important;
  outline-offset: 2px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__more-open {
  display: none !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__lane-more[open] .ops-route-board-v2__more-closed {
  display: none !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__lane-more[open] .ops-route-board-v2__more-open {
  display: inline !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__lane-overflow {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
  min-width: 0 !important;
  padding-top: 8px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__lane-more:not([open]) > .ops-route-board-v2__lane-overflow {
  display: none !important;
}

body.page-dashboard #ops-center [data-route-full-assignment] {
  display: grid !important;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) !important;
  gap: 6px !important;
}

body.page-dashboard #ops-center [data-route-full-assignment] label,
body.page-dashboard #ops-center [data-route-full-assignment] select {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2 a:focus-visible,
body.page-dashboard #ops-center .ops-route-board-v2 button:focus-visible,
body.page-dashboard #ops-center .ops-route-board-v2 select:focus-visible {
  outline: 3px solid #2563eb !important;
  outline-offset: 2px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2 .ops-empty {
  display: block;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 16px 10px !important;
  color: var(--route-board-muted) !important;
  background: rgba(255, 253, 248, 0.64) !important;
  border: 1px dashed var(--route-board-line) !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  text-align: center !important;
}

body.page-dashboard.ops-compact #ops-center .ops-route-board-v2__order,
body.page-dashboard.ops-compact #ops-center .ops-route-board-v2__route {
  gap: 6px !important;
  padding: 8px !important;
}

/* ETA and incidents stay beside the order, collapsed until needed. */
body.page-dashboard #ops-center .ops-route-board-v2__action {
  display: grid !important;
  gap: 6px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__action form,
body.page-dashboard #ops-center .ops-route-board-v2__adjust,
body.page-dashboard #ops-center .ops-route-board-v2__adjust label,
body.page-dashboard #ops-center .ops-route-board-v2__eta {
  display: grid !important;
  gap: 6px !important;
  width: 100% !important;
  min-width: 0 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__eta span,
body.page-dashboard #ops-center .ops-route-board-v2__adjust label > span {
  color: var(--route-board-muted) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__eta-quick {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 4px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__eta-quick button {
  min-height: 44px !important;
  padding: 6px 2px !important;
  color: #075985 !important;
  background: #e0f2fe !important;
  border: 1px solid #7dd3fc !important;
  font-size: 11px !important;
  white-space: nowrap !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__eta-quick button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.page-dashboard #ops-center .ops-route-board-v2__action input:not([type="hidden"]),
body.page-dashboard #ops-center .ops-route-board-v2__adjust select {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 7px !important;
  color: var(--route-board-ink) !important;
  background: var(--route-board-surface) !important;
  border: 1px solid var(--route-board-line) !important;
  border-radius: 8px !important;
  font: inherit !important;
  font-size: 12px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__adjust > summary {
  min-height: 44px !important;
  padding: 12px 8px !important;
  color: var(--route-board-ink) !important;
  background: #f5f0e5 !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  cursor: pointer;
}

body.page-dashboard #ops-center .ops-route-board-v2__adjust:not([open]) > form {
  display: none !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__action button.ops-route-board-v2__cancel {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  box-sizing: border-box !important;
  color: #fff !important;
  background: #b91c1c !important;
  border: 1px solid #b91c1c !important;
  min-height: 44px !important;
}

/* Icon decisions share one row; the optional ETA spans the full card. */
body.page-dashboard #ops-center .ops-route-board-v2__action--entry {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__action--entry > .ops-route-board-v2__accept-form {
  display: contents !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__action--entry .ops-route-board-v2__accept {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__action--entry > .ops-route-board-v2__cancel {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__action button.ops-route-board-v2__accept,
body.page-dashboard #ops-center .ops-route-board-v2__action button.ops-route-board-v2__cancel {
  padding: 8px 5px !important;
  font-size: 24px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__action--entry .ops-route-board-v2__accept-adjustment {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__accept-adjustment > summary {
  min-height: 44px !important;
  padding: 10px 4px !important;
  box-sizing: border-box !important;
  color: var(--route-board-muted) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  cursor: pointer;
}

body.page-dashboard #ops-center .ops-route-board-v2__accept-adjustment > summary:focus-visible {
  outline: 3px solid #2563eb !important;
  outline-offset: 2px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__action button.ops-route-board-v2__accept {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  min-height: 44px !important;
  color: #fff !important;
  background: #15803d !important;
  border: 1px solid #15803d !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__action button.ops-route-board-v2__cancel-confirm {
  color: #fff !important;
  background: #b91c1c !important;
  border: 1px solid #b91c1c !important;
}

/* Native modal supplies focus trapping, Escape and an explicit confirmation. */
body.page-dashboard #ops-center .ops-route-board-v2__cancel-dialog {
  box-sizing: border-box;
  width: min(440px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  margin: auto;
  padding: 20px;
  color: var(--route-board-ink);
  background: var(--route-board-surface, #fff);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .3);
}

body.page-dashboard #ops-center .ops-route-board-v2__cancel-dialog:not([open]) {
  display: none !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__cancel-dialog::backdrop {
  background: rgba(15, 23, 42, .58);
}

body.page-dashboard #ops-center .ops-route-board-v2__cancel-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

body.page-dashboard #ops-center .ops-route-board-v2__cancel-heading h2 {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: var(--route-board-ink);
  font-size: 20px;
  line-height: 1.2;
}

body.page-dashboard #ops-center .ops-route-board-v2__cancel-dialog [data-order-cancel-close] {
  color: var(--route-board-ink) !important;
  background: #f5f0e5 !important;
  border: 1px solid var(--route-board-line) !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__cancel-heading [data-order-cancel-close] {
  flex: 0 0 44px;
  width: 44px !important;
  padding: 8px !important;
  font-size: 20px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__cancel-dialog form {
  gap: 12px !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__cancel-dialog label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
}

body.page-dashboard #ops-center .ops-route-board-v2__cancel-dialog select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  font: inherit;
}

body.page-dashboard #ops-center .ops-route-board-v2__cancel-dialog small {
  color: var(--route-board-muted);
  font-size: 12px;
}

body.page-dashboard #ops-center .ops-route-board-v2__adjust small {
  color: var(--route-board-muted) !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__action button.ops-route-board-v2__discard {
  color: var(--route-board-muted) !important;
  background: #f5f0e5 !important;
  border: 1px solid var(--route-board-line) !important;
}

body.page-dashboard #ops-center .ops-route-board-v2__action form:not([data-live-dirty="1"]) > button[type="reset"] {
  display: none !important;
}

/* Focus one phase when the complete orders need more horizontal room. */
body.page-dashboard #ops-center .ops-route-board-v2__area .ops-column__head > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

body.page-dashboard #ops-center .ops-route-board-v2__lane-focus {
  flex: 0 0 44px;
  width: 44px !important;
  min-height: 44px !important;
  padding: 4px !important;
  color: var(--route-board-ink) !important;
  background: transparent !important;
  border: 1px solid var(--route-board-line) !important;
  border-radius: 8px !important;
  font-size: 22px !important;
}

@media (min-width: 1101px) {
  body.page-dashboard #ops-center .ops-route-board-v2,
  body.app-frame.page-dashboard #ops-center.is-active .ops-route-board-v2 {
    display: flex !important;
    align-items: flex-start !important;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__area {
    flex: 1 1 0 !important;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__area.is-empty {
    flex: 0 0 clamp(108px, 7.5vw, 140px) !important;
  }

  body.page-dashboard #ops-center .ops-route-board-v2.is-all-empty .ops-route-board-v2__area.is-empty {
    flex: 1 1 0 !important;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__area.is-empty .ops-column__head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 5px !important;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__area.is-empty .ops-column__head > span:first-child {
    font-size: 10px !important;
    letter-spacing: 0.025em !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere !important;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__area.is-empty .ops-column__head .badge {
    min-width: 26px !important;
    height: 26px !important;
    padding: 0 6px !important;
    font-size: 11px !important;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__area.is-empty .ops-route-board-v2__lane-summary {
    display: none !important;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__area.is-empty .ops-column__list {
    padding-top: 6px !important;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__area.is-empty .ops-empty {
    min-height: 0 !important;
    padding: 10px 5px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 1100px) {
  body.page-dashboard #ops-center .ops-route-board-v2,
  body.app-frame.page-dashboard #ops-center.is-active .ops-route-board-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  body.page-dashboard #ops-center .ops-route-board-v2__mobile-nav {
    position: sticky;
    z-index: 24;
    top: 8px;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    margin: 0 0 8px;
    padding: 5px 1px;
    background: rgba(247, 243, 233, 0.96);
    border: 1px solid var(--route-board-line);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(52, 42, 23, 0.12);
    backdrop-filter: blur(10px);
  }

  body.page-dashboard #ops-center .ops-route-board-v2__mobile-nav button {
    --route-tab-accent: #64748b;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 54px;
    margin: 0;
    padding: 5px 0;
    color: var(--route-board-muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    cursor: pointer;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__mobile-nav button[data-route-board-tab="ENTRIES"] {
    --route-tab-accent: #d97706;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__mobile-nav button[data-route-board-tab="KITCHEN"] {
    --route-tab-accent: #0284c7;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__mobile-nav button[data-route-board-tab="ASSEMBLY"] {
    --route-tab-accent: #a16207;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__mobile-nav button[data-route-board-tab="PICKUP"] {
    --route-tab-accent: #059669;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__mobile-nav button[data-route-board-tab="ROUTES"] {
    --route-tab-accent: #7c3aed;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__mobile-nav button > span {
    max-width: 100%;
    overflow: hidden;
    font-size: 9.5px;
    font-weight: 850;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__mobile-nav button > b {
    display: grid;
    place-items: center;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    color: var(--route-tab-accent);
    background: var(--route-board-surface);
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__mobile-nav button[aria-selected="true"] {
    color: #fff;
    background: var(--route-tab-accent);
    border-color: var(--route-tab-accent);
    box-shadow: 0 5px 12px color-mix(in srgb, var(--route-tab-accent) 28%, transparent);
  }

  body.page-dashboard #ops-center .ops-route-board-v2__mobile-nav button[aria-selected="true"] > b {
    color: var(--route-tab-accent);
    border-color: #fff;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__mobile-route-summary {
    display: block !important;
    margin: 0;
    padding: 2px 6px 7px;
    color: #5b21b6;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__mobile-nav button:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--route-tab-accent) 35%, #fff);
    outline-offset: 2px;
  }

  body.page-dashboard #ops-center .ops-route-board-v2,
  body.app-frame.page-dashboard #ops-center.is-active .ops-route-board-v2 {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__area:not(.is-mobile-active) {
    display: none !important;
  }

  body.page-dashboard #ops-center .ops-route-board-v2__area.is-mobile-active {
    display: grid !important;
  }

  body.page-dashboard #ops-center .ops-toolbar,
  body.page-dashboard #ops-center .ops-tools {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }

  body.page-dashboard #ops-center .ops-search {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-dashboard #ops-center .ops-route-board-v2 *,
  body.page-dashboard #ops-center .ops-route-board-v2 *::before,
  body.page-dashboard #ops-center .ops-route-board-v2 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__mobile-nav {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 4px;
  margin-bottom: 8px;
  padding: 4px;
  background: var(--route-board-surface);
  border: 1px solid var(--route-board-line);
  border-radius: 12px;
}

body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__mobile-nav button {
  --route-tab-accent: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  padding: 6px;
  color: var(--route-board-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__mobile-nav button[data-route-board-tab="ENTRIES"] { --route-tab-accent: #d97706; }
body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__mobile-nav button[data-route-board-tab="KITCHEN"] { --route-tab-accent: #0284c7; }
body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__mobile-nav button[data-route-board-tab="ASSEMBLY"] { --route-tab-accent: #a16207; }
body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__mobile-nav button[data-route-board-tab="PICKUP"] { --route-tab-accent: #059669; }
body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__mobile-nav button[data-route-board-tab="ROUTES"] { --route-tab-accent: #7c3aed; }

body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__mobile-nav button > span { font-size: 12px; }

body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__mobile-nav button > b {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 5px;
  color: var(--route-tab-accent);
  background: var(--route-board-surface);
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
}

body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__mobile-nav button[aria-selected="true"] {
  color: #fff;
  background: var(--route-tab-accent);
}

body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__mobile-nav button:focus-visible {
  outline: 3px solid var(--route-tab-accent);
  outline-offset: 2px;
}

body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2,
body.app-frame.page-dashboard #ops-center.is-active.is-lane-focused .ops-route-board-v2 {
  display: block !important;
}

body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__area:not(.is-lane-focus-target),
body.app-frame.page-dashboard #ops-center.is-active.is-lane-focused .ops-route-board-v2__area:not(.is-lane-focus-target) {
  display: none !important;
}

body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__area.is-lane-focus-target {
  display: grid !important;
  width: 100% !important;
}

body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__area .ops-column__list,
body.app-frame.page-dashboard #ops-center.is-active.is-lane-focused .ops-route-board-v2__area .ops-column__list,
body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__lane-overflow {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: start !important;
}

/* Local attention marks semantic updates, not ticking clocks. Only the border
   pulses (three slow cycles); product text stays still and fully readable. */
body.page-dashboard #ops-center [data-order-update-kind] {
  --order-update-color: #b45309;
  --order-update-bg: #fffbeb;
}
body.page-dashboard #ops-center [data-order-update-kind="ALERT"] {
  --order-update-color: #b91c1c;
  --order-update-bg: #fef2f2;
}
body.page-dashboard #ops-center [data-order-update-kind="READY"] {
  --order-update-color: #15803d;
  --order-update-bg: #f0fdf4;
}
body.page-dashboard #ops-center [data-order-update-kind="NEW"] {
  --order-update-color: #0369a1;
  --order-update-bg: #f0f9ff;
}
body.page-dashboard #ops-center [data-route-board-v2] article[data-order-update-kind].is-order-updated {
  border-top-color: var(--order-update-color) !important;
  border-right-color: var(--order-update-color) !important;
  border-bottom-color: var(--order-update-color) !important;
  box-shadow: inset 0 0 0 1px var(--order-update-color) !important;
}
body.page-dashboard #ops-center [data-route-board-v2] article[data-order-update-kind] [data-order-update-badge] {
  display: inline-flex !important;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 1px 5px !important;
  color: var(--order-update-color) !important;
  background: var(--order-update-bg) !important;
  border-radius: 4px;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1.4;
  text-transform: uppercase;
}
body.page-dashboard #ops-center .ops-column__head.is-lane-updated,
body.page-dashboard #ops-center button[data-route-board-tab].is-lane-updated {
  box-shadow: inset 0 -3px 0 #b45309 !important;
}
@keyframes order-update-pulse {
  0%, 100% { outline-color: transparent; }
  45%, 65% { outline-color: var(--order-update-color); }
}
@media (prefers-reduced-motion: no-preference) {
  body.page-dashboard #ops-center [data-order-update-flash="1"] {
    outline: 3px solid transparent;
    outline-offset: -3px;
    animation: order-update-pulse 2s ease-in-out 3;
    animation-delay: var(--order-update-flash-delay, 0ms);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-dashboard #ops-center [data-order-update-flash] { animation: none !important; }
}

body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__lane-more {
  grid-column: 1 / -1 !important;
}

@media (max-width: 1100px) {
  body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__area .ops-column__list,
  body.app-frame.page-dashboard #ops-center.is-active.is-lane-focused .ops-route-board-v2__area .ops-column__list,
  body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__lane-overflow {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__mobile-nav button {
    display: grid;
    gap: 3px;
    padding: 5px 0;
  }
  body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__mobile-nav button > span { font-size: 9.5px; }
  body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__area .ops-column__list,
  body.app-frame.page-dashboard #ops-center.is-active.is-lane-focused .ops-route-board-v2__area .ops-column__list,
  body.page-dashboard #ops-center.is-lane-focused .ops-route-board-v2__lane-overflow {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
