/* Lab 5 (Predict the Landing): the student page and the instructor page. Shared Lab Bench styles are in lab-bench.css. */
.rp-text{font-size:calc(15px * var(--ts, 1));line-height:1.6;color:var(--ink)}
.rp-text p{margin:0 0 10px}
.rp-typed-note{margin:10px 0 12px}
.rp-text h3{font-size:calc(16px * var(--ts, 1));margin:16px 0 6px}
.rp-text ul{margin:0 0 12px;padding-left:22px}
.rp-text li{margin-bottom:4px}
p.rp-text{margin:14px 0 12px}
.rp-actions{margin-top:6px;margin-bottom:12px;flex-wrap:wrap}
#quiz-key{font-size:calc(16px * var(--ts, 1));letter-spacing:.5px}
.lab.rp{max-width:944px}
.rp .lab-heading p.rp-g{margin-top:9px;font-weight:600;color:var(--ink)}
.rp-theory{margin-bottom:18px}
.rp-theory .panel-heading{flex-wrap:wrap}
.rp-theory .rp-text{padding-top:16px}
.rp-theory .rp-text p{color:var(--ink)}
.rp-text p.rp-eq{margin:14px 0;background:#edf3ed;border-radius:7px;padding:14px 12px;text-align:center;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 34px;font:italic calc(21px * var(--ts, 1)) Georgia,serif}
.rp-worked{border-left:3px solid var(--teal);background:#f6f8f3;border-radius:4px;padding:12px 16px;margin:14px 0 16px}
.rp-text .rp-worked h3{margin:0 0 6px;font-size:calc(13px * var(--ts, 1));letter-spacing:1px;text-transform:uppercase;color:var(--teal)}
.rp-text .rp-worked p{margin:0;line-height:1.8}
.rp-try{margin:0 20px 20px}
.rp-try .rp-prompt{display:block;font-weight:600;font-size:calc(15px * var(--ts, 1));line-height:1.5;margin-bottom:8px}
.rp-answer{display:flex;align-items:center;gap:8px;font-size:calc(15px * var(--ts, 1))}
.rp-answer input{width:9em;max-width:100%;border:1px solid #bfcfc4;border-radius:5px;padding:9px 10px;min-width:0}
@media(max-width:600px){.rp-try{margin:0 12px 16px}}
.rp-demo{margin-bottom:18px}
.rp-demo .rp-text{padding-top:16px}
.rp-demo .rp-text p{color:var(--ink)}
.rp-controls{display:flex;flex-wrap:wrap;gap:12px 22px;margin:4px 0 6px}
.rp-controls label{display:grid;gap:6px;font-size:calc(14px * var(--ts, 1));font-weight:600}
.rp-controls select{font:inherit;font-weight:400;font-size:calc(14.5px * var(--ts, 1));padding:9px 8px;border:1px solid #bfcfc4;border-radius:6px;background:white;color:var(--ink);max-width:100%}
.rp-controls select:focus-visible{outline:3px solid #ba622e;outline-offset:3px}
.rp-msg{font-size:calc(15.5px * var(--ts, 1));line-height:1.6;color:var(--ink);font-weight:600;min-height:3.2em;margin:2px 0 10px}
.rp-scene{background:linear-gradient(#fafcf9,#f4f7f0);border-top:1px solid #edf0ec;border-bottom:1px solid #edf0ec}
.rp-scene svg{display:block;width:100%;max-width:760px;height:auto;margin:auto}
.rp-floor{stroke:#6d8175;stroke-width:3}
.rp-tick{stroke:#6d8175;stroke-width:1.5}
.rp-tick-label{font-size:20px;fill:#52625a;text-anchor:middle}
.rp-axis-label{font-size:20px;fill:#52625a;text-anchor:end}
.rp-stand{stroke:#9aa9a0;stroke-width:5}
.rp-ramp{fill:#c9a77a;stroke:#7d5f35;stroke-width:1.5;stroke-linejoin:round}
.rp-height,.rp-drop{stroke:#415c53;stroke-width:1.5}
.rp-dim-tick{stroke:#415c53;stroke-width:2}
.rp-ghost{fill:none;stroke:#52625a;stroke-width:2;stroke-dasharray:4 3}
.rp-centre{fill:#22332d}
.rp-target-label{font-size:17px;fill:#52625a;text-anchor:middle}
.rp-level{stroke:#a7b3aa;stroke-width:1;stroke-dasharray:2 5}
.rp-height-label,.rp-drop-label{font:italic 21px Georgia,serif;fill:#22332d}
.rp-body circle{fill:#1f6f63;stroke:#fff;stroke-width:1.5}
.rp-body line{stroke:#fff;stroke-width:3;stroke-linecap:round}
.rp-body-hollow circle{fill:#eef1fb;stroke:#4a5fa8;stroke-width:2.5}.rp-body-hollow line{stroke:#4a5fa8}
.rp-body rect{fill:#a4552a;stroke:#fff;stroke-width:1.5}
.rp-trail{fill:none;stroke-width:1.5;stroke-dasharray:3 5}
.rp-mark-line{stroke-width:2}
.rp-mark-label{font-size:19px;font-weight:600;text-anchor:end}
.rp-mark-0 .rp-trail,.rp-mark-0 .rp-mark-line{stroke:#4a5fa8}.rp-mark-0 .rp-mark-label{fill:#3c4f93}
.rp-mark-1 .rp-trail,.rp-mark-1 .rp-mark-line{stroke:#1f6f63}.rp-mark-1 .rp-mark-label{fill:#195a50}
.rp-mark-2 .rp-trail,.rp-mark-2 .rp-mark-line{stroke:#a4552a}.rp-mark-2 .rp-mark-label{fill:#8a4520}
.rp-centres{margin:10px 0 0}
.rp-bars{display:grid;gap:9px;margin:16px 0 4px}
.rp-bar{display:grid;grid-template-columns:minmax(0,9.5em) minmax(40px,1fr) 3.6em;align-items:center;gap:10px;font-size:calc(14px * var(--ts, 1));color:var(--ink)}
.rp-bar-track{display:block;width:100%;height:14px;border-radius:7px;overflow:hidden}
.rp-bar-bg{fill:#e7ece5}
.rp-bar-pe rect:last-child{fill:#8a6fb0}.rp-bar-trans rect:last-child{fill:#1f6f63}.rp-bar-rot rect:last-child{fill:#c1762b}
.rp-bar-value{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}
.rp-readouts span{line-height:1.3}
.rp-note{margin:0 0 18px}
@media(max-width:600px){.rp-readouts{grid-template-columns:repeat(2,1fr);row-gap:16px}.rp-readouts>div:nth-child(2){border-right:0}.rp-controls label{width:100%}}
/* Instructor page: the set-up */
.rp-status p{margin:0 0 4px;font-size:calc(14.5px * var(--ts, 1));line-height:1.55;color:var(--ink)}
.rp-status{min-height:1.6em;margin-bottom:6px}
.rp-sub{font-size:calc(15.5px * var(--ts, 1));margin:16px 0 0}
.rp-handout-wrap{margin:12px 0 14px;max-width:620px}
.rp-handout{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 18px;margin:0;font-size:calc(15px * var(--ts, 1));color:var(--ink)}
.rp-handout dt{margin:0}.rp-handout dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.rp-handout .rp-key{border-top:1px solid var(--line);padding-top:8px;color:var(--teal);font-weight:600}
.rp-handout .rp-key~.rp-key~.rp-key{border-top:0;padding-top:0}
.rp-heights{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,400px);gap:10px 26px;align-items:center}
.rp-heights .lb-inst-form{grid-template-columns:1fr 1fr;padding:10px 0 6px}
.rp-heights .help,.rp-heights .rp-text{margin:6px 0 0}
.rp-num{display:inline-grid;place-items:center;width:1.5em;height:1.5em;border:1.5px solid var(--teal);border-radius:50%;font-size:.85em;font-weight:700;line-height:1;color:var(--teal);vertical-align:.06em}
.rp-sketch{display:block;width:100%;height:auto;max-width:400px;justify-self:center}
.rp-sketch-body{fill:#efe4d0}
.rp-sketch-table{stroke:#9aa9a0;stroke-width:3;stroke-linecap:round}
/* The four measurements: always drawn, faint; the one whose box is in use is drawn bold. */
.rp-measure{opacity:.6}
.rp-measure-line{fill:none;stroke:#415c53;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.rp-measure-badge{fill:#fff;stroke:#415c53;stroke-width:1.5}
.rp-measure-num{font-size:12px;font-weight:700;fill:#22332d;text-anchor:middle}
.rp-measure.is-active{opacity:1}
.rp-measure.is-active .rp-measure-line{stroke:#a3501f;stroke-width:3.5}
.rp-measure.is-active .rp-measure-badge{fill:#a3501f;stroke:#a3501f}
.rp-measure.is-active .rp-measure-num{fill:#fff}
.rp-sketch-ramp{fill:none;stroke:#7d5f35;stroke-width:6;stroke-linecap:round}
.rp-sketch-target{fill:none;stroke:#52625a;stroke-width:3}
.rp-sketch-label{font-size:13px;fill:#52625a;text-anchor:middle}
.rp-steps{margin:10px 20px 6px;padding-left:22px;font-size:calc(14.5px * var(--ts, 1));line-height:1.6;color:var(--ink)}
.rp-steps li{margin-bottom:8px;overflow-wrap:anywhere}
.rp-steps li>b:first-child{display:block}
.rp-step-work{color:var(--muted)}
@media(max-width:860px){.rp-heights{grid-template-columns:1fr}}
/* Instructor page: the ramp read from an STL */
.rp-stl-msg{font-size:calc(14.5px * var(--ts, 1));line-height:1.55;color:var(--ink);min-height:1.5em;margin:0 0 4px}
.lb-inst-form label.rp-check{flex-direction:row;align-items:center;gap:9px;font-weight:400;align-self:end;padding-bottom:9px}
.lb-inst-form label.rp-check input{width:18px;height:18px;flex:none;accent-color:var(--teal);padding:0}
.rp-wrong{margin:6px 0 10px;font-size:calc(14.5px * var(--ts, 1));color:var(--ink)}
.rp-wrong summary{cursor:pointer;font-weight:600;padding:6px 0;width:fit-content}
.rp-wrong label.rp-check{display:flex;align-items:center;gap:9px;padding:5px 0;font-weight:400}
.rp-wrong label.rp-check input{width:18px;height:18px;flex:none;accent-color:var(--teal)}
.rp-wrong #stl-wrong-note{font-weight:600;color:var(--ink);min-height:1.5em}
.rp-side{background:linear-gradient(#fafcf9,#f4f7f0);border-top:1px solid #edf0ec;border-bottom:1px solid #edf0ec}
.rp-side svg{display:block;width:100%;max-width:760px;height:auto;margin:auto}
.rp-side-ramp{fill:#c9a77a;stroke:#7d5f35;stroke-width:1.5;stroke-linejoin:round}
.rp-side-base{stroke:#6d8175;stroke-width:2}
.rp-side-marble{fill:#1f6f63;fill-opacity:.35;stroke:#1f6f63;stroke-width:1.5}
.rp-marker{cursor:ew-resize;touch-action:none}
.rp-marker-line{stroke:#22332d;stroke-width:1.5;stroke-dasharray:4 4}
.rp-marker-handle{fill:#fff;stroke:#22332d;stroke-width:2}
.rp-marker-release .rp-marker-handle{fill:#1f6f63}.rp-marker-gate .rp-marker-handle{fill:#c1762b}.rp-marker-exit .rp-marker-handle{fill:#4a5fa8}
.rp-marker-label{font-size:15px;fill:#22332d;font-weight:600}
.rp-marker-left{text-anchor:end}
.rp-marker.is-active .rp-marker-line{stroke-width:2.5}
.rp-touch{fill:#22332d;stroke:#fff;stroke-width:1.2}
.rp-dim-datum{stroke:#22332d;stroke-width:1.5}
.rp-dim{opacity:.72}.rp-dim.is-active{opacity:1}
.rp-dim-line,.rp-dim-head{fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rp-dim.is-active .rp-dim-line,.rp-dim.is-active .rp-dim-head{stroke-width:3.5}
.rp-dim-release .rp-dim-line,.rp-dim-release .rp-dim-head{stroke:#1f6f63}
.rp-dim-gate .rp-dim-line,.rp-dim-gate .rp-dim-head{stroke:#c1762b}
.rp-dim-exit .rp-dim-line,.rp-dim-exit .rp-dim-head{stroke:#4a5fa8}
.rp-dim-text{font-size:14.5px;font-weight:600;fill:#22332d;paint-order:stroke;stroke:#f6f8f3;stroke-width:5px;stroke-linejoin:round}
.rp-dim.is-active .rp-dim-text{font-weight:800}
.rp-dim-over{text-anchor:middle}
.rp-dot{display:inline-block;width:.78em;height:.78em;border-radius:50%;border:1.5px solid #22332d;margin-right:.45em;vertical-align:-.04em}
.rp-dot-release{background:#1f6f63}.rp-dot-gate{background:#c1762b}.rp-dot-exit{background:#4a5fa8}
.rp-facts{display:grid;grid-template-columns:minmax(0,11em) minmax(0,1fr);gap:7px 18px;margin:8px 0 18px;font-size:calc(14.5px * var(--ts, 1));line-height:1.5;color:var(--ink)}
.rp-facts dt{margin:0;font-weight:600}.rp-facts dd{margin:0}
@media(max-width:560px){.rp-facts{grid-template-columns:1fr;gap:2px 0}.rp-facts dd{margin-bottom:8px}}
.rp-echo{font-weight:600;font-size:calc(14px * var(--ts, 1));line-height:1.5;color:var(--teal);min-height:1.5em}
.rp-units{margin-top:6px}
.lb-inst-form input::placeholder,.rp-pilot input::placeholder{color:#6b7a72;opacity:1}
/* Instructor page: pilot launches */
.rp-pilots{display:grid;gap:10px;margin:8px 0 4px}
.rp-pilot{border:1px solid #dfe7e1;border-radius:8px;padding:10px 12px 12px;background:#fbfcfa;display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px 14px;align-items:end;min-width:0}
.rp-pilot legend{font-weight:600;font-size:calc(14.5px * var(--ts, 1));padding:0 4px;color:var(--ink)}
.rp-pilot label{display:flex;flex-direction:column;gap:5px;font-size:calc(14px * var(--ts, 1));font-weight:600;color:var(--ink);min-width:0}
.rp-pilot input{font:inherit;font-weight:400;font-size:calc(15px * var(--ts, 1));padding:8px 10px;border:1px solid #bfcfc4;border-radius:6px;background:white;min-width:0;width:100%}
.rp-pilot button{font-size:calc(13.5px * var(--ts, 1));padding:8px 12px}
.rp-pilot-echo{grid-column:1/-1;margin:0;min-height:0}
@media(max-width:700px){.rp-pilot{grid-template-columns:1fr}}
@media print{
  .site-header,footer,.skip,.lab-footnote,.transport,.lb-file-btn,#setup-panel,#ramp-panel,#marble-panel,#whatif-panel,#key-panel,#quiz-panel{display:none!important}
  body{background:#fff}.lab{padding:0}.lab-heading{margin-bottom:10px}
  .lb-inst-panel{break-inside:avoid;margin-bottom:10px;border-color:#999}
}
/* Student page: predict, then launch */
.rp-practice{margin-bottom:18px}
.rp-practice .rp-text{padding-top:16px}.rp-practice .rp-text p{color:var(--ink)}
.rp-card{margin:8px 0 6px;max-width:560px}
.rp-practice-steps{list-style:none;margin:14px 0 4px;padding-top:0;padding-bottom:0;display:grid;gap:10px}
.rp-step{border:1px solid #dfe7e1;border-radius:8px;padding:10px 14px 4px;background:#fbfcfa}
.rp-step label{display:block;font-size:calc(15px * var(--ts, 1));line-height:1.5;color:var(--ink);margin-bottom:8px}
.rp-step label b{font:italic calc(18px * var(--ts, 1)) Georgia,serif;margin-right:8px}
.rp-step .rp-answer{flex-wrap:wrap}
.rp-step .rp-answer button{font-size:calc(13.5px * var(--ts, 1));padding:8px 14px}
.rp-step input:disabled{background:#eef1ec;color:#6b7a72}
.rp-step .lb-q-feedback{margin:8px 0 6px}
.rp-step .help{margin:6px 0 0}
.rp-target{fill:none;stroke:#22332d;stroke-width:3;stroke-linejoin:round}
.rp-target-mid{stroke:#22332d;stroke-width:2}
#practice-worked{margin-top:14px}
.rp-heights input:disabled{background:#eef2ec;color:var(--ink);opacity:1;-webkit-text-fill-color:var(--ink)}
.lb-inst-form label>span:first-child{flex:1}
