/* Lab Tools Locker: the Locker inside the practice shell's stage (about 1066 × 628 at 1366 × 768).
   Foundations: 18 px minimum text in the play area, 48 px tap targets. Pictures keep their own light "paper" in both themes. */
.lt { position: absolute; inset: 0; overflow: auto; color: #1f2933; font-size: 18px; line-height: 1.35;
  --lt-panel: rgba(255, 253, 248, .97); --lt-line: #9fb0bf; --lt-ink: #1f2933; --lt-soft: #43515f; --lt-accent: #2f5f7a;
  --lt-ok: #1f7a44; --lt-ok-bg: #e3f6e8; --lt-bad: #b42318; --lt-bad-bg: #fde7e4; --lt-paper: #fbfaf5; --lt-pick: #e7f0f6;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .0) 0 180px, rgba(40, 60, 80, .18) 180px 183px),
    linear-gradient(#c9d6e0, #b5c5d2); }
html[data-theme="dark"] .lt { color: #eef2f6; --lt-panel: rgba(30, 36, 46, .97); --lt-line: #56657a; --lt-ink: #eef2f6; --lt-soft: #c9d3de; --lt-accent: #8cc4ee;
  --lt-ok: #7fdca0; --lt-ok-bg: #173d27; --lt-bad: #ffb4a8; --lt-bad-bg: #4a1e1a; --lt-pick: #233547;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0 180px, rgba(0, 0, 0, .28) 180px 183px),
    linear-gradient(#2a3540, #1d252e); }
.lt *, .lt *::before, .lt *::after { box-sizing: border-box; }
.lt p { margin: 0; }
.lt-main { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 14px; padding: 12px 14px; }

/* the picture: a lit paper card (the same in light and dark) */
.lt-picwrap { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 10px 14px 12px; border-radius: 14px; background: var(--lt-paper); color: #1f2933;
  border: 2px solid #b9a98e; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.lt-pic-k { font-size: 18px; font-weight: 700; color: #4a4030; }
.lt-pic { flex: 1 1 0; min-height: 0; min-width: 0; display: flex; align-items: center; justify-content: center; }
.lt-pic .lt-svg { display: block; width: 100%; height: 100%; }
.lt-pic--ghs .lt-svg { max-width: 460px; }
.lt-note { font-size: 18px; font-weight: 700; color: #7c2d12; text-align: center; }
.lt-note[hidden] { display: none; }
.lt-svg.lt-nonum .lt-num { display: none; }

/* the answer card */
.lt-work { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 14px; background: var(--lt-panel); border: 2px solid var(--lt-line);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .16); overflow-x: hidden; overflow-y: auto; }
.lt-how { font-size: 19px; font-weight: 700; color: var(--lt-accent); }
.lt-choices { display: flex; flex-direction: column; gap: 12px; }
.lt-choice { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 46px 10px 16px; font: inherit; font-size: 19px; font-weight: 600; line-height: 1.3; text-align: left;
  color: #1f2933; background: #ffffff; border: 3px solid #8195a7; border-radius: 14px; cursor: pointer; }
.lt-choice:hover:not(:disabled) { border-color: var(--lt-accent); background: #f2f8fc; }
.lt-choice:focus-visible { outline: 3px solid #c2410c; outline-offset: 3px; }
.lt-choice[aria-checked="true"] { border-color: #1d4f6b; background: #dcecf7; box-shadow: inset 0 0 0 2px #1d4f6b; }
.lt-choice[aria-checked="true"]::after { content: ''; position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: #1d4f6b; box-shadow: 0 0 0 4px #fff inset; border: 2px solid #1d4f6b; }
.lt-choice:disabled { cursor: default; opacity: 1; }
.lt-choice-t { min-width: 0; }
.lt-choice-mark { position: absolute; right: 12px; top: 8px; font-size: 26px; font-weight: 900; line-height: 1; }
.lt-choice.is-right { border-color: #1f7a44; background: #e3f6e8; color: #14532d; }
.lt-choice.is-wrong { border-color: #b42318; background: #fde7e4; color: #7f1d1d; border-style: dashed; }
.lt-choice.is-other { opacity: .72; }
.lt-choice.is-right::after, .lt-choice.is-wrong::after { display: none; }
.lt-choice.is-right .lt-choice-mark { color: #1f7a44; }
.lt-choice.is-wrong .lt-choice-mark { color: #b42318; }
/* gear sets: icons above the words */
.lt-choice--gear { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 8px; }
.lt-choice--gear .lt-choice-pic { display: block; height: 60px; }
.lt-choice--gear .lt-svg { display: block; height: 100%; width: auto; }
.lt-msg { font-size: 18px; font-weight: 700; color: var(--lt-bad); }
.lt-msg:empty { display: none; }
.lt-aloud { margin-top: auto; align-self: flex-start; min-height: 48px; padding: 6px 16px; font: inherit; font-size: 18px; font-weight: 600; color: var(--lt-ink); background: transparent; border: 2px solid var(--lt-line); border-radius: 999px; cursor: pointer; }
.lt-aloud[aria-pressed="true"] { border-color: var(--lt-accent); }
.lt-aloud:focus-visible { outline: 3px solid #c2410c; outline-offset: 2px; }

/* pick questions: the job on top, three picture cards below */
.lt--pick .lt-main { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
.lt-task { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 14px; background: var(--lt-panel); border: 2px solid var(--lt-line); box-shadow: 0 6px 16px rgba(0, 0, 0, .16); }
.lt-task-k { font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--lt-soft); }
.lt-task-t { font-size: 24px; font-weight: 700; line-height: 1.25; }
.lt--pick .lt-work { padding: 12px 14px; }
.lt--pick .lt-choices { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lt-choice--fig.lt-choice--tool, .lt-choice--fig.lt-choice--ghs { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 6px; height: 100%; min-height: 0; padding: 10px 10px 8px; text-align: center; background: var(--lt-paper); }
.lt-choice--tool .lt-choice-pic, .lt-choice--ghs .lt-choice-pic { flex: 1 1 0; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lt-choice--tool .lt-svg, .lt-choice--ghs .lt-svg { display: block; width: 100%; height: 100%; }
.lt-choice--tool .lt-choice-t, .lt-choice--ghs .lt-choice-t { font-size: 19px; font-weight: 700; }
.lt-choice--fig[aria-checked="true"]::after { top: 22px; margin-top: 0; }
/* the names under the pictures are hidden until Check in sign questions (the picture is the evidence) */
.lt--ghs-sign .lt-choice-t { visibility: hidden; }
.lt--ghs-sign.is-locked:not(.lt--assess) .lt-choice-t { visibility: visible; }
.lt--ghs-sign .lt-choice-t::before { content: ''; }

/* Briefing example and Start art. The Briefing page ends with room for student.js's floating sign-in link (fixed at the bottom). */
.ps-briefpage { padding-bottom: 76px; }
.lt-example { background: #fbfaf5; border-radius: 12px; padding: 8px; border: 2px solid #b9a98e; }
.lt-example .lt-svg { display: block; width: 100%; height: auto; max-width: 360px; margin: 0 auto; }
.lt-start { display: block; width: 100%; height: auto; border-radius: 24px; }

/* 901 to 1150 px: a slimmer answer card */
@media (min-width: 901px) and (max-width: 1150px) {
  .lt-main { grid-template-columns: minmax(0, 1fr) 340px; }
  .lt-choice { font-size: 18px; padding-left: 12px; }
  .lt-task-t { font-size: 21px; }
}
@media (max-width: 900px) {
  .lt { position: relative; inset: auto; overflow: visible; }
  .lt-main { height: auto; grid-template-columns: minmax(0, 1fr); padding: 10px 8px; }
  .lt-pic { flex: none; width: 100%; max-width: 460px; margin: 0 auto; aspect-ratio: 1 / 1; }
  .lt-pic--scene { aspect-ratio: 4 / 3; max-width: 560px; }
  .lt-work { overflow: visible; }
  .lt--pick .lt-main { grid-template-rows: auto auto; }
  .lt--pick .lt-choices { flex: none; }
  .lt-choice--fig.lt-choice--tool, .lt-choice--fig.lt-choice--ghs { height: auto; }
  .lt-choice--tool .lt-choice-pic, .lt-choice--ghs .lt-choice-pic { flex: none; aspect-ratio: 1 / 1; }
  .lt-aloud { margin-top: 4px; }
}
@media (max-width: 600px) {
  .lt--pick .lt-choices { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lt-choice--fig.lt-choice--tool, .lt-choice--fig.lt-choice--ghs { flex-direction: row; align-items: center; text-align: left; padding-right: 46px; }
  .lt-choice--tool .lt-choice-pic, .lt-choice--ghs .lt-choice-pic { width: 120px; flex: none; }
  .lt-choice--fig[aria-checked="true"]::after { top: 50%; margin-top: -10px; }
  .lt-task-t { font-size: 20px; }
}
