.pe{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);grid-template-areas:"tabs panel" "compare compare" "tech tech";gap:18px 26px;color:var(--ink)}.pe-tabs{grid-area:tabs;display:grid;align-content:start;gap:10px}.pe-tab{display:grid;justify-items:start;gap:6px;min-height:44px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff;color:var(--ink);text-align:left}.pe-tab--he{border:1.5px solid var(--magenta)}.pe-tab--tee{border-style:dashed;border-color:var(--ink)}.pe-tab[aria-selected=true]{background:var(--soft);box-shadow:inset 4px 0 0 var(--magenta)}.pe-tab:focus-visible,.pe-control:focus-visible,.pe-dot:focus-visible,.pe-tech summary:focus-visible,.pe-dialog__close:focus-visible,.protect-trigger:focus-visible{outline:2px solid var(--magenta);outline-offset:2px}.pe-tab__name{font:400 22px/1.1 "Instrument Serif",serif}.pe-tab__room{color:var(--muted);font-size:12px}.pe-chip{padding:2px 9px;border:1px solid var(--line);border-radius:var(--radius-sm);font-size:10px;font-weight:500;letter-spacing:.03em;line-height:1.5}.pe-chip--he{border-color:var(--magenta);background:var(--magenta);color:#fff}.pe-chip--tee{border-style:solid;border-color:var(--ink)}.pe-panel{grid-area:panel;display:grid;align-content:start;gap:12px;min-width:0}.pe-summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;color:var(--ink);font:400 clamp(24px,2.6vw,30px) / 1.15 "Instrument Serif",serif}.pe-stage{border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff;overflow:hidden}.pe-scene{display:block;width:100%;height:auto}.pe-caption{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;min-height:3.4em;color:var(--ink);font-size:15px;line-height:1.55}.pe-step{color:var(--magenta);font-size:11px;font-variant-numeric:tabular-nums;letter-spacing:.06em}.pe-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.pe-control{min-height:40px;padding:8px 16px;border:1px solid var(--ink);border-radius:var(--radius-sm);background:var(--ink);color:#fff;font-size:12px}.pe-control--quiet{background:#fff;color:var(--ink);border-color:var(--line)}.pe-dots{display:flex;flex:1 1 140px;gap:6px}.pe-dot{position:relative;flex:1;height:32px}.pe-dot:before,.pe-dot__fill{content:"";position:absolute;left:0;top:14px;height:4px;border-radius:2px}.pe-dot:before{right:0;background:var(--line)}.pe-dot__fill{width:0;background:var(--magenta)}.pe-dot.is-done .pe-dot__fill,.pe-dot.is-current .pe-dot__fill{width:100%}[data-pe-playing=true] .pe-dot.is-current .pe-dot__fill{width:0;animation:pe-fill linear forwards}@keyframes pe-fill{to{width:100%}}.pe-compare{grid-area:compare;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;padding-top:16px;border-top:1px solid var(--line);color:var(--ink);font-size:15px}.pe-tech{grid-area:tech;border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff}.pe-tech summary{min-height:44px;padding:12px 16px;cursor:pointer;font-size:13px}.pe-tech p{padding:0 16px 12px;color:var(--muted);font-size:12px;line-height:1.6}.pe-limit{padding:10px 0 0;border-top:1px solid var(--line);color:var(--ink);font-size:13px;line-height:1.6}.pe-frames{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}.pe-frames--4{grid-template-columns:repeat(2,minmax(0,1fr))}.pe-frame{display:grid;align-content:start;gap:8px}.pe-frame .pe-scene{border:1px solid var(--line);border-radius:var(--radius-sm)}.pe-frame .pe-caption{min-height:0;font-size:13px}.pe-scene,.pe-ink{color:var(--ink)}.pe-mag{color:var(--magenta)}.pe-scene .pe-stroke{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.pe-scene .pe-fill{fill:currentColor;stroke:none}.pe-scene .pe-mag .pe-fill{fill:var(--magenta)}.pe-scene circle:not([class]),.pe-scene .pe-ink>path:not([class]){fill:none;stroke:var(--ink);stroke-width:2}.pe-paper,.pe-box{fill:#fff;stroke:var(--ink);stroke-width:2}.pe-ink-thin{fill:none;stroke:var(--ink);stroke-width:1.4}.pe-port{fill:var(--soft);stroke:var(--ink);stroke-width:1.6}.pe-glove{fill:none;stroke:#615f6059;stroke-width:8;stroke-linecap:round}.pe-glass{fill:#efefefb3;stroke:var(--ink);stroke-width:1.2}.pe-shine{fill:none;stroke:#fff;stroke-width:3}.pe-sight{fill:none;stroke:var(--magenta);stroke-width:1.6;stroke-dasharray:3 4}.pe-sight--blocked{stroke:var(--ink)}.pe-room{fill:#fff;stroke:var(--magenta);stroke-width:3}.pe-door{fill:var(--soft);stroke:var(--ink);stroke-width:1.6}.pe-building{stroke-width:1.6}.pe-path{fill:none;stroke:var(--line);stroke-width:2;stroke-dasharray:4 6}.pe-label{fill:var(--ink);font:400 12px Inter,sans-serif}.pe-label--small{font-size:11px}.pe-travel{animation:pe-travel 1.6s cubic-bezier(.4,.1,.3,1) both}.pe-reveal{animation:pe-fade .8s ease .4s both}.pe-reveal--late{animation-delay:1.4s}.pe-drop{animation:pe-drop 2.2s ease-in both}@keyframes pe-travel{0%{transform:translate(var(--from))}}@keyframes pe-fade{0%{opacity:0}}@keyframes pe-drop{0%{opacity:0;transform:translateY(-16px)}25%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(70px)}}@media(prefers-reduced-motion:reduce){.pe-travel,.pe-reveal,.pe-drop,.pe-dot__fill{animation:none!important}}.pe-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.pe-dialog{width:min(1080px,calc(100vw - 32px));max-width:none;max-height:calc(100vh - 32px);padding:0;border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff;color:var(--ink)}.pe-dialog::backdrop{background:#615f6073}.pe-dialog__head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-bottom:1px solid var(--line);background:#fff}.pe-dialog__head h2{font:400 30px/1.1 "Instrument Serif",serif}.pe-dialog__close{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;color:var(--ink);font-size:22px;line-height:1}.pe-dialog__body{padding:22px 24px 26px}html.pe-locked{overflow:hidden}.protect-trigger{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 0;border-bottom:1px solid var(--line);color:var(--ink);font-size:13px}.protect-trigger:after{content:"→";color:var(--magenta)}.protect-trigger:hover{border-color:var(--magenta)}@media(max-width:900px){.pe{grid-template-columns:minmax(0,1fr);grid-template-areas:"tabs" "panel" "compare" "tech"}.pe-frames,.pe-frames--4{grid-template-columns:minmax(0,1fr)}}@media(max-width:520px){.pe-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.pe-dialog__head{padding:12px 14px}.pe-dialog__head h2{font-size:24px}.pe-dialog__body{padding:16px 14px 20px}.pe-tab{padding:10px 12px}.pe-tab__name{font-size:19px}}
