/* E is a separate comparison: native chart controls, arranged as one toolbar. */
html[data-overview-toolbar-e] #statistics-test-panel > .overview-toolbar-e {
  width: min(calc(100% - var(--immersive-sheet-inset, 20px) * 2), 1280px);
  max-width: 1280px;
  margin-top: 32px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.overview-toolbar-e.is-refined .glass-native-controls {
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid #414141;
  z-index: 5;
}
.overview-toolbar-e.is-refined .glass-native-controls .overview-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  min-height: 32px;
  align-items: center;
}
.overview-e-left, .overview-e-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.overview-e-right { justify-content: flex-end; }
.overview-toolbar-e .overview-e-right .display-toggles { margin-left: 0; }
.overview-toolbar-e .glass-native-controls :is(.segmented, .metric-nav, #appearance-toggle, .overview-e-date) {
  background: #ffffff03;
  border-color: var(--control-border, #454545);
}
.overview-toolbar-e .glass-native-controls button { color: #b7bbc1; }
.overview-toolbar-e .glass-native-controls button.active { background: #484848; color: #eceff1; }
.overview-toolbar-e .glass-native-controls .overview-e-date {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  height: 32px;
  min-width: 160px;
  padding: 4px 12px;
  border: 1px solid var(--control-border, #454545);
  border-radius: 5px;
  background: #ffffff03;
  color: #d1d3d6;
  font: 400 12px/18px system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
.overview-e-date svg { width: 16px; height: 16px; flex-shrink: 0; color: #a9adb3; }
.overview-e-date .overview-e-chevron { width: 12px; height: 12px; }
.overview-toolbar-e .glass-native-controls .overview-e-date[aria-expanded=true] { background: #383838; border-color: #656565; }
.overview-e-range-popover {
  position: absolute;
  left: 50%;
  top: calc(100% - 8px);
  transform: translateX(-50%);
  z-index: 30;
  width: min(480px, 100%);
  box-sizing: border-box;
  padding: 18px 20px 16px;
  border: 1px solid #555;
  border-radius: 10px;
  background: #2d2d2d;
  box-shadow: 0 12px 32px #0006;
}
.overview-e-range-popover[hidden] { display: none; }
.overview-e-range-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #eceff1;
  font: 400 13px/20px system-ui, sans-serif;
}
.overview-e-range-value { margin-left: auto; color: #b7bbc1; font-size: 12px; font-variant-numeric: tabular-nums; }
.overview-toolbar-e .glass-native-controls .overview-e-range-close {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  margin-right: -6px;
  padding: 0;
  font-size: 19px;
  border-radius: 5px;
  transition: background-color 120ms ease, color 120ms ease;
}
.overview-toolbar-e .glass-native-controls .overview-e-range-close:is(:hover, :focus-visible) {
  background: #ffffff1a;
  color: #fff;
}
html[data-theme=light] .overview-toolbar-e .glass-native-controls .overview-e-range-close:is(:hover, :focus-visible) {
  background: #dce2e9;
  color: #182637;
}
.overview-toolbar-e .glass-native-controls .overview-e-range-close:focus-visible {
  outline: 2px solid var(--control-border, #656565);
  outline-offset: 2px;
}
.overview-toolbar-e.is-refined .overview-e-range-popover .glass-native-range {
  height: 59px;
  margin: 0;
}
.overview-toolbar-e .overview-e-range-popover .range-panel { width: 100%; margin: 0; }
.overview-toolbar-e .overview-e-range-popover .range-thumb-label { display: none !important; }
.overview-toolbar-e .glass-native-controls .overview-e-range-popover input { color: inherit; }
.overview-toolbar-e .overview-e-range-popover input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px #2d2d2d, 0 0 0 3px #b7bbc1; }
@media (max-width: 900px) {
  .overview-toolbar-e.is-refined .glass-native-controls .overview-controls { grid-template-columns: 1fr auto; gap: 12px; }
  .overview-e-left { grid-column: 1; grid-row: 1; }
  .overview-e-right { grid-column: 2; grid-row: 1; }
  .overview-e-date { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}
@media (max-width: 600px) {
  .overview-toolbar-e.is-refined .glass-native-controls .overview-controls { grid-template-columns: 1fr; gap: 10px; }
  .overview-e-left { justify-content: flex-start; }
  .overview-e-right { grid-column: 1; grid-row: 2; justify-content: space-between; }
  .overview-e-date { grid-column: 1; grid-row: 3; justify-self: stretch; }
  .overview-e-range-popover { width: 100%; padding: 16px 12px; }
}

/* Keep hover feedback above the shared toolbar surface rule. */
.overview-toolbar-e .glass-native-controls :is(#appearance-toggle, .overview-e-date, .metric-nav button):hover:not(:disabled) {
  background: var(--control-hover, #ffffff0d);
  color: var(--control-strong, #edf0f3);
}
