/* Additive styles only: the supplied V3 grids, colors, typography and screens are retained. */
summary {
  cursor: pointer;
  padding: 4px 0;
}
summary:focus-visible {
  outline: 3px solid var(--gold);
}
details[open] > summary {
  margin-bottom: 14px;
}
.cheat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
  line-height: 1.3;
  font-family: var(--dialog);
}
.cheat-table td,
.cheat-table th {
  text-align: left;
  border-bottom: 1px solid #485076;
  padding: 10px 5px;
  vertical-align: top;
}
.cheat-table th {
  color: var(--cyan);
}
.cheat-table button {
  margin-top: 5px;
}
.cheat-note {
  border-left: 3px solid var(--gold);
  padding: 8px 12px;
  color: #e0dcf4;
  font-size: 19px;
  font-family: var(--dialog);
}
#fundingLog {
  max-height: 150px;
  overflow: auto;
  padding-left: 22px;
}
#fundingClock {
  color: var(--gold);
  font-family: var(--dialog);
  font-size: 23px;
}
#missionTargets {
  margin: 0 0 16px;
  color: var(--cyan);
}
#advancedSettings .part .detail {
  min-height: 0;
}
#engineeringReadout {
  line-height: 1.7;
}
#budgetBreakdown .exp-cost {
  color: var(--gold);
}
.budget-alert {
  border: 3px solid var(--rose);
  background: #300e27;
  padding: 14px;
  margin-bottom: 15px;
}
.budget-alert strong {
  color: var(--gold);
}
.schematic-module {
  cursor: pointer;
}
.schematic-module:focus,
.schematic-module:hover {
  filter: brightness(1.4);
  outline: 2px solid var(--gold);
}
#expandedReport {
  margin: 20px 0;
}
.report-extra {
  border: 2px solid #485076;
  padding: 15px;
  margin-top: 14px;
}
.report-extra p {
  font-family: var(--dialog);
  font-size: 22px;
}
#deployPads {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
}
#deployPads button {
  width: 55px;
  height: 45px;
  background: #17172f;
  border: 2px solid white;
  color: white;
  font-size: 24px;
}
#deployPads button.lit {
  background: #63e0a7;
  color: #090d18;
}
#miniControlsExtra {
  font-family: var(--dialog);
  color: var(--gold);
  font-size: 22px;
  text-align: center;
}
.signal-tip {
  font-family: var(--dialog);
  font-size: 20px;
  margin-top: 8px;
}
#cheatContent .btn {
  font-size: 10px;
  min-height: 30px;
  padding: 5px;
}
#cheatContent {
  overflow-wrap: anywhere;
}
.model-note {
  font-size: 18px;
  color: #b5b8d5;
  font-family: var(--dialog);
}
@media (max-width: 600px) {
  .cheat-table {
    font-size: 16px;
  }
  .cheat-table td {
    padding: 8px 3px;
  }
  #advancedSettings {
    grid-template-columns: 1fr;
  }
  .cheat-table .btn {
    max-width: 135px;
    white-space: normal;
  }
}
