/* Tablet baseline: situation above three full picture choices, no idle footer. */
.student #expedition.space-active:has(.dispatch-activity:not(.dispatch-complete)){grid-template-rows:auto minmax(0,1fr)}
.student .space-active:has(.dispatch-activity:not(.dispatch-complete))>.activity-heading,.student .space-active:has(.dispatch-activity:not(.dispatch-complete))>.footer{display:none}
.student .space-active .workspace:has(>.dispatch-activity){grid-template-columns:minmax(0,1fr);min-height:0}
.student .dispatch-activity{height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,.85fr) minmax(0,1.15fr);gap:14px}
.student .dispatch-situation{margin:0;min-width:0;min-height:0;background:#fffaf0;border:1px solid #e0d5c3;border-radius:22px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr)}
.student .dispatch-situation-art{container-type:size;display:grid;place-items:center;min-height:0;overflow:hidden;background:#e4edf1}
.student .dispatch-art{position:relative;display:block;width:100%;overflow:hidden;isolation:isolate;flex:none}
.student .dispatch-art>img{position:absolute;height:auto;max-width:none;display:block}
.student .dispatch-situation .dispatch-art{width:min(100cqw,calc(100cqh * 619 / 388));align-self:center}
.student .dispatch-situation figcaption{padding:16px 20px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:16px;min-height:0}
.student .dispatch-situation figcaption p{margin:0;font-size:28px;font-weight:700;line-height:1.3;word-break:keep-all}
.student .dispatch-progress{color:#8464a9;font-size:20px;white-space:nowrap}
.student .dispatch-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-height:0;align-items:center}
.student .dispatch-options>.dispatch-choice{display:flex;flex-direction:column;justify-content:center;gap:12px;min-height:0;min-width:0;width:100%;height:auto;margin:0;padding:10px;text-align:left;background:white;border:3px solid #b7a1d0;border-radius:20px;color:#38234d;box-shadow:0 4px 0 #d8cce6;overflow:hidden}
.student .dispatch-choice:hover{border-color:#7850a8;background:#f7f0ff}
.student .dispatch-choice:focus-visible{outline:4px solid #c38b22;outline-offset:2px}
.student .dispatch-label{font-size:28px;font-weight:800;line-height:1.25;word-break:keep-all}
.student .dispatch-arrow{display:none}
.student .dispatch-choice .dispatch-art{border-radius:12px}
.student .dispatch-retry{font-size:28px;line-height:1.3;margin:0;word-break:keep-all;color:#785126}
.student .dispatch-activity:has(.dispatch-retry){grid-template-rows:minmax(0,.65fr) auto minmax(0,1.35fr)}
.student .dispatch-activity.dispatch-complete{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr);align-items:center}
.student .dispatch-complete>article{background:#fffaf0;border:2px solid #b1cbb8;border-radius:20px;padding:14px;min-height:0;overflow:hidden}
.student .dispatch-complete p{font-size:28px;line-height:1.35;margin:12px 0 6px}
.student .dispatch-complete strong{font-size:28px;color:#236d4b}
@media(orientation:portrait){.student .dispatch-activity{grid-template-rows:minmax(0,1fr) minmax(0,1fr)}.student .dispatch-situation{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}.student .dispatch-situation figcaption{flex-direction:row;justify-content:flex-start;align-items:center}.student .dispatch-options{gap:10px}.student .dispatch-activity:has(.dispatch-retry){grid-template-rows:minmax(0,1fr) auto minmax(0,1fr)}.student .dispatch-activity.dispatch-complete{grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr))}.student .dispatch-complete>article{display:grid;grid-template-columns:42% minmax(0,1fr);column-gap:20px;align-items:center}.student .dispatch-complete .dispatch-art{grid-row:1/3}.student .dispatch-complete strong{grid-column:2}.student .dispatch-complete p{margin:0}}
