/* Lembar praktikum: tujuan, langkah bernomor, tabel pengamatan, dan pertanyaan. */
#station-panel .instrument-body > .lab-goal {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid #dbc18d;
  border-radius: 8px;
  background: #dcc0940f;
  font-size: 14px;
  line-height: 1.55;
}
.lab-goal b,
.lab-question b {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #e8cd92;
}
.lab-step {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #46606180;
}
.lab-step h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: #f3e2bf;
}
.lab-step h3 span {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #afdccf;
  color: #123332;
  font-size: 13px;
  font-weight: 700;
}
#station-panel .lab-tip {
  margin: 0 0 4px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #b6c9c6;
}
.lab-step .parameter-control {
  margin: 10px 0;
}
.lab-run {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 4px;
}
.lab-run button {
  flex: 1;
}
.lab-run output {
  min-width: 70px;
  text-align: right;
  font-size: 13px;
  color: #f1dba8;
  font-variant-numeric: tabular-nums;
}
#station-panel details {
  margin-top: 6px;
  padding-top: 0;
  border-top: 0;
}
#station-panel summary {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin: 0;
  font-size: 13px;
  color: #b6c9c6;
}
.lab-time .row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.lab-time .row > * {
  flex: 1;
}
#station-panel .lab-time label {
  margin: 4px 0;
  font-size: 12px;
}
#station-panel .lab-time input[type="range"] {
  min-height: 30px;
  accent-color: #acd9c7;
}
.lab-label {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #9fb6b4;
}
#station-panel #instrument-readout {
  margin: 4px 0 0;
}
#station-panel .lab-step > .primary.full {
  width: 100%;
  margin-top: 8px;
}
.lab-table-wrap {
  margin-top: 10px;
  overflow-x: auto;
}
.lab-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.lab-table caption {
  text-align: left;
  padding-bottom: 6px;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #9fb6b4;
}
.lab-table th {
  padding: 6px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: #e8cd92;
  border-bottom: 1px solid #b99c6780;
}
.lab-table td {
  padding: 7px 6px;
  vertical-align: top;
  line-height: 1.45;
  color: #e3e9e1;
  border-bottom: 1px solid #46606160;
}
.lab-table td:first-child {
  width: 24px;
  color: #9fb6b4;
}
#station-panel .lab-clear {
  min-height: 36px;
  margin-top: 8px;
  padding: 6px 12px;
  font-size: 12px;
}
#station-panel .lab-empty {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #9fb6b4;
}
#station-panel .lab-question {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 3px solid #80e8e1;
  border-radius: 8px;
  background: #80e8e10f;
  font-size: 14px;
  line-height: 1.55;
}
.lab-question b {
  color: #a1eee3;
}
#station-panel .lab-note {
  margin: 14px 0 4px;
}
#station-panel .lab-note p {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #b6c9c6;
}
#station-panel .lab-field {
  margin: 12px 0 5px;
  font-size: 13px;
  color: #d9e3df;
}
#station-panel textarea {
  display: block;
  width: 100%;
  min-height: 74px;
  padding: 10px 12px;
  border: 1px solid #57716d;
  border-radius: 8px;
  background: #11292d;
  color: #f2ead6;
  font: 16px/1.45 system-ui, sans-serif;
  resize: vertical;
}
#station-panel textarea::placeholder {
  color: #8aa19e;
}
.lab-student {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 8px;
}
#station-panel .lab-student input {
  padding: 8px 10px;
  border: 1px solid #57716d;
  border-radius: 8px;
  background: #11292d;
  color: #f2ead6;
}
.lab-report {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.lab-report button {
  flex: 1;
}
.lab-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.lab-actions button {
  flex: 1;
}
/* The whole sheet scrolls (chart included) so the worksheet gets room; the title stays put. */
#station-panel {
  overflow-y: auto;
  overscroll-behavior: contain;
}
#station-panel .instrument-body {
  flex: none;
  min-height: auto;
  overflow: visible;
}
#station-panel .instrument-head {
  position: sticky;
  top: 0;
  z-index: 1;
}
/* While typing a report on a phone, lift the sheet above the on-screen keyboard. */
@media (max-width: 800px), (max-width: 1000px) and (max-height: 500px) {
  body.keyboard-open #station-panel {
    top: calc(var(--visual-top, 0px) + 10px);
    bottom: auto;
    height: calc(var(--visual-height, 100dvh) - 20px);
    max-height: calc(var(--visual-height, 100dvh) - 20px);
  }
}
/* The header play button is a shortcut for the short phone sheet only. */
@media (min-width: 801px) and (min-height: 501px) {
  .instrument-head .quick-sim {
    display: none;
  }
}

/* Meja Grafik: pengaturan jarang dipakai disembunyikan di bagian lipat. */
.panel-body details.advanced {
  border: 1px solid #486668;
  border-radius: 12px;
  padding: 0 12px;
  margin: 14px 0 0;
  background: #0e2529;
}
.panel-body details.advanced > summary {
  display: flex;
  align-items: center;
  min-height: 46px;
  margin: 0;
  font-size: 14px;
  color: #e9d7af;
}
.panel-body details.advanced[open] > summary {
  border-bottom: 1px solid #48666880;
  margin-bottom: 10px;
}
.panel-body details.advanced[open] {
  padding-bottom: 12px;
}
.equation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 0 6px;
}
.equation-head label {
  margin: 0;
}
.equation-head button {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 12px;
}
.range-row label {
  font-size: 12px;
}
.panel-body .action-row button {
  min-height: 44px;
  font-size: 13px;
}
#update-object,
#update-geometry {
  width: 100%;
  min-height: 40px;
  margin-top: 8px;
  font-size: 13px;
}

/* Layar utama yang lebih tenang. */
.right-hud .tiny {
  letter-spacing: 1.6px;
}
.key-guide kbd {
  margin-right: 3px;
}
