/* route.css - Route surface and the body.route-* router state rules
 *
 * Extracted verbatim from style.css. Rules keep their original
 * relative order, and @media rules travel with the surface so its
 * responsive overrides still land after the rules they override.
 */
html body.route-ask:not(.ai-has-messages),
html body.route-ask:not(.ai-has-messages) section#main.main { overflow: hidden !important; height: 100vh !important; max-height: 100vh !important; }
html body.route-ask:not(.ai-has-messages) .ai-view { overflow: hidden !important; height: calc(100vh - 56px) !important; /* subtract topbar */; max-height: calc(100vh - 56px) !important; }
html body.route-ask:not(.ai-has-messages) { overflow: hidden !important; height: 100vh !important; }
html body.route-ask:not(.ai-has-messages) #ai-hero.ai-hero,
html body.route-ask:not(.ai-has-messages) #ai-hero { opacity: 1; --hero-opacity: 1; }
html body.route-ask:not(.ai-has-messages),
html body.route-ask:not(.ai-has-messages) section#main,
html body.route-ask:not(.ai-has-messages) main#main-content,
html body.route-ask:not(.ai-has-messages) main.main-content,
html body.route-ask:not(.ai-has-messages) .ai-view,
html body.route-ask:not(.ai-has-messages) .ai-view.ai-home { overflow: hidden; overflow-x: hidden; overflow-y: hidden; scrollbar-width: none;            /* Firefox */; -ms-overflow-style: none;         /* old Edge/IE */; }
html body.route-ask:not(.ai-has-messages)::-webkit-scrollbar,
html body.route-ask:not(.ai-has-messages) section#main::-webkit-scrollbar,
html body.route-ask:not(.ai-has-messages) main#main-content::-webkit-scrollbar,
html body.route-ask:not(.ai-has-messages) main.main-content::-webkit-scrollbar,
html body.route-ask:not(.ai-has-messages) .ai-view::-webkit-scrollbar,
html body.route-ask:not(.ai-has-messages) .ai-view.ai-home::-webkit-scrollbar { width: 0; height: 0; display: none; background: transparent; }
html body.route-ask header.topbar { position: relative; z-index: 50; }
html body.route-ask aside.sidebar { position: relative; z-index: 40; }
html body.route-ask:not(.ai-has-messages) .home-launcher .home-tabs-row,
html body.route-ask:not(.ai-has-messages) .ai-view .home-tabs-row { display: none; }

@media (min-width: 720px) and (max-height: 860px) {
  html body.route-ask:not(.ai-has-messages) .ai-view .ai-hero .ai-hero-card,
  html body.route-ask:not(.ai-has-messages) .ai-view.ai-home .ai-hero .ai-hero-card { max-width: 480px; padding: 10px 24px; }
  html body.route-ask:not(.ai-has-messages) .ai-view .ai-hero img#ai-hero-logo-img,
  html body.route-ask:not(.ai-has-messages) .ai-view .ai-hero .ai-hero-logo--img { height: 26px; max-height: 26px; max-width: 120px; }
}

@media (min-height: 1100px) {
  html body.route-ask:not(.ai-has-messages) .ai-view.ai-home .ai-hero,
  html body.route-ask:not(.ai-has-messages) .ai-view .ai-hero,
  html body:not(.ai-has-messages).route-ask .ai-hero {
    margin: 0;
    margin-bottom: auto;
  }
  html body.route-ask:not(.ai-has-messages) .ai-view.ai-home .home-launcher,
  html body.route-ask:not(.ai-has-messages) .ai-view .home-launcher {
    flex: 0 0 auto;
    margin-top: 0;
    margin-bottom: 0;
  }
  html body.route-ask:not(.ai-has-messages) .ai-view.ai-home .ai-composer-wrap,
  html body.route-ask:not(.ai-has-messages) .ai-view .ai-composer-wrap {
    margin-top: 0;
    margin-bottom: 0;
  }
  html body.route-ask:not(.ai-has-messages) .ai-view.ai-home .ai-hero,
  html body.route-ask:not(.ai-has-messages) .ai-view .ai-hero,
  html body:not(.ai-has-messages).route-ask .ai-hero {
    margin: auto 0 !important;          /* center vertically between top edge and next sibling */
  }
}

@media (min-width: 720px) and (max-height: 1099px) {
  html body.route-ask:not(.ai-has-messages) .ai-view.ai-home,
  html body.route-ask:not(.ai-has-messages) .ai-view {
    padding-top: 1.25rem;
    padding-bottom: 0.5rem;
  }
  html body.route-ask:not(.ai-has-messages) .ai-view.ai-home,
  html body.route-ask:not(.ai-has-messages) .ai-view {
    gap: 0.5rem;
  }
}
body.route-ask:not(.ai-has-messages):not(.kpi-active) .home-launcher { display: none; }
body.route-ask:not(.ai-has-messages):not(.kpi-active) .ai-view.ai-home {
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
}
body.route-ask:not(.ai-has-messages):not(.kpi-active) .ai-view.ai-home .ai-hero {
  position: absolute !important;
  left: 0;
  right: 0;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  padding: 0;
  margin: 0;
  pointer-events: none;
  z-index: 1;
}
body.route-ask:not(.ai-has-messages):not(.kpi-active) .ai-view.ai-home .ai-hero .ai-hero-card {
  pointer-events: auto;
}
body.route-ask:not(.ai-has-messages):not(.kpi-active) .ai-view.ai-home .kpi-pills-row {
  margin-bottom: 0;
}
body.route-chats aside.sidebar#sidebar .sidebar-quick-nav--v1929 .sidebar-quick-item--history .sqi-label {
  color: var(--fg-faint-warm);
  font-weight: 400;
}
body.route-ask.ai-has-messages .kpi-pills-row { display: none; }
body.route-ask.ai-has-messages .glass-composer { margin-top: 1rem; }

@media (max-width: 1023px) {
  body.route-ask .ai-composer-wrap,
  body.route-ask.ai-has-messages .ai-composer-wrap {
    background: #1c1c1e !important;
    background-image: none;
    border-top: none;
    box-shadow: none;
  }
  body.route-ask .ai-view .home-dash-toggles,
  body.route-ask #home-dash-toggles,
  body.route-ask .ai-view #home-launcher .home-dash-toggles {
    display: none;
    visibility: hidden;
  }
  body.route-ask:not(.ai-has-messages) .ai-view .ai-composer-wrap,
  body.route-ask .ai-view .ai-composer-wrap {
    /* Soft top fade so no hard edge seam above the composer */
    background: linear-gradient(
      to bottom,
      rgba(28, 28, 30, 0) 0%,
      rgba(28, 28, 30, 0.82) 28%,
      rgba(28, 28, 30, 1) 56%,
      rgba(28, 28, 30, 1) 100%
    ) !important;
    background-color: transparent;
    background-image: linear-gradient(
      to bottom,
      rgba(28, 28, 30, 0) 0%,
      rgba(28, 28, 30, 0.82) 28%,
      rgba(28, 28, 30, 1) 56%,
      rgba(28, 28, 30, 1) 100%
    ) !important;
    border-top: none;
    border-bottom: none;
    box-shadow: none;
    /* Bottom flush: pad into the safe-area so no gap between composer and chrome */
    padding-top: 18px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding-left: 12px;
    padding-right: 12px;
  }
  body.route-ask::after {
    background: rgba(28, 28, 30, 1);
    height: calc(env(safe-area-inset-bottom, 0px) + 2px);
  }
  body.route-ask .ai-view .rich-composer,
  body.route-ask .ai-view .ai-composer-wrap .rich-composer {
    background: rgba(38, 40, 42, 0.72);
    background-color: rgba(38, 40, 42, 0.72);
    background-image: none;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-overlay-10);
    box-shadow:
      0 4px 24px rgba(0, 0, 0, 0.38),
      inset 0 1px 0 var(--overlay-w-07) !important;
    border-radius: 16px;
  }
  body.route-ask .ai-view .rich-composer:focus-within {
    border-color: rgba(25, 118, 210, 0.75);
    box-shadow:
      0 4px 24px rgba(0, 0, 0, 0.42),
      0 0 0 2.5px rgba(25, 118, 210, 0.20),
      inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;
  }
  body.route-ask:not(.ai-has-messages) .ai-view .ai-composer-wrap {
    bottom: calc(20dvh + env(safe-area-inset-bottom, 0px));
  }
  body.route-ask.ai-has-messages .ai-view .ai-composer-wrap {
    bottom: 0;
    padding-top: 8px;
  }
  body.route-ask:not(.ai-has-messages) .ai-view .home-launcher {
    bottom: calc(20dvh + 100px + env(safe-area-inset-bottom, 0px));
  }
  body.route-ask:not(.ai-has-messages) .ai-view .ai-bg-mark {
    top: calc(50% - 10dvh);
  }
}
[data-app-theme="light"] html body.route-ask.ai-has-messages .ai-composer-wrap::before,
html[data-app-theme="light"] body.route-ask.ai-has-messages .ai-composer-wrap::before {
  background: linear-gradient(
    to bottom,
    rgba(247, 248, 250, 0)   0%,
    rgba(247, 248, 250, 0.55) 22%,
    rgba(247, 248, 250, 0.92) 55%,
    rgba(247, 248, 250, 1)   100%
  ) !important;
}
[data-app-theme="og"] html body.route-ask.ai-has-messages .ai-composer-wrap::before,
html[data-app-theme="og"] body.route-ask.ai-has-messages .ai-composer-wrap::before {
  background: linear-gradient(
    to bottom,
    rgba(250, 247, 238, 0)   0%,
    rgba(250, 247, 238, 0.55) 22%,
    rgba(250, 247, 238, 0.92) 55%,
    rgba(250, 247, 238, 1)   100%
  ) !important;
}
html body.route-ask.ai-has-messages .ai-composer-wrap .rich-composer {
  position: relative;
  z-index: 1 !important;
}
html body.route-ask.ai-has-messages .ai-messages,
html body.route-ask.ai-has-messages .ai-view .ai-messages {
  padding-bottom: 120px !important;
}
html:has(body.route-dashboards),
body.route-dashboards {
  overflow: hidden;
}
html[data-app-theme="dark"] body:not(.route-dashboards) #main-content {
  overflow-y: auto;
  overflow-x: hidden;
}
body.route-messages .main-content {
  padding: 0;
  overflow: hidden;
}
body.route-messages {
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden !important;
}
/* KPI sales cards: readable charts that still fit the Ask viewport.
   v42.6.29 — no rigid card floor (that forced scroll); chart keeps a
   modest min-height and flex-grows inside 1fr grid rows. */
html body.route-ask .ai-view .home-dash-grid .home-dash-card,
html body.route-ask .ai-view .home-dash-grid .home-dash-card.home-dash-card--link {
  min-height: 0;
  min-width: 0;
  padding: 0.55rem 0.7rem 0.45rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
html body.route-ask .ai-view .home-dash-grid .home-dash-card .home-dash-kpi {
  flex: 0 0 auto !important;
  min-height: 0 !important;
}
html body.route-ask .ai-view .home-dash-grid .home-dash-week-bars--full {
  height: auto !important;
  min-height: 96px !important;
  max-height: none !important;
  flex: 1 1 auto !important;
  margin-top: 0.15rem !important;
  display: flex;
  align-items: stretch !important;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
html body.route-ask .ai-view .home-dash-grid .home-dash-week-bars--full .kpi-week-svg {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none !important;
  display: block;
}
html body.route-ask .ai-thinking .thinking-step.is-active {
  color: #DFF6E6;
  font-weight: 500;
}
html body.route-ask .ai-thinking .thinking-step.is-done {
  color: rgba(223, 246, 230, 0.55);
}
html body.route-ask .ai-thinking {
  border-bottom-color: rgba(223, 246, 230, 0.15);
}
body.route-ask {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}
body.route-ask.ai-has-messages .cl-prose-text:last-child {
  padding-bottom: calc(var(--composer-h, 140px) + var(--safe-bottom-real, 0px) + 48px);
  margin-bottom: 0;
}
.route-hdr-row1 {
  grid-template-columns: repeat(3, 1fr);
}
.route-hdr-row2 {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 10px;
}
.route-gps-btn:hover,
.route-refresh-btn:hover {
  background: var(--surface-charcoal);
  color: var(--border-card-light);
  border-color: var(--brand-blue-pure);
}
.route-stop.is-visited .route-stop-num {
  background: var(--brand-blue-pure) !important;
  color: var(--fg-inverse) !important;
  box-shadow: 0 0 0 2px var(--accent-primary-soft-18);
}
.route-stop.is-visited .route-stop-check {
  display: block;
}
.route-stop.is-visited .route-stop-name,
.route-stop.is-visited .route-stop-val { color: #9CA3AF; }
.route-stop.is-current .route-stop-num {
  background: var(--brand-blue-pure) !important;
  color: var(--fg-inverse) !important;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .route-stop.is-current { animation: none; }
}
.route-stop.is-current::after {
  content: 'NOW';
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--fg-inverse);
  background: var(--brand-blue-pure);
  padding: 3px 7px;
  border-radius: 999px;
  pointer-events: none;
}
.route-stop.is-selected .route-stop-num {
  background: var(--brand-blue-pure) !important;
  color: var(--fg-inverse) !important;
  box-shadow: 0 0 0 3px var(--accent-primary-soft-28) !important;
}
.route-act--call:hover { background: var(--accent-primary-hover); border-color: var(--accent-primary-hover); }
.route-act--nav:hover { background: var(--fg-primary-light); border-color: var(--brand-blue-pure); color: var(--brand-blue-pure); }
.route-mark:hover { background: var(--surface-charcoal); color: var(--border-card-light); }

@media (prefers-reduced-motion: reduce) {
  .route-loading-spinner { animation-duration: 2200ms; }
}
.route-deal-rep .route-deal-rep-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-faint-google);
  margin-right: 4px;
  font-weight: 500;
}
.route-deal,
.route-deal.is-onhold {
    border-left: 0;
    border: 1px solid var(--fg-primary-light);
}
.route-period-wrap { position: relative; }
.route-period-btn:hover { background: var(--surface-charcoal); border-color: var(--brand-blue-pure); }
.route-period-btn[aria-expanded="true"] { border-color: var(--brand-blue-pure); }
button.route-gps-btn,
button.route-refresh-btn {
  background: var(--surface-charcoal) !important;
  border: 1px solid var(--border-strong-warm) !important;
  color: var(--border-card-light) !important;
  white-space: nowrap !important;
  padding: 6px 10px !important;
}
button.route-gps-btn svg,
button.route-refresh-btn svg { flex-shrink: 0; }
.route-pill--hold,
.route-stop.is-onhold .route-pill,
.route-deal .route-pill--hold {
  background: var(--surface-charcoal) !important;
  color: var(--fg-muted-warm) !important;
  border: 1px solid var(--border-strong-warm) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.route-leads-more:hover { background: var(--fg-primary-light); }
.route-pill--more:hover {
  background: rgba(91,124,184,0.18) !important;
  color: var(--border-card-light) !important;
}
.route-pill[data-stop-chip] { cursor: pointer; }
.route-lock-btn:hover { background: #232323; border-color: #444; }
.route-lock-btn.is-locked {
  background: var(--accent-primary-soft-12);
  border-color: var(--brand-blue-pure);
  color: #93C5FD;
}
.route-lock-btn.is-locked:hover {
  background: var(--accent-primary-soft-18);
  border-color: #60A5FA;
  color: #BFDBFE;
}
.route-hdr-row1 .route-period-wrap,
.route-hdr-row1 .route-period-btn {
  width: 100% !important;
  box-sizing: border-box !important;
  justify-content: center !important;
}
.route-hdr-row1 .route-repmode-opt {
  width: 100% !important;
  box-sizing: border-box !important;
  justify-content: center !important;
  border: 1px solid var(--border-strong-warm) !important;
  border-radius: 12px !important;
  background: var(--surface-charcoal) !important;
  height: 32px !important;
  padding: 0 8px !important;
}
.route-hdr-row2 .route-gps-btn,
.route-hdr-row2 .route-refresh-btn,
.route-hdr-row2 .route-lock-btn {
  width: 100% !important;
  box-sizing: border-box !important;
  justify-content: center !important;
}
.route-deal-val .rt-price { gap: 1px; }
.route-filter-select {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
  width: 100% !important;
}
body.route-dashboards .main-content, body.route-reports .main-content, body.route-divisions .main-content, body.route-automations .main-content, body.route-settings .main-content {
  overflow-y: auto !important;
}
.route-empty-state__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--border-card-light);
}
.route-empty-state__sub {
  margin: 0;
  font-size: 13px;
  color: #888;
  max-width: 280px;
  line-height: 1.5;
}
.route-empty-state__btn {
  background: var(--accent-primary-soft-14);
  border: 1px solid var(--accent-primary-soft-35);
  color: var(--brand-blue-pure);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 120ms ease;
}
.route-empty-state__btn:hover,
.route-empty-state__btn:active {
  background: rgba(33, 150, 243, 0.24);
}
html body.route-ask .gfp-item--newchat {
  display: none !important;
}
html body.route-ask [class*="create-chat"], html body.route-ask [class*="chat-fab"] {
  display: none !important;
}
html body .route-stop-num {
  background: #3A3A3C !important;
  color: #E5E5E5 !important;
}
body.route-hood::before {
  display: none !important;
  height: 0 !important;
  opacity: 0 !important;
}
body.route-hood::before,
body.route-hood::after {
  display: none;
  height: 0;
  opacity: 0;
  pointer-events: none;
}
body.route-hood {
  overscroll-behavior-y: contain;
}
body.route-hood #main-content {
  padding: 0;
  overflow: hidden;
}
.route-lock-btn.is-locked {
  background: var(--accent-primary-soft-14) !important;
  border-color: var(--totaly-blue-500, var(--brand-blue-pure)) !important;
  color: var(--totaly-blue-300, var(--accent-primary-lighter)) !important;
}
.route-lock-btn.is-locked:hover {
  background: rgba(33, 150, 243, 0.22) !important;
  border-color: var(--totaly-blue-400, var(--accent-primary-light)) !important;
}
.route-hdr-row1 .route-repmode-opt.is-active {
  background: var(--accent-primary-soft-18) !important;
  border-color: var(--totaly-blue-500, var(--brand-blue-pure)) !important;
  color: var(--totaly-blue-300, var(--accent-primary-lighter)) !important;
}
html body.route-ask:not(.ai-has-messages) .ai-view .composer-stop,
html body.route-ask:not(.ai-has-messages) .ai-view .composer-mic,
html body.route-ask:not(.ai-has-messages) .ai-view .composer-send {
  display: none !important;
}
.route-period-btn { outline: none !important; }
.route-period-btn:focus,
.route-period-btn:focus-visible {
  outline: none !important;
  border-color: var(--overlay-w-08) !important;
  box-shadow: none !important;
}
.route-period-btn[aria-expanded="true"]:focus,
.route-period-btn[aria-expanded="true"]:focus-visible {
  border-color: var(--brand-blue-pure) !important;
}
.route-stop-num { background: var(--border-soft) !important; color: rgba(234, 235, 236, 0.6) !important; }
.route-stop.is-visited .route-stop-num,
.route-stop.is-current .route-stop-num,
.route-stop.is-selected .route-stop-num { color: var(--fg-inverse) !important; }
.route-stop.is-visited .route-stop-num { background: var(--brand-blue-pure) !important; }
.route-stop.is-current .route-stop-num { background: var(--brand-blue-pure) !important; }
.route-stop.is-selected .route-stop-num { background: var(--brand-blue-pure) !important; }
.route-stop.is-current::after { background: var(--brand-blue-pure) !important; }
html body.route-chats aside.sidebar#sidebar button.sidebar-quick-item#sqi-history {
  background: rgba(33,150,243,0.14) !important;
  color: #2196F3 !important;
}
html body.route-chats aside.sidebar#sidebar button.sidebar-quick-item--history {
  background: rgba(33,150,243,0.14) !important;
  color: #2196F3 !important;
}
html body.route-chats aside.sidebar#sidebar button.sidebar-quick-item--history .sqi-label,
html body.route-chats aside.sidebar#sidebar button.sidebar-quick-item--history .sqi-icon {
  color: #2196F3 !important;
}
.route-period-divider { height: 1px; background: var(--overlay-w-08); margin: 4px 0; }
.route-period-opt--custom { font-style: normal; }
html body .route-viewswitch {
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 2px !important;
  padding: 3px !important;
}
html body .route-viewbtn {
  padding: 7px 2px !important;
  font-size: 11.5px !important;
  gap: 4px !important;
  min-width: 0 !important;
}
html body .route-viewbtn svg { width: 12px !important; height: 12px !important; }
html body .route-viewbtn.is-active { border-radius: 999px !important; }

@media (max-width: 480px) {
  html body .route-viewbar {
    /* Break out of any inner padding so the toolbar can go edge-to-edge. */
    margin-left: -12px !important;
    margin-right: -12px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  html body .route-viewswitch {
    display: flex !important;
    grid-template-columns: unset !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 4px !important;
    padding: 3px !important;
    /* Full available width, no forced 100% that squashes buttons */
    max-width: 100% !important;
  }
  html body .route-viewswitch::-webkit-scrollbar { display: none !important; }
}
html body:not(.route-chats) aside.sidebar#sidebar .sidebar-quick-nav--v1929 .sidebar-quick-item--history,
html body:not(.route-chats) aside.sidebar#sidebar .sidebar-quick-nav--v1929 .sidebar-quick-item--history.is-open,
html body:not(.route-chats) aside.sidebar#sidebar .sidebar-quick-nav--v1929 .sidebar-quick-item--history.active,
html body:not(.route-chats) aside.sidebar#sidebar .sidebar-quick-nav--v1929 .sidebar-quick-item--history.is-open.active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: var(--fg-secondary, #B5B7BE) !important;
}
html body:not(.route-chats) aside.sidebar#sidebar .sidebar-quick-nav--v1929 .sidebar-quick-item--history:hover {
  background: rgba(33, 150, 243, 0.08) !important;
  color: var(--fg-primary, #E3E1DD) !important;
}
html[data-app-theme="dark"] body:not(.route-chats) aside.sidebar#sidebar .sidebar-quick-nav--v1929 #sqi-history,
html[data-app-theme="dark"] body:not(.route-chats) aside.sidebar#sidebar .sidebar-quick-nav--v1929 #sqi-history.is-open,
html[data-app-theme="dark"] body:not(.route-chats) aside.sidebar#sidebar .sidebar-quick-nav--v1929 #sqi-history.active,
html[data-app-theme="dark"] body:not(.route-chats) aside.sidebar#sidebar .sidebar-quick-nav--v1929 #sqi-history.is-open.active,
html body:not(.route-chats) aside.sidebar#sidebar .sidebar-quick-nav--v1929 #sqi-history,
html body:not(.route-chats) aside.sidebar#sidebar .sidebar-quick-nav--v1929 #sqi-history.is-open,
html body:not(.route-chats) aside.sidebar#sidebar .sidebar-quick-nav--v1929 #sqi-history.active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}
html body:not(.route-chats) aside.sidebar#sidebar .sidebar-quick-nav--v1929 #sqi-history:hover {
  background: rgba(33, 150, 243, 0.08) !important;
  background-color: rgba(33, 150, 243, 0.08) !important;
}

@media (max-width: 820px) {
  body.route-predictions main#main-content,
  body.route-predictions .main-content {
    padding-top: calc(env(safe-area-inset-top, 0px) + 92px) !important;
  }
  body.route-model-lab main#main-content {
    padding-top: calc(env(safe-area-inset-top, 0px) + 92px) !important;
  }
  body.route-customers main#main-content,
  body.route-customers .main-content {
    padding-top: calc(env(safe-area-inset-top, 0px) + 72px) !important;
  }
}
/* Customers chrome: flat (no boxed divider slabs). Search/filters stay usable
   controls without card bands around the title row. */
html body.route-customers .cust-header {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 0 8px 0 !important;
  box-shadow: none !important;
}
html body.route-customers .cust-search,
html body.route-customers .cust-filter-row {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 10px !important;
  box-shadow: none !important;
}
html body.route-customers .cust-title-row h1 {
  color: #F5F5F5;  /* 15.1:1 on #1F2121 */
}
html body.route-customers .cust-header .eyebrow {
  display: none !important;
}
html body.route-customers .cust-search-input::placeholder {
  color: #B0B0B0;  /* 7.4:1 -- was 0.40 which failed AA */
}
html body.route-customers .cust-search-icon,
html body.route-customers .cust-search-clear {
  color: #BFBFBF;
}
html body.route-customers .cust-search-clear:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #F5F5F5;
}
html body.route-customers .cust-chip:hover {
  color: #2196F3;
  border-color: rgba(33, 150, 243, 0.55);
}
html body.route-customers .cust-chip.active {
  background: #2196F3;
  color: #fff;
  border-color: #2196F3;
}
html body.route-customers .cust-sort-label {
  color: #BFBFBF;
}
html body.route-customers .cust-total {
  color: #C8C8C8;  /* was 0.60 */
}
html body.route-customers .cust-table {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html body.route-customers .cust-table thead,
html body.route-customers .cust-table thead tr {
  background: rgba(255, 255, 255, 0.04) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html body.route-customers .cust-table thead th {
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(255, 255, 255, 0.72) !important;  /* 8.5:1 on #1F2121 */
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html body.route-customers .cust-table tbody td {
  color: rgba(255, 255, 255, 0.90) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: transparent !important;
}
html body.route-customers .cust-table tbody tr.cust-row {
  background: transparent !important;
}
html body.route-customers .cust-table tbody tr.cust-row:hover {
  background: rgba(33, 150, 243, 0.06) !important;
}
body.route-hood,
body.route-hood main,
body.route-hood #main-content,
body.route-hood main#main-content,
body.route-hood .main-content,
body.route-hood .hood-page,
body.route-hood .hood-map-wrap {
  background-image: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  filter: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}
body.route-hood::before,
body.route-hood::after,
body.route-hood main::before,
body.route-hood main::after,
body.route-hood #main-content::before,
body.route-hood #main-content::after,
body.route-hood main#main-content::before,
body.route-hood main#main-content::after {
  content: none !important;
  background: none !important;
  background-image: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}
body.route-hood .leaflet-control-attribution,
body.route-hood .leaflet-control-scale,
body.route-hood .gm-style-cc,
body.route-hood .gmnoprint {
  background-image: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

@media (max-width: 820px) {
  body.route-connectors main#main-content { padding-top: calc(env(safe-area-inset-top, 0px) + 80px) !important; }
}
