/* Scientific prediction workspace. */
.prediction-page {
  gap: 0;
  max-width: 1600px;
  padding: 22px 26px 40px;
  color: #dbe8f1;
  background:
    linear-gradient(rgba(104, 139, 167, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 139, 167, .07) 1px, transparent 1px),
    #0c1622;
  background-size: 28px 28px;
}
.prediction-lab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 92px;
  padding: 17px 20px;
  border: 1px solid #26394b;
  border-bottom: 0;
  background: rgba(13, 27, 42, .96);
}
.prediction-lab-header small,
.prediction-fleet-panel header small {
  color: #65d6c7;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
}
.prediction-lab-header h3 {
  margin: 5px 0 3px;
  color: #f3f8fb;
  font-size: 23px;
}
.prediction-lab-header p { margin: 0; color: #9eb2c1; font-size: 11px; }
.prediction-lab-header .prediction-position {
  margin-top: 7px;
  color: #c5d6df;
  font-size: 10px;
  font-weight: 700;
}
.prediction-method-disclosure {
  width: fit-content;
  margin-top: 8px;
  color: #7890a2;
  font-size: 9px;
}
.prediction-method-disclosure summary {
  color: #7f9bad;
  cursor: pointer;
  font-weight: 700;
}
.prediction-method-disclosure p {
  max-width: 560px;
  margin-top: 5px;
  color: #7890a2;
  font-size: 9px;
}
.prediction-method-disclosure b { color: #9eb7c7; }
.prediction-lab-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(92px, 1fr));
  min-width: 470px;
  border-left: 1px solid #2c4152;
}
.prediction-lab-meta > div { padding: 4px 15px; border-right: 1px solid #2c4152; }
.prediction-lab-meta > div:last-child { border-right: 0; }
.prediction-lab-meta span,
.prediction-lab-meta strong,
.prediction-lab-meta small { display: block; }
.prediction-lab-meta span { color: #718da2; font: 700 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.prediction-lab-meta strong { margin: 4px 0 1px; color: #dcecf7; font: 700 18px ui-monospace, SFMono-Regular, Menlo, monospace; }
.prediction-lab-meta strong { font-variant-numeric: tabular-nums; }
.prediction-lab-meta small { color: #718797; font-size: 8px; }
.prediction-lab-meta .alert strong { color: #ff8578; }
.prediction-lab-workspace {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 680px;
  border: 1px solid #26394b;
}
.prediction-fleet-panel {
  border-right: 1px solid #26394b;
  background: rgba(10, 22, 34, .97);
}
.prediction-fleet-panel > header { padding: 17px 16px 12px; border-bottom: 1px solid #26394b; }
.prediction-fleet-panel h3 { margin: 5px 0 2px; color: #e7f0f6; font-size: 14px; }
.prediction-fleet-panel header span { color: #6f8798; font-size: 8px; }
.prediction-fleet-panel .prediction-asset-selector { display: grid; grid-template-columns: 1fr; gap: 0; }
.prediction-fleet-panel .prediction-asset-card {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 112px;
  padding: 14px 15px;
  border: 0;
  border-bottom: 1px solid #233647;
  border-radius: 0;
  background: transparent;
  color: #c4d4df;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.prediction-fleet-panel .prediction-asset-card:hover { background: #12273a; }
.prediction-fleet-panel .prediction-asset-card.active {
  border-color: #233647;
  border-left: 3px solid #5bd2c2;
  box-shadow: inset 0 0 0 1px rgba(91, 210, 194, .16);
  background: #142b3f;
}
.prediction-fleet-panel .prediction-asset-card:focus-visible,
.prediction-compute-panel button:focus-visible {
  outline: 2px solid rgba(91, 210, 194, .7);
  outline-offset: -3px;
}
.prediction-fleet-panel .prediction-asset-card span b { color: #edf5fa; font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.prediction-fleet-panel .prediction-asset-card span small { color: #7790a2; font-size: 8px; }
.prediction-fleet-panel .prediction-asset-card > strong { color: #70dfcf; font: 700 21px ui-monospace, SFMono-Regular, Menlo, monospace; }
.prediction-fleet-panel .prediction-asset-card.high > strong { color: #ff7d70; }
.prediction-fleet-panel .prediction-asset-card.medium > strong { color: #f2bd64; }
.prediction-fleet-panel .prediction-asset-card em { color: #5e778a; font: 700 7px ui-monospace, SFMono-Regular, Menlo, monospace; }
.prediction-fleet-panel .prediction-asset-card .prediction-asset-mode { align-self: end; color: #a9bbc6; font-size: 9px; }
.prediction-fleet-panel .prediction-asset-card > small { align-self: end; color: #7f98a8; font: 700 8px ui-monospace, SFMono-Regular, Menlo, monospace; text-align: right; }
.prediction-compute-panel {
  padding: 0;
  border: 0;
  background: #f3f7f9;
  color: #263b48;
}
.prediction-compute-panel > header {
  min-height: 68px;
  margin: 0;
  padding: 13px 18px;
  border-bottom: 1px solid #cfdae1;
  background: #e9f0f4;
}
.prediction-compute-panel > header small { color: #397f78; font: 700 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.prediction-compute-panel > header h3 { margin-top: 4px; color: #203746; font-size: 15px; }
#predictionStandaloneDetail { padding: 14px 16px 18px; }
#predictionStandaloneDetail .ai-prediction-chart {
  border-color: #cbd8df;
  background:
    linear-gradient(rgba(75, 112, 139, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 112, 139, .055) 1px, transparent 1px),
    #fbfdfe;
  background-size: 24px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}
#predictionStandaloneDetail .prediction-key-metrics b,
#predictionStandaloneDetail .prediction-model-comparison b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
