/* ZeroRiskk COMTRADE Viewer v2.4.5 module: Measurement and frequency-focused refinements. */

.gcw-root.gcw-analysis-mode .gcw-measurements-pane.gcw-measurements-with-dock,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-measurements-pane.gcw-measurements-with-dock,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-measurements-pane.gcw-measurements-with-dock {
  grid-template-columns: 50px minmax(0, 1fr) !important;
  column-gap: 10px !important;
  background: #f1f5f9 !important;
  padding: 0 !important;
}
.gcw-root.gcw-analysis-mode .gcw-measurements-with-dock .gcw-module-dock,
.gcw-root.gcw-analysis-mode .gcw-measurements-with-dock .gcw-engineering-tool-rail,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-measurements-with-dock .gcw-module-dock,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-measurements-with-dock .gcw-engineering-tool-rail,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-measurements-with-dock .gcw-module-dock,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-measurements-with-dock .gcw-engineering-tool-rail {
  grid-column: 1 !important;
}
.gcw-root.gcw-analysis-mode .gcw-measurements-with-dock .gcw-measurements-main,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-measurements-with-dock .gcw-measurements-main,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-measurements-with-dock .gcw-measurements-main {
  grid-column: 2 !important;
  background: #ffffff !important;
  border-left: 1px solid #e2e8f0 !important;
  min-width: 0 !important;
}
@media (max-width: 900px) {
  .gcw-root.gcw-analysis-mode .gcw-measurements-pane.gcw-measurements-with-dock,
  body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-measurements-pane.gcw-measurements-with-dock,
  .gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-measurements-pane.gcw-measurements-with-dock {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    column-gap: 8px !important;
  }
}

.gcw-root.gcw-analysis-mode .gcw-measure-table th:first-child,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-measure-table th:first-child,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-measure-table th:first-child,
.gcw-root.gcw-analysis-mode .gcw-measure-table td:first-child,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-measure-table td:first-child,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-measure-table td:first-child {
  width: 82px !important;
  min-width: 82px !important;
  max-width: 82px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}
.gcw-root.gcw-analysis-mode .gcw-plot-cell,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-plot-cell,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-plot-cell {
  display: grid !important;
  grid-template-columns: 14px 22px 20px !important;
  align-items: center !important;
  justify-content: center !important;
  justify-items: center !important;
  column-gap: 6px !important;
  padding-left: 7px !important;
  padding-right: 7px !important;
  white-space: nowrap !important;
  overflow: visible !important;
}
.gcw-root.gcw-analysis-mode .gcw-channel-color-dot,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-channel-color-dot,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-channel-color-dot {
  grid-column: 1 !important;
  margin: 0 !important;
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  border-radius: 999px !important;
}
.gcw-root.gcw-analysis-mode .gcw-plot-cell .gcw-measure-toggle,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-plot-cell .gcw-measure-toggle,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-plot-cell .gcw-measure-toggle {
  grid-column: 2 !important;
  margin: 0 !important;
  justify-self: center !important;
}
.gcw-root.gcw-analysis-mode .gcw-measure-digital td:first-child::after,
.gcw-root.gcw-analysis-mode .gcw-measure-analog td:first-child::after,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-measure-digital td:first-child::after,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-measure-analog td:first-child::after,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-measure-digital td:first-child::after,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-measure-analog td:first-child::after {
  grid-column: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 14px !important;
  line-height: 14px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

.gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-pane.gcw-measurements-with-dock,
body.zrk-comtrade-body .gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-pane.gcw-measurements-with-dock,
.gcw-root:not(.gcw-tool-open).gcw-viewport-full.gcw-analysis-mode .gcw-measurements-pane.gcw-measurements-with-dock {
  grid-template-columns: 44px minmax(0, 1fr) !important;
  column-gap: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}
.gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-module-dock,
.gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-engineering-tool-rail,
body.zrk-comtrade-body .gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-module-dock,
body.zrk-comtrade-body .gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-engineering-tool-rail,
.gcw-root:not(.gcw-tool-open).gcw-viewport-full.gcw-analysis-mode .gcw-measurements-with-dock .gcw-module-dock,
.gcw-root:not(.gcw-tool-open).gcw-viewport-full.gcw-analysis-mode .gcw-measurements-with-dock .gcw-engineering-tool-rail {
  grid-column: 1 !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  background: #fbfefd !important;
  border-right: 1px solid #d7e4e2 !important;
  box-shadow: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
.gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-rail-kicker,
body.zrk-comtrade-body .gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-rail-kicker,
.gcw-root:not(.gcw-tool-open).gcw-viewport-full.gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-rail-kicker {
  min-height: 24px !important;
  color: #0f172a !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #d7e4e2 !important;
  letter-spacing: .11em !important;
}
.gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-rail-inner,
body.zrk-comtrade-body .gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-rail-inner,
.gcw-root:not(.gcw-tool-open).gcw-viewport-full.gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-rail-inner {
  padding: 8px 5px !important;
  gap: 8px !important;
}
.gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-btn,
body.zrk-comtrade-body .gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-btn,
.gcw-root:not(.gcw-tool-open).gcw-viewport-full.gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-btn {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #dbe6e8 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .06) !important;
}
.gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-btn:hover,
.gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-btn:focus-visible,
body.zrk-comtrade-body .gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-btn:hover,
body.zrk-comtrade-body .gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-btn:focus-visible,
.gcw-root:not(.gcw-tool-open).gcw-viewport-full.gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-btn:hover,
.gcw-root:not(.gcw-tool-open).gcw-viewport-full.gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-btn:focus-visible {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border-color: #93c5fd !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .12) !important;
}
.gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-btn.is-active,
body.zrk-comtrade-body .gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-btn.is-active,
.gcw-root:not(.gcw-tool-open).gcw-viewport-full.gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-btn.is-active {
  background: #0f766e !important;
  color: #ffffff !important;
  border-color: #0f766e !important;
  box-shadow: inset 3px 0 0 #5eead4, 0 8px 16px rgba(15, 118, 110, .20) !important;
}
.gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-icon,
body.zrk-comtrade-body .gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-icon,
.gcw-root:not(.gcw-tool-open).gcw-viewport-full.gcw-analysis-mode .gcw-measurements-with-dock .gcw-tool-icon {
  background: transparent !important;
  color: currentColor !important;
}
.gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-measurements-main,
body.zrk-comtrade-body .gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-measurements-main,
.gcw-root:not(.gcw-tool-open).gcw-viewport-full.gcw-analysis-mode .gcw-measurements-with-dock .gcw-measurements-main {
  grid-column: 2 !important;
  background: #ffffff !important;
  border-left: 0 !important;
  min-width: 0 !important;
  padding-left: 8px !important;
}
.gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-pane-head,
body.zrk-comtrade-body .gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-pane-head,
.gcw-root:not(.gcw-tool-open).gcw-viewport-full.gcw-analysis-mode .gcw-measurements-with-dock .gcw-pane-head {
  min-height: 58px !important;
  padding: 14px 18px !important;
  border-bottom: 1px solid #dfe9eb !important;
}
.gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-channel-search,
body.zrk-comtrade-body .gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-with-dock .gcw-channel-search,
.gcw-root:not(.gcw-tool-open).gcw-viewport-full.gcw-analysis-mode .gcw-measurements-with-dock .gcw-channel-search {
  margin: 12px 14px 10px !important;
  width: calc(100% - 28px) !important;
}
@media (max-width: 900px) {
  .gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-pane.gcw-measurements-with-dock,
  body.zrk-comtrade-body .gcw-root:not(.gcw-tool-open).gcw-analysis-mode .gcw-measurements-pane.gcw-measurements-with-dock,
  .gcw-root:not(.gcw-tool-open).gcw-viewport-full.gcw-analysis-mode .gcw-measurements-pane.gcw-measurements-with-dock {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    column-gap: 0 !important;
  }
}

.gcw-root.gcw-tool-active-frequency .gcw-workbench-shell[data-tool="frequency"]::before {
  display: none !important;
  content: none !important;
}
.gcw-root.gcw-tool-active-frequency .gcw-workbench-floating-toolbar {
  top: auto !important;
  right: 8px !important;
  bottom: 8px !important;
  z-index: 64 !important;
  opacity: .07 !important;
  transform: scale(.84) !important;
  transform-origin: bottom right !important;
}
.gcw-root.gcw-tool-active-frequency .gcw-workbench-shell:hover .gcw-workbench-floating-toolbar,
.gcw-root.gcw-tool-active-frequency .gcw-workbench-floating-toolbar:focus-within {
  opacity: .88 !important;
  transform: scale(.92) !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-controls {
  padding: 4px 5px !important;
  gap: 4px !important;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%) !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-topline {
  grid-template-columns: minmax(330px, .44fr) minmax(560px, 1fr) !important;
  gap: 5px !important;
  align-items: stretch !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-kpis.is-compact-telemetry {
  grid-template-columns: minmax(72px, .8fr) minmax(108px, 1.12fr) minmax(96px, .92fr) !important;
  gap: 4px !important;
  align-items: stretch !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-kpis.is-compact-telemetry > div {
  min-height: 34px !important;
  padding: 4px 7px !important;
  border-radius: 10px !important;
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  align-content: center !important;
  gap: 1px !important;
  background: #ffffff !important;
  border-color: rgba(148, 163, 184, .20) !important;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .035) !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-kpis.is-compact-telemetry span {
  margin: 0 !important;
  color: #475569 !important;
  font-size: 8px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  letter-spacing: .045em !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-kpis.is-compact-telemetry strong {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 12.3px !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  font-variant-numeric: tabular-nums !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-kpis.is-compact-telemetry em {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 8px !important;
  line-height: 1.05 !important;
  font-weight: 850 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-kpis.is-compact-telemetry .gcw-frequency-quality.is-good strong { color: #15803d !important; }
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-kpis.is-compact-telemetry .gcw-frequency-quality.is-warn strong { color: #b45309 !important; }
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-kpis.is-compact-telemetry .gcw-frequency-quality.is-bad strong { color: #b91c1c !important; }
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-layout .gcw-frequency-player {
  min-height: 34px !important;
  padding: 4px !important;
  gap: 5px !important;
  border-radius: 10px !important;
  grid-template-columns: max-content minmax(0, 1fr) !important;
  align-items: center !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-layout .gcw-frequency-player-left {
  gap: 3px !important;
  flex-wrap: nowrap !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-layout .gcw-frequency-play-btn,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-layout .gcw-frequency-mini-btn,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-layout .gcw-frequency-speed-select {
  height: 22px !important;
  min-height: 22px !important;
  padding: 1px 6px !important;
  border-radius: 8px !important;
  font-size: 9.5px !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-layout .gcw-frequency-play-btn {
  min-width: 72px !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-layout .gcw-frequency-mini-btn {
  min-width: 46px !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-layout .gcw-frequency-speed-label {
  flex: 0 0 auto !important;
  min-width: 78px !important;
  gap: 3px !important;
  font-size: 9px !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-layout .gcw-frequency-time-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 3px !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-layout .gcw-frequency-time-meta span {
  min-height: 20px !important;
  padding: 1px 6px !important;
  font-size: 8.6px !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-layout .gcw-frequency-slider-shell {
  height: 13px !important;
  margin-top: 2px !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-layout .gcw-frequency-marker {
  top: -10px !important;
  font-size: 8px !important;
  padding: 0 4px !important;
}
@media (max-width: 1100px) {
  .gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-topline {
    grid-template-columns: 1fr !important;
  }
  .gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-kpis.is-compact-telemetry {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 760px) {
  .gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-kpis.is-compact-telemetry {
    grid-template-columns: 1fr !important;
  }
  .gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-focus-layout .gcw-frequency-player {
    grid-template-columns: 1fr !important;
  }
}

.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-strip {
  display: grid !important;
  grid-template-columns: minmax(140px, .92fr) repeat(4, minmax(92px, .72fr)) max-content !important;
  gap: 4px !important;
  align-items: stretch !important;
  margin: 0 !important;
  min-height: 32px !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-cell,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-clear {
  border: 1px solid rgba(148, 163, 184, .22) !important;
  background: #ffffff !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .035) !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-cell {
  min-width: 0 !important;
  padding: 3px 7px !important;
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  align-content: center !important;
  gap: 1px !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-cell span {
  color: #475569 !important;
  font-size: 7.8px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-cell strong {
  color: #0f172a !important;
  font-size: 11.2px !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  font-variant-numeric: tabular-nums !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-cell em {
  color: #64748b !important;
  font-size: 7.8px !important;
  line-height: 1.05 !important;
  font-weight: 850 !important;
  font-style: normal !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-strip.is-ready .gcw-frequency-range-cell.is-title {
  border-color: rgba(37, 99, 235, .32) !important;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%) !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-strip.is-falling .gcw-frequency-range-avg { color: #b91c1c !important; }
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-strip.is-rising .gcw-frequency-range-avg { color: #15803d !important; }
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-strip.is-flat .gcw-frequency-range-avg { color: #475569 !important; }
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-strip.is-bad .gcw-frequency-range-avg { color: #b91c1c !important; }
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-clear {
  min-width: 72px !important;
  min-height: 28px !important;
  padding: 2px 8px !important;
  color: #1d4ed8 !important;
  font-size: 9px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  cursor: pointer !important;
  align-self: stretch !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-clear:hover,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-clear:focus {
  border-color: rgba(37, 99, 235, .45) !important;
  background: #eff6ff !important;
}
@media (max-width: 1180px) {
  .gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-clear {
    min-height: 30px !important;
  }
}
@media (max-width: 760px) {
  .gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-range-strip {
    grid-template-columns: 1fr !important;
  }
}

.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-strip {
  display: grid !important;
  grid-template-columns: minmax(150px, .98fr) repeat(8, minmax(104px, .72fr)) !important;
  gap: 4px !important;
  align-items: stretch !important;
  margin: 0 !important;
  min-height: 34px !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-cell,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-input {
  min-width: 0 !important;
  border: 1px solid rgba(148, 163, 184, .22) !important;
  background: #ffffff !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .035) !important;
  padding: 3px 7px !important;
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  align-content: center !important;
  gap: 1px !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-cell.is-title {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-strip.is-ready .gcw-frequency-inertia-cell.is-title,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-strip.is-good .gcw-frequency-inertia-cell.is-title {
  border-color: rgba(22, 163, 74, .30) !important;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%) !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-strip.is-warn .gcw-frequency-inertia-cell.is-title {
  border-color: rgba(245, 158, 11, .34) !important;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%) !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-strip.is-bad .gcw-frequency-inertia-cell.is-title {
  border-color: rgba(220, 38, 38, .30) !important;
  background: linear-gradient(180deg, #fef2f2 0%, #ffffff 100%) !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-cell span,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-input span {
  color: #475569 !important;
  font-size: 7.7px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-cell strong,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-input strong {
  color: #0f172a !important;
  font-size: 11.1px !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  font-variant-numeric: tabular-nums !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-h {
  color: #1d4ed8 !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-strip.is-good .gcw-frequency-inertia-h { color: #15803d !important; }
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-strip.is-warn .gcw-frequency-inertia-h { color: #b45309 !important; }
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-strip.is-bad .gcw-frequency-inertia-h { color: #b91c1c !important; }
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-cell em,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-input em {
  color: #64748b !important;
  font-size: 7.6px !important;
  line-height: 1.05 !important;
  font-weight: 850 !important;
  font-style: normal !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-input input,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-input select {
  height: 17px !important;
  min-height: 17px !important;
  width: 100% !important;
  padding: 0 5px !important;
  border-radius: 7px !important;
  border: 1px solid rgba(148, 163, 184, .32) !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  font-size: 9px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  font-variant-numeric: tabular-nums !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-input select {
  appearance: auto !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-duo {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 3px !important;
  min-width: 0 !important;
}
@media (max-width: 1380px) {
  .gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 860px) {
  .gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 560px) {
  .gcw-root.gcw-tool-open .gcw-query-page[data-tool="frequency"] .gcw-frequency-inertia-strip {
    grid-template-columns: 1fr !important;
  }
}

.gcw-root.gcw-analysis-mode .gcw-results-head,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-results-head,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-results-head {
  display: block !important;
  position: sticky !important;
  top: 2px !important;
  z-index: 90 !important;
  min-height: 28px !important;
  margin: 0 0 3px !important;
  padding: 2px 4px !important;
  border-radius: 9px !important;
  background: rgba(15, 23, 42, .92) !important;
  border: 1px solid rgba(148, 163, 184, .22) !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12) !important;
  backdrop-filter: blur(10px) !important;
}
.gcw-root.gcw-analysis-mode .gcw-results-head > div:first-child,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-results-head > div:first-child,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-results-head > div:first-child {
  display: none !important;
}
.gcw-root.gcw-analysis-mode .gcw-analysis-toolbar.gcw-command-bar,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-analysis-toolbar.gcw-command-bar,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-analysis-toolbar.gcw-command-bar {
  display: grid !important;
  grid-template-columns: minmax(220px, .85fr) minmax(360px, 1.35fr) minmax(300px, .95fr) !important;
  align-items: center !important;
  gap: 6px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 28px !important;
  overflow: hidden !important;
  padding: 0 !important;
  scrollbar-width: none !important;
}
.gcw-root.gcw-analysis-mode .gcw-analysis-toolbar.gcw-command-bar::-webkit-scrollbar,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-analysis-toolbar.gcw-command-bar::-webkit-scrollbar,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-analysis-toolbar.gcw-command-bar::-webkit-scrollbar {
  display: none !important;
}
.gcw-root.gcw-analysis-mode .gcw-toolbar-zone,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-toolbar-zone,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-toolbar-zone {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  overflow: hidden !important;
}
.gcw-root.gcw-analysis-mode .gcw-toolbar-zone-left,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-toolbar-zone-left,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-toolbar-zone-left { justify-content: flex-start !important; }
.gcw-root.gcw-analysis-mode .gcw-toolbar-zone-center,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-toolbar-zone-center,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-toolbar-zone-center { justify-content: center !important; }
.gcw-root.gcw-analysis-mode .gcw-toolbar-zone-right,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-toolbar-zone-right,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-toolbar-zone-right { justify-content: flex-end !important; }
.gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-toolbar-divider,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-toolbar-divider,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-command-bar .gcw-toolbar-divider { display: none !important; }
.gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-btn,
.gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-toggle,
.gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-toolbar-select,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-btn,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-toggle,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-toolbar-select,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-command-bar .gcw-btn,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-command-bar .gcw-toggle,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-command-bar .gcw-toolbar-select {
  flex: 0 0 auto !important;
  min-height: 24px !important;
  height: 24px !important;
  padding: 3px 8px !important;
  border-radius: 8px !important;
  font-size: 10.5px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-summary-toggle,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-summary-toggle,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-command-bar .gcw-summary-toggle {
  width: 26px !important;
  min-width: 26px !important;
  padding: 0 !important;
}
.gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-digital-toggle,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-digital-toggle,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-command-bar .gcw-digital-toggle {
  max-width: 110px !important;
}
.gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-reference-control,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-reference-control,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-command-bar .gcw-reference-control {
  flex: 1 1 250px !important;
  max-width: 390px !important;
  min-width: 190px !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
}
.gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-reference-control select,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-reference-control select,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-command-bar .gcw-reference-control select {
  min-width: 0 !important;
  height: 18px !important;
  min-height: 18px !important;
  padding: 1px 5px !important;
  font-size: 10px !important;
}
.gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-graph-focus-toggle[aria-pressed="true"],
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-graph-focus-toggle[aria-pressed="true"],
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-command-bar .gcw-graph-focus-toggle[aria-pressed="true"] {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
  border-color: rgba(96, 165, 250, .58) !important;
}
.gcw-root.gcw-analysis-mode .gcw-analysis-ux-bar,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-analysis-ux-bar,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-analysis-ux-bar {
  min-height: 22px !important;
  margin: 0 0 3px !important;
  padding: 2px 4px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}
.gcw-root.gcw-analysis-mode .gcw-analysis-ux-title,
.gcw-root.gcw-analysis-mode .gcw-analysis-ux-chip,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-analysis-ux-title,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-analysis-ux-chip,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-analysis-ux-title,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-analysis-ux-chip {
  min-height: 18px !important;
  padding: 2px 6px !important;
  font-size: 9px !important;
}
.gcw-root.gcw-analysis-mode .gcw-wave-section-head,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-wave-section-head,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-wave-section-head {
  min-height: 24px !important;
  padding: 3px 8px !important;
  margin-bottom: 2px !important;
}
.gcw-root.gcw-analysis-mode .gcw-wave-section-head p,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-wave-section-head p,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-wave-section-head p,
.gcw-root.gcw-analysis-mode .gcw-engineering-hint,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-engineering-hint,
.gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-engineering-hint {
  display: none !important;
}
.gcw-root.gcw-analysis-mode.gcw-graph-focus-mode .gcw-analysis-ux-bar,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode.gcw-graph-focus-mode .gcw-analysis-ux-bar,
.gcw-root.gcw-viewport-full.gcw-analysis-mode.gcw-graph-focus-mode .gcw-analysis-ux-bar {
  display: none !important;
}
.gcw-root.gcw-analysis-mode.gcw-graph-focus-mode:not(.gcw-tool-open) .gcw-workspace,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode.gcw-graph-focus-mode:not(.gcw-tool-open) .gcw-workspace,
.gcw-root.gcw-viewport-full.gcw-analysis-mode.gcw-graph-focus-mode:not(.gcw-tool-open) .gcw-workspace {
  grid-template-columns: 44px 0 minmax(0, 1fr) !important;
  gap: 0 !important;
}
.gcw-root.gcw-analysis-mode.gcw-graph-focus-mode:not(.gcw-tool-open) .gcw-measurements-pane,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode.gcw-graph-focus-mode:not(.gcw-tool-open) .gcw-measurements-pane,
.gcw-root.gcw-viewport-full.gcw-analysis-mode.gcw-graph-focus-mode:not(.gcw-tool-open) .gcw-measurements-pane {
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  grid-template-columns: 44px 0 !important;
}
.gcw-root.gcw-analysis-mode.gcw-graph-focus-mode:not(.gcw-tool-open) .gcw-measurements-main,
.gcw-root.gcw-analysis-mode.gcw-graph-focus-mode:not(.gcw-tool-open) .gcw-splitter,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode.gcw-graph-focus-mode:not(.gcw-tool-open) .gcw-measurements-main,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode.gcw-graph-focus-mode:not(.gcw-tool-open) .gcw-splitter,
.gcw-root.gcw-viewport-full.gcw-analysis-mode.gcw-graph-focus-mode:not(.gcw-tool-open) .gcw-measurements-main,
.gcw-root.gcw-viewport-full.gcw-analysis-mode.gcw-graph-focus-mode:not(.gcw-tool-open) .gcw-splitter {
  display: none !important;
}
.gcw-root.gcw-analysis-mode.gcw-graph-focus-mode .gcw-wave-section-head,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode.gcw-graph-focus-mode .gcw-wave-section-head,
.gcw-root.gcw-viewport-full.gcw-analysis-mode.gcw-graph-focus-mode .gcw-wave-section-head {
  display: none !important;
}
.gcw-root.gcw-analysis-mode.gcw-graph-focus-mode .gcw-event-table-wrap,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode.gcw-graph-focus-mode .gcw-event-table-wrap,
.gcw-root.gcw-viewport-full.gcw-analysis-mode.gcw-graph-focus-mode .gcw-event-table-wrap {
  display: none !important;
}
.gcw-root.gcw-analysis-mode.gcw-graph-focus-mode.gcw-tool-open,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode.gcw-graph-focus-mode.gcw-tool-open,
.gcw-root.gcw-viewport-full.gcw-analysis-mode.gcw-graph-focus-mode.gcw-tool-open {
  --gcw-reference-wave-height: 150px !important;
}
.gcw-root.gcw-analysis-mode.gcw-graph-focus-mode.gcw-tool-open .gcw-workbench-wave-splitter,
body.zrk-comtrade-body .gcw-root.gcw-analysis-mode.gcw-graph-focus-mode.gcw-tool-open .gcw-workbench-wave-splitter,
.gcw-root.gcw-viewport-full.gcw-analysis-mode.gcw-graph-focus-mode.gcw-tool-open .gcw-workbench-wave-splitter {
  flex-basis: 5px !important;
  height: 5px !important;
  min-height: 5px !important;
}
@media (max-width: 1180px) {
  .gcw-root.gcw-analysis-mode .gcw-analysis-toolbar.gcw-command-bar,
  body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-analysis-toolbar.gcw-command-bar,
  .gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-analysis-toolbar.gcw-command-bar {
    grid-template-columns: 1fr !important;
    gap: 3px !important;
    overflow: visible !important;
  }
  .gcw-root.gcw-analysis-mode .gcw-toolbar-zone,
  body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-toolbar-zone,
  .gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-toolbar-zone {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
  }
  .gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-reference-control,
  body.zrk-comtrade-body .gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-reference-control,
  .gcw-root.gcw-viewport-full.gcw-analysis-mode .gcw-command-bar .gcw-reference-control {
    flex-basis: 260px !important;
  }
}
@media (max-width: 640px) {
  .gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-btn,
  .gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-toggle,
  .gcw-root.gcw-analysis-mode .gcw-command-bar .gcw-toolbar-select {
    height: 26px !important;
    min-height: 26px !important;
  }
}
