/* ZeroRiskk COMTRADE Viewer v2.4.5 module: Shared cockpit shell for harmonics, distance, differential, sequence and evidence workbenches. */

.gcw-root.gcw-tool-open .gcw-query-page[data-tool="harmonics"],
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="fault-location"],
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="distance"],
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="differential"],
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="sequence"],
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="evidence"] {
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="harmonics"] .gcw-query-page-head,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="harmonics"] .gcw-query-status,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="fault-location"] .gcw-query-page-head,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="fault-location"] .gcw-query-status,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="distance"] .gcw-query-page-head,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="distance"] .gcw-query-status,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="differential"] .gcw-query-page-head,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="differential"] .gcw-query-status,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="sequence"] .gcw-query-page-head,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="sequence"] .gcw-query-status,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="evidence"] .gcw-query-page-head,
.gcw-root.gcw-tool-open .gcw-query-page[data-tool="evidence"] .gcw-query-status {
  display: none !important;
}
.gcw-root.gcw-tool-open .gcw-query-page .gcw-generic-side-layout {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
}
.gcw-root.gcw-tool-open .gcw-generic-cockpit-layout {
  height: 100% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: var(--gcw-generic-side-width, 420px) 12px minmax(0, 1fr) !important;
  gap: 0 !important;
  overflow: hidden !important;
}
.gcw-root.gcw-tool-open .gcw-generic-info-pane {
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid rgba(148, 163, 184, .42) !important;
  border-right: 0 !important;
  border-radius: 16px 0 0 16px !important;
  background: linear-gradient(180deg, #f8fafc, #ffffff 42%, #f8fafc) !important;
  box-shadow: inset -1px 0 0 rgba(148, 163, 184, .25) !important;
}
.gcw-root.gcw-tool-open .gcw-generic-info-head {
  flex: 0 0 auto !important;
  display: flex !important;
  justify-content: space-between !important;
  gap: 8px !important;
  align-items: center !important;
  padding: 8px 10px !important;
  border-bottom: 1px solid rgba(148, 163, 184, .28) !important;
  background: #eef6ff !important;
}
.gcw-root.gcw-tool-open .gcw-generic-info-head strong {
  font-size: 12px !important;
  font-weight: 950 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.gcw-root.gcw-tool-open .gcw-generic-info-head span {
  font-size: 9.5px !important;
  font-weight: 850 !important;
  color: #64748b !important;
  white-space: nowrap !important;
}
.gcw-root.gcw-tool-open .gcw-generic-freeze-pane {
  flex: 0 0 var(--gcw-generic-freeze-height, 340px) !important;
  height: var(--gcw-generic-freeze-height, 340px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
}
.gcw-root.gcw-tool-open .gcw-generic-frozen-scroll {
  height: 100% !important;
  overflow: auto !important;
  padding: 8px !important;
}
.gcw-root.gcw-tool-open .gcw-generic-freeze-resizer,
.gcw-root.gcw-tool-open .gcw-generic-table-resizer {
  flex: 0 0 12px !important;
  min-height: 12px !important;
  cursor: row-resize !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(180deg, #eff6ff, #dbeafe) !important;
  border-top: 1px solid rgba(37, 99, 235, .18) !important;
  border-bottom: 1px solid rgba(37, 99, 235, .18) !important;
  color: #2563eb !important;
  user-select: none !important;
}
.gcw-root.gcw-tool-open .gcw-generic-freeze-resizer span,
.gcw-root.gcw-tool-open .gcw-generic-table-resizer span {
  width: 46px !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: #2563eb !important;
  opacity: .55 !important;
}
.gcw-root.gcw-tool-open .gcw-generic-table-resizer em {
  margin-left: 8px !important;
  font-style: normal !important;
  font-size: 9.5px !important;
  font-weight: 900 !important;
  color: #1d4ed8 !important;
  letter-spacing: .03em !important;
  text-transform: uppercase !important;
}
.gcw-root.gcw-tool-open .gcw-generic-side-resizer {
  width: 12px !important;
  min-width: 12px !important;
  cursor: col-resize !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(90deg, #e0f2fe, #dbeafe) !important;
  border-top: 1px solid rgba(37, 99, 235, .18) !important;
  border-bottom: 1px solid rgba(37, 99, 235, .18) !important;
  user-select: none !important;
}
.gcw-root.gcw-tool-open .gcw-generic-side-resizer span {
  width: 4px !important;
  height: 54px !important;
  border-radius: 999px !important;
  background: #2563eb !important;
  opacity: .55 !important;
}
.gcw-root.gcw-tool-open .gcw-generic-side-resizer:hover span,
.gcw-root.gcw-tool-open .gcw-generic-freeze-resizer:hover span,
.gcw-root.gcw-tool-open .gcw-generic-table-resizer:hover span,
body.gcw-generic-side-resizing .gcw-generic-side-resizer span,
body.gcw-generic-freeze-resizing .gcw-generic-freeze-resizer span,
body.gcw-generic-table-resizing .gcw-generic-table-resizer span {
  opacity: 1 !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12) !important;
}
.gcw-root.gcw-tool-open .gcw-generic-live-zone {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: auto !important;
  padding: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  background: #f8fafc !important;
}
.gcw-root.gcw-tool-open .gcw-generic-control-card,
.gcw-root.gcw-tool-open .gcw-generic-focus-list,
.gcw-root.gcw-tool-open .gcw-generic-note-card,
.gcw-root.gcw-tool-open .gcw-generic-visual-card {
  border: 1px solid rgba(148, 163, 184, .34) !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  padding: 8px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .045) !important;
}
.gcw-root.gcw-tool-open .gcw-generic-note-card.is-warning {
  background: #fff7ed !important;
  border-color: #fed7aa !important;
}
.gcw-root.gcw-tool-open .gcw-generic-control-card p,
.gcw-root.gcw-tool-open .gcw-generic-note-card p {
  margin: 6px 0 0 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
  color: #475569 !important;
}
.gcw-root.gcw-tool-open .gcw-generic-summary-strip {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px !important;
  margin-top: 8px !important;
}
.gcw-root.gcw-tool-open .gcw-generic-summary-strip > div {
  min-width: 0 !important;
  border: 1px solid rgba(37, 99, 235, .14) !important;
  border-radius: 12px !important;
  padding: 7px !important;
  background: linear-gradient(180deg, #f8fbff, #ffffff) !important;
}
.gcw-root.gcw-tool-open .gcw-generic-summary-strip span,
.gcw-root.gcw-tool-open .gcw-generic-summary-strip em {
  display: block !important;
  font-size: 9.2px !important;
  line-height: 1.22 !important;
  color: #64748b !important;
  font-style: normal !important;
  font-weight: 850 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.gcw-root.gcw-tool-open .gcw-generic-summary-strip strong {
  display: block !important;
  margin: 3px 0 !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  color: #0f172a !important;
  font-weight: 950 !important;
  overflow-wrap: anywhere !important;
}
.gcw-root.gcw-tool-open .gcw-generic-focus-list header,
.gcw-root.gcw-tool-open .gcw-generic-visual-card header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 6px !important;
}
.gcw-root.gcw-tool-open .gcw-generic-focus-list header strong,
.gcw-root.gcw-tool-open .gcw-generic-visual-card header strong,
.gcw-root.gcw-tool-open .gcw-generic-note-card strong {
  font-size: 11px !important;
  font-weight: 950 !important;
  color: #0f172a !important;
}
.gcw-root.gcw-tool-open .gcw-generic-focus-list header span,
.gcw-root.gcw-tool-open .gcw-generic-visual-card header span {
  font-size: 10px !important;
  color: #64748b !important;
  font-weight: 850 !important;
}
.gcw-root.gcw-tool-open .gcw-generic-focus-list ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.gcw-root.gcw-tool-open .gcw-generic-focus-list li {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
  align-items: start !important;
  padding: 6px !important;
  border-radius: 9px !important;
  background: #f8fafc !important;
  border: 1px solid rgba(148, 163, 184, .22) !important;
}
.gcw-root.gcw-tool-open .gcw-generic-focus-list li strong {
  min-width: 0 !important;
  font-size: 10.5px !important;
  color: #0f172a !important;
  overflow-wrap: anywhere !important;
}
.gcw-root.gcw-tool-open .gcw-generic-focus-list li span {
  font-size: 10px !important;
  font-weight: 850 !important;
  color: #2563eb !important;
  text-align: right !important;
  max-width: 160px !important;
  overflow-wrap: anywhere !important;
}
.gcw-root.gcw-tool-open .gcw-generic-focus-list p {
  margin: 0 !important;
  font-size: 10.5px !important;
  color: #64748b !important;
}
.gcw-root.gcw-tool-open .gcw-generic-mini-actions {
  display: flex !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  margin-top: 8px !important;
}
.gcw-root.gcw-tool-open .gcw-generic-result-panel {
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid rgba(148, 163, 184, .38) !important;
  border-left: 0 !important;
  border-radius: 0 16px 16px 0 !important;
  background: #ffffff !important;
}
.gcw-root.gcw-tool-open .gcw-generic-result-head {
  flex: 0 0 auto !important;
  display: flex !important;
  justify-content: space-between !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 8px 10px !important;
  border-bottom: 1px solid rgba(148, 163, 184, .25) !important;
  background: linear-gradient(180deg, #f8fafc, #ffffff) !important;
}
.gcw-root.gcw-tool-open .gcw-generic-result-head strong {
  display: block !important;
  font-size: 13px !important;
  color: #0f172a !important;
  font-weight: 950 !important;
}
.gcw-root.gcw-tool-open .gcw-generic-result-head span,
.gcw-root.gcw-tool-open .gcw-generic-result-head small {
  display: block !important;
  font-size: 10px !important;
  color: #64748b !important;
  font-weight: 800 !important;
}
.gcw-root.gcw-tool-open .gcw-generic-result-head b {
  display: block !important;
  text-align: right !important;
  color: #1d4ed8 !important;
  font-size: 15px !important;
  font-weight: 950 !important;
}
.gcw-root.gcw-tool-open .gcw-generic-plot-zone {
  flex: 1 1 auto !important;
  min-height: 260px !important;
  overflow: auto !important;
  padding: 10px !important;
  background: #ffffff !important;
}
.gcw-root.gcw-tool-open .gcw-generic-plot-zone .gcw-tool-uplot-shell {
  min-height: 320px !important;
  height: auto !important;
}
.gcw-root.gcw-tool-open .gcw-generic-table-wrap {
  flex: 0 0 var(--gcw-generic-table-height, 340px) !important;
  height: var(--gcw-generic-table-height, 340px) !important;
  max-height: var(--gcw-generic-table-height, 340px) !important;
  min-height: 150px !important;
  overflow: auto !important;
  background: #ffffff !important;
}
.gcw-root.gcw-tool-open .gcw-generic-table-wrap table {
  width: 100% !important;
  min-width: 620px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
.gcw-root.gcw-tool-open .gcw-generic-table-wrap th {
  position: sticky !important;
  top: 0 !important;
  z-index: 5 !important;
  background: #eaf2ff !important;
  color: #0f172a !important;
  font-size: 10.5px !important;
  font-weight: 950 !important;
  border-bottom: 1px solid rgba(37, 99, 235, .22) !important;
  white-space: nowrap !important;
}
.gcw-root.gcw-tool-open .gcw-generic-table-wrap td,
.gcw-root.gcw-tool-open .gcw-generic-table-wrap th {
  padding: 7px 8px !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
  vertical-align: top !important;
}
.gcw-root.gcw-tool-open .gcw-generic-table-wrap tbody tr:nth-child(even) td { background: #f8fafc !important; }
.gcw-root.gcw-tool-open .gcw-generic-table-wrap tbody tr:hover td { background: #dbeafe !important; }
.gcw-root.gcw-tool-open .gcw-generic-table-wrap tr.gcw-generic-key-row td {
  background: #ecfeff !important;
  font-weight: 900 !important;
  color: #0f172a !important;
}
.gcw-root.gcw-tool-open .gcw-generic-table-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 10px !important;
  min-width: 860px !important;
}
.gcw-root.gcw-tool-open .gcw-generic-table-grid.is-evidence { min-width: 1080px !important; }
.gcw-root.gcw-tool-open .gcw-generic-visual-card { margin-bottom: 10px !important; }
.gcw-root.gcw-tool-open .gcw-fault-line {
  display: grid !important;
  grid-template-columns: auto minmax(120px, 1fr) auto !important;
  gap: 8px !important;
  align-items: center !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  color: #64748b !important;
}
.gcw-root.gcw-tool-open .gcw-fault-line > div {
  height: 12px !important;
  border-radius: 999px !important;
  background: #e2e8f0 !important;
  overflow: hidden !important;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.08) !important;
}
.gcw-root.gcw-tool-open .gcw-fault-line i {
  display: block !important;
  height: 100% !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #2563eb, #f97316) !important;
}
.gcw-root.gcw-workbench-maximized.gcw-tool-open .gcw-generic-cockpit-layout {
  grid-template-columns: 46px 8px minmax(0, 1fr) !important;
}
.gcw-root.gcw-workbench-maximized.gcw-tool-open .gcw-generic-info-pane {
  border-radius: 12px 0 0 12px !important;
  align-items: center !important;
  overflow: hidden !important;
}
.gcw-root.gcw-workbench-maximized.gcw-tool-open .gcw-generic-freeze-pane,
.gcw-root.gcw-workbench-maximized.gcw-tool-open .gcw-generic-freeze-resizer,
.gcw-root.gcw-workbench-maximized.gcw-tool-open .gcw-generic-live-zone {
  display: none !important;
}
.gcw-root.gcw-workbench-maximized.gcw-tool-open .gcw-generic-info-head {
  width: 46px !important;
  height: 100% !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  padding: 8px 2px !important;
  border-bottom: 0 !important;
  writing-mode: vertical-rl !important;
  text-orientation: mixed !important;
}
.gcw-root.gcw-workbench-maximized.gcw-tool-open .gcw-generic-info-head span { display: none !important; }
.gcw-root.gcw-workbench-maximized.gcw-tool-open .gcw-generic-info-head strong {
  font-size: 10px !important;
  line-height: 1.2 !important;
  white-space: normal !important;
}
@media (max-width: 920px) {
  .gcw-root.gcw-tool-open .gcw-generic-cockpit-layout {
    grid-template-columns: minmax(260px, 34vw) 10px minmax(0, 1fr) !important;
  }
  .gcw-root.gcw-tool-open .gcw-generic-summary-strip { grid-template-columns: 1fr !important; }
  .gcw-root.gcw-tool-open .gcw-generic-table-grid { grid-template-columns: 1fr !important; min-width: 620px !important; }
}
