.pel-lab{--pel-ink: #213d37;--pel-green: #224f46;--pel-muted: #52665b;--pel-paper: #f8faf7;--pel-stage: #eef6f6;--pel-line: #dfe6dd;--pel-red: #b84139;--pel-blue: #276b9a;--pel-object-green: #397450;--pel-focus: #b25b10;--pel-box: #d9c6a6;color:var(--pel-ink);background:#fff;border:1px solid var(--pel-line);border-radius:18px;overflow:hidden;margin-block:24px;font:inherit}.pel-lab *,.pel-lab *:before,.pel-lab *:after{box-sizing:border-box}.pel-lab [hidden]{display:none}.pel-lab ::selection{background:#d8edb5;color:var(--pel-ink)}.pel-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px 8px}.pel-header h2{margin:0;font-size:clamp(20px,2.8vw,28px);line-height:1.35;letter-spacing:-.025em}.pel-intro{padding:0 24px 16px;margin:0;color:var(--pel-muted);line-height:1.7}.pel-workbench{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);margin:0;border-block:1px solid var(--pel-line)}.pel-stage{min-width:0;background:var(--pel-stage);padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.pel-controls{padding:24px;display:flex;flex-direction:column;gap:18px}.pel-controls label{display:grid;gap:7px;font-weight:650;line-height:1.5}.pel-controls p{margin:0;line-height:1.7;color:var(--pel-muted)}.pel-lab button,.pel-lab select{min-height:44px;font:inherit;color:var(--pel-ink);background:#fff;border:1px solid #9bab9d;border-radius:8px;padding:9px 12px;cursor:pointer}.pel-lab select{width:100%}.pel-lab input{accent-color:var(--pel-green);caret-color:var(--pel-green);width:100%;min-height:44px;cursor:pointer}.pel-lab button:hover{border-color:var(--pel-green);background:var(--pel-paper)}.pel-lab button:focus-visible,.pel-lab select:focus-visible,.pel-lab input:focus-visible{outline:3px solid var(--pel-focus);outline-offset:3px}.pel-lab button:disabled{opacity:.5;cursor:default}.pel-button-row{display:flex;flex-wrap:wrap;gap:8px}.pel-button-row button{flex:1 1 110px}.pel-task{margin:0 0 10px;font-size:clamp(19px,2.6vw,25px);text-align:center;font-weight:700}.pel-objects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}.pel-object-choice{display:flex;flex-direction:column;justify-content:end;align-items:center;gap:12px;min-height:150px;min-width:0}.pel-object-choice small{color:var(--pel-muted);font-size:12px}.pel-object-choice[aria-pressed=true]{outline:3px solid var(--pel-green);outline-offset:-3px;background:#e6f1e7}.pel-object{display:block;position:relative;flex-shrink:0;background:var(--pel-blue)}.pel-red{background:var(--pel-red)}.pel-green{background:var(--pel-object-green)}.pel-book{width:44px;height:58px;border:2px solid var(--pel-ink);border-radius:3px 7px 7px 3px}.pel-book:before{content:"";position:absolute;inset:0 auto 0 7px;border-left:2px solid #fff}.pel-book:after{content:"";position:absolute;left:14px;right:6px;bottom:5px;height:4px;background:#fff}.pel-pencil{width:12px;height:58px;margin-inline:15px;border:2px solid var(--pel-ink);border-radius:2px}.pel-pencil:after{content:"";position:absolute;bottom:-12px;left:-2px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:12px solid var(--pel-ink)}.pel-box{width:45px;height:40px;background:var(--pel-box);border:2px solid var(--pel-ink)}.pel-box:before{content:"";position:absolute;top:0;left:19px;height:16px;border-left:3px solid var(--pel-ink)}.pel-counter-scene{min-height:205px;width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 10px;align-content:center}.pel-count-piece{min-height:74px;display:flex;align-items:center;justify-content:center}.pel-count{font-size:30px;line-height:1.2;font-weight:700;font-variant-numeric:tabular-nums}.pel-position-diagram{width:100%;max-width:390px;height:auto}.pel-position-diagram text,.pel-clock text{font:18px Segoe UI,sans-serif;fill:var(--pel-ink);stroke:none}.pel-stand{fill:none;stroke:var(--pel-ink);stroke-width:5}.pel-box-back,.pel-box-front{fill:var(--pel-box);stroke:var(--pel-ink);stroke-width:2}.pel-box-detail{fill:none;stroke:var(--pel-ink);stroke-width:2}.pel-ball{fill:#d99648;stroke:var(--pel-ink);stroke-width:2}.pel-timetable-stage{gap:8px}.pel-clock{width:154px;height:154px;fill:#fff;stroke:var(--pel-ink);stroke-width:2}.pel-clock path{fill:none}.pel-clock .pel-hour-hand{stroke-width:5;stroke-linecap:round}.pel-clock .pel-minute-hand{stroke-width:3;stroke-linecap:round}.pel-clock-label{margin:0 0 8px;font-weight:650;font-variant-numeric:tabular-nums}.pel-timetable{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;line-height:1.5}.pel-timetable caption{font-size:13px;text-align:left;margin-bottom:8px}.pel-timetable th,.pel-timetable td{border-bottom:1px solid #adbfbb;padding:9px;text-align:left;overflow-wrap:anywhere}.pel-timetable td{background:#fff}.pel-clash td{background:#f8e2d0;font-weight:700}.pel-illustrated-stage{background:#fff7ef}.pel-action-scene{margin:0;width:100%;text-align:center}.pel-action-people{display:flex;justify-content:center;align-items:center;gap:8px;min-height:208px;width:100%}.pel-action-picture{display:block;width:min(100%,280px);max-width:280px;height:auto;aspect-ratio:3 / 2;object-fit:contain}.pel-action-people[data-people="2"] .pel-action-picture{width:calc((100% - 8px)/2)}.pel-action-label{margin-top:12px;font-size:18px;font-weight:650;line-height:1.5}.pel-record-picture{display:block;width:100%;max-width:280px;height:auto;aspect-ratio:3 / 2;object-fit:contain;margin:12px auto}.pel-timeline{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:18px}.pel-timeline-scene{min-width:0;text-align:center}.pel-timeline-scene+.pel-timeline-scene{border-left:1px solid #adbfbb;padding-left:18px}.pel-timeline-scene h3{margin:0;font-size:19px}.pel-timeline-scene p{font-size:14px;line-height:1.6;margin:7px 0}.pel-result{padding:20px 24px;min-height:144px}.pel-sentence{margin:0 0 10px;font-size:clamp(20px,2.3vw,26px);font-weight:650;line-height:1.5;overflow-wrap:anywhere}.pel-feedback{margin:0;color:var(--pel-muted);line-height:1.75;max-width:75ch}@media(max-width:680px){.pel-workbench{grid-template-columns:minmax(0,1fr)}.pel-header,.pel-stage,.pel-controls,.pel-result{padding:18px}.pel-intro{padding-inline:18px}.pel-controls{border-top:1px solid var(--pel-line)}.pel-object-choice{padding:10px 4px;font-size:13px}.pel-objects{gap:8px}.pel-object-choice small{font-size:11px}.pel-timeline{gap:10px}.pel-timeline-scene+.pel-timeline-scene{padding-left:10px}.pel-timeline-scene h3{font-size:17px}}@media(max-width:480px){.pel-timeline{grid-template-columns:minmax(0,1fr);gap:22px}.pel-timeline-scene+.pel-timeline-scene{padding:22px 0 0;border-left:0;border-top:1px solid #d7cbbd}.pel-action-people{min-height:185px}}@media(prefers-reduced-motion:reduce){.pel-lab *,.pel-lab *:before,.pel-lab *:after{animation:none;transition:none}}@media print{.pel-lab{break-inside:avoid;border-radius:0}.pel-header button,.pel-controls{display:none}.pel-workbench{display:block}.pel-stage{padding:12px}.pel-result{min-height:0}.pel-object-choice{border:1px solid #777}}
