/* Divisions. Loaded unlayered, so these rules beat the layered legacy
   sheets (including @layer screens) without !important.
   The landing list below is scoped to body.route-divisions.div-landing-on.
   Chip pages, Office, Finance overview, and the sales drilldown share the
   flat chip and card rules at the bottom of this file.

   The home and the sales drilldown use flat .gl-division-card tiles.
   layout-review.css leaves route-divisions out of its !important card
   rule so the tiles below can set the 10px radius.

   Palette is the sidebar ramp. #2196F3 is the link and the Open label.
   Weights are Satoshi 400 / 500 / 700. 700 is a title. */

html body.route-divisions.div-landing-on {
  --div-canvas: #171818;
  --div-page: #1A1B1B;
  --div-card: #1F2121;
  --div-raised: #252727;
  --div-hover: #2B2D2D;
  --div-border: #2F3232;
  --div-border-strong: #3B3E3E;
  --div-text: #ECEDEC;
  --div-text-2: #A6ABAB;
  --div-text-3: #7A7F7F;
  background: var(--div-page);
  overflow-x: hidden;
}

html body.route-divisions.div-landing-on #main,
html body.route-divisions.div-landing-on #main-content,
html body.route-divisions.div-landing-on .main-content {
  background: var(--div-page);
  background-image: none;
  color: var(--div-text);
  overflow-x: hidden;
  max-width: 100%;
}

html body.route-divisions.div-landing-on::before,
html body.route-divisions.div-landing-on::after,
html body.route-divisions.div-landing-on #perplexity-fade,
html body.route-divisions.div-landing-on #perplexity-fade-bottom,
html body.route-divisions.div-landing-on #mobile-topbar-veil {
  content: none;
  display: none;
  height: 0;
  background: none;
  background-image: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
}

/* On this route the sidebar active row is a neutral fill, and the plan
   label is plain tertiary text. Other routes keep their own sidebar. */
html body.route-divisions.div-landing-on aside.sidebar#sidebar .sidebar-quick-item.active {
  background: var(--div-hover);
  background-image: none;
  color: var(--div-text);
  border-color: transparent;
  box-shadow: none;
}

html body.route-divisions.div-landing-on aside.sidebar#sidebar .sidebar-quick-item.active .sqi-icon,
html body.route-divisions.div-landing-on aside.sidebar#sidebar .sidebar-quick-item.active .sqi-label {
  background: transparent;
  background-image: none;
  color: var(--div-text);
  stroke: currentColor;
  font-weight: 500;
}

html body.route-divisions.div-landing-on .footer-org-tier-badge {
  background: transparent;
  background-image: none;
  color: var(--div-text-3);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  padding: 0;
  opacity: 1;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

html body.route-divisions.div-landing-on #main-content > .gl-divisions-view.div-landing {
  width: min(880px, 100%);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 24px 32px;
  text-align: left;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  color: var(--div-text);
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  background: transparent;
  background-image: none;
  box-shadow: none;
  overflow-x: hidden;
}

html body.route-divisions.div-landing-on .div-page-title {
  margin: 4px 0 16px;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--div-text);
}

html body.route-divisions.div-landing-on .div-page-sub {
  margin: 0 0 16px;
  max-width: 100%;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  color: var(--div-text-2);
}

html body.route-divisions.div-landing-on .div-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  min-width: 0;
  overflow: hidden;
  background: var(--div-card);
  background-image: none;
  border: 1px solid var(--div-border);
  border-radius: 10px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html body.route-divisions.div-landing-on .div-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 0;
  margin: 0;
  padding: 12px 16px 8px;
  background: transparent;
  background-image: none;
  border: 0;
  border-bottom: 1px solid var(--div-border);
  border-radius: 0;
  box-shadow: none;
  color: var(--div-text-2);
  text-decoration: none;
  transform: none;
}

html body.route-divisions.div-landing-on .div-list-head:hover,
html body.route-divisions.div-landing-on .div-list-head:focus-visible {
  background: var(--div-hover);
  background-image: none;
  color: var(--div-text);
  box-shadow: none;
  transform: none;
}

html body.route-divisions.div-landing-on .div-list-head:focus-visible {
  outline: 1px solid var(--div-border-strong);
  outline-offset: -1px;
}

html body.route-divisions.div-landing-on .div-list-head-label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: inherit;
}

html body.route-divisions.div-landing-on .div-list-head-meta {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--div-text-2);
  white-space: nowrap;
}

html body.route-divisions.div-landing-on .div-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  min-height: 56px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 12px 16px;
  box-sizing: border-box;
  background: transparent;
  background-image: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--div-text);
  text-decoration: none;
  text-align: left;
  transform: none;
  overflow: hidden;
}

html body.route-divisions.div-landing-on .div-list-head + .div-row,
html body.route-divisions.div-landing-on .div-row + .div-row {
  border-top: 1px solid var(--div-border);
}

html body.route-divisions.div-landing-on a.div-row:hover,
html body.route-divisions.div-landing-on a.div-row:focus-visible {
  background: var(--div-hover);
  background-image: none;
  border-color: transparent;
  border-top-color: var(--div-border);
  box-shadow: none;
  color: var(--div-text);
  transform: none;
}

html body.route-divisions.div-landing-on a.div-row:focus-visible {
  outline: 1px solid var(--div-border-strong);
  outline-offset: -1px;
}

html body.route-divisions.div-landing-on .div-row-name {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  color: var(--div-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body.route-divisions.div-landing-on .div-row-detail {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 16px;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
}

html body.route-divisions.div-landing-on .div-row-detail:empty {
  display: none;
}

html body.route-divisions.div-landing-on .div-row-caption {
  display: block;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  color: var(--div-text-2);
  overflow-wrap: break-word;
}

html body.route-divisions.div-landing-on .div-row-value {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--div-text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

html body.route-divisions.div-landing-on .div-row-delta {
  flex: 0 1 auto;
  margin: 0;
  max-width: 100%;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  text-align: right;
  color: var(--div-text-2);
  background: transparent;
  background-image: none;
  border: 0;
  box-shadow: none;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
}

html body.route-divisions.div-landing-on .div-row--skel {
  pointer-events: none;
}

html body.route-divisions.div-landing-on .div-skel {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: var(--div-hover);
  background-image: none;
}

html body.route-divisions.div-landing-on .div-skel--name { width: 28%; max-width: 160px; }
html body.route-divisions.div-landing-on .div-skel--caption { width: 72%; max-width: 420px; height: 13px; }
html body.route-divisions.div-landing-on .div-skel--value { width: 72px; margin-left: auto; }

@media (max-width: 820px) {
  html body.route-divisions.div-landing-on #main-content > .gl-divisions-view.div-landing {
    padding: calc(env(safe-area-inset-top, 0px) + 64px) 12px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  html body.route-divisions.div-landing-on #main,
  html body.route-divisions.div-landing-on #main-content,
  html body.route-divisions.div-landing-on .main-content {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
  }

  html body.route-divisions.div-landing-on .div-row {
    min-height: 56px;
  }
}

@media (max-width: 480px) {
  html body.route-divisions.div-landing-on .div-row-detail {
    flex-direction: column;
    align-items: flex-start;
  }

  html body.route-divisions.div-landing-on .div-row-delta {
    text-align: left;
  }
}

@media (max-width: 390px) {
  html body.route-divisions.div-landing-on,
  html body.route-divisions.div-landing-on #main,
  html body.route-divisions.div-landing-on #main-content,
  html body.route-divisions.div-landing-on .div-landing,
  html body.route-divisions.div-landing-on .div-list,
  html body.route-divisions.div-landing-on .div-list-head,
  html body.route-divisions.div-landing-on .div-row,
  html body.route-divisions.div-landing-on .div-page-sub {
    max-width: 100%;
    overflow-x: hidden;
  }

  html body.route-divisions.div-landing-on .div-row,
  html body.route-divisions.div-landing-on .div-list-head {
    padding-left: 12px;
    padding-right: 12px;
  }
}


/* ops trucks
   Operations > Trucks. One centered column.
   Flat surfaces, 1px borders, no stripes, tints, glows, blur, or gradients.
   Satoshi. Type 12 / 13 / 14 / 16 / 20 / 28. Radius 6 and 10.
   Status and Health are text tabs. #2196F3 is the fuel bar and Save. */

html body.route-divisions.trucks-on {
  --trk-card: #1F2121;
  --trk-raised: #252727;
  --trk-hover: #2B2D2D;
  --trk-border: #2F3232;
  --trk-text: #ECEDEC;
  --trk-text-2: #A6ABAB;
  --trk-text-3: #7A7F7F;
  --trk-blue: #2196F3;
  background: #1A1B1B;
}

html body.route-divisions.trucks-on #main,
html body.route-divisions.trucks-on #main-content,
html body.route-divisions.trucks-on .main-content {
  background: #1A1B1B;
  background-image: none;
  color: var(--trk-text);
}

html body.route-divisions.trucks-on.trk-detail-on,
html body.route-divisions.trucks-on.trk-detail-on #main,
html body.route-divisions.trucks-on.trk-detail-on #main-content,
html body.route-divisions.trucks-on.trk-detail-on .main-content {
  background: #111112;
  background-image: none;
}

html body.route-divisions.trucks-on .trk-page {
  box-sizing: border-box;
  max-width: 440px;
  margin: 0 auto;
  padding: 8px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--trk-text);
}

html body.route-divisions.trucks-on .trk-page h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

html body.route-divisions.trucks-on .trk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 8px;
}

html body.route-divisions.trucks-on .trk-add,
html body.route-divisions.trucks-on .trk-back {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  background-image: none;
  color: var(--trk-text-3);
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

html body.route-divisions.trucks-on .trk-back {
  margin: 0 0 4px;
  color: var(--trk-text-2);
  font-size: 14px;
}

html body.route-divisions.trucks-on .trk-banner {
  margin: 0 0 8px;
  padding: 10px 12px;
  background: var(--trk-card);
  background-image: none;
  border: 1px solid var(--trk-border);
  border-radius: 10px;
  color: var(--trk-text);
  font-size: 13px;
}

html body.route-divisions.trucks-on .trk-banner strong {
  font-weight: 700;
}

html body.route-divisions.trucks-on .trk-list,
html body.route-divisions.trucks-on .trk-empty,
html body.route-divisions.trucks-on .trk-panel,
html body.route-divisions.trucks-on .trk-form {
  background: var(--trk-card);
  background-image: none;
  border: 1px solid var(--trk-border);
  border-radius: 10px;
  box-shadow: none;
}

html body.route-divisions.trucks-on .trk-list {
  overflow: hidden;
}

html body.route-divisions.trucks-on .trk-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 8px 14px;
  border: 0;
  border-top: 1px solid var(--trk-border);
  border-radius: 0;
  background: transparent;
  background-image: none;
  color: var(--trk-text);
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

html body.route-divisions.trucks-on .trk-list .trk-row:first-child {
  border-top: 0;
}

html body.route-divisions.trucks-on .trk-row:hover {
  background: var(--trk-hover);
  background-image: none;
}

html body.route-divisions.trucks-on .trk-num {
  font-weight: 700;
}

html body.route-divisions.trucks-on .trk-who {
  color: var(--trk-text-2);
  font-size: 14px;
  font-weight: 400;
}

html body.route-divisions.trucks-on .trk-empty {
  padding: 14px;
}

html body.route-divisions.trucks-on .trk-empty p,
html body.route-divisions.trucks-on .trk-form .trk-rule,
html body.route-divisions.trucks-on .trk-loading {
  margin: 6px 0 0;
  color: var(--trk-text-2);
  font-size: 14px;
}

html body.route-divisions.trucks-on .trk-empty .trk-empty-title {
  margin: 0;
  color: var(--trk-text);
  font-size: 16px;
  font-weight: 700;
}

html body.route-divisions.trucks-on .trk-loading {
  margin: 12px 0;
}

html body.route-divisions.trucks-on .trk-hero {
  text-align: center;
  margin: 4px 0 0;
}

html body.route-divisions.trucks-on .trk-hero h1 {
  overflow-wrap: anywhere;
}

html body.route-divisions.trucks-on .trk-odo {
  margin: 4px 0 0;
  color: var(--trk-text-2);
  font-size: 13px;
  font-weight: 400;
}

html body.route-divisions.trucks-on .trk-fuel {
  margin: 14px 0 2px;
}

html body.route-divisions.trucks-on .trk-fuel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--trk-text);
  font-size: 20px;
  font-weight: 700;
}

html body.route-divisions.trucks-on .trk-fuel-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--icon-stroke, 1.6);
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body.route-divisions.trucks-on .trk-fuel-icon * {
  fill: none;
  vector-effect: non-scaling-stroke;
}

html body.route-divisions.trucks-on .trk-fuel-track {
  height: 6px;
  margin-top: 8px;
  border: 1px solid var(--trk-border);
  border-radius: 6px;
  background: var(--trk-raised);
  background-image: none;
  overflow: hidden;
}

html body.route-divisions.trucks-on .trk-fuel-fill {
  height: 100%;
  background: var(--trk-blue);
  background-image: none;
}

html body.route-divisions.trucks-on .trk-fuel-sub {
  margin: 6px 0 0;
  color: var(--trk-text-3);
  font-size: 12px;
  font-weight: 500;
}

html body.route-divisions.trucks-on .trk-sections {
  display: flex;
  margin: 8px 0 0;
  border-bottom: 1px solid var(--trk-border);
}

html body.route-divisions.trucks-on .trk-section {
  flex: 1;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  background-image: none;
  color: var(--trk-text-2);
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

html body.route-divisions.trucks-on .trk-section.is-on {
  color: var(--trk-text);
  border-bottom-color: var(--trk-text);
}

html body.route-divisions.trucks-on .trk-photo-wrap {
  margin: 8px 0 4px;
  background: #111112;
  border: 0;
}

html body.route-divisions.trucks-on .trk-photo {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
  background: #111112;
  border: 0;
}

html body.route-divisions.trucks-on .trk-info-btn,
html body.route-divisions.trucks-on .trk-button,
html body.route-divisions.trucks-on .trk-primary {
  min-height: 44px;
  padding: 0 14px;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

html body.route-divisions.trucks-on .trk-info-btn {
  display: block;
  margin: 0 auto 12px;
  border: 1px solid var(--trk-border);
  border-radius: 10px;
  background: var(--trk-raised);
  background-image: none;
  color: var(--trk-text);
  font-weight: 500;
}

html body.route-divisions.trucks-on .trk-button {
  border: 1px solid var(--trk-border);
  border-radius: 6px;
  background: var(--trk-raised);
  background-image: none;
  color: var(--trk-text);
}

html body.route-divisions.trucks-on .trk-primary {
  border: 1px solid var(--trk-blue);
  border-radius: 6px;
  background: var(--trk-blue);
  background-image: none;
  color: #fff;
}

html body.route-divisions.trucks-on .trk-primary:disabled {
  cursor: default;
  opacity: 0.6;
}

html body.route-divisions.trucks-on .trk-panel,
html body.route-divisions.trucks-on .trk-form {
  padding: 12px 14px 14px;
}

html body.route-divisions.trucks-on .trk-panel h2,
html body.route-divisions.trucks-on .trk-form h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

html body.route-divisions.trucks-on .trk-panel-empty {
  margin: 8px 0 0;
  color: var(--trk-text-3);
  font-size: 13px;
}

html body.route-divisions.trucks-on .trk-fields {
  margin: 8px 0 0;
}

html body.route-divisions.trucks-on .trk-field-row {
  display: grid;
  grid-template-columns: minmax(108px, 140px) minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--trk-border);
}

html body.route-divisions.trucks-on .trk-field-row dt {
  margin: 0;
  color: var(--trk-text-3);
  font-size: 13px;
  font-weight: 500;
}

html body.route-divisions.trucks-on .trk-field-row dd {
  margin: 0;
  color: var(--trk-text);
  font-size: 16px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

html body.route-divisions.trucks-on .trk-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

html body.route-divisions.trucks-on .trk-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

html body.route-divisions.trucks-on .trk-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

html body.route-divisions.trucks-on .trk-field span {
  color: var(--trk-text-2);
  font-size: 13px;
  font-weight: 500;
}

html body.route-divisions.trucks-on .trk-field input,
html body.route-divisions.trucks-on .trk-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--trk-border);
  border-radius: 6px;
  background: var(--trk-raised);
  background-image: none;
  color: var(--trk-text);
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

html body.route-divisions.trucks-on .trk-field textarea {
  min-height: 88px;
  resize: vertical;
}

html body.route-divisions.trucks-on .trk-row:focus-visible,
html body.route-divisions.trucks-on .trk-section:focus-visible,
html body.route-divisions.trucks-on .trk-info-btn:focus-visible,
html body.route-divisions.trucks-on .trk-primary:focus-visible,
html body.route-divisions.trucks-on .trk-add:focus-visible,
html body.route-divisions.trucks-on .trk-back:focus-visible,
html body.route-divisions.trucks-on input:focus-visible,
html body.route-divisions.trucks-on textarea:focus-visible,
html body.route-divisions.trucks-on .trk-map-item button:focus-visible,
html body.route-divisions.trucks-on .trk-loc-link:focus-visible,
html body.route-divisions.trucks-on .trk-loc-edit:focus-visible,
html body.route-divisions.trucks-on .trk-map-open:focus-visible {
  outline: 1px solid var(--trk-blue);
  outline-offset: 2px;
}

html body.route-divisions.trucks-on .trk-loc-main {
  margin: 8px 0 0;
  color: var(--trk-text);
  font-size: 16px;
  font-weight: 400;
}

html body.route-divisions.trucks-on .trk-loc-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
}

html body.route-divisions.trucks-on .trk-loc-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--trk-blue);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
}

html body.route-divisions.trucks-on .trk-loc-edit {
  margin-top: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  background-image: none;
  color: var(--trk-text-2);
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

html body.route-divisions.trucks-on .trk-loc-updated,
html body.route-divisions.trucks-on .trk-location .trk-rule,
html body.route-divisions.trucks-on .trk-map-note,
html body.route-divisions.trucks-on .trk-where {
  margin: 6px 0 0;
  color: var(--trk-text-2);
  font-size: 13px;
  font-weight: 400;
}

html body.route-divisions.trucks-on .trk-location .trk-form-grid {
  margin-top: 12px;
}

html body.route-divisions.trucks-on .trk-page.trk-map-page {
  max-width: none;
  width: 100%;
}

html body.route-divisions.trucks-on .trk-map-layout {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-top: 8px;
}

html body.route-divisions.trucks-on .trk-map-list {
  flex: 0 0 280px;
  max-height: calc(100svh - 180px);
  overflow: auto;
  background: var(--trk-card);
  background-image: none;
  border: 1px solid var(--trk-border);
  border-radius: 10px;
}

html body.route-divisions.trucks-on .trk-map-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 0 10px 0 0;
  border-top: 1px solid var(--trk-border);
  background: transparent;
}

html body.route-divisions.trucks-on .trk-map-list .trk-map-item:first-child {
  border-top: 0;
}

html body.route-divisions.trucks-on .trk-map-item.is-on {
  background: var(--trk-hover);
  background-image: none;
}

html body.route-divisions.trucks-on .trk-map-item button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  min-height: 48px;
  padding: 8px 4px 8px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-image: none;
  color: var(--trk-text);
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

html body.route-divisions.trucks-on .trk-map-item button:hover {
  background: var(--trk-hover);
  background-image: none;
}

html body.route-divisions.trucks-on .trk-map-open {
  color: var(--trk-blue);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

html body.route-divisions.trucks-on .trk-map-none {
  margin: 0;
  padding: 14px;
  color: var(--trk-text-2);
  font-size: 14px;
}

html body.route-divisions.trucks-on .trk-map-stage {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 560px;
  height: calc(100svh - 180px);
  background: #1A1B1B;
  background-image: none;
  border: 1px solid var(--trk-border);
  border-radius: 10px;
  overflow: hidden;
}

html body.route-divisions.trucks-on .trk-map,
html body.route-divisions.trucks-on .trk-map.leaflet-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #1A1B1B;
}

/* OpenStreetMap tiles, same host as My Hood. No token. Darkened to match Totaly. */
html body.route-divisions.trucks-on .trk-map .leaflet-tile-pane {
  filter: invert(1) hue-rotate(180deg) brightness(0.82) saturate(0.35);
}

html body.route-divisions.trucks-on .trk-map .leaflet-container {
  width: 100%;
  height: 100%;
  background: #1A1B1B;
  font-family: "Satoshi", system-ui, sans-serif;
}

html body.route-divisions.trucks-on .trk-pin {
  background: transparent;
  border: 0;
}

html body.route-divisions.trucks-on .trk-pin-dot {
  display: block;
  width: 14px;
  height: 14px;
  border: 1px solid #ECEDEC;
  border-radius: 999px;
  background: #2196F3;
  background-image: none;
}

html body.route-divisions.trucks-on .trk-map .leaflet-popup-content-wrapper,
html body.route-divisions.trucks-on .trk-map .leaflet-popup-tip {
  background: #1F2121;
  color: #ECEDEC;
  box-shadow: none;
}

html body.route-divisions.trucks-on .trk-map .leaflet-popup-content-wrapper {
  border: 1px solid #2F3232;
  border-radius: 10px;
}

html body.route-divisions.trucks-on .trk-map .leaflet-popup-content {
  margin: 10px 12px;
  font-size: 14px;
}

html body.route-divisions.trucks-on .trk-map .leaflet-popup-content a {
  color: #2196F3;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

html body.route-divisions.trucks-on .trk-map .leaflet-popup-content p {
  margin: 4px 0 0;
  color: #A6ABAB;
  font-size: 14px;
  font-weight: 400;
}

html body.route-divisions.trucks-on .trk-map .leaflet-bar a {
  background: #252727;
  color: #ECEDEC;
  border-bottom: 1px solid #2F3232;
  font-size: 16px;
}

html body.route-divisions.trucks-on .trk-map .leaflet-control-attribution {
  background: #1F2121;
  color: #7A7F7F;
  font-size: 12px;
}

html body.route-divisions.trucks-on .trk-map .leaflet-control-attribution a {
  color: #A6ABAB;
}

html body.route-divisions.trucks-on .trk-map-error {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 500;
  margin: 0;
  padding: 10px 12px;
  background: #1F2121;
  background-image: none;
  border: 1px solid #2F3232;
  border-radius: 10px;
  color: #ECEDEC;
  font-size: 13px;
}

@media (max-width: 640px) {
  html body.route-divisions.trucks-on .trk-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  html body.route-divisions.trucks-on .trk-field-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  html body.route-divisions.trucks-on .trk-map-layout {
    flex-direction: column;
  }

  html body.route-divisions.trucks-on .trk-map-stage {
    order: 1;
    width: 100%;
    min-height: 420px;
    height: 62vh;
  }

  html body.route-divisions.trucks-on .trk-map-list {
    order: 2;
    flex: none;
    width: 100%;
    max-height: none;
  }
}
/* end ops trucks */

/* Chip pages, the sales drilldown, Finance overview, and the division home.
   A global [class*="chip"] rule paints --chip-bg (rgba(33, 150, 243, 0.08))
   and [class*="-chip"] forces a 999px radius. That turned the headings and
   the rows behind them into overlapping blue bars. These selectors win
   because this sheet is unlayered. */

html body.route-divisions {
  --div-card: #1F2121;
  --div-raised: #252727;
  --div-hover: #2B2D2D;
  --div-border: #2F3232;
  --div-text: #ECEDEC;
  --div-text-2: #A6ABAB;
  --div-text-3: #7A7F7F;
  --div-blue: #2196F3;
  background: #1A1B1B;
}

html body.route-divisions #main,
html body.route-divisions #main-content,
html body.route-divisions .main-content {
  background: #1A1B1B;
  background-image: none;
  color: var(--div-text);
}

html body.route-divisions .gl-divisions-view {
  box-sizing: border-box;
  width: min(880px, 100%);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 24px 48px;
  text-align: left;
  background: transparent;
  background-image: none;
  box-shadow: none;
  color: var(--div-text);
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
}

html body.route-divisions .ds-crumbs,
html body.route-divisions .ds-crumbs ol,
html body.route-divisions .ds-crumbs li {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  background: transparent;
  background-image: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--div-text-2);
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
}

html body.route-divisions .ds-crumbs li,
html body.route-divisions .ds-crumbs ol {
  margin: 0;
}

html body.route-divisions .ds-crumbs a,
html body.route-divisions .ds-crumbs a:hover {
  color: var(--div-blue);
  background: transparent;
  background-image: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  text-decoration: none;
}

html body.route-divisions .ds-crumbs span,
html body.route-divisions .ds-crumbs span[aria-current="page"] {
  color: var(--div-text);
  background: transparent;
  background-image: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-weight: 500;
}

html body.route-divisions .ds-crumb-sep {
  margin: 0 6px;
  color: var(--div-text-3);
}

html body.route-divisions .gl-divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: none;
  margin: 0 0 8px;
  justify-content: stretch;
}

@media (min-width: 960px) {
  html body.route-divisions.div-landing-on .gl-divisions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

html body.route-divisions .gl-division-card,
html body.route-divisions .gl-divisions-grid .gl-division-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  min-height: 148px;
  margin: 0;
  padding: 16px;
  background: var(--div-card);
  background-image: none;
  border: 1px solid var(--div-border);
  border-radius: 10px;
  box-shadow: none;
  color: var(--div-text);
  text-align: left;
  text-decoration: none;
  transform: none;
  filter: none;
}

html body.route-divisions .gl-division-card:hover,
html body.route-divisions .gl-division-card:focus-visible {
  background: var(--div-hover);
  background-image: none;
  border-color: var(--div-border);
  box-shadow: none;
  transform: none;
  color: var(--div-text);
}

html body.route-divisions .gl-division-card .gdc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  background: var(--div-raised);
  background-image: none;
  border: 1px solid var(--div-border);
  border-radius: 6px;
  box-shadow: none;
  color: var(--div-text-2);
}

html body.route-divisions .gl-division-card .gdc-title {
  margin: 0;
  width: 100%;
  color: var(--div-text);
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  text-align: left;
  text-transform: none;
}

html body.route-divisions .gl-division-card .gdc-meta {
  margin: 0;
  color: var(--div-text-2);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
}

html body.route-divisions .gl-division-card .gdc-cta {
  margin-top: auto;
  color: var(--div-blue);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

html body.route-divisions .gl-domain-chips,
html body.route-divisions .gl-domain-chips-title,
html body.route-divisions .gl-chip-grid,
html body.route-divisions .gl-chip-grid.gl-chip-grid--domain,
html body.route-divisions .gl-report-chip-wrap,
html body.route-divisions .gl-report-chip-label {
  background: transparent;
  background-color: transparent;
  background-image: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html body.route-divisions .gl-domain-chips {
  width: 100%;
  max-width: none;
  margin: 20px 0 0;
  padding: 0;
}

html body.route-divisions .gl-domain-chips-title {
  display: block;
  margin: 20px 0 8px;
  padding: 0;
  color: var(--div-text-3);
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: left;
  text-transform: uppercase;
}

html body.route-divisions .gl-domain-chips .gl-domain-chips-title {
  margin-top: 0;
}

html body.route-divisions .gl-chip-grid,
html body.route-divisions .gl-chip-grid.gl-chip-grid--domain {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

html body.route-divisions .gl-report-chip-wrap {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html body.route-divisions .gl-report-chip,
html body.route-divisions .gl-report-chip-lab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 32px;
  max-width: 100%;
  margin: 0;
  padding: 6px 12px;
  background: var(--div-raised);
  background-image: none;
  border: 1px solid var(--div-border);
  border-radius: 999px;
  box-shadow: none;
  color: var(--div-text);
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}

html body.route-divisions .gl-report-chip-label {
  display: inline;
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

html body.route-divisions .gl-report-chip-lab {
  color: var(--div-blue);
  cursor: pointer;
}

html body.route-divisions .gl-report-chip:hover,
html body.route-divisions .gl-report-chip:focus-visible,
html body.route-divisions .gl-report-chip-lab:hover,
html body.route-divisions .gl-report-chip-lab:focus-visible {
  background: var(--div-hover);
  background-image: none;
  border-color: var(--div-border);
  box-shadow: none;
  color: var(--div-text);
}

html body.route-divisions .gl-report-chip-lab:hover,
html body.route-divisions .gl-report-chip-lab:focus-visible {
  color: var(--div-blue);
}

@media (max-width: 820px) {
  html body.route-divisions:not(.div-landing-on) .gl-divisions-view {
    padding: calc(env(safe-area-inset-top, 0px) + 64px) 12px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  html body.route-divisions .gl-divisions-grid {
    grid-template-columns: 1fr;
  }

html body.route-divisions .gl-report-chip,
html body.route-divisions .gl-report-chip-lab {
  white-space: normal;
}
}

/* Division pages: numbers first, then named sections. Not pill rows. */

html body.route-divisions .div-page-title {
  margin: 4px 0 4px;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: #ECEDEC;
}

html body.route-divisions .div-page-sub {
  margin: 0 0 16px;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  color: #A6ABAB;
}

html body.route-divisions .div-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #2F3232;
  background: transparent;
}

html body.route-divisions .div-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #A6ABAB;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

html body.route-divisions .div-switch a[aria-current="page"] {
  color: #ECEDEC;
  border-bottom-color: #2196F3;
}

html body.route-divisions .div-switch a:hover {
  color: #ECEDEC;
  background: transparent;
}

html body.route-divisions #main,
html body.route-divisions #main-content,
html body.route-divisions .main-content {
  width: 100%;
  max-width: none;
  flex: 1 1 auto;
  align-self: stretch;
}

html body.route-divisions #main-content > .gl-divisions-view,
html body.route-divisions.div-landing-on #main-content > .gl-divisions-view.div-landing {
  box-sizing: border-box;
  width: min(880px, 100%);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

html body.route-divisions .div-kpi-grid,
html body.route-divisions .div-links,
html body.route-divisions .div-switch {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

html body.route-divisions .div-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 0;
  margin-bottom: 8px;
}

html body.route-divisions .div-kpi {
  display: block;
  margin: 0;
  padding: 14px 16px;
  background: #1F2121;
  background-image: none;
  border: 1px solid #2F3232;
  border-radius: 10px;
  box-shadow: none;
  color: #ECEDEC;
  text-decoration: none;
}

html body.route-divisions a.div-kpi:hover {
  background: #2B2D2D;
  color: #ECEDEC;
}

html body.route-divisions .div-kpi-value {
  margin: 0;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  color: #ECEDEC;
  font-variant-numeric: tabular-nums;
}

html body.route-divisions .div-kpi-label {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #A6ABAB;
}

html body.route-divisions .div-kpi-note {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  color: #7A7F7F;
}

html body.route-divisions .div-kpi-note:empty {
  display: none;
}

html body.route-divisions .div-section-title {
  margin: 20px 0 8px;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
  color: #7A7F7F;
}

html body.route-divisions .div-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #1F2121;
  background-image: none;
  border: 1px solid #2F3232;
  border-radius: 10px;
  overflow: hidden;
}

html body.route-divisions .div-link-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 1px solid #2F3232;
  background: transparent;
}

html body.route-divisions .div-links > .div-link-row:first-child {
  border-top: 0;
}

html body.route-divisions .div-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 12px 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #ECEDEC;
  text-decoration: none;
}

html body.route-divisions .div-link:hover,
html body.route-divisions .div-link-row:hover {
  background: #2B2D2D;
}

html body.route-divisions .div-link-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: #ECEDEC;
}

html body.route-divisions .div-link-desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  color: #A6ABAB;
}

html body.route-divisions .div-link-lab {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  margin: 0;
  padding: 12px 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #2196F3;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

html body.route-divisions .div-link-lab:hover {
  color: #2196F3;
  background: transparent;
}

@media (max-width: 720px) {
  html body.route-divisions .div-kpi-grid {
    grid-template-columns: 1fr;
  }

  html body.route-divisions .div-link-row {
    flex-wrap: wrap;
  }
}

/* Hub pages. Flat cards on the same left edge as the title. */

html body.route-divisions .div-hub {
  text-align: left;
}

html body.route-divisions .div-hub .div-block {
  margin: 20px 0 0;
}

html body.route-divisions .div-card,
html body.route-divisions .div-table-wrap,
html body.route-divisions .div-empty {
  background: #1F2121;
  background-image: none;
  border: 1px solid #2F3232;
  border-radius: 10px;
  box-shadow: none;
}

html body.route-divisions .div-card {
  padding: 16px;
}

html body.route-divisions .div-chart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 800px) {
  html body.route-divisions .div-chart-grid {
    grid-template-columns: 1fr 1fr;
  }
}

html body.route-divisions .div-card-title {
  margin: 0 0 12px;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: #ECEDEC;
}

html body.route-divisions .div-bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(80px, 1.4fr) auto;
  gap: 8px;
  align-items: center;
  margin: 0 0 8px;
}

html body.route-divisions .div-bar-name,
html body.route-divisions .div-bar-val {
  font-size: 13px;
  font-weight: 400;
  color: #A6ABAB;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body.route-divisions .div-bar-val {
  color: #ECEDEC;
  font-variant-numeric: tabular-nums;
}

html body.route-divisions .div-bar-track {
  display: block;
  height: 8px;
  background: #252727;
  border-radius: 6px;
  overflow: hidden;
}

html body.route-divisions .div-bar-fill {
  display: block;
  height: 8px;
  background: #2196F3;
  border-radius: 6px;
}

html body.route-divisions .div-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

html body.route-divisions .div-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

html body.route-divisions .div-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #A6ABAB;
}

html body.route-divisions .div-filter input,
html body.route-divisions .div-filter select {
  height: 32px;
  margin: 0;
  padding: 0 8px;
  background: #1F2121;
  background-image: none;
  border: 1px solid #2F3232;
  border-radius: 6px;
  box-shadow: none;
  color: #ECEDEC;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
}

html body.route-divisions .div-csv {
  height: 32px;
  margin: 0;
  padding: 0 12px;
  background: #252727;
  background-image: none;
  border: 1px solid #2F3232;
  border-radius: 6px;
  box-shadow: none;
  color: #ECEDEC;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

html body.route-divisions .div-csv:hover {
  background: #2B2D2D;
}

html body.route-divisions .div-table-wrap {
  overflow-x: auto;
}

html body.route-divisions .div-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-weight: 400;
  color: #ECEDEC;
}

html body.route-divisions .div-table th,
html body.route-divisions .div-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #2F3232;
  text-align: left;
  font-weight: 400;
}

html body.route-divisions .div-table th {
  font-size: 12px;
  font-weight: 500;
  color: #7A7F7F;
}

html body.route-divisions .div-empty {
  margin: 0;
  padding: 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #A6ABAB;
}

html body.route-divisions .div-card-note {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #7A7F7F;
}

html body.route-divisions #main-content > .gl-divisions-view.div-hub {
  width: min(1120px, 100%);
  max-width: 1120px;
}

html body.route-divisions .div-hub-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

html body.route-divisions .div-cat-menu {
  display: none;
}

html body.route-divisions .div-cats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 8px;
  background: #1F2121;
  background-image: none;
  border: 1px solid #2F3232;
  border-radius: 10px;
  box-shadow: none;
}

html body.route-divisions .div-cat {
  display: block;
  margin: 0;
  padding: 10px 12px;
  background: transparent;
  background-image: none;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  color: #A6ABAB;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
}

html body.route-divisions .div-cat[aria-current="page"] {
  background: #252727;
  color: #ECEDEC;
}

html body.route-divisions .div-cat:hover {
  background: #2B2D2D;
  color: #ECEDEC;
}

html body.route-divisions .div-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 16px;
  padding: 0;
  border-bottom: 1px solid #2F3232;
  background: transparent;
}

html body.route-divisions .div-subtab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 8px 0;
  background: transparent;
  background-image: none;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
  color: #A6ABAB;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

html body.route-divisions .div-subtab[aria-current="page"] {
  color: #ECEDEC;
  border-bottom-color: #2196F3;
}

html body.route-divisions .div-subtab:hover {
  color: #ECEDEC;
  background: transparent;
}

html body.route-divisions .div-cat-menu select {
  height: 36px;
  margin: 0;
  padding: 0 8px;
  background: #1F2121;
  background-image: none;
  border: 1px solid #2F3232;
  border-radius: 6px;
  box-shadow: none;
  color: #ECEDEC;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 820px) {
  html body.route-divisions .div-hub-layout {
    display: block;
  }

  html body.route-divisions .div-cats {
    display: none;
  }

  html body.route-divisions .div-cat-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #A6ABAB;
    font-size: 13px;
    font-weight: 500;
  }
}

/* Retention hub. Same flat cards as the other division pages. */

html body.route-divisions .rh-quiet,
html body.route-divisions .rh-meta {
  margin: 8px 0 0;
  color: #A6ABAB;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

html body.route-divisions .rh-label,
html body.route-divisions .rh-board-title,
html body.route-divisions .rh-board-group-label {
  margin: 16px 0 8px;
  color: #7A7F7F;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

html body.route-divisions .rh-tools,
html body.route-divisions .rh-filters,
html body.route-divisions .rh-board-controls,
html body.route-divisions .rh-board-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
}

html body.route-divisions .rh-input,
html body.route-divisions .rh-field input,
html body.route-divisions .rh-field textarea,
html body.route-divisions .rh-filters select,
html body.route-divisions .rh-cal-toolbar select,
html body.route-divisions .rh-filter-grid select,
html body.route-divisions .rh-filter-grid input,
html body.route-divisions .rh-date input {
  height: 36px;
  margin: 0;
  padding: 0 8px;
  background: #1F2121;
  background-image: none;
  border: 1px solid #2F3232;
  border-radius: 6px;
  box-shadow: none;
  color: #ECEDEC;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 14px;
}

html body.route-divisions .rh-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 12px;
  color: #A6ABAB;
  font-size: 13px;
}

html body.route-divisions .rh-field textarea {
  height: auto;
  padding: 8px;
}

html body.route-divisions .rh-btn,
html body.route-divisions .rh-filters button,
html body.route-divisions .rh-chip,
html body.route-divisions .rh-sheet th button {
  min-height: 36px;
  margin: 0;
  padding: 0 12px;
  background: #252727;
  background-image: none;
  border: 1px solid #2F3232;
  border-radius: 6px;
  box-shadow: none;
  color: #ECEDEC;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

html body.route-divisions .rh-btn:disabled,
html body.route-divisions .rh-filters button:disabled,
html body.route-divisions .rh-chip:disabled {
  color: #7A7F7F;
  cursor: not-allowed;
}

html body.route-divisions .rh-filters button[aria-pressed="true"],
html body.route-divisions .rh-filters button.on,
html body.route-divisions .rh-chip.on {
  color: #ECEDEC;
  border-color: #2196F3;
}

html body.route-divisions .rh-sheet-wrap {
  overflow-x: auto;
  background: #1F2121;
  background-image: none;
  border: 1px solid #2F3232;
  border-radius: 10px;
  box-shadow: none;
}

html body.route-divisions .rh-sheet {
  width: 100%;
  border-collapse: collapse;
  color: #ECEDEC;
  font-size: 13px;
}

html body.route-divisions .rh-sheet th,
html body.route-divisions .rh-sheet td {
  padding: 10px 12px;
  border-bottom: 1px solid #2F3232;
  text-align: left;
  font-weight: 400;
}

html body.route-divisions .rh-sheet th {
  color: #7A7F7F;
  font-weight: 500;
}

html body.route-divisions .rh-sheet th button {
  background: transparent;
  border: 0;
  padding: 0;
  color: #7A7F7F;
}

html body.route-divisions .rh-col-phone { display: none; }

html body.route-divisions .rh-podium,
html body.route-divisions .lb-list,
html body.route-divisions .rh-columns,
html body.route-divisions .rh-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

html body.route-divisions .rh-columns,
html body.route-divisions .rh-stack {
  grid-template-columns: 1fr;
}

html body.route-divisions .rh-podium[data-order="213"] {
  align-items: end;
}

html body.route-divisions .rh-podium-card[data-place="2"] { order: 1; }
html body.route-divisions .rh-podium-card[data-place="1"] { order: 2; }
html body.route-divisions .rh-podium-card[data-place="3"] { order: 3; }

html body.route-divisions .rh-podium-card.is-first {
  border-color: #2196F3;
}

html body.route-divisions .lb-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

html body.route-divisions .lb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

html body.route-divisions .lb-row.is-idle .lb-name,
html body.route-divisions .lb-idle-label {
  color: #D64545;
}

html body.route-divisions .rh-skel,
html body.route-divisions .lb-board-skeleton .rh-podium-card {
  min-height: 72px;
  color: transparent;
  background: #252727;
}

html body.route-divisions .rh-podium-card,
html body.route-divisions .lb-row {
  background: #1F2121;
  background-image: none;
  border: 1px solid #2F3232;
  border-radius: 10px;
  box-shadow: none;
  padding: 12px;
}

html body.route-divisions .lb-name {
  display: block;
  color: #ECEDEC;
  font-weight: 500;
}

html body.route-divisions .lb-channel,
html body.route-divisions .rh-place,
html body.route-divisions .rh-score {
  color: #A6ABAB;
}

html body.route-divisions .rh-score,
html body.route-divisions .rh-kpi-actual {
  margin: 4px 0;
  color: #ECEDEC;
  font-size: 22px;
  font-weight: 500;
}

@media (max-width: 720px) {
  html body.route-divisions .rh-podium,
  html body.route-divisions .lb-list {
    grid-template-columns: 1fr;
  }

  html body.route-divisions .rh-col-full { display: none; }
  html body.route-divisions .rh-col-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  html body.route-divisions .rh-sheet th,
  html body.route-divisions .rh-sheet td {
    padding: 8px;
  }
}

/* Retention calendar. Entry colors are Saved, Lost, Pending, and Added. */

html body.route-divisions .rh-cal-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
}

html body.route-divisions .rh-cal-title {
  margin: 0;
  color: #ECEDEC;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

html body.route-divisions .rh-cal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin: 0 0 12px;
}

html body.route-divisions .rh-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #A6ABAB;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
}

html body.route-divisions .rh-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #8B9090;
}

html body.route-divisions .rh-swatch[data-type="saved"] { background: #2E9B57; }
html body.route-divisions .rh-swatch[data-type="lost"] { background: #D64545; }
html body.route-divisions .rh-swatch[data-type="pending"] { background: #E0B341; }
html body.route-divisions .rh-swatch[data-type="added"] { background: #8B9090; }

html body.route-divisions .rh-cal-scroll {
  overflow-x: auto;
  background: #1F2121;
  background-image: none;
  border: 1px solid #2F3232;
  border-radius: 10px;
  box-shadow: none;
}

html body.route-divisions .rh-cal-grid {
  display: grid;
  min-width: 720px;
}

html body.route-divisions .rh-cal-grid[data-view="day"] {
  min-width: 0;
}

html body.route-divisions .rh-cal-dow,
html body.route-divisions .rh-cal-day {
  min-width: 0;
  padding: 6px;
  border-right: 1px solid #2F3232;
  border-bottom: 1px solid #2F3232;
}

html body.route-divisions .rh-cal-dow {
  color: #7A7F7F;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

html body.route-divisions .rh-cal-num {
  margin: 0 0 4px;
  color: #A6ABAB;
  font-size: 12px;
  font-weight: 500;
}

html body.route-divisions .rh-cal-day.is-today .rh-cal-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0 0 4px;
  border-radius: 50%;
  background: #2196F3;
  color: #171818;
}

html body.route-divisions .rh-cal-day.is-out .rh-cal-num {
  color: #7A7F7F;
}

html body.route-divisions .rh-cal-event {
  display: block;
  width: 100%;
  margin: 2px 0 0;
  padding: 2px 6px;
  border: 0;
  border-radius: 6px;
  background: #8B9090;
  background-image: none;
  box-shadow: none;
  color: #171818;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

html body.route-divisions .rh-cal-event[data-type="saved"] { background: #2E9B57; }
html body.route-divisions .rh-cal-event[data-type="lost"] { background: #D64545; }
html body.route-divisions .rh-cal-event[data-type="pending"] { background: #E0B341; }
html body.route-divisions .rh-cal-event[data-type="added"] { background: #8B9090; }

html body.route-divisions .rh-cal-agenda-day {
  padding: 8px 12px;
  border-bottom: 1px solid #2F3232;
}

html body.route-divisions .rh-cal-agenda-day .rh-cal-event {
  max-width: 420px;
}

html body.route-divisions .rh-cal-detail {
  margin-top: 12px;
}

html body.route-divisions a.rh-text-link {
  color: #2196F3;
  background: transparent;
  background-image: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  font-weight: 500;
  text-decoration: none;
}

@media (max-width: 720px) {
  html body.route-divisions .rh-cal-grid[data-view="week"],
  html body.route-divisions .rh-cal-grid[data-view="month"],
  html body.route-divisions .rh-cal-grid[data-view="four"] {
    min-width: 640px;
  }

  html body.route-divisions .rh-cal-title {
    flex: 1 0 100%;
  }

  html body.route-divisions .rh-cal-toolbar select,
  html body.route-divisions .rh-cal-filters select {
    max-width: 100%;
  }

  html body.route-divisions .rh-filter-grid {
    grid-template-columns: 1fr;
  }
}

html body.route-divisions .rh-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0 0 12px;
}

html body.route-divisions .rh-details {
  margin: 8px 0;
  color: #A6ABAB;
  font-size: 13px;
}

html body.route-divisions .rh-details summary {
  cursor: pointer;
  color: #2196F3;
  font-weight: 500;
}

html body.route-divisions .rh-sheet td {
  vertical-align: top;
}

html body.route-divisions .rh-sheet td p {
  margin: 0;
  white-space: normal;
}

html body.route-divisions .rh-plot {
  display: block;
  width: 100%;
  height: auto;
  background: #1F2121;
  border: 1px solid #2F3232;
  border-radius: 10px;
}

html body.route-divisions .rh-formula {
  margin: 0;
  white-space: pre-wrap;
  color: #ECEDEC;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 720px) {
  html body.route-divisions .rh-filter-grid {
    grid-template-columns: 1fr;
  }
}

/* Lists filter chips and the Reps board. Flat cards, blue numbers. */

html body.route-divisions .rh-filter-box,
html body.route-divisions .rh-lb-head,
html body.route-divisions .rh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-end;
  margin: 0 0 12px;
}

html body.route-divisions .rh-filter-box .rh-field,
html body.route-divisions .rh-board-controls .rh-field,
html body.route-divisions .rh-inline {
  flex: 1 1 180px;
  min-width: 0;
  margin: 0;
}

html body.route-divisions .rh-field input,
html body.route-divisions .rh-field select,
html body.route-divisions .rh-board-controls select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

html body.route-divisions .rh-field select,
html body.route-divisions .rh-board-controls select {
  height: 36px;
  margin: 0;
  padding: 0 8px;
  background: #1F2121;
  background-image: none;
  border: 1px solid #2F3232;
  border-radius: 6px;
  box-shadow: none;
  color: #ECEDEC;
  color-scheme: dark;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 14px;
}

html body.route-divisions .rh-tools .rh-input {
  flex: 1 1 180px;
  width: auto;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

html body.route-divisions .rh-tools .rh-inline {
  flex: 0 1 220px;
}

html body.route-divisions .rh-chips {
  align-items: center;
}

html body.route-divisions .rh-hero,
html body.route-divisions .rh-headline {
  margin: 0;
  padding: 16px;
  background: #1F2121;
  background-image: none;
  border: 1px solid #2F3232;
  border-radius: 10px;
  box-shadow: none;
}

html body.route-divisions .rh-hero {
  margin: 0 0 10px;
}

html body.route-divisions .rh-headlines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 10px;
}

html body.route-divisions .rh-headline {
  border-color: #2196F3;
}

html body.route-divisions .rh-hero-value,
html body.route-divisions .rh-headline-value {
  margin: 8px 0 0;
  color: #2196F3;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

html body.route-divisions .rh-headline-value {
  margin: 0;
  font-size: 28px;
}

html body.route-divisions .rh-hero-label,
html body.route-divisions .rh-headline-label {
  margin: 6px 0 0;
  color: #A6ABAB;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
}

html body.route-divisions .rh-seg {
  display: inline-flex;
  border: 1px solid #2F3232;
  border-radius: 6px;
  overflow: hidden;
}

html body.route-divisions .rh-seg button {
  min-height: 32px;
  margin: 0;
  padding: 0 12px;
  background: #1F2121;
  background-image: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #A6ABAB;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

html body.route-divisions .rh-seg button[aria-pressed="true"] {
  background: #252727;
  color: #2196F3;
}

html body.route-divisions .rh-kpi-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

html body.route-divisions .rh-kpi-mini[hidden] {
  display: none;
}

html body.route-divisions .rh-mini .div-kpi-value {
  font-size: 20px;
  font-weight: 500;
}

html body.route-divisions .rh-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid #2F3232;
  border-radius: 50%;
  background: #252727;
  background-image: none;
  color: #ECEDEC;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  overflow: hidden;
}

html body.route-divisions .rh-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

html body.route-divisions .rh-podium-card,
html body.route-divisions .lb-row,
html body.route-divisions .rh-rep-main {
  min-width: 0;
}

html body.route-divisions button.rh-podium-card,
html body.route-divisions .rh-rep-btn {
  font-family: "Satoshi", system-ui, sans-serif;
  color: #ECEDEC;
  cursor: pointer;
  text-align: left;
}

html body.route-divisions button.rh-podium-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

html body.route-divisions button.rh-podium-card:hover,
html body.route-divisions .lb-row:hover {
  background: #2B2D2D;
}

html body.route-divisions .rh-rep-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  background-image: none;
  border: 0;
  box-shadow: none;
}

html body.route-divisions .rh-rep-main {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 2px;
}

html body.route-divisions .rh-rep-main .lb-name,
html body.route-divisions .rh-podium-card .lb-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

html body.route-divisions .rh-rep-sub,
html body.route-divisions .lb-rank {
  color: #A6ABAB;
  font-size: 13px;
}

html body.route-divisions .rh-rep-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 12px;
}

html body.route-divisions .rh-rep-head .rh-avatar {
  width: 48px;
  height: 48px;
  font-size: 16px;
}

html body.route-divisions .rh-lb-head {
  align-items: center;
  justify-content: space-between;
}

html body.route-divisions .rh-lb-head .div-card-title,
html body.route-divisions .rh-lb-head .rh-cal-toolbar {
  margin: 0;
}

@media (max-width: 720px) {
  html body.route-divisions .rh-headlines,
  html body.route-divisions .rh-kpi-mini {
    grid-template-columns: 1fr 1fr;
  }

  html body.route-divisions .rh-podium[data-order="213"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html body.route-divisions .rh-hero-value {
    font-size: 32px;
  }

  html body.route-divisions .rh-filter-box .rh-field,
  html body.route-divisions .rh-inline,
  html body.route-divisions .rh-tools .rh-inline,
  html body.route-divisions .rh-tools .rh-input,
  html body.route-divisions .rh-board-controls .rh-field {
    flex-basis: 100%;
    width: 100%;
  }

  html body.route-divisions .rh-podium-card {
    padding: 8px;
  }

  html body.route-divisions .rh-podium-card .rh-score,
  html body.route-divisions .rh-podium-card .lb-name {
    font-size: 13px;
  }
}

/* Lists column chooser. Chips are the columns on the table and in the CSV. */

html body.route-divisions .rh-col-chooser {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 12px;
  max-width: 100%;
}

html body.route-divisions .rh-col-chooser .rh-chips {
  flex: 1 1 220px;
  min-width: 0;
  margin: 0;
}

html body.route-divisions .rh-col-step {
  position: relative;
  display: flex;
  gap: 8px;
  margin-left: auto;
}

html body.route-divisions .rh-col-step .rh-btn {
  width: 36px;
  padding: 0;
}

html body.route-divisions .rh-col-step .rh-btn[aria-expanded="true"],
html body.route-divisions .rh-btn[aria-pressed="true"] {
  border-color: #2196F3;
  color: #2196F3;
}

html body.route-divisions .rh-col-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 4;
  width: min(240px, calc(100vw - 32px));
  max-height: 240px;
  margin: 0;
  padding: 4px;
  overflow: auto;
  background: #1F2121;
  background-image: none;
  border: 1px solid #2F3232;
  border-radius: 10px;
  box-shadow: none;
}

html body.route-divisions .rh-col-menu[hidden] {
  display: none;
}

html body.route-divisions .rh-col-menu button {
  display: block;
  width: 100%;
  min-height: 36px;
  margin: 0;
  padding: 8px 10px;
  background: transparent;
  background-image: none;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  color: #ECEDEC;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

html body.route-divisions .rh-col-menu button:hover {
  background: #2B2D2D;
}
