/* Shared layout for the guided A-level practicals (notebook, graph, instruments). */
.gp-workspace {
  --gp-ink: #213f52;
  --gp-blue: #246c9a;
  --gp-warm: #9e492d;
}
.gp-apparatus { margin: 1.2rem 0; }
.gp-apparatus svg,
[data-gp-graph] svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
}
.gp-apparatus svg {
  background: #f1f6f8;
  border: 1px solid #d2dee5;
  border-radius: 16px;
  touch-action: none;
}
.gp-workspace svg text {
  font-family: system-ui, sans-serif;
  font-size: 15px;
  fill: var(--gp-ink);
}
.gp-workspace svg text.gp-title { font-size: 19px; font-weight: 700; }
.gp-workspace svg text.gp-note { font-size: 13px; fill: #334f63; }
.gp-workspace svg text.gp-digits {
  font-family: ui-monospace, monospace;
  font-size: 20px;
  font-weight: 700;
  fill: #e0fff4;
}
.gp-wire { fill: none; stroke: #334f63; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gp-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1rem;
  margin: 1rem 0;
}
.gp-controls label { display: grid; gap: 0.35rem; min-width: 155px; flex: 1; }
.gp-controls input, .gp-controls select { max-width: 220px; min-height: 44px; }
.gp-controls button { min-height: 44px; }
.gp-target, .gp-accepted {
  padding: 1rem;
  background: #eaf4fa;
  border-left: 4px solid var(--gp-blue);
  border-radius: 5px;
}
.gp-table-wrap { overflow-x: auto; margin: 1.2rem 0; }
.gp-table-wrap table { border-collapse: collapse; min-width: 100%; font-size: 0.9rem; }
.gp-table-wrap th, .gp-table-wrap td { padding: 0.6rem; border: 1px solid #d6e0e7; text-align: left; }
.gp-table-wrap caption { font-weight: 700; text-align: left; padding: 0.7rem 0; }
.gp-table-wrap input { width: 145px; min-height: 44px; }
.gp-feedback { display: block; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gp-feedback small { display: block; font-weight: 700; }
.gp-feedback.accepted { color: #17633e; }
.gp-feedback.corrected { color: #934024; }
.gp-grid-major { stroke: #b4c5cf; stroke-width: 1; }
.gp-grid-minor { stroke: #e3eaef; stroke-width: 0.65; }
.gp-axis-zero { stroke: #6b7f8c; stroke-width: 1.4; }
[data-gp-interactive] { cursor: pointer; touch-action: none; }
[data-gp-interactive][aria-disabled="true"] { cursor: default; }
[data-gp-interactive]:focus { outline: 3px solid #e28920; outline-offset: 4px; }
.gp-evaluation p { max-width: 72ch; }
@media (max-width: 640px) {
  .gp-table-wrap input { width: 110px; }
}
/* Practical skills activities */
.sk-task { margin: 1.5rem 0; padding: 1rem 1.2rem; border: 1px solid #d6e0e7; border-radius: 12px; background: #fbfcfd; }
.sk-task.current { border-color: var(--gp-blue); box-shadow: 0 0 0 2px rgba(36, 108, 154, .12); }
.sk-item { margin: 1rem 0; border: 0; padding: 0; }
.sk-prompt { font-weight: 700; margin-bottom: .4rem; }
.sk-option { display: flex; gap: .6rem; align-items: flex-start; padding: .45rem .6rem; border-radius: 8px; cursor: pointer; }
.sk-option:hover { background: #eef4f8; }
.sk-option input { margin-top: .2rem; }
.sk-item input[type="text"] { display: block; margin-top: .35rem; min-height: 44px; max-width: 240px; }
.sk-done { padding: .6rem .8rem; border-left: 4px solid #17633e; background: #f0f7f2; border-radius: 6px; }
.sk-done.incorrect { border-left-color: #934024; background: #fbf2ee; }
.sk-verdict { font-weight: 700; margin-right: .4rem; }
.sk-done.correct .sk-verdict { color: #17633e; }
.sk-done.incorrect .sk-verdict { color: #934024; }
.sk-explanation { color: #3d4f5b; }
.sk-order { padding-left: 1.4rem; }
.sk-order-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .4rem .6rem; margin: .3rem 0; background: #fff; border: 1px solid #c9d6de; border-radius: 8px; cursor: grab; }
.sk-order-buttons { display: flex; gap: .3rem; }
.sk-order-buttons .button { min-height: 36px; padding: .2rem .6rem; }
.sk-sources { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .8rem; margin: 1rem 0; }
.sk-source { border: 1px solid #d6e0e7; border-radius: 10px; padding: .8rem; background: #fff; }
.sk-source h4 { margin: 0 0 .3rem; }
.sk-source-detail { color: #50626d; font-size: .9rem; }
.sk-source blockquote { margin: .5rem 0 0; padding-left: .7rem; border-left: 3px solid #b4c5cf; }
