:root {
  --otr-navy: #0d3e61;
  --otr-navy-900: #082c46;
  --otr-green: #72a73f;
  --otr-green-700: #537f2a;
  --otr-blue: #1775b1;
  --otr-sky: #a2d8ec;
  --otr-bg: #f4f8fb;
  --otr-surface: #ffffff;
  --otr-surface-2: #f8fbfd;
  --otr-border: #d8e6ee;
  --otr-text: #102a3a;
  --otr-muted: #617586;
  --otr-warning: #f2b84b;
  --otr-danger: #d64545;
  --otr-success-bg: #e9f6df;
  --otr-shadow: 0 18px 44px rgba(13, 62, 97, 0.1);
  --otr-shadow-deep: 0 28px 70px rgba(13, 62, 97, 0.18);
  --otr-sidebar-width: 280px;
  --otr-sidebar-collapsed-width: 88px;
}

/* Operational command center */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.otr-monitor-command-bar {
  display: grid;
  grid-template-columns: minmax(320px, 1.45fr) repeat(3, minmax(150px, 0.55fr));
  gap: 1px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-border);
  box-shadow: 0 12px 28px rgba(13, 62, 97, 0.07);
}

.otr-command-health,
.otr-command-metric {
  min-width: 0;
  min-height: 104px;
  padding: 16px 18px;
  background: #fff;
}

.otr-command-health {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-left: 5px solid var(--otr-green);
}

.otr-command-health h2,
.otr-command-health p {
  margin: 0;
}

.otr-command-health h2 {
  color: var(--otr-navy);
  font-size: 21px;
  font-weight: 900;
}

.otr-command-health p {
  margin-top: 5px;
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
}

.otr-command-health p strong {
  color: var(--otr-navy);
}

.otr-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  color: var(--otr-green-700);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-live-indicator i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--otr-green);
  box-shadow: 0 0 0 5px rgba(114, 167, 63, 0.13);
}

.otr-command-metric {
  display: grid;
  align-content: center;
  gap: 4px;
}

.otr-command-metric.is-attention {
  box-shadow: inset 0 4px 0 #e4a11b;
  background: #fffcf5;
}

.otr-command-metric span,
.otr-command-metric small {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 850;
}

.otr-command-metric strong {
  color: var(--otr-navy);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.otr-command-center {
  display: grid;
  grid-template-columns: 300px minmax(520px, 1fr) 390px;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 16px;
}

.otr-command-center > * {
  min-width: 0;
}

.otr-route-rail,
.otr-command-center .otr-monitor-map-panel,
.otr-command-center .otr-ops-detail-panel {
  height: 760px;
  margin: 0;
}

.otr-route-rail {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 11px;
  padding: 16px;
  overflow: hidden;
}

.otr-route-rail-header,
.otr-route-timeline-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.otr-route-rail-header h2,
.otr-route-timeline-heading strong {
  display: block;
  margin: 2px 0 0;
  color: var(--otr-navy);
  font-size: 18px;
  font-weight: 900;
}

.otr-route-search input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--otr-border);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--otr-navy);
  background: var(--otr-surface-2);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
}

.otr-route-search input:focus {
  outline: 3px solid rgba(23, 117, 177, 0.16);
  border-color: var(--otr-blue);
  background: #fff;
}

.otr-route-filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  padding: 3px;
  border-radius: 6px;
  background: #edf4f8;
}

.otr-route-filter-bar button {
  min-width: 0;
  min-height: 34px;
  border: 0;
  border-radius: 4px;
  padding: 0 5px;
  color: var(--otr-muted);
  background: transparent;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.otr-route-filter-bar button:hover,
.otr-route-filter-bar button.is-active {
  color: var(--otr-navy);
  background: #fff;
  box-shadow: 0 3px 10px rgba(13, 62, 97, 0.1);
}

.otr-route-rail-list {
  display: grid;
  align-content: start;
  gap: 7px;
  overflow: auto;
  scrollbar-width: thin;
}

.otr-route-rail-item {
  position: relative;
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  min-height: 106px;
  border: 1px solid var(--otr-border);
  border-radius: 7px;
  padding: 11px 10px 10px 8px;
  color: var(--otr-navy);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.otr-route-rail-item:hover {
  border-color: rgba(23, 117, 177, 0.4);
  background: #f8fcff;
}

.otr-route-rail-item.is-selected {
  border-color: var(--otr-blue);
  background: #f3faff;
  box-shadow: 0 0 0 3px rgba(23, 117, 177, 0.11);
}

.otr-route-rail-item > i {
  width: 4px;
  height: 100%;
  border-radius: 3px;
  background: #8ea1ad;
}

.otr-route-rail-item.is-live > i { background: var(--otr-green); }
.otr-route-rail-item.is-attention > i { background: #e4a11b; }
.otr-route-rail-item.is-complete > i { background: var(--otr-blue); }
.otr-route-rail-item.is-cancelled > i { background: #d64545; }

.otr-route-rail-copy {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
}

.otr-route-rail-copy > span:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.otr-route-rail-copy strong,
.otr-route-rail-copy small,
.otr-route-rail-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.otr-route-rail-copy strong {
  font-size: 12px;
  font-weight: 900;
}

.otr-route-rail-copy small,
.otr-route-rail-copy em {
  color: var(--otr-muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

.otr-route-rail-copy em {
  flex: 0 1 auto;
  color: var(--otr-blue);
  text-align: right;
}

.otr-route-rail-progress {
  height: 4px;
  margin-top: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: #dfebf1;
}

.otr-route-rail-progress b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--otr-green);
}

.otr-route-rail-percentage {
  align-self: end;
  color: var(--otr-muted);
  font-size: 10px;
  font-weight: 900;
}

.otr-route-rail-no-results {
  margin: 0;
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.otr-command-center .otr-monitor-map-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px;
  overflow: hidden;
}

.otr-command-center .otr-monitor-azure-map,
.otr-command-center .otr-monitor-map-canvas {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 6px;
}

.otr-command-center .otr-ops-detail-panel {
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.otr-command-center .otr-ops-detail-body {
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.otr-ops-detail-panel.is-loading .otr-ops-detail-body {
  filter: grayscale(0.25);
}

.otr-ops-mini-grid.is-command-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.otr-ops-signal-list em.otr-gps-state {
  color: var(--otr-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.otr-ops-signal-list em.otr-gps-state.is-live { color: var(--otr-green-700); }
.otr-ops-signal-list em.otr-gps-state.is-delayed { color: #9b6500; }
.otr-ops-signal-list em.otr-gps-state.is-stale { color: #b63d3d; }

.otr-route-timeline-section {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.otr-route-timeline-heading span,
.otr-route-timeline-heading small {
  color: var(--otr-muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-route-timeline-heading strong {
  font-size: 15px;
}

.otr-route-timeline {
  display: grid;
}

.otr-route-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  min-height: 92px;
  padding-bottom: 12px;
}

.otr-route-timeline article:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 31px;
  bottom: -1px;
  left: 16px;
  width: 2px;
  background: #dce8ee;
}

.otr-route-timeline-marker {
  position: relative;
  z-index: 1;
}

.otr-route-timeline-marker b {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #8ea1ad;
  box-shadow: 0 0 0 1px #cddde5;
  font-size: 11px;
  font-weight: 900;
}

.otr-route-timeline article.is-closed .otr-route-timeline-marker b { background: var(--otr-green); }
.otr-route-timeline article.is-current .otr-route-timeline-marker b { background: var(--otr-blue); box-shadow: 0 0 0 4px rgba(23, 117, 177, 0.15); }
.otr-route-timeline article.is-exception .otr-route-timeline-marker b { background: #d64545; }

.otr-route-timeline-copy {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--otr-border);
  border-radius: 7px;
  background: var(--otr-surface-2);
}

.otr-route-timeline article.is-current .otr-route-timeline-copy {
  border-color: rgba(23, 117, 177, 0.38);
  background: #f3faff;
}

.otr-route-timeline article.is-exception .otr-route-timeline-copy {
  border-color: rgba(214, 69, 69, 0.28);
  background: #fff8f8;
}

.otr-route-timeline-copy > span:first-child {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.otr-route-timeline-copy strong,
.otr-route-timeline-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.otr-route-timeline-copy strong {
  color: var(--otr-navy);
  font-size: 12px;
  font-weight: 900;
}

.otr-route-timeline-copy small,
.otr-route-timeline-copy em,
.otr-route-timeline-meta {
  color: var(--otr-muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

.otr-route-timeline-copy em {
  flex: 0 0 auto;
  color: var(--otr-blue);
  font-weight: 900;
}

.otr-route-timeline-meta {
  display: block;
  margin-top: 6px;
  color: var(--otr-green-700);
}

.otr-secondary-operations {
  margin-top: 16px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: #fff;
}

.otr-secondary-operations > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 66px;
  padding: 12px 18px;
  color: var(--otr-navy);
  cursor: pointer;
  list-style: none;
}

.otr-secondary-operations > summary::-webkit-details-marker { display: none; }
.otr-secondary-operations > summary strong,
.otr-secondary-operations > summary small { display: block; }
.otr-secondary-operations > summary strong { font-size: 14px; font-weight: 900; }
.otr-secondary-operations > summary small { margin-top: 3px; color: var(--otr-muted); font-size: 11px; font-weight: 750; }
.otr-secondary-operations > summary b { font-size: 22px; transition: transform 160ms ease; }
.otr-secondary-operations[open] > summary b { transform: rotate(45deg); }
.otr-secondary-operations .otr-admin-action-grid { margin: 0; padding: 0 16px 16px; }

@media (max-width: 1380px) {
  .otr-command-center {
    grid-template-columns: 280px minmax(480px, 1fr);
  }

  .otr-command-center .otr-ops-detail-panel {
    grid-column: 1 / -1;
    height: auto;
    max-height: none;
  }

  .otr-command-center .otr-ops-detail-body {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 980px) {
  .otr-monitor-command-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .otr-command-health {
    grid-column: 1 / -1;
  }

  .otr-command-center {
    grid-template-columns: 1fr;
  }

  .otr-route-rail,
  .otr-command-center .otr-monitor-map-panel {
    height: auto;
  }

  .otr-route-rail-list {
    max-height: 430px;
  }

  .otr-command-center .otr-monitor-azure-map,
  .otr-command-center .otr-monitor-map-canvas {
    min-height: 540px;
  }
}

@media (max-width: 640px) {
  .otr-monitor-command-bar {
    grid-template-columns: 1fr;
  }

  .otr-command-health,
  .otr-command-metric {
    min-height: 86px;
  }

  .otr-command-health {
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .otr-route-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .otr-route-filter-bar button {
    min-height: 44px;
  }

  .otr-command-center .otr-monitor-azure-map,
  .otr-command-center .otr-monitor-map-canvas {
    min-height: 420px;
  }

  .otr-command-center .otr-ops-actions,
  .otr-secondary-operations .otr-admin-action-grid {
    grid-template-columns: 1fr;
  }
}

.otr-manifest-route-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.otr-manifest-route {
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--otr-surface);
}

.otr-manifest-panel-header {
  align-items: center;
}

.otr-manifest-route-count {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 117, 177, 0.18);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--otr-navy);
  background: #edf7fb;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.otr-manifest-route-header {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(420px, 1.4fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: #f7fbfd;
}

.otr-manifest-route-title {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
}

.otr-manifest-route-type {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 9px;
  color: #fff;
  background: var(--otr-green-700);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-manifest-route-title h3 {
  margin: 0;
  color: var(--otr-navy);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.otr-manifest-route-code {
  grid-column: 1 / -1;
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 800;
}

.otr-manifest-route-facts {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.otr-manifest-route-facts div {
  min-width: 0;
  display: grid;
  gap: 3px;
  border-left: 1px solid rgba(13, 62, 97, 0.12);
  padding-left: 12px;
}

.otr-manifest-route-facts dt {
  color: var(--otr-muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-manifest-route-facts dd {
  margin: 0;
  overflow: hidden;
  color: var(--otr-navy);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.otr-manifest-status,
.otr-manifest-stop-status {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.otr-manifest-status.is-ready,
.otr-manifest-stop-status.is-complete {
  color: #416b1f;
  background: #eaf5df;
}

.otr-manifest-status.is-live,
.otr-manifest-stop-status.is-live {
  color: #0d5d8d;
  background: #e2f3fa;
}

.otr-manifest-stop-status.is-pending {
  color: #805a0c;
  background: #fff3d5;
}

.otr-manifest-stop-status.is-muted {
  color: #526675;
  background: #eaf0f3;
}

.otr-manifest-passenger-list {
  border-top: 1px solid var(--otr-border);
}

.otr-manifest-passenger {
  background: var(--otr-surface);
}

.otr-manifest-passenger + .otr-manifest-passenger {
  border-top: 1px solid var(--otr-border);
}

.otr-manifest-passenger-summary {
  min-height: 78px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
}

.otr-manifest-sequence {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 117, 177, 0.2);
  border-radius: 50%;
  color: var(--otr-navy);
  background: #edf7fb;
  font-size: 13px;
  font-weight: 900;
}

.otr-manifest-passenger-identity {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.otr-manifest-passenger-identity > span {
  color: var(--otr-muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-manifest-passenger-identity strong {
  overflow-wrap: anywhere;
  color: var(--otr-navy);
  font-size: 15px;
  font-weight: 900;
}

.otr-manifest-passenger-identity small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
}

.otr-manifest-actions {
  border-top: 1px solid rgba(13, 62, 97, 0.08);
}

.otr-manifest-actions > summary {
  min-height: 54px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  color: var(--otr-navy);
  background: #f7fbfd;
  cursor: pointer;
  list-style: none;
  transition: background 160ms ease, color 160ms ease;
}

.otr-manifest-actions > summary::-webkit-details-marker {
  display: none;
}

.otr-manifest-actions > summary:hover,
.otr-manifest-actions > summary:focus-visible {
  color: var(--otr-blue);
  background: #eef8fc;
}

.otr-manifest-actions > summary > span {
  display: grid;
  gap: 1px;
}

.otr-manifest-actions > summary strong {
  font-size: 13px;
  font-weight: 900;
}

.otr-manifest-actions > summary small {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 750;
}

.otr-manifest-actions > summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 117, 177, 0.2);
  border-radius: 50%;
  color: var(--otr-blue);
  background: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.otr-manifest-actions[open] > summary::after {
  content: "−";
}

.otr-manifest-action-workspace {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--otr-border);
  padding: 16px 18px 18px;
  background: #f7fbfd;
}

.otr-manifest-action-tabs {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 4px;
  background: #eaf2f6;
}

.otr-manifest-action-tab {
  min-width: 0;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  color: #526675;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.otr-manifest-action-tab:hover:not(:disabled) {
  color: var(--otr-navy);
  background: rgba(255, 255, 255, 0.7);
}

.otr-manifest-action-tab.is-active {
  color: #fff;
  background: var(--otr-navy);
  box-shadow: 0 8px 18px rgba(13, 62, 97, 0.16);
}

.otr-manifest-action-tab.is-danger.is-active {
  background: var(--otr-danger);
}

.otr-manifest-action-tab:disabled {
  color: #8da0ad;
  cursor: not-allowed;
  opacity: 0.68;
}

.otr-manifest-action-panel {
  display: none;
}

.otr-manifest-action-panel.is-active {
  display: block;
}

.otr-manifest-action-form {
  display: grid;
  gap: 16px;
  border-top: 3px solid var(--otr-blue);
  padding-top: 16px;
}

.otr-manifest-remove-form {
  border-top-color: var(--otr-danger);
}

.otr-manifest-form-intro {
  display: grid;
  gap: 3px;
}

.otr-manifest-form-intro strong {
  color: var(--otr-navy);
  font-size: 16px;
  font-weight: 900;
}

.otr-manifest-form-intro span {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.otr-manifest-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.otr-manifest-form-grid.is-three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.otr-manifest-field {
  min-width: 0;
  display: grid;
  gap: 6px;
  margin: 0;
}

.otr-manifest-field > span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
}

.otr-manifest-field input,
.otr-manifest-field select {
  min-width: 0;
  width: 100%;
}

.otr-manifest-form-footer {
  min-height: 48px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--otr-border);
  padding-top: 14px;
}

.otr-manifest-form-footer > span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 750;
}

.otr-manifest-form-footer.is-danger > span {
  color: #a33434;
}

.otr-manifest-billing-choice {
  min-height: 62px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid #f0caca;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--otr-navy);
  background: #fff7f7;
  cursor: pointer;
}

.otr-manifest-billing-choice:hover {
  border-color: #e39a9a;
  background: #fff;
}

.otr-manifest-billing-choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--otr-danger);
}

.otr-manifest-billing-choice > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.otr-manifest-billing-choice strong {
  font-size: 12px;
  font-weight: 900;
}

.otr-manifest-billing-choice small {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.otr-manifest-action-form .otr-button.is-danger {
  border-color: var(--otr-danger);
  background: var(--otr-danger);
  box-shadow: 0 12px 24px rgba(214, 69, 69, 0.18);
}

.otr-manifest-action-form .otr-button.is-danger:hover {
  border-color: #b83333;
  background: #b83333;
}

.otr-manifest-closed-state {
  display: grid;
  gap: 3px;
  border-top: 1px solid rgba(13, 62, 97, 0.08);
  padding: 12px 18px;
  background: #f7fbfd;
}

.otr-manifest-closed-state strong {
  color: var(--otr-navy);
  font-size: 12px;
  font-weight: 900;
}

.otr-manifest-closed-state span,
.otr-manifest-route-empty {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
}

.otr-manifest-route-empty {
  margin: 0;
  border-top: 1px solid var(--otr-border);
  padding: 18px;
}

@media (max-width: 1100px) {
  .otr-manifest-route-header {
    grid-template-columns: minmax(160px, 0.55fr) minmax(320px, 1fr) auto;
  }

  .otr-manifest-form-grid.is-three-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .otr-manifest-form-grid.is-three-column .otr-manifest-field:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .otr-manifest-route-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .otr-manifest-route-facts {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .otr-manifest-form-grid,
  .otr-manifest-form-grid.is-three-column {
    grid-template-columns: 1fr;
  }

  .otr-manifest-form-grid.is-three-column .otr-manifest-field:last-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .otr-manifest-panel-header {
    align-items: flex-start;
  }

  .otr-manifest-route-header,
  .otr-manifest-passenger-summary,
  .otr-manifest-action-workspace {
    padding-left: 14px;
    padding-right: 14px;
  }

  .otr-manifest-route-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .otr-manifest-route-facts {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
  }

  .otr-manifest-route-facts div {
    border-left: 0;
    border-top: 1px solid rgba(13, 62, 97, 0.1);
    padding: 8px 0 0;
  }

  .otr-manifest-status {
    justify-self: start;
  }

  .otr-manifest-passenger-summary {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .otr-manifest-stop-status {
    grid-column: 2;
    justify-self: start;
  }

  .otr-manifest-action-tabs {
    width: 100%;
  }

  .otr-manifest-action-tab {
    min-height: 44px;
    padding: 4px 7px;
    white-space: normal;
  }

  .otr-manifest-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .otr-manifest-form-footer .otr-button {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  scrollbar-color: rgba(13, 62, 97, 0.42) rgba(216, 230, 238, 0.52);
  scrollbar-width: thin;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--otr-bg);
  color: var(--otr-text);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--otr-blue);
}

.otr-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1100;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--otr-navy);
  box-shadow: var(--otr-shadow);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.otr-skip-link:hover,
.otr-skip-link:focus-visible {
  color: #fff;
  transform: translateY(0);
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(216, 230, 238, 0.56);
}

::-webkit-scrollbar-thumb {
  border: 2px solid rgba(216, 230, 238, 0.56);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(13, 62, 97, 0.72), rgba(23, 117, 177, 0.62));
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--otr-navy), var(--otr-blue));
}

.otr-admin-shell {
  position: relative;
  display: grid;
  grid-template-columns: var(--otr-sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
  transition: grid-template-columns 180ms ease;
}

.otr-admin-shell::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: var(--otr-sidebar-width);
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 62, 97, 0.98), rgba(8, 44, 70, 0.98)),
    linear-gradient(135deg, rgba(114, 167, 63, 0.22), transparent 44%);
}

.otr-admin-shell.is-sidebar-collapsed {
  grid-template-columns: var(--otr-sidebar-collapsed-width) minmax(0, 1fr);
}

.otr-admin-shell.is-sidebar-collapsed::before {
  width: var(--otr-sidebar-collapsed-width);
}

.otr-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 2;
  width: var(--otr-sidebar-width);
  height: 100dvh;
  min-height: 100vh;
  max-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  padding: 24px 16px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-color: rgba(162, 216, 236, 0.62) rgba(255, 255, 255, 0.1);
  scrollbar-width: thin;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(13, 62, 97, 0.98), rgba(8, 44, 70, 0.98)),
    linear-gradient(135deg, rgba(114, 167, 63, 0.22), transparent 44%);
  box-shadow: 14px 0 38px rgba(8, 44, 70, 0.18);
  transition: width 180ms ease, padding 180ms ease, transform 180ms ease;
}

.otr-sidebar::-webkit-scrollbar {
  width: 8px;
}

.otr-sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
}

.otr-sidebar::-webkit-scrollbar-thumb {
  border: 2px solid rgba(13, 62, 97, 0.96);
  background: rgba(162, 216, 236, 0.7);
}

.otr-sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 4px 2px 14px;
}

.otr-sidebar-brand img {
  width: min(196px, 82%);
  max-height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.22));
}

.otr-sidebar-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.otr-nav-section-label {
  margin: 14px 10px 2px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.otr-nav-section-label:first-child {
  margin-top: 0;
}

.otr-sidebar-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.otr-nav-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--otr-sky);
}

.otr-nav-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.otr-nav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.otr-sidebar-nav a:hover,
.otr-sidebar-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 3px 0 0 var(--otr-green), 0 12px 22px rgba(0, 0, 0, 0.08);
}

.otr-sidebar-nav a.is-active .otr-nav-icon {
  color: var(--otr-navy);
  background: #fff;
}

.otr-admin-shell.is-sidebar-collapsed .otr-sidebar {
  width: var(--otr-sidebar-collapsed-width);
  padding: 20px 14px;
}

.otr-admin-shell.is-sidebar-collapsed .otr-sidebar-brand {
  min-height: 58px;
  padding: 0 0 12px;
}

.otr-admin-shell.is-sidebar-collapsed .otr-sidebar-brand img {
  width: 58px;
  max-width: 58px;
  height: 42px;
  object-fit: contain;
  object-position: center;
}

.otr-admin-shell.is-sidebar-collapsed .otr-sidebar-nav a {
  justify-content: center;
  padding: 0;
}

.otr-admin-shell.is-sidebar-collapsed .otr-nav-label,
.otr-admin-shell.is-sidebar-collapsed .otr-nav-section-label,
.otr-admin-shell.is-sidebar-collapsed .otr-service-card {
  display: none;
}

.otr-service-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.otr-service-card strong {
  color: #fff;
  font-size: 13px;
}

.otr-service-card div {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.otr-service-card span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--otr-green);
  box-shadow: 0 0 0 4px rgba(114, 167, 63, 0.14);
}

.otr-service-card b {
  color: #a9e58b;
  font-size: 11px;
}

.otr-service-card div.is-warning span {
  background: var(--otr-warning);
  box-shadow: 0 0 0 4px rgba(242, 184, 75, 0.16);
}

.otr-service-card div.is-warning b {
  color: #ffd98a;
}

.otr-admin-main {
  position: relative;
  z-index: 1;
  grid-column: 2;
  min-width: 0;
}

.otr-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-width: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid var(--otr-border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.otr-icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface);
}

.otr-icon-button span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--otr-navy);
}

.otr-command-search {
  min-height: 46px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface);
}

.otr-command-search span {
  color: var(--otr-blue);
  font-size: 12px;
  font-weight: 900;
}

.otr-command-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--otr-text);
  background: transparent;
  font-size: 14px;
  font-weight: 650;
}

.otr-topbar-actions {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}

.otr-exit-button {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 850;
  padding: 0 10px;
}

.otr-user-chip {
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 12px;
  border-left: 1px solid var(--otr-border);
}

.otr-user-chip > span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--otr-navy);
  color: #fff;
  font-weight: 900;
}

.otr-user-chip > div {
  min-width: 0;
  max-width: clamp(110px, 12vw, 180px);
}

.otr-user-chip strong,
.otr-user-chip small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.otr-user-chip strong {
  color: var(--otr-text);
  font-size: 13px;
  font-weight: 900;
}

.otr-user-chip small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 700;
}

.otr-logout-form {
  flex: 0 0 auto;
  margin: 0 0 0 auto;
}

.otr-content {
  width: min(calc(100% - 56px), 1440px);
  margin: 0 auto;
  padding: 28px 0 52px;
}

.otr-page-breadcrumb {
  margin: -6px 0 14px;
}

.otr-page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  list-style: none;
  text-transform: uppercase;
}

.otr-page-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.otr-page-breadcrumb li + li::before {
  content: "/";
  color: rgba(97, 117, 134, 0.54);
  font-weight: 900;
}

.otr-page-breadcrumb a {
  color: var(--otr-blue);
  transition: color 160ms ease;
}

.otr-page-breadcrumb a:hover {
  color: var(--otr-navy);
}

.otr-page-breadcrumb [aria-current="page"] {
  max-width: min(460px, 70vw);
  overflow: hidden;
  color: var(--otr-navy);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.otr-dashboard-header,
.otr-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  margin-bottom: 22px;
}

.otr-dashboard-header h1,
.otr-page-header h1 {
  margin: 4px 0 0;
  color: var(--otr-navy);
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.otr-dashboard-header p,
.otr-lead {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--otr-muted);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 650;
}

.otr-page-subtitle {
  display: block;
  margin-top: 8px;
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 800;
}

.otr-section-label,
.otr-eyebrow {
  display: block;
  margin: 0;
  color: var(--otr-green-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.otr-header-actions,
.otr-actions,
.otr-form-actions,
.otr-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.otr-button,
.otr-button-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.otr-button {
  border: 1px solid var(--otr-blue);
  color: #fff;
  background: var(--otr-blue);
  box-shadow: 0 14px 28px rgba(23, 117, 177, 0.22);
}

.otr-button:hover {
  color: #fff;
  background: var(--otr-navy);
  border-color: var(--otr-navy);
}

.otr-button-secondary {
  border: 1px solid var(--otr-border);
  color: var(--otr-navy);
  background: var(--otr-surface);
}

.otr-button-secondary:hover {
  color: var(--otr-navy);
  border-color: var(--otr-sky);
  background: #eef8fc;
}

.otr-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.otr-client-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 16px;
}

.otr-client-subnav-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--otr-navy);
  background: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.otr-client-subnav-link:hover,
.otr-client-subnav-link:focus-visible {
  border-color: var(--otr-sky);
  background: #eef8fc;
}

.otr-client-subnav-link.is-active {
  color: #ffffff;
  border-color: var(--otr-blue);
  background: var(--otr-blue);
}

.otr-client-module-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 16px;
}

.otr-client-module-card {
  min-width: 0;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--otr-shadow);
}

.otr-client-module-card h2 {
  margin: 0;
  color: var(--otr-navy);
  font-size: 17px;
  font-weight: 900;
}

.otr-client-module-card p {
  margin: 0;
  color: var(--otr-muted);
  font-size: 13px;
  line-height: 1.5;
}

.otr-client-module-card strong {
  margin-top: auto;
  color: var(--otr-navy);
  font-size: 13px;
  font-weight: 900;
}

.otr-dashboard-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.otr-route-detail-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.otr-monitor-grid,
.otr-notification-kpis {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.otr-route-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  margin-bottom: 16px;
}

.otr-kpi,
.otr-panel,
.otr-auth-card {
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface);
  box-shadow: var(--otr-shadow);
}

.otr-kpi {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
}

.otr-kpi span {
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 850;
}

.otr-kpi strong {
  color: var(--otr-navy);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.otr-kpi small {
  color: var(--otr-green-700);
  font-size: 12px;
  font-weight: 800;
}

.otr-kpi-live {
  background:
    linear-gradient(135deg, rgba(114, 167, 63, 0.12), transparent 54%),
    var(--otr-surface);
}

.otr-dashboard-kpis .otr-kpi {
  justify-items: center;
  text-align: center;
}

.otr-route-kpis .otr-kpi {
  min-height: 118px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.otr-collaborator-kpis .otr-kpi {
  justify-items: center;
  text-align: center;
}

.otr-luggage-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  margin-bottom: 16px;
}

.otr-luggage-kpis .otr-kpi {
  min-height: 122px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.otr-panel {
  min-width: 0;
  padding: 18px;
}

.otr-panel + .otr-panel,
.otr-grid + .otr-panel {
  margin-top: 16px;
}

.otr-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.otr-panel-header h2 {
  margin: 0;
  color: var(--otr-navy);
  font-size: 18px;
  font-weight: 900;
}

.otr-panel-header a:not(.otr-button):not(.otr-button-secondary),
.otr-table a:not(.otr-button):not(.otr-button-secondary) {
  color: var(--otr-blue);
  font-size: 13px;
  font-weight: 900;
}

.otr-panel-header .otr-panel-action-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 117, 177, 0.24);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--otr-navy);
  background: linear-gradient(180deg, #ffffff, #f4f9fc);
  box-shadow: 0 10px 24px rgba(13, 62, 97, 0.08);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.otr-panel-header .otr-panel-action-button:hover {
  border-color: rgba(114, 167, 63, 0.42);
  color: var(--otr-navy);
  background: #ffffff;
  transform: translateY(-1px);
}

.otr-actions,
.otr-table-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  text-align: right;
  white-space: nowrap;
}

.otr-client-users-actions-cell {
  text-align: right;
}

.otr-client-users-actions-cell .otr-actions {
  width: 100%;
  justify-content: flex-end;
}

.otr-client-users-filters {
  margin: 4px 0 18px;
}

.otr-bulk-import-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.otr-bulk-import-step {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: #ffffff;
}

.otr-bulk-import-step > span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--otr-muted);
  background: #edf3f7;
  font-weight: 900;
}

.otr-bulk-import-step.is-active > span {
  color: #ffffff;
  background: var(--otr-blue);
}

.otr-bulk-import-step strong,
.otr-bulk-import-step small {
  display: block;
}

.otr-bulk-import-step strong {
  color: var(--otr-navy);
}

.otr-bulk-import-step small {
  margin-top: 2px;
  color: var(--otr-muted);
}

.otr-bulk-import-upload .otr-panel-header p,
.otr-bulk-import-result .otr-panel-header p,
.otr-bulk-import-confirm p {
  margin: 6px 0 0;
  color: var(--otr-muted);
}

.otr-bulk-import-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 12px;
}

.otr-file-drop {
  min-width: 0;
  min-height: 78px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px dashed rgba(23, 117, 177, 0.46);
  border-radius: 8px;
  background: #f5fafc;
  cursor: pointer;
}

.otr-file-drop:hover,
.otr-file-drop:focus-within {
  border-color: var(--otr-blue);
  background: #edf7fc;
}

.otr-file-drop-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--otr-navy);
  font-size: 22px;
  font-weight: 900;
}

.otr-file-drop strong,
.otr-file-drop small {
  display: block;
  overflow-wrap: anywhere;
}

.otr-file-drop strong {
  color: var(--otr-navy);
}

.otr-file-drop small {
  margin-top: 3px;
  color: var(--otr-muted);
}

.otr-file-drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.otr-bulk-import-form > .otr-button {
  min-width: 190px;
}

.otr-bulk-import-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 700;
}

.otr-bulk-import-notes span::before {
  content: "✓";
  margin-right: 6px;
  color: var(--otr-green);
  font-weight: 900;
}

.otr-bulk-import-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.otr-bulk-import-metrics > div {
  min-width: 0;
  padding: 12px 14px;
  border-left: 4px solid var(--otr-blue);
  background: #f4f8fa;
}

.otr-bulk-import-metrics span,
.otr-bulk-import-metrics strong {
  display: block;
}

.otr-bulk-import-metrics span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-bulk-import-metrics strong {
  margin-top: 4px;
  color: var(--otr-navy);
  font-size: 24px;
}

.otr-bulk-import-confirm {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 24px;
  align-items: center;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--otr-border);
}

.otr-bulk-import-confirm h3 {
  margin: 2px 0 0;
  color: var(--otr-navy);
  font-size: 18px;
}

.otr-bulk-import-confirm form {
  display: grid;
  gap: 12px;
}

.otr-bulk-import-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: var(--otr-navy);
  font-size: 13px;
  font-weight: 800;
}

.otr-bulk-import-consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--otr-green);
}

.otr-bulk-import-guidance {
  margin: 0 0 14px;
  color: var(--otr-muted);
  font-weight: 700;
}

.otr-bulk-import-errors td:last-child {
  min-width: 320px;
  white-space: normal;
}

.otr-bulk-import-download-validation {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.otr-table-actions form {
  display: inline-flex;
  margin: 0;
}

.otr-actions a,
.otr-actions button,
.otr-table-actions a,
.otr-table-actions button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 117, 177, 0.22);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--otr-navy);
  background: linear-gradient(180deg, #ffffff, #eef7fc);
  box-shadow: 0 8px 18px rgba(13, 62, 97, 0.08);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.otr-actions a:hover,
.otr-actions button:hover,
.otr-table-actions a:hover,
.otr-table-actions button:hover {
  border-color: rgba(114, 167, 63, 0.4);
  color: var(--otr-navy);
  background: #fff;
  box-shadow: 0 12px 24px rgba(13, 62, 97, 0.14);
  transform: translateY(-1px);
}

.otr-table-actions button.is-danger {
  border-color: rgba(200, 61, 61, 0.22);
  color: #8d2525;
  background: linear-gradient(180deg, #fff, #fff3f3);
}

.otr-actions button.otr-action-danger,
.otr-button.otr-button-danger {
  border-color: rgba(214, 69, 69, 0.42);
  color: #fff;
  background: var(--otr-danger);
}

.otr-actions button.otr-action-danger:hover,
.otr-button.otr-button-danger:hover {
  border-color: var(--otr-danger);
  color: #fff;
  background: #b92f2f;
}

.otr-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  gap: 16px;
  margin-bottom: 16px;
}

.otr-dashboard-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 16px;
}

.otr-home-command-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.otr-home-command-card {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  padding: 16px;
  color: var(--otr-navy);
  text-decoration: none;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 62, 97, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.otr-home-command-card:hover,
.otr-home-command-card:focus-visible {
  color: var(--otr-navy);
  border-color: rgba(23, 117, 177, 0.34);
  box-shadow: 0 18px 36px rgba(13, 62, 97, 0.12);
  transform: translateY(-1px);
}

.otr-home-command-card span {
  color: var(--otr-green-700);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.otr-home-command-card strong {
  color: var(--otr-navy);
  font-size: 20px;
  line-height: 1.18;
  font-weight: 900;
}

.otr-home-command-card small {
  color: var(--otr-muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 750;
}

.otr-alternative-signal-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.otr-alternative-signal {
  min-height: 126px;
  display: grid;
  align-content: start;
  gap: 7px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff, #f5f9fc);
  box-shadow: 0 12px 30px rgba(13, 62, 97, 0.06);
}

.otr-alternative-signal span {
  color: var(--otr-green-700);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.otr-alternative-signal strong {
  color: var(--otr-navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.otr-alternative-signal small {
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.otr-alternative-create-guidance,
.otr-alternative-create-layout {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.otr-alternative-create-guidance {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.otr-alternative-create-guidance article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 138px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff, #f5f9fc);
  box-shadow: 0 12px 30px rgba(13, 62, 97, 0.06);
}

.otr-alternative-create-guidance span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--otr-navy);
  font-size: 12px;
  font-weight: 900;
}

.otr-alternative-create-guidance strong {
  color: var(--otr-navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.otr-alternative-create-guidance small {
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.otr-alternative-create-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  align-items: start;
}

.otr-alternative-create-form-panel,
.otr-alternative-create-scope-panel {
  margin-bottom: 0;
}

.otr-alternative-create-summary {
  display: grid;
  gap: 10px;
}

.otr-alternative-create-summary div {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(13, 62, 97, 0.1);
  border-radius: 8px;
  padding: 13px;
  background: linear-gradient(180deg, #ffffff, #f5f9fc);
}

.otr-alternative-create-summary span,
.otr-alternative-create-checklist li::marker {
  color: var(--otr-green-700);
}

.otr-alternative-create-summary span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.otr-alternative-create-summary strong {
  overflow-wrap: anywhere;
  color: var(--otr-navy);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.otr-alternative-create-summary small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.otr-alternative-create-checklist {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.otr-alternative-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 16px;
  margin-bottom: 16px;
}

.otr-alternative-case-panel,
.otr-alternative-trace-panel,
.otr-alternative-review-panel,
.otr-alternative-evidence-panel {
  margin-top: 16px;
}

.otr-alternative-case-panel {
  margin-top: 0;
}

.otr-alternative-trace-panel {
  margin-top: 0;
}

.otr-alternative-trace-list,
.otr-alternative-review-summary {
  display: grid;
  gap: 10px;
}

.otr-alternative-trace-list div,
.otr-alternative-review-summary div {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(13, 62, 97, 0.1);
  border-radius: 8px;
  padding: 13px;
  background: linear-gradient(180deg, #ffffff, #f5f9fc);
}

.otr-alternative-trace-list div {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.otr-alternative-trace-list span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--otr-muted);
  font-size: 12px;
  font-weight: 900;
}

.otr-alternative-trace-list .is-complete span {
  background: var(--otr-green-700);
}

.otr-alternative-trace-list strong,
.otr-alternative-review-summary strong {
  color: var(--otr-navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.otr-alternative-trace-list small,
.otr-alternative-review-summary small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.otr-alternative-review-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.otr-alternative-review-summary span {
  color: var(--otr-green-700);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.otr-alternative-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.otr-alternative-action-grid .otr-inline-action-form,
.otr-alternative-review-panel > .otr-inline-action-form {
  align-items: stretch;
  display: grid;
  gap: 10px;
}

.otr-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 800;
}

.otr-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.otr-map-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--otr-blue);
}

.otr-map-legend .is-green {
  background: var(--otr-green);
}

.otr-map-legend .is-red {
  background: var(--otr-danger);
}

.otr-ops-map {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(162, 216, 236, 0.5), rgba(255, 255, 255, 0.88)),
    repeating-linear-gradient(35deg, rgba(13, 62, 97, 0.08) 0 2px, transparent 2px 46px),
    repeating-linear-gradient(-35deg, rgba(23, 117, 177, 0.08) 0 2px, transparent 2px 38px);
}

.otr-ops-azure-map {
  display: block;
  width: 100%;
  min-height: 380px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: #eaf2f7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.otr-ops-map-fallback {
  min-height: 380px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  border: 1px dashed var(--otr-border);
  border-radius: 8px;
  padding: 24px;
  color: var(--otr-muted);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(162, 216, 236, 0.38), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(35deg, rgba(13, 62, 97, 0.08) 0 2px, transparent 2px 46px);
}

.otr-ops-map-fallback strong {
  color: var(--otr-navy);
}

.otr-city-road,
.otr-route-track {
  position: absolute;
  border-radius: 999px;
}

.otr-city-road {
  height: 10px;
  background: rgba(13, 62, 97, 0.12);
}

.road-a {
  left: -50px;
  right: 8%;
  top: 28%;
  transform: rotate(11deg);
}

.road-b {
  left: 16%;
  right: -60px;
  top: 55%;
  transform: rotate(-16deg);
}

.road-c {
  left: 8%;
  right: 18%;
  top: 78%;
  transform: rotate(4deg);
}

.otr-route-track {
  height: 8px;
  background: linear-gradient(90deg, var(--otr-green), var(--otr-blue));
  box-shadow: 0 0 0 5px rgba(114, 167, 63, 0.12);
}

.track-a {
  left: 10%;
  right: 22%;
  top: 46%;
  transform: rotate(-10deg);
}

.track-b {
  left: 30%;
  right: 12%;
  top: 64%;
  transform: rotate(16deg);
}

.otr-vehicle-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--otr-green-700);
  box-shadow: var(--otr-shadow-deep);
  font-size: 12px;
  font-weight: 900;
}

.pin-a {
  left: 18%;
  top: 42%;
}

.pin-b {
  right: 18%;
  top: 58%;
  background: var(--otr-blue);
}

.pin-c {
  left: 52%;
  bottom: 18%;
}

.otr-vehicle-pin.is-risk {
  background: var(--otr-danger);
}

.otr-map-control {
  position: absolute;
  right: 16px;
  bottom: 66px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: #fff;
  color: var(--otr-navy);
  font-size: 18px;
  font-weight: 900;
}

.otr-map-control.is-bottom {
  bottom: 24px;
}

.otr-route-stack {
  display: grid;
  gap: 12px;
}

.otr-route-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 14px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface-2);
}

.otr-route-card strong,
.otr-assignment-card strong {
  display: block;
  color: var(--otr-navy);
  font-size: 14px;
  font-weight: 900;
}

.otr-route-card span,
.otr-assignment-card small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
}

.otr-route-card b {
  color: var(--otr-green-700);
  font-size: 12px;
}

.otr-route-card i {
  grid-column: 1 / -1;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--otr-border);
}

.otr-route-card i::before {
  content: "";
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--otr-green), var(--otr-blue));
}

.otr-route-card.is-warning i::before {
  background: var(--otr-danger);
}

.otr-assignment-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.otr-assignment-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface-2);
}

.otr-assignment-card > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f3fb;
  color: var(--otr-navy);
  font-size: 12px;
  font-weight: 900;
}

.otr-assignment-card b {
  color: var(--otr-blue);
  font-size: 12px;
  font-weight: 900;
}

.otr-billing-mini {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 14px;
  border-radius: 8px;
  background: var(--otr-navy);
  color: #fff;
}

.otr-billing-mini strong {
  font-size: 14px;
}

.otr-billing-mini div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 750;
}

.otr-billing-mini b {
  color: #fff;
}

.otr-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.otr-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.otr-table th,
.otr-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--otr-border);
  vertical-align: middle;
}

.otr-table th {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.otr-table td {
  color: var(--otr-text);
  font-size: 14px;
  font-weight: 650;
}

.otr-table tr:last-child td {
  border-bottom: 0;
}

.otr-table tr.is-dispatch-warning td {
  background: #fffaf0;
}

.otr-table strong {
  color: var(--otr-navy);
  font-weight: 900;
}

.otr-table-subtext {
  display: block;
  margin-top: 3px;
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 700;
}

.otr-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(13, 62, 97, 0.1);
}

.otr-pagination-bar p {
  margin: 0;
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 800;
}

.otr-pagination-bar strong {
  color: var(--otr-navy);
  font-weight: 900;
}

.otr-pagination {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.otr-pagination a,
.otr-pagination span {
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 117, 177, 0.22);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--otr-navy);
  background: linear-gradient(180deg, #ffffff, #eef7fc);
  box-shadow: 0 8px 18px rgba(13, 62, 97, 0.08);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.otr-pagination a:hover {
  border-color: rgba(114, 167, 63, 0.42);
  color: var(--otr-navy);
  background: #fff;
  transform: translateY(-1px);
}

.otr-pagination .is-active {
  border-color: var(--otr-blue);
  color: #fff;
  background: linear-gradient(135deg, var(--otr-blue), var(--otr-navy));
  box-shadow: 0 12px 24px rgba(23, 117, 177, 0.24);
}

.otr-pagination .is-disabled {
  color: rgba(91, 103, 112, 0.72);
  background: #f2f6f9;
  box-shadow: none;
  cursor: not-allowed;
}

.otr-requests-health-strip,
.otr-approvals-health-strip,
.otr-collaborators-health-strip,
.otr-finance-health-strip,
.otr-audit-health-strip,
.otr-closures-health-strip,
.otr-incidents-health-strip,
.otr-luggage-health-strip,
.otr-notifications-health-strip,
.otr-users-health-strip,
.otr-home-health-strip,
.otr-alternative-health-strip,
.otr-alternative-detail-health-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.otr-requests-health-strip div,
.otr-approvals-health-strip div,
.otr-collaborators-health-strip div,
.otr-finance-health-strip div,
.otr-audit-health-strip div,
.otr-closures-health-strip div,
.otr-incidents-health-strip div,
.otr-luggage-health-strip div,
.otr-notifications-health-strip div,
.otr-users-health-strip div,
.otr-home-health-strip div,
.otr-alternative-health-strip div,
.otr-alternative-detail-health-strip div {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 62, 97, 0.06);
}

.otr-requests-health-strip span,
.otr-approvals-health-strip span,
.otr-collaborators-health-strip span,
.otr-finance-health-strip span,
.otr-audit-health-strip span,
.otr-closures-health-strip span,
.otr-incidents-health-strip span,
.otr-luggage-health-strip span,
.otr-notifications-health-strip span,
.otr-users-health-strip span,
.otr-home-health-strip span,
.otr-alternative-health-strip span,
.otr-alternative-detail-health-strip span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.otr-requests-health-strip strong,
.otr-approvals-health-strip strong,
.otr-collaborators-health-strip strong,
.otr-finance-health-strip strong,
.otr-audit-health-strip strong,
.otr-closures-health-strip strong,
.otr-incidents-health-strip strong,
.otr-luggage-health-strip strong,
.otr-notifications-health-strip strong,
.otr-users-health-strip strong,
.otr-home-health-strip strong,
.otr-alternative-health-strip strong,
.otr-alternative-detail-health-strip strong {
  color: var(--otr-navy);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.otr-requests-health-strip small,
.otr-approvals-health-strip small,
.otr-collaborators-health-strip small,
.otr-finance-health-strip small,
.otr-audit-health-strip small,
.otr-closures-health-strip small,
.otr-incidents-health-strip small,
.otr-luggage-health-strip small,
.otr-notifications-health-strip small,
.otr-users-health-strip small,
.otr-home-health-strip small,
.otr-alternative-health-strip small,
.otr-alternative-detail-health-strip small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.otr-requests-table-panel,
.otr-approvals-table-panel,
.otr-collaborators-table-panel,
.otr-finance-table-panel,
.otr-audit-table-panel,
.otr-closures-table-panel,
.otr-incidents-table-panel,
.otr-luggage-table-panel,
.otr-notifications-table-panel,
.otr-users-table-panel,
.otr-home-table-panel,
.otr-alternative-table-panel {
  margin-top: 16px;
}

.otr-confirm-modal .modal-dialog {
  max-width: 440px;
}

.otr-confirm-modal .modal-content {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% -20%, rgba(162, 216, 236, 0.42), transparent 38%),
    #fff;
  box-shadow: 0 30px 80px rgba(8, 44, 70, 0.28);
}

.otr-confirm-modal .modal-content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--otr-green), var(--otr-blue));
}

.otr-confirm-modal.is-danger .modal-content::before {
  background: linear-gradient(90deg, var(--otr-warning), var(--otr-danger));
}

.otr-confirm-modal .modal-body {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 34px 32px 28px;
  text-align: center;
}

.otr-confirm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.otr-confirm-close::before,
.otr-confirm-close::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 9px;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: var(--otr-navy);
}

.otr-confirm-close::before {
  transform: rotate(45deg);
}

.otr-confirm-close::after {
  transform: rotate(-45deg);
}

.otr-confirm-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 184, 75, 0.32);
  border-radius: 999px;
  color: var(--otr-warning);
  background: #fff8e9;
  box-shadow: 0 16px 34px rgba(242, 184, 75, 0.22);
}

.otr-confirm-modal.is-danger .otr-confirm-icon {
  border-color: rgba(214, 69, 69, 0.26);
  color: var(--otr-danger);
  background: #fff1f1;
  box-shadow: 0 16px 34px rgba(214, 69, 69, 0.18);
}

.otr-confirm-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.otr-confirm-modal h2 {
  margin: 0;
  color: var(--otr-navy);
  font-size: 26px;
  font-weight: 900;
}

.otr-confirm-modal .modal-body > p:not(.otr-eyebrow) {
  max-width: 340px;
  margin: 0;
  color: var(--otr-muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
}

.otr-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}

.otr-confirm-actions .otr-button,
.otr-confirm-actions .otr-button-secondary {
  min-width: 132px;
}

.otr-confirm-modal.is-danger [data-confirm-accept] {
  border-color: var(--otr-danger);
  background: var(--otr-danger);
  box-shadow: 0 14px 28px rgba(214, 69, 69, 0.22);
}

.otr-confirm-modal.is-danger [data-confirm-accept]:hover {
  border-color: #a92f2f;
  background: #a92f2f;
}

.otr-clients-table th:last-child,
.otr-clients-table td:last-child {
  text-align: right;
}

.otr-clients-actions .otr-actions {
  justify-content: flex-end;
}

.otr-dispatch-action-cell {
  text-align: right;
  vertical-align: middle;
}

.otr-dispatch-action-cell .otr-table-actions {
  justify-content: flex-end;
}

.otr-luggage-status-cell {
  text-align: center;
}

.otr-luggage-status-cell .otr-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  white-space: normal;
  text-align: center;
  line-height: 1.1;
}

.otr-person-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(23, 117, 177, 0.2);
  border-radius: 8px;
  padding: 0 11px;
  color: var(--otr-navy);
  background: linear-gradient(180deg, #ffffff, #eef7fc);
  box-shadow: 0 8px 18px rgba(13, 62, 97, 0.07);
  font-size: 13px;
  font-weight: 900;
}

.otr-person-link:hover {
  color: var(--otr-navy);
  border-color: rgba(114, 167, 63, 0.46);
  box-shadow: 0 12px 24px rgba(13, 62, 97, 0.12);
  transform: translateY(-1px);
}

.otr-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 8px;
  padding: 0 9px;
  color: var(--otr-navy);
  background: #e8f3fb;
  font-size: 12px;
  font-weight: 900;
}

.otr-badge-success {
  color: #fff;
  background: var(--otr-green-700);
}

.otr-badge-muted {
  color: #fff;
  background: var(--otr-muted);
}

.otr-badge-warning {
  color: var(--otr-navy);
  background: var(--otr-warning);
}

.otr-badge-danger {
  color: #fff;
  background: var(--otr-danger);
}

.otr-code {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--otr-border);
  border-radius: 6px;
  padding: 0 9px;
  color: var(--otr-navy);
  background: var(--otr-surface-2);
  font-size: 12px;
  font-weight: 900;
}

.otr-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #cfe8bf;
  border-radius: 8px;
  color: var(--otr-navy);
  background: var(--otr-success-bg);
  font-weight: 800;
}

.otr-alert-warning {
  border-color: #f5d99b;
  background: #fff6df;
}

.otr-empty-state {
  margin: 0;
  color: var(--otr-muted);
  font-weight: 700;
}

.otr-panel-note {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.otr-inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: flex-end;
  gap: 10px;
}

.otr-inline-actions form:not(.otr-date-filter) {
  display: flex;
  align-items: end;
}

.otr-date-filter {
  min-width: min(100%, 560px);
  display: grid;
  grid-template-columns: minmax(150px, 190px) auto;
  gap: 8px 10px;
  align-items: end;
}

.otr-date-filter label {
  grid-column: 1 / -1;
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-date-filter input,
.otr-route-preview-selectors select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--otr-navy);
  background: #fff;
  font-weight: 800;
  outline: none;
}

.otr-date-filter input:focus,
.otr-route-preview-selectors select:focus {
  border-color: var(--otr-blue);
  box-shadow: 0 0 0 4px rgba(23, 117, 177, 0.12);
}

.otr-entry-planner {
  margin-top: 16px;
  background:
    linear-gradient(135deg, rgba(162, 216, 236, 0.16), transparent 42%),
    var(--otr-surface);
}

.otr-route-planner-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.otr-route-planner-summary div {
  min-height: 84px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.otr-route-planner-summary span,
.otr-route-preview-metrics span,
.otr-route-preview-selectors label {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 900;
}

.otr-route-planner-summary strong {
  color: var(--otr-navy);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.otr-route-planner-summary .otr-route-revenue-summary,
.otr-route-preview-metrics .otr-route-revenue-metric {
  border-color: rgba(114, 167, 63, 0.46);
  background: #f5fbef;
  box-shadow: inset 4px 0 0 var(--otr-green);
}

.otr-route-revenue-summary small,
.otr-route-revenue-metric small {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.otr-planner-warnings {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.otr-planner-warnings span {
  display: block;
  border: 1px solid rgba(242, 184, 75, 0.42);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--otr-navy);
  background: #fffaf0;
  font-size: 13px;
  font-weight: 800;
}

.otr-route-impact {
  display: grid;
  gap: 16px;
  margin: 16px 0;
  border-top: 1px solid rgba(13, 62, 97, 0.16);
  border-bottom: 1px solid rgba(13, 62, 97, 0.16);
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.62);
}

.otr-route-impact-header,
.otr-route-impact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.otr-route-impact-header h3 {
  margin: 4px 0 0;
  color: var(--otr-navy);
  font-size: 20px;
  font-weight: 900;
}

.otr-route-impact-header p {
  margin: 4px 0 0;
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 750;
}

.otr-route-impact-actions {
  justify-content: flex-end;
}

.otr-route-impact-actions .otr-button-secondary {
  min-width: 152px;
}

.otr-route-impact-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(13, 62, 97, 0.14);
  border-radius: 8px;
  background: #fff;
}

.otr-route-impact-metrics > div {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 104px;
  border-right: 1px solid rgba(13, 62, 97, 0.12);
  padding: 14px 16px;
}

.otr-route-impact-metrics > div:last-child {
  border-right: 0;
}

.otr-route-impact-metrics > div.is-financial {
  box-shadow: inset 0 -4px 0 var(--otr-green);
}

.otr-route-impact-metrics span,
.otr-route-impact-metrics small {
  color: var(--otr-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.otr-route-impact-metrics strong {
  color: var(--otr-navy);
  font-size: 21px;
  font-weight: 900;
}

.otr-route-impact-metrics small {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: baseline;
}

.otr-route-impact-metrics small b {
  color: var(--otr-navy);
}

.otr-route-impact-metrics em {
  font-style: normal;
  font-weight: 900;
}

.otr-route-impact-metrics em.is-neutral {
  color: var(--otr-muted);
}

.otr-route-impact-metrics em.is-increase,
.otr-route-impact-validation strong.is-blocked {
  color: var(--otr-danger);
}

.otr-route-impact-metrics em.is-decrease,
.otr-route-impact-validation strong.is-ready {
  color: var(--otr-green-700);
}

.otr-route-impact-validation strong.is-attention {
  color: #8a6417;
}

.otr-route-impact-validation {
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1.58fr);
  gap: 18px;
  align-items: start;
  border-left: 4px solid var(--otr-blue);
  padding: 2px 0 2px 14px;
}

.otr-route-impact-validation > div {
  display: grid;
  gap: 5px;
}

.otr-route-impact-validation strong {
  color: var(--otr-navy);
  font-size: 17px;
  font-weight: 900;
}

.otr-route-impact-validation ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.otr-route-impact-validation li {
  position: relative;
  min-height: 28px;
  display: flex;
  align-items: center;
  padding-left: 20px;
  color: var(--otr-navy);
  font-size: 13px;
  font-weight: 800;
}

.otr-route-impact-validation li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--otr-blue);
}

.otr-route-impact-validation li.is-clear::before {
  background: var(--otr-green);
}

.otr-route-impact-validation li.is-attention::before {
  background: var(--otr-warning);
}

.otr-route-impact-validation li.is-blocking::before {
  background: var(--otr-danger);
}

.otr-route-preview-card.is-modified {
  border-color: rgba(242, 184, 75, 0.7);
  box-shadow: 0 18px 38px rgba(138, 100, 23, 0.15);
}

.otr-route-impact button:disabled,
.otr-entry-preview-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  box-shadow: none;
  transform: none;
}

@media (max-width: 1100px) {
  .otr-route-impact-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .otr-route-impact-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .otr-route-impact-metrics > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(13, 62, 97, 0.12);
  }
}

@media (max-width: 720px) {
  .otr-route-impact-header,
  .otr-route-impact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .otr-route-impact-actions .otr-button-secondary {
    width: 100%;
  }

  .otr-route-impact-metrics,
  .otr-route-impact-validation {
    grid-template-columns: 1fr;
  }

  .otr-route-impact-metrics > div,
  .otr-route-impact-metrics > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(13, 62, 97, 0.12);
  }

  .otr-route-impact-metrics > div:last-child {
    border-bottom: 0;
  }
}

.otr-preview-map-panel {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  border: 1px solid rgba(13, 62, 97, 0.14);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(23, 117, 177, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.9);
}

.otr-preview-map-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.otr-preview-map-header h3 {
  margin: 4px 0 0;
  color: var(--otr-navy);
  font-size: 18px;
  font-weight: 900;
}

.otr-preview-map-header p {
  margin: 4px 0 0;
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 800;
}

.otr-preview-map-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.otr-preview-map-stats span,
.otr-preview-map-legend span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--otr-muted);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.otr-preview-map-stats b,
.otr-preview-map-legend b {
  color: var(--otr-navy);
  font-weight: 900;
}

.otr-preview-map-canvas {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(13, 62, 97, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 62, 97, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #edf6fb, #f8fbfd 56%, #eef7ed);
  background-size: 44px 44px, 44px 44px, auto;
}

.otr-preview-map-canvas svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.otr-preview-azure-map {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  background: #eaf2f7;
}

.otr-preview-map-fallback-layer {
  z-index: 1;
}

.otr-preview-map-empty {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--otr-muted);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  pointer-events: none;
}

.otr-preview-map-empty[hidden] {
  display: none;
}

.otr-preview-map-watermark {
  fill: rgba(255, 255, 255, 0.44);
  stroke: rgba(13, 62, 97, 0.08);
  stroke-width: 2;
}

.otr-preview-map-route-shadow,
.otr-preview-map-route-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.otr-preview-map-route-shadow {
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 14;
}

.otr-preview-map-route-line {
  stroke-width: 7;
}

.otr-preview-map-marker circle {
  stroke: #fff;
  stroke-width: 5;
  filter: drop-shadow(0 10px 16px rgba(13, 62, 97, 0.2));
}

.otr-preview-map-marker text,
.otr-preview-map-destination-label {
  fill: #fff;
  font-size: 14px;
  font-weight: 900;
  pointer-events: none;
}

.otr-preview-map-destination {
  fill: var(--otr-navy);
  stroke: #fff;
  stroke-width: 5;
  filter: drop-shadow(0 12px 18px rgba(13, 62, 97, 0.26));
}

.otr-preview-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.otr-preview-map-legend i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--route-color, var(--otr-blue));
  box-shadow: 0 0 0 3px rgba(13, 62, 97, 0.08);
}

.otr-preview-map-legend small {
  color: var(--otr-muted);
  font-weight: 800;
}

.otr-route-preview-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.otr-entry-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

.otr-entry-preview-save-form,
.otr-entry-preview-publish-form {
  display: flex;
}

.otr-entry-preview-action-note {
  margin: 0;
  padding: 10px 14px;
  border: 1px dashed rgba(13, 62, 97, 0.22);
  border-radius: 8px;
  color: var(--otr-muted);
  background: rgba(232, 244, 251, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.otr-route-preview-card {
  min-width: 0;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(13, 62, 97, 0.14);
  border-left: 5px solid var(--route-color, var(--otr-blue));
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 253, 0.96)),
    linear-gradient(135deg, rgba(114, 167, 63, 0.14), transparent 38%);
  box-shadow: 0 18px 38px rgba(13, 62, 97, 0.11);
}

.otr-route-preview-card header,
.otr-route-preview-card footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.otr-route-preview-card h3 {
  margin: 4px 0 0;
  color: var(--otr-navy);
  font-size: 18px;
  font-weight: 900;
}

.otr-route-preview-code {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: #fff;
  background: var(--route-color, var(--otr-navy));
  font-size: 12px;
  font-weight: 900;
}

.otr-route-preview-selectors,
.otr-route-preview-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.otr-route-preview-selectors label {
  display: grid;
  gap: 6px;
}

.otr-route-preview-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.otr-route-preview-metrics div {
  display: grid;
  gap: 3px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.otr-route-preview-metrics strong {
  color: var(--otr-navy);
  font-size: 14px;
  font-weight: 900;
}

.otr-preview-stop-list {
  min-height: 86px;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 10px;
  border: 1px dashed rgba(23, 117, 177, 0.28);
  border-radius: 8px;
  background: rgba(162, 216, 236, 0.14);
}

.otr-preview-stop-list.is-drop-target {
  border-color: var(--otr-green);
  background: rgba(114, 167, 63, 0.13);
}

.otr-preview-stop {
  display: grid;
  grid-template-columns: 18px 34px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(13, 62, 97, 0.1);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(13, 62, 97, 0.07);
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.otr-preview-stop:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(13, 62, 97, 0.12);
}

.otr-preview-stop.is-dragging {
  opacity: 0.55;
  cursor: grabbing;
  transform: scale(0.985);
}

.is-preview-stop-dragging {
  cursor: grabbing;
}

.otr-stop-drag-handle {
  width: 18px;
  height: 34px;
  border-radius: 8px;
  background-image: radial-gradient(circle, rgba(13, 62, 97, 0.42) 1.6px, transparent 1.8px);
  background-position: 0 0;
  background-size: 6px 6px;
  opacity: 0.86;
}

.otr-stop-order {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--otr-green-700);
  font-size: 13px;
  font-weight: 900;
}

.otr-preview-stop strong,
.otr-preview-stop span,
.otr-preview-stop small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.otr-preview-stop strong {
  color: var(--otr-navy);
  font-size: 14px;
  font-weight: 900;
}

.otr-preview-stop span,
.otr-preview-stop small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
}

.otr-preview-stop b {
  color: var(--otr-blue);
  font-size: 13px;
  font-weight: 900;
}

.otr-stop-move-actions {
  display: grid;
  gap: 4px;
}

.otr-stop-move-actions button {
  min-width: 58px;
  min-height: 28px;
  border: 1px solid rgba(13, 62, 97, 0.16);
  border-radius: 8px;
  padding: 0 8px;
  color: var(--otr-navy);
  background: var(--otr-surface-2);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.otr-stop-move-actions button:hover,
.otr-stop-move-actions button:focus-visible {
  border-color: rgba(23, 117, 177, 0.42);
  background: #fff;
}

.otr-route-preview-card footer {
  border-top: 1px solid var(--otr-border);
  padding-top: 10px;
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 800;
}

.otr-route-recalc-hint {
  color: var(--otr-green-700);
}

.otr-not-routable-panel {
  margin-top: 16px;
}

.otr-not-routable-panel h3 {
  margin: 0 0 10px;
  color: var(--otr-navy);
  font-size: 16px;
  font-weight: 900;
}

.otr-contract-management-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
}

.otr-contract-management-summary h2 {
  margin: 4px 0 0;
  color: var(--otr-navy);
  font-size: 20px;
  font-weight: 900;
}

.otr-contract-summary-metrics,
.otr-contract-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.otr-contract-summary-metrics span {
  min-width: 132px;
  display: grid;
  gap: 3px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 12px;
  color: var(--otr-muted);
  background: var(--otr-surface-2);
  font-size: 12px;
  font-weight: 850;
}

.otr-contract-summary-metrics b {
  color: var(--otr-navy);
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.otr-contract-read-mode {
  background:
    linear-gradient(135deg, rgba(114, 167, 63, 0.08), transparent 38%),
    var(--otr-surface);
}

.otr-contract-empty {
  display: grid;
  gap: 8px;
  justify-items: start;
  border: 1px dashed rgba(23, 117, 177, 0.28);
  border-radius: 8px;
  padding: 18px;
  background: rgba(162, 216, 236, 0.12);
}

.otr-contract-empty strong {
  color: var(--otr-navy);
  font-size: 16px;
  font-weight: 900;
}

.otr-contract-empty p {
  margin: 0;
  color: var(--otr-muted);
  font-weight: 750;
}

.otr-contract-list {
  display: grid;
  gap: 16px;
}

.otr-contract-overview-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.otr-contract-overview-strip div {
  border: 1px solid rgba(13, 62, 97, 0.1);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.78);
}

.otr-contract-overview-strip span,
.otr-contract-signal span {
  display: block;
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.otr-contract-overview-strip strong {
  display: block;
  margin-top: 5px;
  color: var(--otr-navy);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.otr-contract-card {
  position: relative;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(13, 62, 97, 0.13);
  border-radius: 8px;
  padding: 16px 16px 16px 20px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(13, 62, 97, 0.08);
}

.otr-contract-card::before {
  content: "";
  position: absolute;
  inset: 16px auto 16px 0;
  width: 4px;
  border-radius: 0 8px 8px 0;
  background: var(--otr-green);
}

.otr-contract-card.is-inactive::before {
  background: #9aa8b4;
}

.otr-contract-card header,
.otr-contract-card footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.otr-contract-card h3 {
  margin: 4px 0 0;
  color: var(--otr-navy);
  font-size: 22px;
  font-weight: 900;
}

.otr-contract-card p {
  margin: 5px 0 0;
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 800;
}

.otr-contract-period {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(13, 62, 97, 0.1);
  border-radius: 999px;
  padding: 3px 10px;
  background: rgba(234, 242, 247, 0.7);
}

.otr-contract-signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.otr-contract-signal {
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(13, 62, 97, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: #f8fbfd;
}

.otr-contract-signal strong {
  color: var(--otr-navy);
  font-size: 14px;
  font-weight: 900;
}

.otr-contract-signal small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.otr-contract-service-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(23, 117, 177, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(162, 216, 236, 0.22), rgba(255, 255, 255, 0.88));
}

.otr-contract-conflict-alert {
  display: grid;
  gap: 8px;
  border-color: rgba(184, 92, 6, 0.28);
  background: #fff8ed;
  color: #7a3f00;
}

.otr-contract-conflict-alert p,
.otr-contract-conflict-alert ul {
  margin: 0;
}

.otr-contract-conflict-alert ul {
  display: grid;
  gap: 4px;
  padding-left: 18px;
}

.otr-contract-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.otr-contract-section-heading span {
  display: block;
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.otr-contract-section-heading strong {
  color: var(--otr-navy);
  text-align: right;
  font-size: 13px;
  font-weight: 900;
}

.otr-contract-service-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.otr-contract-service-card {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 96px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  padding: 14px 14px 14px 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(13, 62, 97, 0.06);
}

.otr-contract-card.has-service-conflict {
  border-color: rgba(184, 92, 6, 0.38);
}

.otr-contract-service-card.is-conflicted {
  border-color: rgba(184, 92, 6, 0.34);
  background: #fffaf2;
}

.otr-contract-service-card::before {
  content: "";
  position: absolute;
  inset: 14px auto 14px 0;
  width: 4px;
  border-radius: 0 8px 8px 0;
  background: var(--otr-blue);
}

.otr-contract-service-card.is-luggage::before {
  background: var(--otr-green);
}

.otr-contract-service-card span {
  color: var(--otr-navy);
  font-size: 15px;
  font-weight: 900;
}

.otr-contract-service-card p {
  margin: 0;
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.otr-contract-service-card small {
  color: #8a4b05;
  font-size: 11px;
  font-weight: 900;
}

.otr-contract-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.otr-contract-detail-grid section {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 14px;
  background: var(--otr-surface-2);
}

.otr-contract-detail-grid .is-wide {
  grid-column: 1 / -1;
}

.otr-contract-detail-grid h4 {
  margin: 0;
  color: var(--otr-navy);
  font-size: 14px;
  font-weight: 900;
}

.otr-contract-detail-grid dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.otr-contract-detail-grid dl div {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(180px, 1fr);
  gap: 12px;
  border-bottom: 1px solid rgba(216, 230, 238, 0.72);
  padding-bottom: 8px;
}

.otr-contract-detail-grid dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.otr-contract-detail-grid dt {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 850;
}

.otr-contract-detail-grid dd {
  margin: 0;
  color: var(--otr-navy);
  text-align: right;
  font-size: 12px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.otr-contract-bands {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.otr-contract-card footer {
  border-top: 1px solid var(--otr-border);
  padding-top: 12px;
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 800;
}

.otr-contract-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.otr-contract-card-actions form {
  margin: 0;
}

.otr-collaborator-profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  gap: 16px;
  margin-top: 16px;
}

.otr-collaborator-card,
.otr-collaborator-map-panel {
  min-width: 0;
}

.otr-collaborator-address-panel {
  margin-top: 24px;
}

.otr-profile-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.otr-profile-list div {
  display: grid;
  gap: 4px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 12px;
  background: var(--otr-surface-2);
}

.otr-profile-list dt {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-profile-list dd {
  margin: 0;
  color: var(--otr-navy);
  font-size: 15px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.otr-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.otr-profile-map-frame {
  border: 1px solid rgba(13, 62, 97, 0.14);
  border-radius: 8px;
  min-height: 340px;
  overflow: hidden;
  background: #eaf2f7;
}

.otr-profile-map-frame iframe {
  border: 0;
  display: block;
  height: 340px;
  min-height: 0;
  overflow: hidden;
  width: 100%;
}

.otr-home-map-controls {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.otr-home-map-controls .otr-button-secondary {
  justify-content: center;
  width: 100%;
}

.otr-home-map-controls .otr-panel-note {
  margin: 0;
}

.otr-muted-inline {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 800;
}

.otr-collaborator-azure-map {
  display: block;
  width: 100%;
  height: 380px;
  min-height: 320px;
  border: 1px solid rgba(13, 62, 97, 0.14);
  border-radius: 8px;
  background: #eaf2f7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.otr-collaborator-map-fallback {
  position: relative;
  min-height: 280px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid rgba(13, 62, 97, 0.14);
  border-radius: 8px;
  padding: 24px;
  color: var(--otr-navy);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(162, 216, 236, 0.46), rgba(255, 255, 255, 0.88)),
    repeating-linear-gradient(35deg, rgba(13, 62, 97, 0.08) 0 2px, transparent 2px 46px),
    repeating-linear-gradient(-35deg, rgba(23, 117, 177, 0.08) 0 2px, transparent 2px 38px);
}

.otr-collaborator-map-fallback strong {
  font-size: 18px;
  font-weight: 900;
}

.otr-collaborator-map-fallback span,
.otr-collaborator-map-fallback small,
.otr-collaborator-map-fallback em {
  color: var(--otr-muted);
  font-style: normal;
  font-weight: 800;
}

.otr-collaborator-map-fallback small {
  font-size: 12px;
}

.otr-client-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
  gap: 16px;
  align-items: start;
  margin-top: 16px;
}

.otr-client-map-panel,
.otr-client-map-list {
  min-width: 0;
}

.otr-client-collaborator-map {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 1px solid rgba(13, 62, 97, 0.14);
  border-radius: 8px;
  background: #eaf2f7;
}

.otr-map-point-list {
  display: grid;
  gap: 10px;
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

.otr-map-point-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 12px;
  color: var(--otr-navy);
  text-decoration: none;
  background: var(--otr-surface-2);
  box-shadow: 0 10px 24px rgba(13, 62, 97, 0.06);
}

.otr-map-point-item:hover {
  border-color: rgba(23, 117, 177, 0.34);
  background: #fff;
}

.otr-map-point-dot {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--otr-green-700);
  box-shadow: 0 5px 12px rgba(13, 62, 97, 0.22);
}

.otr-map-point-item strong,
.otr-map-point-item span,
.otr-map-point-item small {
  display: block;
}

.otr-map-point-item strong {
  font-size: 14px;
  font-weight: 900;
}

.otr-map-point-item span,
.otr-map-point-item small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 800;
}

.otr-progress {
  width: 150px;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--otr-border);
}

.otr-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--otr-green), var(--otr-blue));
}

.otr-progress.is-wide {
  width: 100%;
}

.otr-progress-with-label {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 24px;
}

.otr-progress-with-label .otr-progress {
  height: 10px;
  background: rgba(216, 230, 238, 0.92);
}

.otr-progress-with-label strong {
  position: absolute;
  left: clamp(22px, var(--progress-label-position, 50%), calc(100% - 22px));
  top: 50%;
  min-width: 42px;
  padding: 3px 8px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--otr-blue);
  box-shadow: 0 8px 18px rgba(13, 62, 97, 0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transform: translate(-50%, -50%);
}

.otr-route-progress-cell {
  min-width: 190px;
  display: grid;
  gap: 8px;
}

.otr-route-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.otr-route-progress-meta strong {
  color: var(--otr-navy);
  font-size: 16px;
  font-weight: 900;
}

.otr-route-progress-meta span {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.otr-route-progress-cell .otr-progress {
  width: 100%;
  height: 10px;
  background: rgba(216, 230, 238, 0.9);
}

.otr-mission-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.25fr) minmax(170px, 0.25fr);
  gap: 16px;
  margin-bottom: 16px;
}

.otr-mission-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(13, 62, 97, 0.96), rgba(8, 44, 70, 0.96)),
    radial-gradient(circle at 86% 20%, rgba(114, 167, 63, 0.28), transparent 34%);
}

.otr-mission-brief .otr-section-label {
  color: #a9e58b;
}

.otr-mission-brief h2,
.otr-mission-brief p {
  margin: 0;
}

.otr-mission-brief h2 {
  margin-top: 5px;
  color: #fff;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 900;
}

.otr-mission-brief p {
  max-width: 720px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 750;
}

.otr-mission-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.otr-mission-signal {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 148px;
  background:
    linear-gradient(135deg, rgba(162, 216, 236, 0.2), transparent 58%),
    var(--otr-surface);
}

.otr-mission-signal span,
.otr-mission-signal small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 850;
}

.otr-mission-signal strong {
  color: var(--otr-navy);
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
}

.otr-mission-signal.is-active {
  border-color: rgba(23, 117, 177, 0.34);
}

.otr-mission-signal.is-complete {
  border-color: rgba(114, 167, 63, 0.42);
}

.otr-mission-signal.is-risk {
  border-color: rgba(214, 69, 69, 0.36);
  background:
    linear-gradient(135deg, rgba(214, 69, 69, 0.09), transparent 58%),
    var(--otr-surface);
}

.otr-route-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.otr-route-live-billing {
  margin-bottom: 16px;
  overflow: hidden;
  border-color: rgba(23, 117, 177, 0.28);
  box-shadow: 0 18px 44px rgba(13, 62, 97, 0.08);
}

.otr-route-billing-summary {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, minmax(0, 1fr));
  margin: 18px 0;
  border-top: 1px solid var(--otr-border);
  border-bottom: 1px solid var(--otr-border);
}

.otr-route-billing-summary > div {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--otr-border);
}

.otr-route-billing-summary > div:last-child {
  border-right: 0;
}

.otr-route-billing-summary > div.is-primary {
  background: rgba(114, 167, 63, 0.09);
}

.otr-route-billing-summary span,
.otr-route-billing-summary small,
.otr-route-billing-summary strong {
  display: block;
}

.otr-route-billing-summary span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-route-billing-summary strong {
  margin-top: 7px;
  color: var(--otr-navy);
  font-size: clamp(17px, 1.45vw, 24px);
  line-height: 1.1;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.otr-route-billing-summary small {
  margin-top: 6px;
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 750;
}

.otr-route-billing-bands {
  display: grid;
  border-top: 1px solid var(--otr-border);
}

.otr-route-billing-band-head,
.otr-route-billing-band {
  display: grid;
  grid-template-columns: minmax(100px, 0.65fr) minmax(180px, 1.2fr) minmax(140px, 0.8fr) minmax(180px, 1fr);
  gap: 14px;
  align-items: center;
}

.otr-route-billing-band-head {
  padding: 10px 14px;
  color: var(--otr-muted);
  background: var(--otr-surface-2);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-route-billing-band {
  position: relative;
  min-height: 62px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--otr-border);
  color: var(--otr-navy);
}

.otr-route-billing-band::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: transparent;
}

.otr-route-billing-band.is-active {
  background: rgba(114, 167, 63, 0.08);
}

.otr-route-billing-band.is-active::before {
  background: var(--otr-green);
}

.otr-route-billing-band strong,
.otr-route-billing-band b,
.otr-route-billing-band small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.otr-route-billing-band strong,
.otr-route-billing-band b {
  font-size: 13px;
  font-weight: 900;
}

.otr-route-billing-band small {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 750;
}

.otr-route-billing-band.is-active small {
  color: var(--otr-green-700);
  font-weight: 900;
}

.otr-route-billing-code {
  color: var(--otr-blue);
  font-size: 13px;
  font-weight: 900;
}

.otr-route-billing-live-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 800;
}

.otr-route-billing-live-status strong {
  color: var(--otr-navy);
}

@media (max-width: 1100px) {
  .otr-route-billing-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .otr-route-billing-summary > div:nth-child(2n) {
    border-right: 0;
  }

  .otr-route-billing-summary > div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--otr-border);
  }
}

@media (max-width: 720px) {
  .otr-route-billing-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .otr-route-billing-summary > div,
  .otr-route-billing-summary > div:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--otr-border);
  }

  .otr-route-billing-summary > div:last-child {
    grid-column: auto;
    border-top: 0;
    border-bottom: 0;
  }

  .otr-route-billing-band-head {
    display: none;
  }

  .otr-route-billing-band {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
  }

  .otr-route-billing-band strong,
  .otr-route-billing-band small {
    grid-column: 1 / -1;
  }

  .otr-route-billing-live-status {
    align-items: flex-start;
    flex-direction: column;
  }
}

.otr-route-review-card {
  display: grid;
  gap: 10px;
}

.otr-review-event {
  display: grid;
  gap: 4px;
}

.otr-review-event strong,
.otr-review-event span,
.otr-review-event small {
  display: block;
}

.otr-review-event strong {
  color: var(--otr-navy);
  font-size: 17px;
  font-weight: 900;
}

.otr-review-event span,
.otr-review-event small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
}

.otr-review-event .otr-link-button {
  justify-self: start;
  margin-top: 6px;
}

.otr-route-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 16px;
  margin-bottom: 16px;
}

.otr-route-map-card {
  min-height: 540px;
}

.otr-route-map-frame {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: #eaf2f7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.otr-route-map-frame iframe {
  display: block;
  width: 100%;
  height: 430px;
  min-height: 430px;
  border: 0;
}

.otr-route-map-canvas {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(162, 216, 236, 0.56), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(35deg, rgba(13, 62, 97, 0.08) 0 2px, transparent 2px 42px),
    repeating-linear-gradient(-35deg, rgba(23, 117, 177, 0.08) 0 2px, transparent 2px 36px);
}

.otr-map-road,
.otr-map-route-line {
  position: absolute;
  border-radius: 999px;
}

.otr-map-road {
  height: 10px;
  background: rgba(13, 62, 97, 0.13);
}

.main-road {
  left: -10%;
  right: -6%;
  top: 48%;
  transform: rotate(-10deg);
}

.cross-road-a {
  left: 8%;
  right: 18%;
  top: 27%;
  transform: rotate(17deg);
}

.cross-road-b {
  left: 18%;
  right: -8%;
  bottom: 22%;
  transform: rotate(10deg);
}

.otr-map-route-line {
  left: 16%;
  right: 18%;
  top: 52%;
  height: 8px;
  background: linear-gradient(90deg, var(--otr-green), var(--otr-blue));
  box-shadow: 0 0 0 6px rgba(114, 167, 63, 0.13);
  transform: rotate(-10deg);
}

.otr-route-map-pin {
  position: absolute;
  z-index: 4;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--otr-green-700);
  box-shadow: var(--otr-shadow-deep);
  font-size: 13px;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.otr-route-map-pin.is-start {
  left: 14%;
  top: 42%;
}

.otr-route-map-pin.is-end {
  right: 15%;
  top: 29%;
  background: var(--otr-blue);
}

.otr-route-map-note {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 3;
  max-width: min(520px, calc(100% - 32px));
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  color: var(--otr-navy);
  background: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.otr-azure-route-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.otr-azure-route-layer polyline {
  fill: none;
  stroke: var(--otr-blue);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 3px 5px rgba(13, 62, 97, 0.28));
}

.otr-route-map-canvas.has-azure-route .otr-map-route-line {
  opacity: 0.18;
}

.otr-map-live-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface-2);
}

.otr-map-live-summary span {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 850;
}

.otr-map-live-summary strong {
  color: var(--otr-navy);
  font-size: 13px;
  font-weight: 900;
}

.otr-monitor-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.otr-monitor-map-panel,
.otr-monitor-map-grid .otr-ops-detail-panel {
  width: 100%;
  min-width: 0;
}

.otr-monitor-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(162, 216, 236, 0.16), rgba(255, 255, 255, 0.92));
}

.otr-monitor-map-toolbar strong,
.otr-monitor-map-toolbar span {
  display: block;
}

.otr-monitor-map-toolbar strong {
  color: var(--otr-navy);
  font-size: 13px;
  font-weight: 900;
}

.otr-monitor-map-toolbar span {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 800;
}

.otr-monitor-map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.otr-monitor-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid var(--otr-border);
  border-radius: 999px;
  color: var(--otr-navy);
  background: #fff;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.otr-monitor-map-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--otr-blue);
  box-shadow: 0 0 0 3px rgba(23, 117, 177, 0.12);
}

.otr-monitor-map-legend i.is-ready {
  background: var(--otr-green);
  box-shadow: 0 0 0 3px rgba(114, 167, 63, 0.14);
}

.otr-monitor-map-legend i.is-review {
  background: #d6972f;
  box-shadow: 0 0 0 3px rgba(214, 151, 47, 0.16);
}

.otr-monitor-map-legend i.is-unassigned {
  background: var(--otr-red);
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.12);
}

.otr-monitor-map-canvas {
  position: relative;
  min-height: clamp(520px, 62vh, 760px);
  overflow: hidden;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(162, 216, 236, 0.5), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(35deg, rgba(13, 62, 97, 0.08) 0 2px, transparent 2px 42px),
    repeating-linear-gradient(-35deg, rgba(23, 117, 177, 0.08) 0 2px, transparent 2px 36px);
}

.otr-monitor-azure-map {
  display: block;
  width: 100%;
  min-height: clamp(520px, 62vh, 760px);
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: #eaf2f7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.otr-monitor-route-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.otr-monitor-route-layer polyline {
  fill: none;
  stroke: var(--route-color, var(--otr-blue));
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 3px 5px rgba(13, 62, 97, 0.24));
}

.otr-monitor-route-point circle {
  fill: var(--route-color, var(--otr-blue));
  stroke: #fff;
  stroke-width: 0.55;
  filter: drop-shadow(0 2px 4px rgba(13, 62, 97, 0.26));
}

.otr-monitor-route-point text {
  fill: #fff;
  font-size: 2.15px;
  font-weight: 900;
  text-anchor: middle;
  dominant-baseline: middle;
}

.otr-monitor-map-empty {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  color: var(--otr-navy);
  background: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.otr-monitor-route-list {
  display: grid;
  align-content: start;
}

.otr-monitor-route-list [data-monitor-route-list] {
  display: grid;
  gap: 10px;
}

.otr-monitor-route-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface-2);
}

.otr-monitor-route-item > span {
  width: 10px;
  height: 42px;
  border-radius: 999px;
  background: var(--route-color, var(--otr-blue));
}

.otr-monitor-route-item strong,
.otr-monitor-route-item small,
.otr-monitor-route-item em {
  display: block;
}

.otr-monitor-route-item strong {
  color: var(--otr-navy);
  font-size: 14px;
  font-weight: 900;
}

.otr-monitor-route-item small,
.otr-monitor-route-item em {
  color: var(--otr-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.otr-monitor-route-item a {
  color: var(--otr-blue);
  font-size: 12px;
  font-weight: 900;
}

.otr-route-summary-rail {
  display: grid;
  align-content: start;
  gap: 16px;
}

.otr-route-status-block {
  display: grid;
  gap: 8px;
}

.otr-route-status-block span,
.otr-route-facts span,
.otr-stop-meta span {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 850;
}

.otr-route-status-block strong {
  color: var(--otr-navy);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.otr-route-status-block i {
  justify-self: start;
  font-style: normal;
}

.otr-route-facts {
  display: grid;
  gap: 10px;
}

.otr-route-facts div {
  padding: 12px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface-2);
}

.otr-route-facts strong {
  display: block;
  margin-top: 4px;
  color: var(--otr-navy);
  font-size: 15px;
  font-weight: 900;
}

.otr-stop-timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.otr-stop-timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--otr-border);
}

.otr-stop-card {
  position: relative;
  display: grid;
  gap: 12px;
  margin-left: 58px;
  padding: 14px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface-2);
}

.otr-stop-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}

.otr-stop-head > div {
  min-width: 0;
}

.otr-stop-head strong {
  display: block;
  color: var(--otr-navy);
  font-size: 15px;
  font-weight: 900;
}

.otr-stop-head small {
  display: block;
  margin-top: 3px;
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 700;
}

.otr-stop-sequence {
  position: absolute;
  left: -58px;
  top: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 4px solid var(--otr-surface);
  border-radius: 50%;
  color: #fff;
  background: var(--otr-navy);
  box-shadow: var(--otr-shadow);
  font-size: 13px;
  font-weight: 900;
}

.otr-stop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.otr-stop-meta span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 0 9px;
  background: #fff;
}

.otr-stop-events {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.otr-stop-events li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}

.otr-event-marker {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--otr-green);
  box-shadow: 0 0 0 5px rgba(114, 167, 63, 0.12);
}

.otr-event-content {
  display: grid;
  gap: 6px;
}

.otr-event-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.otr-event-title strong {
  color: var(--otr-navy);
  font-weight: 900;
}

.otr-event-title span,
.otr-event-content small,
.otr-event-content p {
  margin: 0;
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 700;
}

.otr-event-content p {
  color: var(--otr-text);
}

.otr-dispatch-panel,
.otr-routes-table-panel {
  overflow: hidden;
}

.otr-routes-table-panel .otr-table-scroll {
  margin-top: 2px;
}

.otr-dispatch-table td {
  vertical-align: top;
}

.otr-dispatch-table .otr-dispatch-action-cell {
  vertical-align: middle;
}

.otr-closure-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.otr-closure-action-card {
  align-content: start;
}

.otr-closure-action-card .otr-form-grid {
  margin-top: 4px;
}

.otr-closures-table-panel {
  overflow: hidden;
}

.otr-inline-assignment {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(160px, 1fr) auto;
  gap: 10px;
  align-items: end;
  min-width: 460px;
}

.otr-inline-assignment label {
  margin: 0;
}

.otr-inline-assignment label span {
  display: block;
  margin-bottom: 5px;
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-inline-assignment select {
  min-height: 40px;
  font-size: 13px;
  font-weight: 750;
}

.otr-icon-save-button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  background: var(--otr-navy);
  font-size: 12px;
  font-weight: 900;
}

.otr-form-panel {
  max-width: 980px;
}

.otr-guided-form {
  display: grid;
  gap: 16px;
}

.otr-form-guidance-grid,
.otr-contract-form-summary {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.otr-form-guidance-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.otr-contract-form-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0;
}

.otr-form-guidance-grid article,
.otr-contract-form-summary div {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(13, 62, 97, 0.06);
}

.otr-form-guidance-grid span,
.otr-contract-form-summary span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.otr-form-guidance-grid article > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--otr-navy);
}

.otr-form-guidance-grid strong,
.otr-contract-form-summary strong {
  color: var(--otr-navy);
  font-size: 16px;
  font-weight: 900;
}

.otr-form-guidance-grid small,
.otr-contract-form-summary small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.otr-form-section-divider {
  display: grid;
  gap: 5px;
  border-top: 1px solid rgba(13, 62, 97, 0.1);
  padding-top: 16px;
}

.otr-form-section-divider h2,
.otr-form-section-divider p {
  margin: 0;
}

.otr-form-section-divider h2 {
  color: var(--otr-navy);
  font-size: 20px;
  font-weight: 900;
}

.otr-form-section-divider p {
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.otr-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.otr-form-wide {
  grid-column: 1 / -1;
}

.otr-form-grid label span:first-child,
.otr-filter-grid label span:first-child,
.otr-field-label {
  display: block;
  margin-bottom: 6px;
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 900;
}

.form-control,
.form-select,
input.form-control,
select.form-control,
textarea.form-control {
  min-height: 44px;
  border-color: var(--otr-border);
  border-radius: 8px;
  color: var(--otr-text);
  font-weight: 650;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--otr-blue);
  box-shadow: 0 0 0 4px rgba(23, 117, 177, 0.12);
}

.otr-rate-band-editor {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface-2);
}

.otr-contract-map-picker {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(162, 216, 236, 0.24), rgba(255, 255, 255, 0.94));
}

.otr-contract-map-picker-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.36fr);
  gap: 14px;
  align-items: stretch;
}

.otr-contract-map-frame {
  width: 100%;
  min-height: 320px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.otr-contract-map-help {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.otr-contract-map-help strong {
  color: var(--otr-navy);
  font-size: 15px;
  font-weight: 900;
}

.otr-contract-map-help p {
  margin: 0;
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.otr-contract-map-help dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.otr-contract-map-help dl div {
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 10px;
  background: var(--otr-surface-2);
}

.otr-contract-map-help dt {
  margin-bottom: 4px;
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-contract-map-help dd {
  margin: 0;
  color: var(--otr-navy);
  font-size: 13px;
  font-weight: 900;
  word-break: break-word;
}

.otr-rate-band-head,
.otr-rate-band-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: center;
}

.otr-rate-band-head {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 900;
}

.otr-rate-band-rows {
  display: grid;
  gap: 8px;
}

.otr-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--otr-muted);
  font-weight: 800;
}

.otr-contract-service-picker {
  display: grid;
  gap: 12px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 14px;
  background: var(--otr-surface-2);
}

.otr-service-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.otr-service-option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px;
  min-height: 92px;
  border: 1px solid rgba(13, 62, 97, 0.14);
  border-radius: 8px;
  padding: 12px;
  color: var(--otr-navy);
  background: #fff;
}

.otr-service-option input {
  margin-top: 3px;
}

.otr-service-option strong,
.otr-service-option small {
  display: block;
}

.otr-service-option strong {
  font-size: 14px;
  font-weight: 900;
}

.otr-service-option small {
  margin-top: 4px;
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.otr-inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface-2);
}

.otr-inline-options .otr-checkbox {
  min-height: 32px;
  margin-top: 0;
}

.otr-form-grid fieldset legend {
  margin-bottom: 6px;
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 900;
}

.otr-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.otr-role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.otr-role-option,
.otr-help-box,
.otr-evidence-item {
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface-2);
}

.otr-role-option {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--otr-navy);
  font-weight: 800;
}

.otr-assignment-picker {
  border: 0;
  border-top: 1px solid var(--otr-border);
  margin: 2px 0 0;
  min-width: 0;
  padding: 16px 0 0;
}

.otr-assignment-picker.is-hidden {
  display: none;
}

.otr-form-grid .otr-assignment-picker legend {
  color: var(--otr-navy);
  font-size: 15px;
  font-weight: 900;
  margin: 0 0 4px;
}

.otr-assignment-picker > p {
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  margin: 0 0 12px;
}

.otr-assignment-list {
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 300px;
  overflow-y: auto;
}

.otr-form-grid label.otr-assignment-option {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--otr-border);
  color: var(--otr-navy);
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: 18px minmax(0, 1fr);
  min-height: 58px;
  padding: 10px 12px;
}

.otr-form-grid label.otr-assignment-option:nth-child(odd) {
  border-right: 1px solid var(--otr-border);
}

.otr-form-grid label.otr-assignment-option:hover {
  background: var(--otr-surface-2);
}

.otr-assignment-option input {
  height: 18px;
  margin: 0;
  width: 18px;
}

.otr-assignment-option strong,
.otr-assignment-option small {
  display: block;
}

.otr-assignment-option strong {
  font-size: 13px;
  font-weight: 900;
}

.otr-assignment-option small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  margin-top: 2px;
}

.otr-push-recipient-toolbar {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  margin-bottom: 12px;
}

.otr-push-recipient-toolbar > label {
  min-width: 0;
}

.otr-push-recipient-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.otr-push-recipient-toolbar > strong {
  color: var(--otr-navy);
  min-width: 112px;
  padding-bottom: 12px;
  text-align: right;
}

.otr-assignment-option[hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .otr-push-recipient-toolbar {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .otr-push-recipient-toolbar > strong {
    padding-bottom: 0;
    text-align: left;
  }

  .otr-push-recipient-actions > * {
    flex: 1 1 150px;
  }
}

.otr-assignment-empty {
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 650;
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px;
}

.otr-help-box {
  padding: 12px 14px;
  color: var(--otr-muted);
  font-weight: 650;
}

.otr-filter-panel {
  margin-bottom: 16px;
}

.otr-dispatch-command-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(170px, 0.35fr));
  gap: 16px;
  margin-bottom: 16px;
}

.otr-dispatch-focus-card,
.otr-dispatch-resource-card,
.otr-priority-route-card {
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface);
  box-shadow: var(--otr-shadow);
}

.otr-dispatch-focus-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13, 62, 97, 0.96), rgba(8, 44, 70, 0.96)),
    radial-gradient(circle at 82% 16%, rgba(162, 216, 236, 0.34), transparent 30%);
  color: #fff;
}

.otr-dispatch-focus-card .otr-section-label {
  color: #a9e58b;
}

.otr-dispatch-focus-card h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 900;
}

.otr-dispatch-focus-card p {
  max-width: 620px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 750;
}

.otr-dispatch-meter {
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--otr-navy-900) 0 58%, transparent 59%),
    conic-gradient(var(--otr-green) var(--progress), rgba(255, 255, 255, 0.16) 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 18px 36px rgba(0, 0, 0, 0.22);
}

.otr-dispatch-meter strong,
.otr-dispatch-meter span {
  display: block;
  text-align: center;
}

.otr-dispatch-meter strong {
  color: #fff;
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
}

.otr-dispatch-meter span {
  max-width: 82px;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.otr-dispatch-resource-card {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 152px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(162, 216, 236, 0.22), transparent 60%),
    var(--otr-surface);
}

.otr-dispatch-resource-card span,
.otr-dispatch-resource-card small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 850;
}

.otr-dispatch-resource-card strong {
  color: var(--otr-navy);
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
}

.otr-priority-routes-panel {
  margin-bottom: 16px;
}

.otr-priority-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.otr-priority-route-card {
  position: relative;
  display: grid;
  gap: 11px;
  padding: 14px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.98));
}

.otr-priority-route-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--otr-blue);
}

.otr-priority-route-card.is-unassigned::before {
  background: var(--otr-danger);
}

.otr-priority-route-card.is-review::before {
  background: var(--otr-warning);
}

.otr-priority-route-card.is-live::before {
  background: var(--otr-green);
}

.otr-priority-route-card strong,
.otr-priority-route-card span,
.otr-priority-route-card p,
.otr-priority-route-card a {
  position: relative;
}

.otr-priority-route-card strong {
  display: block;
  color: var(--otr-navy);
  font-size: 14px;
  font-weight: 900;
}

.otr-priority-route-card div > span,
.otr-priority-route-card p {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
}

.otr-priority-route-card p {
  min-height: 36px;
  margin: 0;
  line-height: 1.45;
}

.otr-priority-route-card a {
  justify-self: start;
  color: var(--otr-blue);
  font-size: 12px;
  font-weight: 900;
}

.otr-dispatch-board-panel {
  margin-bottom: 16px;
}

.otr-board-count {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--otr-navy);
  background: var(--otr-surface-2);
  font-size: 12px;
  font-weight: 900;
}

.otr-dispatch-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.otr-dispatch-lane {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 260px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 12px;
  background: var(--otr-surface-2);
}

.otr-dispatch-lane header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.otr-dispatch-lane header strong,
.otr-dispatch-lane header span {
  display: block;
}

.otr-dispatch-lane header strong {
  color: var(--otr-navy);
  font-size: 14px;
  font-weight: 900;
}

.otr-dispatch-lane header span,
.otr-lane-empty {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
}

.otr-dispatch-lane header b {
  min-width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--otr-blue);
  font-size: 12px;
  font-weight: 900;
}

.otr-dispatch-lane.is-unassigned header b {
  background: var(--otr-danger);
}

.otr-dispatch-lane.is-live header b {
  background: var(--otr-green-700);
}

.otr-dispatch-lane.is-review header b {
  color: var(--otr-navy);
  background: var(--otr-warning);
}

.otr-dispatch-lane.is-ready header b {
  background: var(--otr-navy);
}

.otr-dispatch-lane-stack {
  display: grid;
  gap: 9px;
}

.otr-lane-route-card {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(216, 230, 238, 0.9);
  border-radius: 8px;
  padding: 11px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(13, 62, 97, 0.07);
}

.otr-lane-route-card:hover {
  color: inherit;
  border-color: var(--otr-sky);
  box-shadow: 0 16px 32px rgba(13, 62, 97, 0.12);
  transform: translateY(-1px);
}

.otr-lane-route-card span,
.otr-lane-route-card strong,
.otr-lane-route-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.otr-lane-route-card span {
  color: var(--otr-blue);
  font-size: 11px;
  font-weight: 900;
}

.otr-lane-route-card strong {
  color: var(--otr-navy);
  font-size: 13px;
  font-weight: 900;
}

.otr-lane-route-card small {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 750;
}

.otr-lane-route-card i {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--otr-border);
}

.otr-lane-route-card em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--otr-green), var(--otr-blue));
}

.otr-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px 190px auto;
  gap: 16px;
  align-items: end;
}

.otr-event-list,
.otr-evidence-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.otr-event-list li {
  display: grid;
  grid-template-columns: minmax(160px, 0.75fr) minmax(220px, 1fr);
  gap: 12px;
  align-items: start;
}

.otr-event-main {
  display: grid;
  gap: 3px;
}

.otr-event-main strong {
  color: var(--otr-navy);
}

.otr-event-main span,
.otr-event-main small {
  color: var(--otr-muted);
}

.otr-evidence-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
}

.otr-audit-details summary {
  color: var(--otr-blue);
  cursor: pointer;
  font-weight: 900;
}

.otr-audit-details pre {
  max-width: 520px;
  margin: 8px 0 0;
  overflow-x: auto;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  padding: 12px;
  background: var(--otr-surface-2);
  color: var(--otr-text);
  white-space: pre-wrap;
}

.otr-error-text,
.text-danger {
  color: var(--otr-danger) !important;
  font-weight: 800;
}

.otr-auth-body {
  min-height: 100vh;
  background: var(--otr-navy-900);
}

.otr-auth-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  padding: clamp(18px, 3vw, 34px);
  overflow-x: hidden;
  overflow-y: auto;
}

.otr-auth-background,
.otr-auth-background::after {
  position: absolute;
  inset: 0;
}

.otr-auth-background {
  z-index: 0;
  overflow: hidden;
  background: var(--otr-navy-900);
}

.otr-auth-background::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 44, 70, 0.94) 0%, rgba(13, 62, 97, 0.8) 42%, rgba(8, 44, 70, 0.6) 100%),
    linear-gradient(180deg, rgba(8, 44, 70, 0.08), rgba(8, 44, 70, 0.78));
}

.otr-auth-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.76;
  filter: saturate(1.06) contrast(1.02);
  transform: scale(1.03);
}

.otr-auth-card,
.otr-auth-footer {
  position: relative;
  z-index: 1;
}

.otr-auth-card-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 26px;
}

.otr-auth-card-brand img {
  width: clamp(168px, 25vw, 250px);
  max-height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.2));
}

.otr-auth-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 560px;
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(237, 246, 251, 0.72)),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
}

.otr-auth-title-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.otr-auth-user-icon {
  width: 70px;
  height: 70px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(13, 62, 97, 0.18);
  color: var(--otr-green-700);
}

.otr-auth-user-icon svg,
.otr-auth-input svg,
.otr-auth-visibility svg,
.otr-auth-secure svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.otr-auth-card .otr-eyebrow {
  margin-bottom: 5px;
  color: rgba(13, 62, 97, 0.7);
}

.otr-auth-card h1 {
  margin: 0;
  color: var(--otr-navy);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.02;
  font-weight: 900;
}

.otr-auth-form {
  display: grid;
  gap: 19px;
}

.otr-auth-field {
  display: grid;
  gap: 10px;
  color: var(--otr-navy);
  font-size: 17px;
  font-weight: 900;
}

.otr-auth-input {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid rgba(216, 230, 238, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 16px 34px rgba(13, 62, 97, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  color: var(--otr-navy);
}

.otr-auth-input--trailing-action {
  grid-template-columns: minmax(0, 1fr) auto;
}

.otr-auth-input--trailing-action .otr-auth-visibility {
  justify-self: end;
}

.otr-auth-input:focus-within {
  border-color: rgba(23, 117, 177, 0.55);
  box-shadow:
    0 20px 40px rgba(23, 117, 177, 0.16),
    0 0 0 4px rgba(162, 216, 236, 0.35);
}

.otr-auth-input .form-control {
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f2f3b;
  font-size: clamp(16px, 2vw, 20px);
  box-shadow: none;
}

.otr-auth-input .form-control::placeholder {
  color: rgba(31, 47, 59, 0.48);
}

.otr-auth-input .form-control:focus {
  background: transparent;
  box-shadow: none;
}

.otr-auth-visibility {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--otr-navy);
}

.otr-auth-visibility:hover,
.otr-auth-visibility:focus-visible {
  background: rgba(162, 216, 236, 0.34);
}

.otr-auth-visibility[aria-pressed="true"] {
  background: rgba(162, 216, 236, 0.22);
  color: var(--otr-blue);
}

.otr-auth-visibility .otr-password-icon.is-hidden {
  display: none;
}

.otr-auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--otr-navy);
  font-size: 14px;
  font-weight: 800;
}

.otr-auth-options a {
  color: var(--otr-blue);
}

.otr-auth-submit.otr-button {
  min-height: 68px;
  width: 100%;
  margin-top: 2px;
  border-radius: 8px;
  font-size: 20px;
  box-shadow: 0 22px 44px rgba(95, 143, 50, 0.35);
}

.otr-auth-submit span {
  font-size: 30px;
  line-height: 1;
  transform: translateY(-1px);
}

.otr-auth-secure {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  color: var(--otr-navy);
  text-align: center;
}

.otr-auth-secure::before,
.otr-auth-secure::after {
  content: "";
  grid-row: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 62, 97, 0.22));
}

.otr-auth-secure::before {
  grid-column: 1;
}

.otr-auth-secure::after {
  grid-column: 3;
  background: linear-gradient(90deg, rgba(13, 62, 97, 0.22), transparent);
}

.otr-auth-secure span {
  grid-column: 2;
  grid-row: 1;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--otr-green-700);
  background: rgba(255, 255, 255, 0.56);
}

.otr-auth-secure p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  color: var(--otr-navy);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 800;
}

.otr-auth-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
  text-align: center;
}

.otr-auth-footer span + span::before {
  content: "/";
  margin-right: 14px;
  opacity: 0.8;
}

@media (max-width: 1180px) {
  .otr-admin-shell {
    grid-template-columns: 1fr;
  }

  .otr-admin-shell.is-sidebar-collapsed {
    grid-template-columns: 1fr;
  }

  .otr-admin-shell::before {
    display: none;
  }

  .otr-admin-main {
    grid-column: 1;
  }

  .otr-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    width: var(--otr-sidebar-width);
    max-width: calc(100vw - 28px);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .otr-admin-shell.is-sidebar-collapsed .otr-sidebar {
    padding: 24px 16px;
  }

  .otr-admin-shell.is-sidebar-collapsed .otr-sidebar-brand {
    min-height: 78px;
    padding: 4px 2px 14px;
  }

  .otr-admin-shell.is-sidebar-collapsed .otr-sidebar-brand img {
    width: min(196px, 82%);
    max-width: 100%;
    height: auto;
    max-height: 76px;
    object-position: center;
  }

  .otr-admin-shell.is-sidebar-collapsed .otr-sidebar-nav a {
    justify-content: flex-start;
    padding: 0 12px;
  }

  .otr-admin-shell.is-sidebar-collapsed .otr-nav-label {
    display: inline;
  }

  .otr-admin-shell.is-sidebar-collapsed .otr-service-card {
    display: grid;
  }

  .otr-admin-shell.is-sidebar-open .otr-sidebar {
    transform: translateX(0);
  }

  .otr-topbar {
    grid-template-columns: auto 1fr auto;
  }
}

@media (max-width: 980px) {
  .otr-user-chip div {
    display: none;
  }

  .otr-dashboard-header,
  .otr-page-header,
  .otr-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .otr-dashboard-kpis,
  .otr-route-detail-grid,
  .otr-monitor-grid,
  .otr-notification-kpis,
  .otr-home-command-grid,
  .otr-alternative-signal-row,
  .otr-drivers-health-strip,
  .otr-drivers-signal-row,
  .otr-workdays-health-strip,
  .otr-workdays-signal-row,
  .otr-license-health-strip,
  .otr-license-signal-row,
  .otr-vehicle-form-health-strip,
  .otr-vehicle-form-signal-row,
  .otr-vehicle-form-layout,
  .otr-maintenance-health-strip,
  .otr-maintenance-signal-row,
  .otr-maintenance-layout,
  .otr-alternative-create-guidance,
  .otr-alternative-create-layout,
  .otr-alternative-detail-grid,
  .otr-alternative-review-summary,
  .otr-alternative-action-grid,
  .otr-dashboard-grid,
  .otr-mission-control-grid,
  .otr-dispatch-command-strip,
  .otr-closure-action-grid,
  .otr-route-command-grid,
  .otr-monitor-map-grid,
  .otr-dashboard-lower,
  .otr-route-planner-summary,
  .otr-route-preview-board,
  .otr-contract-management-summary,
  .otr-contract-detail-grid,
  .otr-contract-service-summary,
  .otr-client-module-grid,
  .otr-client-map-layout,
  .otr-collaborator-profile-grid,
  .otr-grid {
    grid-template-columns: 1fr 1fr;
  }

  .otr-dispatch-focus-card,
  .otr-mission-brief,
  .otr-priority-routes-panel {
    grid-column: 1 / -1;
  }

  .otr-priority-route-grid,
  .otr-dispatch-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .otr-monitor-map-grid {
    grid-template-columns: 1fr;
  }

  .otr-live-map-panel,
  .otr-dashboard-lower > .otr-panel:first-child {
    grid-column: 1 / -1;
  }

  .otr-luggage-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .otr-bulk-import-steps,
  .otr-bulk-import-form,
  .otr-bulk-import-confirm {
    grid-template-columns: minmax(0, 1fr);
  }

  .otr-bulk-import-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .otr-bulk-import-form > .otr-button,
  .otr-bulk-import-confirm .otr-button,
  .otr-bulk-import-download-validation .otr-button {
    width: 100%;
  }

  .otr-bulk-import-download-validation {
    justify-content: stretch;
  }
}

@media (max-width: 720px) {
  .otr-topbar {
    grid-template-columns: auto 1fr;
    padding: 12px 14px;
  }

  .otr-command-search {
    display: none;
  }

  .otr-topbar-actions {
    justify-content: flex-end;
  }

  .otr-content {
    width: calc(100% - 28px);
    padding-top: 22px;
  }

  .otr-dashboard-header h1,
  .otr-page-header h1 {
    font-size: 28px;
  }

  .otr-dashboard-kpis,
  .otr-route-detail-grid,
  .otr-monitor-grid,
  .otr-notification-kpis,
  .otr-home-command-grid,
  .otr-alternative-signal-row,
  .otr-alternative-create-guidance,
  .otr-alternative-create-layout,
  .otr-alternative-detail-grid,
  .otr-alternative-review-summary,
  .otr-alternative-action-grid,
  .otr-dashboard-grid,
  .otr-mission-control-grid,
  .otr-route-review-grid,
  .otr-dispatch-command-strip,
  .otr-route-command-grid,
  .otr-monitor-map-grid,
  .otr-dashboard-lower,
  .otr-route-planner-summary,
  .otr-route-preview-board,
  .otr-route-preview-selectors,
  .otr-route-preview-metrics,
  .otr-contract-management-summary,
  .otr-contract-detail-grid,
  .otr-contract-signal-row,
  .otr-contract-service-summary,
  .otr-contract-map-picker-grid,
  .otr-client-module-grid,
  .otr-client-map-layout,
  .otr-collaborator-profile-grid,
  .otr-grid,
  .otr-form-grid,
  .otr-role-grid,
  .otr-assignment-list,
  .otr-filter-grid {
    grid-template-columns: 1fr;
  }

  .otr-form-grid label.otr-assignment-option:nth-child(odd) {
    border-right: 0;
  }

  .otr-ops-map {
    min-height: 300px;
  }

  .otr-route-map-frame,
  .otr-route-map-frame iframe {
    min-height: 340px;
    height: 340px;
  }

  .otr-route-map-canvas {
    min-height: 280px;
  }

  .otr-contract-map-frame {
    min-height: 280px;
  }

  .otr-monitor-map-canvas {
    min-height: 360px;
  }

  .otr-monitor-azure-map {
    min-height: 360px;
  }

  .otr-collaborator-azure-map {
    height: 340px;
    min-height: 340px;
  }

  .otr-preview-map-header {
    flex-direction: column;
  }

  .otr-preview-map-stats {
    justify-content: flex-start;
  }

  .otr-preview-map-canvas {
    min-height: 280px;
  }

  .otr-preview-stop {
    grid-template-columns: 18px 34px minmax(0, 1fr) auto;
  }

  .otr-stop-move-actions {
    grid-column: 3 / -1;
    grid-template-columns: repeat(2, minmax(0, 74px));
  }

  .otr-luggage-kpis {
    grid-template-columns: 1fr;
  }

  .otr-stop-card {
    margin-left: 46px;
  }

  .otr-stop-sequence {
    left: -46px;
    width: 34px;
    height: 34px;
  }

  .otr-panel {
    padding: 14px;
  }

  .otr-dispatch-focus-card {
    grid-template-columns: 1fr;
  }

  .otr-mission-brief {
    grid-template-columns: 1fr;
  }

  .otr-mission-actions {
    justify-content: stretch;
  }

  .otr-dispatch-meter {
    width: 108px;
    height: 108px;
  }

  .otr-priority-route-grid {
    grid-template-columns: 1fr;
  }

  .otr-dispatch-board {
    grid-template-columns: 1fr;
  }

  .otr-dispatch-lane {
    min-height: auto;
  }

  .otr-header-actions,
  .otr-actions,
  .otr-table-actions,
  .otr-form-actions {
    width: 100%;
  }

  .otr-actions,
  .otr-table-actions {
    justify-content: flex-start;
    white-space: normal;
  }

  .otr-button,
  .otr-button-secondary {
    flex: 1 1 180px;
  }

  .otr-inline-actions,
  .otr-inline-actions form:not(.otr-date-filter) {
    width: 100%;
    justify-content: stretch;
  }

  .otr-date-filter {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .otr-route-preview-card header,
  .otr-route-preview-card footer,
  .otr-contract-card header,
  .otr-contract-card footer {
    flex-direction: column;
  }

  .otr-contract-summary-actions,
  .otr-contract-card-actions {
    width: 100%;
    justify-content: stretch;
  }

  .otr-contract-card-actions .otr-button,
  .otr-contract-card-actions form,
  .otr-contract-card-actions button {
    width: 100%;
  }

  .otr-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .otr-inline-assignment {
    grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) auto;
    min-width: 430px;
  }

  .otr-event-list li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .otr-user-chip {
    display: none;
  }

  .otr-exit-button {
    padding-right: 0;
  }

  .otr-auth-card {
    padding: 24px;
  }

  .otr-inline-assignment {
    min-width: 390px;
  }
}

.otr-live-command-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(170px, 0.34fr));
  gap: 16px;
  margin-bottom: 16px;
}

.otr-live-focus-card,
.otr-live-kpi {
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface);
  box-shadow: var(--otr-shadow);
}

.otr-live-focus-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(13, 62, 97, 0.97), rgba(8, 44, 70, 0.97)),
    radial-gradient(circle at 84% 18%, rgba(114, 167, 63, 0.3), transparent 34%);
}

.otr-live-focus-card .otr-section-label {
  color: #a9e58b;
}

.otr-live-focus-card h2,
.otr-live-focus-card p {
  margin: 0;
}

.otr-live-focus-card h2 {
  margin-top: 5px;
  color: #fff;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 900;
}

.otr-live-focus-card p {
  max-width: 700px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 750;
}

.otr-live-meter {
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--otr-navy-900) 0 58%, transparent 59%),
    conic-gradient(var(--otr-green) var(--progress), rgba(255, 255, 255, 0.16) 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 18px 36px rgba(0, 0, 0, 0.22);
}

.otr-live-meter strong,
.otr-live-meter span {
  display: block;
  text-align: center;
}

.otr-live-meter strong {
  color: #fff;
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
}

.otr-live-meter span {
  max-width: 82px;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.otr-live-kpi {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 152px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(162, 216, 236, 0.22), transparent 60%),
    var(--otr-surface);
}

.otr-live-kpi.is-risk {
  background:
    linear-gradient(135deg, rgba(214, 69, 69, 0.1), transparent 60%),
    var(--otr-surface);
}

.otr-live-kpi span,
.otr-live-kpi small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 850;
}

.otr-live-kpi strong {
  color: var(--otr-navy);
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
}

.otr-ops-detail-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.otr-ops-detail-panel.is-loading {
  opacity: 0.72;
}

.otr-ops-detail-body {
  display: grid;
  gap: 12px;
}

.otr-ops-detail-metric {
  display: grid;
  gap: 4px;
}

.otr-ops-detail-metric span,
.otr-ops-detail-metric small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
}

.otr-ops-detail-metric strong {
  color: var(--otr-navy);
  font-size: 20px;
  font-weight: 900;
}

.otr-ops-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.otr-ops-mini-grid div {
  padding: 10px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface-2);
}

.otr-ops-mini-grid span,
.otr-ops-mini-grid strong {
  display: block;
}

.otr-ops-mini-grid span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
}

.otr-ops-mini-grid strong {
  margin-top: 3px;
  color: var(--otr-navy);
  font-size: 14px;
  font-weight: 900;
}

.otr-ops-stop-preview {
  display: grid;
  gap: 8px;
}

.otr-ops-signal-list {
  display: grid;
  gap: 8px;
}

.otr-ops-signal-list span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid rgba(216, 230, 238, 0.78);
  border-radius: 8px;
  background: rgba(248, 251, 253, 0.74);
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 800;
}

.otr-ops-signal-list b {
  color: var(--otr-navy);
  font-weight: 900;
}

.otr-ops-next-stop {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(114, 167, 63, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(114, 167, 63, 0.14), transparent 70%),
    var(--otr-surface-2);
  box-shadow: 0 16px 30px rgba(13, 62, 97, 0.08);
}

.otr-ops-next-stop.is-complete {
  border-color: rgba(23, 117, 177, 0.26);
  background:
    linear-gradient(135deg, rgba(23, 117, 177, 0.12), transparent 70%),
    var(--otr-surface-2);
}

.otr-ops-next-stop span,
.otr-ops-next-stop small,
.otr-ops-next-stop p {
  margin: 0;
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 800;
}

.otr-ops-next-stop span {
  color: var(--otr-green-700);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-ops-next-stop strong {
  color: var(--otr-navy);
  font-size: 17px;
  font-weight: 900;
}

.otr-ops-stop-preview article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface-2);
}

.otr-ops-stop-preview article.is-open {
  border-color: rgba(114, 167, 63, 0.34);
  box-shadow: inset 3px 0 0 var(--otr-green);
}

.otr-ops-stop-preview article.is-closed {
  opacity: 0.78;
}

.otr-ops-stop-preview b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--otr-navy);
  font-size: 12px;
}

.otr-ops-stop-preview strong,
.otr-ops-stop-preview small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.otr-ops-stop-preview strong {
  color: var(--otr-navy);
  font-size: 13px;
  font-weight: 900;
}

.otr-ops-stop-preview small,
.otr-ops-stop-preview span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 750;
}

.otr-ops-evidence-strip {
  display: grid;
  gap: 8px;
}

.otr-ops-evidence-strip a {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--otr-border);
  border-radius: 8px;
  background: var(--otr-surface-2);
}

.otr-ops-evidence-strip a:hover {
  border-color: rgba(23, 117, 177, 0.42);
  background: #fff;
}

.otr-ops-evidence-strip span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-ops-evidence-strip strong {
  overflow: hidden;
  color: var(--otr-blue);
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.otr-ops-actions,
.otr-admin-action-form {
  display: grid;
  gap: 10px;
}

.otr-ops-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.otr-route-link-button,
.otr-lane-route-card {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}

.otr-route-link-button strong,
.otr-route-link-button span {
  display: block;
}

.otr-route-link-button:hover strong {
  color: var(--otr-blue);
}

.otr-control-board-panel {
  margin-bottom: 16px;
}

.otr-control-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.otr-admin-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.otr-admin-action-form label span:first-child {
  display: block;
  margin-bottom: 6px;
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 900;
}

.otr-admin-action-form textarea {
  resize: vertical;
}

.otr-billing-flow,
.otr-inline-action-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.otr-billing-review-panel {
  margin-top: 16px;
}

.otr-billing-timeline,
.otr-billing-service-breakdown {
  display: grid;
  gap: 12px;
}

.otr-billing-timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.otr-billing-timeline div,
.otr-billing-service-breakdown div {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(13, 62, 97, 0.06);
}

.otr-billing-timeline div {
  position: relative;
  border-top: 4px solid #d7e5ed;
}

.otr-billing-timeline div.is-complete {
  border-top-color: var(--otr-green);
}

.otr-billing-timeline div.is-current {
  border-top-color: var(--otr-blue);
  background: #f5fbff;
}

.otr-billing-timeline span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--otr-navy);
  font-size: 12px;
  font-weight: 900;
}

.otr-billing-timeline div.is-complete span {
  background: var(--otr-green);
}

.otr-billing-timeline div.is-current span {
  background: var(--otr-blue);
}

.otr-billing-timeline strong,
.otr-billing-service-breakdown strong {
  color: var(--otr-navy);
  font-size: 16px;
  font-weight: 900;
}

.otr-billing-timeline small,
.otr-billing-service-breakdown small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.otr-billing-service-breakdown {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 14px;
}

.otr-billing-service-breakdown span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.otr-inline-action-form {
  align-items: center;
}

.otr-inline-action-form .form-control {
  min-width: 160px;
}

.otr-billing-detail-scroll {
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  background: #fff;
}

.otr-billing-detail-table {
  min-width: 1520px;
  margin: 0;
}

.otr-billing-detail-table th {
  white-space: nowrap;
  background: #f3f8fb;
}

.otr-billing-detail-table tbody tr {
  transition: background-color 160ms ease;
}

.otr-billing-detail-table tbody tr:hover {
  background: #f8fcfe;
}

.otr-billing-detail-table td {
  min-width: 112px;
  vertical-align: top;
}

.otr-billing-detail-table th:first-child,
.otr-billing-detail-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 170px;
  background: #fff;
  box-shadow: 10px 0 18px rgba(13, 62, 97, 0.05);
}

.otr-billing-detail-table th:first-child {
  z-index: 2;
  background: #f3f8fb;
}

.otr-billing-item-cell,
.otr-billing-route-cell,
.otr-billing-distance-cell,
.otr-billing-money-cell {
  line-height: 1.35;
}

.otr-billing-item-cell > *,
.otr-billing-route-cell > *,
.otr-billing-distance-cell > *,
.otr-billing-money-cell > * {
  display: block;
}

.otr-billing-item-cell > * + *,
.otr-billing-route-cell > * + *,
.otr-billing-distance-cell > * + *,
.otr-billing-money-cell > * + * {
  margin-top: 5px;
}

.otr-billing-item-number,
.otr-billing-route-cell strong,
.otr-billing-distance-cell strong,
.otr-billing-money-cell strong {
  color: var(--otr-navy);
  font-weight: 900;
}

.otr-billing-item-number {
  font-size: 17px;
}

.otr-billing-route-cell {
  min-width: 190px;
}

.otr-billing-route-cell strong {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.otr-route-direction,
.otr-rate-band-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.otr-route-direction.is-entry {
  color: #275e16;
  background: #e8f5df;
}

.otr-route-direction.is-exit {
  color: #075d8e;
  background: #e2f3fc;
}

.otr-route-direction.is-neutral,
.otr-rate-band-badge.is-neutral {
  color: var(--otr-muted);
  background: #edf2f5;
}

.otr-rate-band-badge {
  color: #6d4b00;
  border: 1px solid rgba(211, 151, 26, 0.28);
  background: #fff4d7;
}

.otr-billing-distance-cell strong,
.otr-billing-money-cell strong {
  font-size: 15px;
}

.otr-billing-distance-cell span,
.otr-billing-money-cell span,
.otr-billing-distance-cell small,
.otr-billing-money-cell small {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 800;
}

.otr-billing-money-cell.is-total strong {
  color: var(--otr-blue);
}

@media (max-width: 980px) {
  .otr-live-command-strip,
  .otr-control-board,
  .otr-admin-action-grid,
  .otr-billing-timeline,
  .otr-form-guidance-grid,
  .otr-contract-form-summary {
    grid-template-columns: 1fr 1fr;
  }

  .otr-live-focus-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .otr-live-command-strip,
  .otr-control-board,
  .otr-admin-action-grid,
  .otr-ops-mini-grid,
  .otr-ops-actions,
  .otr-billing-timeline,
  .otr-form-guidance-grid,
  .otr-contract-form-summary {
    grid-template-columns: 1fr;
  }

  .otr-billing-flow,
  .otr-inline-action-form {
    align-items: stretch;
    flex-direction: column;
  }

  .otr-billing-detail-table th:first-child,
  .otr-billing-detail-table td:first-child {
    position: static;
    box-shadow: none;
  }

  .otr-live-focus-card {
    grid-template-columns: 1fr;
  }

  .otr-monitor-map-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .otr-monitor-map-legend {
    justify-content: flex-start;
  }

  .otr-live-meter {
    width: 108px;
    height: 108px;
  }
}

.otr-self-service-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.4fr);
  gap: 18px;
  margin-bottom: 18px;
}

.otr-self-service-grid.is-request-only,
.otr-self-service-grid.is-single-column {
  grid-template-columns: minmax(0, 1fr);
}

.otr-passenger-tracking {
  display: block;
  margin-bottom: 18px;
}

.otr-self-service-card,
.otr-passenger-status,
.otr-passenger-destination,
.otr-passenger-map {
  background: #fff;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(13, 62, 97, 0.08);
  padding: 20px;
}

.otr-success-banner {
  background: rgba(95, 143, 50, 0.12);
  border: 1px solid rgba(95, 143, 50, 0.28);
  border-radius: 8px;
  color: #2f621b;
  font-weight: 800;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.otr-card-heading h2 {
  color: #0d3e61;
  font-size: 26px;
  font-weight: 850;
  letter-spacing: 0;
  margin: 8px 0;
}

.otr-card-heading p {
  color: #5b6770;
  margin: 0 0 18px;
}

.otr-services-hub-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.otr-services-layout {
  align-items: start;
}

.otr-services-hub-card {
  display: grid;
  gap: 6px;
  min-height: 136px;
  padding: 16px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  background: #f7fbfd;
  color: var(--otr-navy);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.otr-services-hub-card:hover,
.otr-services-hub-card:focus-visible {
  border-color: var(--otr-blue);
  box-shadow: 0 16px 32px rgba(13, 62, 97, 0.12);
  color: var(--otr-navy);
  outline: none;
  transform: translateY(-1px);
}

.otr-services-hub-card span {
  color: var(--otr-green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-services-hub-card strong {
  color: var(--otr-navy);
  font-size: 20px;
  line-height: 1.15;
}

.otr-services-hub-card small {
  color: var(--otr-muted);
  line-height: 1.45;
}

.otr-self-request-form {
  display: grid;
  gap: 16px;
}

.otr-request-type-toggle {
  background: rgba(13, 62, 97, 0.06);
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  padding: 6px;
}

.otr-request-type-toggle label {
  margin: 0;
}

.otr-request-type-toggle input {
  inline-size: 1px;
  opacity: 0;
  position: absolute;
}

.otr-request-type-toggle span {
  align-items: center;
  border-radius: 7px;
  color: #0d3e61;
  cursor: pointer;
  display: flex;
  font-weight: 850;
  justify-content: center;
  min-height: 46px;
  transition: background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.otr-request-type-toggle input:checked + span {
  background: #fff;
  box-shadow: 0 12px 28px rgba(13, 62, 97, 0.12);
  color: #5f8f32;
}

.otr-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.otr-form-grid-note {
  grid-column: 1 / -1;
  margin: 0;
}

.otr-generated-password-control {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.otr-generated-password-control input {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  letter-spacing: 0;
}

.otr-generated-password-control .otr-button-secondary {
  min-height: 44px;
  white-space: nowrap;
}

.otr-form-grid label,
.otr-form-field {
  color: #0d3e61;
  display: grid;
  font-size: 13px;
  font-weight: 850;
  gap: 8px;
  margin: 0;
}

.otr-request-schedule-grid {
  align-items: stretch;
  grid-template-columns: 1fr;
}

.otr-request-schedule-grid select {
  min-width: 0;
  width: 100%;
}

.otr-readonly-operational-date {
  background: rgba(13, 62, 97, 0.045);
  border: 1px solid rgba(13, 62, 97, 0.14);
  border-radius: 8px;
  color: #0d3e61;
  display: grid;
  gap: 4px;
  min-height: 44px;
  padding: 12px 14px;
}

.otr-readonly-operational-date span {
  color: #687683;
  font-size: 12px;
  font-weight: 850;
}

.otr-readonly-operational-date strong {
  font-size: 17px;
  font-weight: 850;
}

.otr-readonly-operational-date small {
  color: #5f8f32;
  font-size: 12px;
  font-weight: 800;
}

.otr-contract-derived-rule {
  background: rgba(13, 62, 97, 0.045);
  border: 1px solid rgba(13, 62, 97, 0.14);
  border-radius: 8px;
  color: #0d3e61;
  display: grid;
  gap: 4px;
  min-height: 44px;
  padding: 12px 14px;
}

.otr-contract-derived-rule span {
  color: #687683;
  font-size: 12px;
  font-weight: 850;
}

.otr-contract-derived-rule strong {
  font-size: 15px;
  font-weight: 850;
}

.otr-contract-derived-rule small {
  color: #537f2a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.otr-form-grid label.otr-checkbox,
label.otr-checkbox {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-content: flex-start;
}

.otr-checkbox input[type="checkbox"] {
  flex: 0 0 auto;
  height: 16px;
  margin: 0;
  width: 16px;
}

.otr-checkbox span {
  line-height: 1.2;
}

.otr-form-grid label.otr-status-toggle {
  align-items: center;
  cursor: pointer;
  display: inline-grid;
  gap: 12px;
  grid-column: 1 / -1;
  grid-template-columns: 44px minmax(0, auto);
  justify-content: start;
  min-height: 44px;
  padding: 2px 0;
  position: relative;
  width: fit-content;
}

.otr-status-toggle-input {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.otr-status-toggle-track {
  background: #687683;
  border: 2px solid #687683;
  border-radius: 999px;
  display: block;
  height: 24px;
  position: relative;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  width: 44px;
}

.otr-status-toggle-thumb {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(13, 62, 97, 0.24);
  display: block;
  height: 16px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: transform 0.18s ease;
  width: 16px;
}

.otr-status-toggle-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.otr-status-toggle-title {
  color: #0d3e61;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}

.otr-status-toggle-state {
  color: #687683;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.otr-status-toggle .otr-status-toggle-state > .otr-status-toggle-state-on {
  color: #4f7d2d;
  display: none;
}

.otr-status-toggle-input:checked ~ .otr-status-toggle-track {
  background: #5f8f32;
  border-color: #5f8f32;
}

.otr-status-toggle-input:checked ~ .otr-status-toggle-track .otr-status-toggle-thumb {
  transform: translateX(20px);
}

.otr-status-toggle-input:checked ~ .otr-status-toggle-copy .otr-status-toggle-state-on {
  display: inline;
}

.otr-status-toggle-input:checked ~ .otr-status-toggle-copy .otr-status-toggle-state-off {
  display: none;
}

.otr-status-toggle:hover .otr-status-toggle-track {
  box-shadow: 0 0 0 4px rgba(13, 62, 97, 0.08);
}

.otr-status-toggle-input:focus-visible ~ .otr-status-toggle-track {
  box-shadow: 0 0 0 4px rgba(25, 127, 181, 0.22);
  outline: 2px solid #0d6ea8;
  outline-offset: 2px;
}

.otr-status-toggle-input:disabled ~ .otr-status-toggle-track,
.otr-status-toggle-input:disabled ~ .otr-status-toggle-copy {
  cursor: not-allowed;
  opacity: 0.55;
}

.otr-form-field textarea {
  resize: vertical;
}

.otr-passenger-status {
  min-height: 100%;
}

.otr-passenger-status h2 {
  color: #0d3e61;
  font-size: 30px;
  font-weight: 850;
  letter-spacing: 0;
  margin: 12px 0 18px;
}

.otr-passenger-status.is-live {
  border-color: rgba(95, 143, 50, 0.38);
}

.otr-passenger-status.is-waiting {
  border-color: rgba(23, 117, 177, 0.22);
}

.otr-passenger-meta {
  display: grid;
  gap: 9px;
}

.otr-passenger-meta span,
.otr-passenger-destination strong {
  color: #5b6770;
}

.otr-passenger-destination {
  background: rgba(234, 242, 247, 0.72);
  box-shadow: none;
  margin-top: 18px;
}

.otr-passenger-destination span {
  color: #1775b1;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.otr-passenger-map {
  min-height: 460px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.otr-passenger-map-frame,
.otr-passenger-map-frame iframe,
.otr-passenger-map-frame .map {
  min-height: 460px;
  width: 100%;
}

.otr-passenger-map-state {
  align-items: center;
  background: linear-gradient(135deg, rgba(234, 242, 247, 0.95), rgba(255, 255, 255, 0.95));
  color: #0d3e61;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: absolute;
  text-align: center;
  z-index: 2;
}

.otr-passenger-map-state strong {
  font-size: 28px;
  font-weight: 850;
  margin-bottom: 8px;
}

.otr-my-requests {
  margin-bottom: 28px;
}

.otr-boarding-pass-card,
.otr-transport-history-card,
.otr-alternative-self-service,
.otr-notices-card,
.otr-home-location-card {
  margin-bottom: 20px;
}

.otr-web-qr-shell {
  background: linear-gradient(135deg, rgba(13, 62, 97, 0.08), rgba(95, 143, 50, 0.1));
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.otr-web-qr-shell-large {
  gap: 14px;
  justify-items: center;
}

.otr-web-qr-graphic {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(13, 62, 97, .14);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  justify-self: center;
  padding: 12px;
}

.otr-web-qr-svg {
  display: block;
  height: min(42vw, 220px);
  image-rendering: pixelated;
  max-height: 220px;
  max-width: 220px;
  min-height: 172px;
  min-width: 172px;
  width: min(42vw, 220px);
}

.otr-web-qr-shell strong {
  color: #0d3e61;
  font-size: 13px;
  font-weight: 900;
}

.otr-web-qr-shell textarea {
  background: #fff;
  border: 1px solid rgba(13, 62, 97, 0.16);
  border-radius: 8px;
  color: #0d3e61;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.45;
  min-height: 92px;
  padding: 12px;
  resize: vertical;
  width: 100%;
}

.otr-history-list,
.otr-notice-list,
.otr-alternative-case-list,
.otr-alternative-evidence-list {
  display: grid;
  gap: 10px;
}

.otr-history-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.otr-history-filter {
  background: #eef6fb;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  color: #0d3e61;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  min-height: 44px;
  padding: 10px 14px;
  text-decoration: none;
}

.otr-history-filter.is-active {
  background: #0d3e61;
  border-color: #0d3e61;
  color: #fff;
}

.otr-history-row,
.otr-notice-row,
.otr-alternative-self-card {
  background: linear-gradient(90deg, rgba(234, 242, 247, 0.82), #fff);
  border: 1px solid rgba(13, 62, 97, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.otr-history-row {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) auto;
}

.otr-notice-row {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) auto;
}

.otr-history-row strong,
.otr-history-row small,
.otr-notice-row strong,
.otr-notice-row small {
  display: block;
}

.otr-history-row strong,
.otr-notice-row strong {
  color: #0d3e61;
}

.otr-history-row small,
.otr-notice-row small {
  color: #5b6770;
  margin-top: 3px;
}

.otr-home-location-summary {
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 14px;
}

.otr-home-location-summary.is-approved {
  background: rgba(95, 143, 50, 0.1);
}

.otr-home-location-summary.is-pending {
  background: rgba(23, 117, 177, 0.1);
}

.otr-home-location-summary span {
  color: #5f8f32;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-home-location-summary strong {
  color: #0d3e61;
  font-size: 18px;
}

.otr-home-location-summary small {
  color: #5b6770;
}

.otr-home-location-form {
  display: grid;
  gap: 12px;
}

.otr-home-location-actions {
  align-self: end;
  display: grid;
  gap: 8px;
}

.otr-driver-portal-health-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.otr-driver-portal-health-strip > div {
  background: #fff;
  border: 1px solid rgba(13, 62, 97, .12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(13, 62, 97, .08);
  padding: 16px;
}

.otr-driver-portal-health-strip span,
.otr-driver-portal-health-strip small {
  color: #637381;
  display: block;
}

.otr-driver-portal-health-strip strong {
  color: #0d3e61;
  display: block;
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 6px 0;
}

.otr-driver-readiness-panel {
  background: linear-gradient(90deg, rgba(255, 245, 213, .78), rgba(234, 242, 247, .8));
  border-color: rgba(181, 119, 0, .18);
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.otr-driver-readiness-panel h2 {
  color: #0d3e61;
  margin-bottom: 6px;
}

.otr-driver-readiness-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.otr-driver-readiness-list li {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(13, 62, 97, .1);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.otr-driver-readiness-list strong {
  color: #0d3e61;
  font-weight: 850;
}

.otr-driver-readiness-list span {
  color: #637381;
  font-size: .9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.otr-driver-portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.otr-driver-portal-card .otr-form-grid {
  align-items: end;
}

.otr-driver-location-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.otr-driver-location-actions span {
  color: #637381;
  font-size: .9rem;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
}

.otr-driver-routes-panel .otr-table-subtext {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.otr-driver-route-progress-cell {
  min-width: 180px;
}

.otr-route-progress-summary {
  display: grid;
  gap: 6px;
  min-width: 160px;
}

.otr-route-progress-summary strong {
  color: #0d3e61;
  font-size: .95rem;
  line-height: 1.2;
}

.otr-route-progress-summary small {
  color: #637381;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.25;
}

.otr-route-progress-bar {
  background: rgba(13, 62, 97, .1);
  border-radius: 999px;
  display: block;
  height: 8px;
  overflow: hidden;
  width: 100%;
}

.otr-route-progress-bar span {
  background: linear-gradient(90deg, #5b982f, #1775b1);
  border-radius: inherit;
  display: block;
  height: 100%;
  min-width: 6px;
}

.otr-driver-stop-list {
  display: grid;
  gap: 14px;
}

.otr-driver-stop-card {
  background: linear-gradient(90deg, rgba(234, 242, 247, .72), #fff);
  border: 1px solid rgba(13, 62, 97, .12);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.otr-driver-stop-card header {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.otr-driver-stop-card header > div {
  min-width: 0;
}

.otr-driver-stop-card header strong,
.otr-driver-stop-card header small {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.otr-driver-stop-card header strong {
  color: #0d3e61;
}

.otr-driver-stop-card header small,
.otr-driver-stop-meta {
  color: #637381;
}

.otr-driver-stop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: .9rem;
}

.otr-driver-stop-meta span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.otr-driver-event-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.otr-driver-event-list li {
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(13, 62, 97, .1);
  border-radius: 8px;
  display: grid;
  gap: 2px;
  padding: 10px;
}

.otr-driver-event-list strong {
  color: #0d3e61;
}

.otr-driver-event-list span,
.otr-driver-event-list small,
.otr-driver-event-list em {
  color: #637381;
  font-style: normal;
  overflow-wrap: anywhere;
}

.otr-driver-evidence-list {
  margin-top: 8px;
}

.otr-driver-evidence-upload-form {
  align-items: end;
  background: rgba(234, 242, 247, .68);
  border: 1px solid rgba(13, 62, 97, .1);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(180px, 1fr) auto;
  margin-top: 8px;
  padding: 10px;
}

.otr-driver-evidence-upload-form label {
  color: #0d3e61;
  display: grid;
  font-size: 12px;
  font-weight: 850;
  gap: 6px;
  margin: 0;
  min-width: 0;
}

.otr-driver-evidence-upload-form input[type="file"] {
  max-width: 100%;
  min-width: 0;
}

.otr-approval-inbox-panel {
  margin-bottom: 18px;
}

.otr-approval-inbox-list {
  display: grid;
  gap: 10px;
}

.otr-approval-inbox-item {
  align-items: start;
  background: linear-gradient(90deg, rgba(234, 242, 247, .8), #fff);
  border: 1px solid rgba(13, 62, 97, .1);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

.otr-approval-inbox-item.is-urgent {
  background: linear-gradient(90deg, rgba(255, 245, 213, .82), #fff);
  border-color: rgba(181, 119, 0, .22);
}

.otr-approval-inbox-item strong,
.otr-approval-inbox-item span,
.otr-approval-inbox-item small {
  display: block;
}

.otr-approval-inbox-item strong {
  color: #0d3e61;
}

.otr-approval-inbox-item span,
.otr-approval-inbox-item small,
.otr-approval-inbox-item p {
  color: #637381;
}

.otr-approval-inbox-item > .otr-badge-muted {
  color: #fff;
}

.otr-approval-inbox-item p {
  margin: 8px 0 0;
}

.otr-approvals-table-panel .otr-table td {
  vertical-align: top;
}

.otr-approvals-table-panel .otr-table-actions {
  align-items: stretch;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(96px, 1fr));
}

.otr-approvals-table-panel .otr-table-actions form,
.otr-approvals-table-panel .otr-table-actions button {
  width: 100%;
}

.otr-driver-stop-event-form {
  align-items: end;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(13, 62, 97, .1);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  padding: 12px;
}

.otr-driver-stop-event-form label {
  color: #0d3e61;
  display: grid;
  font-size: 12px;
  font-weight: 850;
  gap: 6px;
  margin: 0;
}

.otr-driver-checkin-panel {
  margin-bottom: 18px;
}

.otr-driver-qr-scanner {
  background: linear-gradient(135deg, rgba(0, 104, 183, .08), rgba(95, 143, 50, .1));
  border: 1px solid rgba(0, 104, 183, .14);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
}

.otr-driver-qr-scanner strong {
  color: #0d3e61;
  display: block;
  font-size: 15px;
  font-weight: 850;
}

.otr-driver-qr-scanner span {
  color: #637381;
  display: block;
  font-size: .92rem;
  margin-top: 2px;
}

.otr-driver-qr-scanner video {
  aspect-ratio: 16 / 9;
  background: #0d3e61;
  border: 1px solid rgba(13, 62, 97, .16);
  border-radius: 8px;
  min-height: 190px;
  object-fit: cover;
  width: 100%;
}

.otr-driver-checkin-form {
  align-items: end;
  background: linear-gradient(90deg, rgba(95, 143, 50, .08), rgba(234, 242, 247, .86));
  border: 1px solid rgba(13, 62, 97, .12);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  padding: 14px;
}

.otr-driver-checkin-form label {
  color: #0d3e61;
  display: grid;
  font-size: 12px;
  font-weight: 850;
  gap: 6px;
  margin: 0;
}

.otr-driver-checkin-form textarea {
  resize: vertical;
}

.otr-driver-checkin-form input,
.otr-driver-checkin-form textarea,
.otr-driver-stop-event-form input,
.otr-driver-stop-event-form textarea,
.otr-driver-stop-event-form select {
  min-width: 0;
  width: 100%;
}

@media (max-width: 980px) {
  .otr-driver-portal-health-strip,
  .otr-driver-readiness-list,
  .otr-driver-portal-grid,
  .otr-driver-stop-event-form,
  .otr-driver-checkin-form,
  .otr-driver-evidence-upload-form,
  .otr-approval-inbox-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .otr-approval-inbox-item {
    grid-template-columns: 1fr;
  }

  .otr-approval-inbox-item .otr-badge {
    justify-self: start;
  }

  .otr-approvals-health-strip strong {
    font-size: 1.35rem;
  }

  .otr-approvals-table-panel .otr-table-actions {
    grid-template-columns: 1fr;
  }

  .otr-approvals-table-panel .otr-table-actions button {
    min-height: 44px;
  }
}

@media (max-width: 640px) {
  .otr-driver-portal-health-strip > div,
  .otr-driver-stop-card,
  .otr-driver-qr-scanner,
  .otr-driver-checkin-form,
  .otr-driver-stop-event-form,
  .otr-driver-evidence-upload-form {
    padding: 12px;
  }

  .otr-driver-portal-health-strip strong {
    font-size: 1.08rem;
    overflow-wrap: anywhere;
  }

  .otr-driver-stop-card header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .otr-driver-stop-card header .otr-badge {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .otr-driver-location-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .otr-driver-location-actions .otr-button,
  .otr-driver-location-actions .otr-button-secondary,
  .otr-driver-evidence-upload-form .otr-button-secondary,
  .otr-driver-checkin-form .otr-button {
    width: 100%;
  }

  .otr-driver-route-progress-cell,
  .otr-route-progress-summary {
    min-width: 150px;
  }

  .otr-driver-qr-scanner video {
    min-height: 220px;
  }
}

.otr-alternative-self-card {
  grid-template-columns: minmax(0, 1fr) auto;
}

.otr-alternative-receipt-form {
  align-items: end;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(13, 62, 97, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  margin: 0;
  padding: 12px;
}

.otr-alternative-receipt-form label {
  color: #0d3e61;
  display: grid;
  font-size: 12px;
  font-weight: 850;
  gap: 6px;
  margin: 0;
  min-width: 0;
}

.otr-alternative-receipt-form .form-control {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.otr-alternative-receipt-form .otr-edit-request-notes,
.otr-alternative-receipt-form .otr-button {
  grid-column: auto;
}

.otr-alternative-evidence-list {
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
}

@media (max-width: 1100px) {
  .otr-alternative-receipt-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .otr-alternative-self-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .otr-alternative-self-card > .otr-request-status {
    justify-self: start;
    white-space: normal;
  }

  .otr-alternative-receipt-form {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }

  .otr-alternative-receipt-form .otr-edit-request-notes,
  .otr-alternative-receipt-form .otr-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .otr-alternative-evidence-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.otr-empty-state {
  background: rgba(234, 242, 247, 0.72);
  border: 1px dashed rgba(13, 62, 97, 0.2);
  border-radius: 8px;
  color: #5b6770;
  display: grid;
  gap: 4px;
  padding: 18px;
}

.otr-empty-state strong {
  color: #0d3e61;
}

.otr-request-timeline {
  display: grid;
  gap: 10px;
}

.otr-request-row {
  align-items: start;
  background: linear-gradient(90deg, rgba(234, 242, 247, 0.82), #fff);
  border: 1px solid rgba(13, 62, 97, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  padding: 14px;
}

.otr-request-main {
  display: grid;
  gap: 12px;
}

.otr-request-row strong,
.otr-request-row small {
  display: block;
}

.otr-request-row strong {
  color: #0d3e61;
  font-size: 16px;
}

.otr-request-row small {
  color: #5b6770;
  margin-top: 3px;
}

.otr-request-type {
  color: #5f8f32;
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.otr-request-progress {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(4, minmax(26px, 1fr));
  max-width: 280px;
}

.otr-request-progress span {
  background: rgba(13, 62, 97, 0.12);
  border-radius: 999px;
  height: 5px;
}

.otr-request-progress span.is-complete {
  background: linear-gradient(90deg, #5f8f32, #a2d8ec);
}

.otr-request-status,
.otr-request-note {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  text-align: center;
  white-space: nowrap;
}

.otr-request-status.is-ready {
  background: rgba(95, 143, 50, 0.14);
  color: #3f6f21;
}

.otr-request-status.is-pending {
  background: rgba(23, 117, 177, 0.13);
  color: #0d3e61;
}

.otr-request-status.is-active {
  background: rgba(162, 216, 236, 0.42);
  color: #0d3e61;
}

.otr-request-status.is-done {
  background: rgba(95, 143, 50, 0.22);
  color: #2f621b;
}

.otr-request-status.is-muted {
  background: rgba(91, 103, 112, 0.12);
  color: #5b6770;
}

.otr-request-note {
  background: #fff;
  border: 1px solid rgba(23, 117, 177, 0.18);
  color: #1775b1;
}

.otr-cancel-request-form {
  margin: 0;
}

.otr-cancel-request-form .otr-button-secondary {
  min-height: 38px;
  padding: 8px 12px;
}

.otr-edit-request-form {
  align-items: end;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(13, 62, 97, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
  grid-template-columns: 150px 130px minmax(180px, 1fr) auto;
  margin: 0;
  padding: 12px;
}

.otr-edit-request-form label {
  color: #0d3e61;
  display: grid;
  font-size: 12px;
  font-weight: 850;
  gap: 6px;
  margin: 0;
}

.otr-edit-request-form .form-control {
  min-height: 42px;
}

.otr-edit-request-form .otr-button {
  min-height: 42px;
  padding: 9px 14px;
}

.otr-link-button {
  appearance: none;
  background: transparent;
  border: 0;
  color: #1775b1;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 0;
  text-align: left;
}

.otr-link-button:hover,
.otr-link-button:focus-visible {
  color: #0d3e61;
  text-decoration: underline;
}

.otr-fleet-map-panel {
  overflow: hidden;
}

.otr-fleet-health-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.otr-fleet-health-strip div {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 62, 97, 0.06);
}

.otr-fleet-health-strip span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-fleet-health-strip strong {
  color: var(--otr-navy);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.otr-fleet-health-strip small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.otr-drivers-health-strip,
.otr-drivers-signal-row {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.otr-drivers-health-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.otr-drivers-health-strip div,
.otr-driver-signal {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 62, 97, 0.06);
}

.otr-drivers-health-strip span,
.otr-driver-signal span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.otr-drivers-health-strip strong {
  color: var(--otr-navy);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.otr-drivers-health-strip small,
.otr-driver-signal small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.otr-drivers-signal-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.otr-driver-signal {
  min-height: 126px;
  align-content: start;
  background: linear-gradient(180deg, #ffffff, #f5f9fc);
}

.otr-driver-signal span {
  color: var(--otr-green-700);
}

.otr-driver-signal strong {
  color: var(--otr-navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.otr-workdays-health-strip,
.otr-workdays-signal-row {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.otr-workdays-health-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.otr-workdays-health-strip div,
.otr-workday-signal {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 62, 97, 0.06);
}

.otr-workdays-health-strip span,
.otr-workday-signal span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.otr-workdays-health-strip strong {
  color: var(--otr-navy);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.otr-workdays-health-strip small,
.otr-workday-signal small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.otr-workdays-signal-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.otr-workday-signal {
  min-height: 126px;
  align-content: start;
  background: linear-gradient(180deg, #ffffff, #f5f9fc);
}

.otr-workday-signal span {
  color: var(--otr-green-700);
}

.otr-workday-signal strong {
  color: var(--otr-navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.otr-license-health-strip,
.otr-license-signal-row {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.otr-license-health-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.otr-license-health-strip div,
.otr-license-signal {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 62, 97, 0.06);
}

.otr-license-health-strip span,
.otr-license-signal span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.otr-license-health-strip strong {
  color: var(--otr-navy);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.otr-license-health-strip small,
.otr-license-signal small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.otr-license-signal-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.otr-license-signal {
  min-height: 126px;
  align-content: start;
  background: linear-gradient(180deg, #ffffff, #f5f9fc);
}

.otr-license-signal span {
  color: var(--otr-green-700);
}

.otr-license-signal strong {
  color: var(--otr-navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.otr-license-usage-cell {
  display: grid;
  gap: 3px;
}

.otr-license-usage-cell small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
}

.otr-maintenance-health-strip,
.otr-maintenance-signal-row {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.otr-maintenance-health-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.otr-maintenance-health-strip div,
.otr-maintenance-signal,
.otr-maintenance-context-panel {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 62, 97, 0.06);
}

.otr-maintenance-health-strip span,
.otr-maintenance-signal span,
.otr-maintenance-context-panel span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.otr-maintenance-health-strip strong {
  color: var(--otr-navy);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.otr-maintenance-health-strip small,
.otr-maintenance-signal small,
.otr-maintenance-context-panel small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.otr-maintenance-signal-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.otr-maintenance-signal {
  min-height: 126px;
  align-content: start;
  background: linear-gradient(180deg, #ffffff, #f5f9fc);
}

.otr-maintenance-signal span {
  color: var(--otr-green-700);
}

.otr-maintenance-signal strong,
.otr-maintenance-context-panel strong {
  color: var(--otr-navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.otr-maintenance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: start;
}

.otr-maintenance-context-panel {
  position: sticky;
  top: 16px;
  background: linear-gradient(180deg, #ffffff, #f5f9fc);
}

.otr-maintenance-table-panel {
  margin-top: 16px;
}

.otr-maintenance-evidence-cell,
.otr-maintenance-action-stack {
  display: grid;
  gap: 6px;
}

.otr-maintenance-evidence-cell small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
}

.otr-maintenance-complete-form,
.otr-maintenance-cancel-form {
  display: grid;
  gap: 8px;
  min-width: 460px;
}

.otr-maintenance-complete-form {
  grid-template-columns: repeat(3, minmax(120px, 1fr));
}

.otr-maintenance-cancel-form {
  grid-template-columns: minmax(180px, 1fr) auto;
}

.otr-maintenance-complete-form button {
  justify-self: start;
}

.otr-vehicle-form-health-strip,
.otr-vehicle-form-signal-row {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.otr-vehicle-form-health-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.otr-vehicle-form-health-strip div,
.otr-vehicle-form-signal,
.otr-vehicle-form-context-panel {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(13, 62, 97, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 62, 97, 0.06);
}

.otr-vehicle-form-health-strip span,
.otr-vehicle-form-signal span,
.otr-vehicle-form-context-panel span,
.otr-form-section-heading span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.otr-vehicle-form-health-strip strong {
  color: var(--otr-navy);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.otr-vehicle-form-health-strip small,
.otr-vehicle-form-signal small,
.otr-vehicle-form-context-panel small {
  color: var(--otr-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.otr-vehicle-form-signal-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.otr-vehicle-form-signal {
  min-height: 126px;
  align-content: start;
  background: linear-gradient(180deg, #ffffff, #f5f9fc);
}

.otr-vehicle-form-signal span {
  color: var(--otr-green-700);
}

.otr-vehicle-form-signal strong,
.otr-vehicle-form-context-panel strong,
.otr-form-section-heading strong {
  color: var(--otr-navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.otr-vehicle-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: start;
}

.otr-vehicle-form-context-panel {
  position: sticky;
  top: 16px;
  background: linear-gradient(180deg, #ffffff, #f5f9fc);
}

.otr-vehicle-form-grid {
  align-items: end;
}

.otr-form-section-heading {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid rgba(13, 62, 97, 0.1);
  padding: 6px 0 10px;
}

.otr-vehicle-active-toggle {
  align-self: end;
  min-height: 44px;
}

.otr-fleet-table-panel,
.otr-drivers-table-panel,
.otr-workdays-table-panel,
.otr-license-table-panel {
  margin-top: 16px;
}

.otr-fleet-map-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 180px;
}

.otr-fleet-map-canvas {
  background: #eaf2f7;
  border: 1px solid rgba(13, 62, 97, 0.14);
  border-radius: 8px;
  min-height: 420px;
  overflow: hidden;
}

.otr-fleet-map-canvas iframe {
  border: 0;
  display: block;
  height: 420px;
  width: 100%;
}

.otr-fleet-map-summary {
  align-content: start;
  background: rgba(234, 242, 247, 0.72);
  border: 1px solid rgba(13, 62, 97, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 16px;
}

.otr-fleet-map-summary span {
  color: #5b6770;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.otr-fleet-map-summary strong {
  color: #0d3e61;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
}

.otr-parking-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  gap: 18px;
  align-items: start;
}

.otr-parking-location-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.otr-parking-location-actions .otr-button-secondary {
  flex: 0 0 auto;
  min-height: 44px;
}

.otr-parking-location-status {
  color: var(--otr-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.otr-parking-geofence-preview {
  position: sticky;
  top: 16px;
}

.otr-parking-geofence-preview .otr-panel-header {
  margin-bottom: 14px;
}

.otr-parking-preview-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(13, 62, 97, 0.14);
  border-radius: 8px;
  background: #eaf2f7;
}

.otr-parking-preview-map iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.otr-parking-preview-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(234, 242, 247, 0.94);
  color: var(--otr-navy);
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}

.otr-parking-preview-empty[hidden] {
  display: none;
}

.otr-parking-preview-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.otr-parking-preview-summary div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(13, 62, 97, 0.1);
  border-radius: 8px;
  background: rgba(234, 242, 247, 0.72);
}

.otr-parking-preview-summary span {
  color: var(--otr-muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.otr-parking-preview-summary strong {
  color: var(--otr-navy);
  font-size: 18px;
  font-weight: 900;
}

@media (max-width: 760px) {
  .otr-auth-shell {
    align-items: start;
    padding: 16px;
  }

  .otr-auth-card-brand img {
    width: 168px;
    max-height: 58px;
  }

  .otr-auth-card {
    border-radius: 24px;
  }

  .otr-auth-title-row {
    gap: 14px;
    margin-bottom: 20px;
  }

  .otr-auth-user-icon {
    width: 58px;
    height: 58px;
  }

  .otr-auth-input {
    min-height: 64px;
    border-radius: 16px;
  }

  .otr-auth-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .otr-auth-submit.otr-button {
    min-height: 60px;
    font-size: 18px;
  }

  .otr-auth-footer {
    padding-top: 18px;
    font-size: 13px;
  }

  .otr-self-service-grid,
  .otr-form-grid,
  .otr-request-row,
  .otr-edit-request-form,
  .otr-fleet-map-layout,
  .otr-parking-form-layout,
  .otr-contract-overview-strip,
  .otr-contract-signal-row,
  .otr-fleet-health-strip,
  .otr-drivers-health-strip,
  .otr-drivers-signal-row,
  .otr-workdays-health-strip,
  .otr-workdays-signal-row,
  .otr-license-health-strip,
  .otr-license-signal-row,
  .otr-vehicle-form-health-strip,
  .otr-vehicle-form-signal-row,
  .otr-vehicle-form-layout,
  .otr-maintenance-health-strip,
  .otr-maintenance-signal-row,
  .otr-maintenance-layout,
  .otr-requests-health-strip,
  .otr-approvals-health-strip,
  .otr-collaborators-health-strip,
  .otr-finance-health-strip,
  .otr-audit-health-strip,
  .otr-closures-health-strip,
  .otr-incidents-health-strip,
  .otr-luggage-health-strip,
  .otr-notifications-health-strip,
  .otr-users-health-strip,
  .otr-home-health-strip,
  .otr-alternative-health-strip,
  .otr-alternative-detail-health-strip,
  .otr-alternative-signal-row,
  .otr-alternative-create-guidance,
  .otr-alternative-create-layout,
  .otr-alternative-detail-grid,
  .otr-alternative-review-summary,
  .otr-alternative-action-grid,
  .otr-closure-action-grid {
    grid-template-columns: 1fr;
  }

  .otr-parking-geofence-preview {
    position: static;
  }

  .otr-parking-location-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .otr-parking-preview-map,
  .otr-parking-preview-map iframe {
    height: 360px;
    min-height: 360px;
  }

  .otr-pagination-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .otr-pagination {
    justify-content: flex-start;
  }

  .otr-passenger-status h2 {
    font-size: 24px;
  }

  .otr-passenger-map,
  .otr-passenger-map-frame,
  .otr-passenger-map-frame iframe,
  .otr-passenger-map-frame .map {
    min-height: 360px;
  }

  .otr-fleet-map-canvas,
  .otr-fleet-map-canvas iframe {
    min-height: 360px;
    height: 360px;
  }
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--otr-blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.otr-territorial-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 16px;
    border: 1px solid rgba(13, 62, 97, 0.14);
    border-radius: 8px;
    background: #f7fafc;
}

.otr-territorial-fields .otr-form-section-heading {
    margin: 0;
    padding-bottom: 10px;
}

.otr-territorial-fields label {
    min-width: 0;
}

.otr-territorial-fields select:disabled {
    cursor: not-allowed;
    background-color: #edf2f5;
    color: #687783;
}

@media (max-width: 720px) {
    .otr-territorial-fields {
        grid-template-columns: minmax(0, 1fr);
    }
}
.otr-onboarding-body {
  min-height: 100vh;
  background: #edf4f8;
  color: var(--otr-navy);
}

.otr-onboarding-topbar {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(13, 62, 97, 0.14);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(13, 62, 97, 0.08);
}

.otr-onboarding-topbar img {
  width: 154px;
  height: 48px;
  object-fit: contain;
}

.otr-onboarding-topbar > div {
  display: grid;
  gap: 2px;
  padding-left: 18px;
  border-left: 1px solid rgba(13, 62, 97, 0.16);
}

.otr-onboarding-topbar span {
  color: #5f8f32;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-onboarding-topbar strong {
  overflow-wrap: anywhere;
  font-size: 0.95rem;
}

.otr-onboarding-main {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 32px 0 56px;
}

.otr-onboarding-progress {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.otr-onboarding-progress li {
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(13, 62, 97, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: #64737e;
}

.otr-onboarding-progress li > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid #b7c8d3;
  border-radius: 50%;
  background: #ffffff;
  font-weight: 900;
}

.otr-onboarding-progress li div {
  display: grid;
  gap: 2px;
}

.otr-onboarding-progress li small {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.otr-onboarding-progress li strong {
  font-size: 0.95rem;
}

.otr-onboarding-progress li.is-current {
  border-color: rgba(23, 117, 177, 0.46);
  background: #ffffff;
  color: var(--otr-navy);
  box-shadow: 0 12px 28px rgba(23, 117, 177, 0.1);
}

.otr-onboarding-progress li.is-current > span {
  border-color: var(--otr-blue);
  background: var(--otr-blue);
  color: #ffffff;
}

.otr-onboarding-progress li.is-complete {
  border-color: rgba(95, 143, 50, 0.38);
  color: var(--otr-navy);
}

.otr-onboarding-progress li.is-complete > span {
  border-color: #5f8f32;
  background: #5f8f32;
  color: #ffffff;
}

.otr-onboarding-intro {
  margin-bottom: 24px;
}

.otr-onboarding-intro h1 {
  margin: 0 0 8px;
  font-size: 2.35rem;
  font-weight: 900;
}

.otr-onboarding-intro > p:last-child {
  max-width: 700px;
  margin: 0;
  color: #5b6770;
  font-size: 1.05rem;
}

.otr-onboarding-password-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.75fr);
  align-items: start;
  gap: 20px;
}

.otr-onboarding-panel,
.otr-onboarding-assurance {
  border: 1px solid rgba(13, 62, 97, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(13, 62, 97, 0.09);
}

.otr-onboarding-panel {
  padding: 28px;
}

.otr-onboarding-panel .otr-auth-input {
  min-height: 60px;
  border-radius: 8px;
  box-shadow: none;
}

.otr-onboarding-panel .otr-auth-visibility {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--otr-blue);
}

.otr-onboarding-assurance {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 22px;
  border-color: rgba(95, 143, 50, 0.3);
  background: #f4f9ed;
}

.otr-onboarding-assurance > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #5f8f32;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 900;
}

.otr-onboarding-assurance strong {
  display: block;
  margin-bottom: 6px;
}

.otr-onboarding-assurance p {
  margin: 0;
  color: #52616b;
  line-height: 1.55;
}

.otr-onboarding-main > .otr-page-header {
  margin-bottom: 24px;
}

@media (max-width: 760px) {
  .otr-onboarding-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 16px;
  }

  .otr-onboarding-topbar img {
    width: 126px;
    height: 42px;
  }

  .otr-onboarding-topbar > div {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 8px 0 0;
    border-top: 1px solid rgba(13, 62, 97, 0.12);
    border-left: 0;
  }

  .otr-onboarding-main {
    width: min(100% - 24px, 1180px);
    padding: 22px 0 40px;
  }

  .otr-onboarding-progress,
  .otr-onboarding-password-grid {
    grid-template-columns: 1fr;
  }

  .otr-onboarding-progress li {
    min-height: 62px;
  }

  .otr-onboarding-intro h1 {
    font-size: 2rem;
  }

  .otr-onboarding-panel {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .otr-onboarding-panel {
    padding: 16px;
  }

  .otr-onboarding-panel .otr-auth-input {
    gap: 8px;
    padding: 0 10px 0 14px;
  }

  .otr-onboarding-panel .otr-auth-visibility {
    width: 44px;
    height: 44px;
  }
}
