:root{--ink:#283e3c;--muted:#6c766b;--paper:#f4efdf;--line:#d6d5be;--orange:#bd5739;--green:#376d62;--gold:#e1af58;--soft:#e9e5d4}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input{font:inherit}button{color:inherit;cursor:pointer;touch-action:manipulation}button{border:1px solid var(--line);border-radius:6px;background:transparent;padding:8px 13px;transition:background .15s}button:hover{background:#e5dfc9}button:disabled{opacity:.4;cursor:default}a{color:inherit}:focus-visible{outline:3px solid #227d9a;outline-offset:4px}.primary{background:var(--orange);color:#fff5df;border:1px solid var(--orange);font-weight:600}.primary:hover{background:#a0442c}header{max-width:1440px;margin:auto;padding:20px 36px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{text-decoration:none;font-family:Georgia,serif;font-size:21px;font-weight:bold;letter-spacing:-.5px}.brand span{font:10px system-ui,sans-serif;font-weight:500;letter-spacing:1.2px;text-transform:uppercase;color:var(--muted);margin-left:24px}#sound{font-size:11px;border:0;padding:8px 0}main{max-width:1440px;margin:auto;padding:24px 36px}.heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:var(--muted)}h1{font:normal clamp(32px,3.6vw,53px)/1.1 Georgia,serif;letter-spacing:-1.5px;margin:9px 0 0}h1 span{color:var(--orange)}.heading p{color:var(--muted);font-size:13px;line-height:1.6;margin:0 0 3px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 252px;gap:28px;align-items:start}.theater{min-width:0;box-shadow:0 10px 25px #334e4210;border:1px solid #c6c9b0;border-radius:10px;overflow:hidden;background:#f8f3e4}.stagebar{display:flex;justify-content:space-between;background:#2f4944;color:#e9e5cc;padding:10px 17px;font-size:9px;letter-spacing:1.5px}.stagebar i{display:inline-block;width:6px;height:6px;background:var(--gold);border-radius:100%;margin-right:7px}#phase{color:#b9c9b6}#stage{position:relative;isolation:isolate;overflow:hidden}#scene{display:block;width:100%;height:auto;user-select:none;-webkit-user-select:none;touch-action:pan-y pinch-zoom}#scene [data-piece]{cursor:grab;touch-action:none}#scene [data-piece]:active{cursor:grabbing}#scene [data-piece].selected{filter:drop-shadow(0 0 8px #ffe77e)}#scene [data-piece]:focus-visible{outline:none;filter:drop-shadow(0 0 7px #1682c4)}.zone{cursor:pointer}.zone circle{fill:#fff1b5;fill-opacity:.36;stroke:#8f663b;stroke-dasharray:5 5;stroke-width:2}.zone:hover circle,.zone:focus circle{stroke:#386d65;stroke-width:4;fill-opacity:.8}.zone text{font-size:12px;fill:#3f5447;paint-order:stroke;stroke:#f7e9c5;stroke-width:4;font-weight:700}.stage-tip{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);border-radius:30px;padding:5px 13px;background:#2f4944e8;color:#f9ebcb;font-size:11px;white-space:nowrap;pointer-events:none}#flash{position:absolute;inset:0;background:#fff9de;opacity:0;pointer-events:none}#flash.on{animation:flash .4s ease-out}@keyframes flash{0%{opacity:.95}100%{opacity:0}}.transport{display:flex;align-items:center;gap:9px;padding:13px 17px 6px;flex-wrap:wrap}.transport button{min-height:36px}#rewind{font-size:23px;line-height:1;padding:2px 12px}#play{min-width:128px}#clock{font-variant-numeric:tabular-nums;font-size:14px;margin-left:4px}#clock small{font-size:10px;color:var(--muted)}#speed{border:0;padding:4px 7px;font-size:12px}.ghost{font-size:11px;color:var(--muted);margin-left:auto;cursor:pointer;display:flex;align-items:center;gap:4px;min-height:32px}.ghost input{accent-color:var(--green)}.timeline{position:relative;margin:10px 18px 0;padding-bottom:12px;display:flex;align-items:center;gap:13px}.timeline>label{font-size:9px;letter-spacing:1.5px;color:var(--muted)}#time{width:100%;accent-color:var(--orange);cursor:ew-resize;margin:0}#eventDots{position:absolute;left:84px;right:8px;top:22px;height:5px}.event-dot{position:absolute;min-width:18px;height:18px;padding:0;transform:translate(-50%,-4px);border:0;background:none}.event-dot:before{content:'';display:block;width:5px;height:5px;margin:auto;background:#a7ac94;border-radius:100%}.event-dot.seen:before{background:var(--orange)}.event-dot:hover:before{width:9px;height:9px}.caption{font-size:12px;min-height:42px;padding:0 18px;margin:10px 0 5px;color:#526657}.request .eyebrow{display:flex;justify-content:space-between}.request .eyebrow span{color:var(--orange);letter-spacing:1px}#goals{display:flex;gap:7px;margin:13px 0}#goals button{height:35px;width:35px;position:relative;border-radius:100%;padding:0;font-size:13px}#goals button.active{background:var(--ink);border-color:var(--ink);color:var(--paper)}#goals button.done:after{content:'✓';position:absolute;bottom:-4px;right:-4px;background:var(--green);color:#fff;border:2px solid var(--paper);width:18px;height:18px;border-radius:50%;font-size:10px}h2{font:normal 25px/1.1 Georgia,serif;margin:14px 0 10px}#goalText{font-size:13px;color:#5b6c60;min-height:59px;margin:0 0 8px}#goalStatus{font-size:10px;font-weight:600;color:var(--orange);text-transform:uppercase;letter-spacing:1px}.photo{margin-top:20px;background:#fff9e9;padding:10px 10px 14px;box-shadow:1px 6px 14px #3b49291a;transform:rotate(-2deg);border:1px solid #e1dcc4}.photo svg{width:100%;height:100%;display:block}.photo #photoImage{background:#e4dfc7;aspect-ratio:1.2;display:flex;align-items:center;justify-content:center;overflow:hidden}.photo #photoImage>span{font:italic 22px/1.1 Georgia,serif;color:#929880;text-align:center}.photo p{font:italic 17px/1.2 Georgia,serif;margin:11px 0 5px;min-height:40px}.photo>span{font-size:8px;letter-spacing:1.3px;color:#81836d}.outcome{font-size:12px;color:#66735e;min-height:37px;margin-top:20px}#next{width:100%;margin-top:18px;font-size:12px}.workbench{margin-top:25px;border-top:1px solid var(--line);padding-top:16px}.workbench-title{display:flex;gap:20px;align-items:baseline;justify-content:space-between}.workbench-title h2{font-size:22px;margin:0}.workbench-title p{font-size:12px;color:var(--muted);margin:0}#pieces{display:grid;grid-template-columns:1.15fr 1.3fr .8fr;gap:18px;margin-top:15px}.piece{display:flex;gap:10px;align-items:center}.piece .piece-label{font-size:10px;font-weight:650;letter-spacing:.7px;min-width:52px}.piece .choices{display:flex;gap:3px;flex-wrap:wrap}.piece button{font-size:10px;padding:7px 8px;border:1px solid #c8cbb5;min-height:44px}.piece button[aria-pressed=true]{background:#dce3c8;border-color:#758e6d;color:#2f563e}.hint{font-size:11px;color:var(--muted);margin-bottom:0}details{margin-top:18px;border-top:1px solid var(--line);padding:12px 0;font-size:12px;color:#5e715e}summary{cursor:pointer;display:list-item}details button{font-size:11px}footer{margin-top:12px;border-top:1px solid var(--line);padding:17px 0;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:9px;letter-spacing:.2px;color:#78816b}footer div{display:flex;gap:14px;flex-shrink:0}footer button{font-size:10px;border:0;padding:8px 0;text-decoration:underline;text-underline-offset:3px}dialog{max-width:450px;width:calc(100% - 36px);border:1px solid #cac3a7;border-radius:10px;background:#f8f0dc;color:var(--ink);padding:36px;box-shadow:0 24px 90px #1b3c3b55}dialog::backdrop{background:#263e389c;backdrop-filter:blur(3px)}dialog h2{font-size:39px;margin:18px 0}dialog p{font-size:15px;line-height:1.7;color:#5c6e5e}dialog .primary{display:block;width:100%;padding:12px;margin-top:22px}dialog small{display:block;text-align:center;font-size:11px;color:#78816b;margin-top:17px}#resetDialog h2{font-size:30px}#resetDialog button{display:block;width:100%}#resetDialog .primary{margin-top:8px}[hidden]{display:none!important}@media(min-width:1500px){main{padding-top:36px}}@media(max-width:1080px){header{padding:16px 22px}main{padding:22px}.layout{grid-template-columns:minmax(0,1fr) 220px;gap:20px}#pieces{grid-template-columns:1fr;gap:12px}.piece .piece-label{min-width:72px}.workbench-title{display:block}.workbench-title p{margin-top:6px}.ghost{margin-left:0}.heading p{font-size:11px}.brand span{margin-left:13px}}@media(max-width:760px){header{padding:14px 16px}.brand{font-size:18px}.brand span{display:none}main{padding:18px 12px}.heading{display:block;margin-bottom:16px}.heading p{font-size:12px;margin:10px 0 0}.heading p br{display:none}h1{font-size:38px}.eyebrow{font-size:9px}.layout{display:flex;flex-direction:column;gap:20px}.theater{width:100%}.stagebar{font-size:7px;padding:9px 10px;letter-spacing:1px}.stage-tip{font-size:9px;padding:4px 9px;bottom:6px;max-width:95%;white-space:normal;text-align:center;width:max-content}.transport{padding:10px 10px 3px;gap:6px}#play{min-width:111px;font-size:12px}#clock{font-size:12px}#clock small{font-size:9px}.ghost{font-size:10px}.timeline{margin-left:12px;margin-right:12px}.caption{font-size:11px;min-height:40px;padding:0 12px}aside{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:0 16px;width:100%;align-items:start}.request{grid-column:1}.request h2{font-size:22px}.photo{grid-column:2;grid-row:1 / span 2;margin-top:3px;padding:7px}.photo p{font-size:13px;min-height:30px}.photo>span{font-size:6px}.photo #photoImage>span{font-size:17px}#goalText{font-size:12px;min-height:0}#goals{margin:9px 0}#next{grid-column:1 / -1;margin-top:12px}.outcome{grid-column:1;font-size:11px;margin-top:8px;margin-bottom:0;min-height:0}.workbench{margin-top:20px}.workbench-title h2{font-size:21px}footer{align-items:start;flex-direction:column}#stage svg{min-height:0}.photo p{margin:8px 0 4px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.photo{transform:none}}

#time{min-height:24px}.photo #photoImage{position:relative}.photo #photoImage>svg{position:absolute;inset:0}

.handle{fill:none;stroke:#bf8a37;stroke-width:2;stroke-dasharray:4 5;opacity:0;pointer-events:none}.editing .handle{opacity:.7}
