:root{color-scheme:dark;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#d9dfd4;background:#000;--sidebar-width:264px;--sage:#a6bba4}*{box-sizing:border-box}html,body{width:100%;height:100%;height:100dvh;margin:0;overflow:hidden}button,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}button:focus-visible,select:focus-visible{outline:2px solid var(--sage);outline-offset:3px}[hidden]{display:none!important}button{border:0;background:none}svg{width:16px;height:16px;flex:none}.presentation-viewer{display:flex;width:100%;height:100dvh;overflow:hidden;background:#000}#sidebar{display:flex;flex:none;flex-direction:column;width:min(var(--sidebar-width),65vw);max-width:65vw;height:100dvh;min-width:0;background:#1b1e1b;border-right:1px solid #323932}#viewer.sidebar-collapsed #sidebar{display:none}.sidebar-heading{display:flex;align-items:center;gap:12px;flex:none;padding:17px 15px 15px;border-bottom:1px solid #30372e}.sidebar-heading h1{flex:1;min-width:0;margin:0;font-size:16px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border-radius:4px;color:#a2b097;background:#252c23;font-size:18px;line-height:1}.icon-button:hover{background:#34402e;color:#dfe8d8}#section-tree{flex:1;min-height:0;padding:13px 8px;overflow:auto}.tree-row{display:flex;align-items:center;gap:7px;min-width:0;width:100%;min-height:36px;margin:1px 0;padding:7px 7px 7px calc(7px + var(--depth,0)*14px);border-radius:4px;text-align:left;color:#9ba992;font-size:13px;line-height:1.5}.tree-row:hover{background:#272f24;color:#d5dfce}.tree-row.active-folder{background:#252e24;color:#c6d4bd}.tree-row.active{background:#303e2b;color:#e0ecd7;box-shadow:inset 2px 0 var(--sage)}.tree-row.visited .visit-mark{opacity:1}.tree-row .row-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-row .visit-mark{font-size:12px;color:#94ab82;opacity:0;flex:none}.tree-chevron{display:grid;place-items:center;flex:none;width:14px;min-height:20px;padding:0;color:#7b8f6c;font-size:13px}.tree-chevron.expanded{transform:rotate(90deg)}.tree-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;color:#879b79}.tree-row.active .tree-icon{color:#b8d2a8}.sidebar-footer{display:flex;flex:none;flex-direction:column;gap:5px;padding:12px;border-top:1px solid #30382d}.sidebar-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:35px;padding:7px 9px;border-radius:4px;font-size:13px;line-height:1.5;color:#9eaf91;text-align:left}.sidebar-button:hover{background:#293326;color:#dce8d4}kbd{font:12px ui-monospace,SFMono-Regular,monospace;color:#7f976e}#stage{position:relative;flex:1;min-width:0;height:100dvh;overflow:hidden;background:#000;outline:none}#video-host,#workshop-host,.workshop-surface{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;background:#000}.presentation-video,#stage-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;background:#000;border:0}.workshop-surface iframe{display:block;width:100%;height:100%;border:0;background:#171819}#workshop-host:not(.is-interacting) iframe{pointer-events:none}.sidebar-toggle{display:none;position:fixed;top:16px;left:16px;z-index:20;width:36px;height:36px;border:1px solid #3b4535;background:#1d251be8}#viewer.sidebar-collapsed .sidebar-toggle{display:inline-flex}.media-status{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:12;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;max-width:calc(100% - 40px);padding:10px 14px;border-radius:4px;background:#000b;color:#b2bea9;text-align:center;font-size:14px;line-height:1.7}.media-status button{padding:4px 7px;border-radius:3px;background:#33452a;color:#ccdfbe;font-size:14px}.workshop-controls,.manual-controls{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);z-index:10;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;max-width:calc(100% - 32px);padding:6px;border:1px solid #3b4b31;border-radius:6px;background:#1b2518eb}.workshop-controls button,.manual-controls button{min-height:31px;padding:6px 8px;border-radius:3px;color:#bfd1b2;font-size:13px;line-height:1.5;white-space:nowrap}.workshop-controls button:hover,.manual-controls button:hover{background:#34492a;color:#e4f0db}.workshop-controls button[aria-pressed=true]{background:#3c5430;color:#e5f2dc}.workshop-controls select{max-width:185px;min-height:31px;padding:5px 7px;background:#1c2b15;color:#b6cda7;border:1px solid #405634;border-radius:3px;font-size:13px}.workshop-hint{position:absolute;right:16px;top:16px;z-index:9;max-width:calc(100% - 80px);padding:7px 10px;background:#10170dcc;border-radius:3px;color:#a8ba9a;font-size:12px;line-height:1.65;pointer-events:none}#toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);z-index:40;max-width:calc(100% - 32px);padding:10px 14px;background:#2e4025;color:#d0e4c2;border:1px solid #4f6d3b;border-radius:5px;font-size:13px;line-height:1.7;pointer-events:none}dialog{max-width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:24px;border:1px solid #465b38;border-radius:7px;background:#1e2a17;color:#c4d8b6;overflow:auto}dialog::backdrop{background:#000b}.help-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.help-heading h2{margin:0;font-size:20px;line-height:1.4;font-weight:500}.help-heading .icon-button{width:27px;height:27px}dl{margin:19px 0 0}dl>div{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:9px 0;border-top:1px solid #35492a;font-size:13px;line-height:1.6}dt{color:#9cb987}dd{margin:0;text-align:right;color:#c2d7b4;font-size:12px}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-thumb{background:#4b5c40;border-radius:5px}@media(max-width:650px){:root{--sidebar-width:240px}.sidebar-heading{padding:14px 11px}.sidebar-heading h1{font-size:14px}.tree-row{font-size:12px;padding-left:calc(6px + var(--depth,0)*11px);gap:6px}.sidebar-footer{padding:10px}.sidebar-button{font-size:12px;padding:7px}.workshop-controls,.manual-controls{bottom:10px;max-width:calc(100% - 20px);padding:5px}.workshop-controls button,.manual-controls button{font-size:13px;padding:6px}.workshop-controls select{max-width:140px;font-size:13px}.workshop-hint{top:12px;right:12px;font-size:12px}.media-status{font-size:14px;max-width:calc(100% - 28px)}dl>div{gap:16px;align-items:flex-start}dialog{padding:21px 18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
:is(.tree-row .row-title){text-align:left;font:inherit;color:inherit;padding:0}

#stage[data-transition=fade] :is(.presentation-video,.workshop-surface,#stage-image):not([hidden]){animation:viewer-reveal .16s ease-out}
@keyframes viewer-reveal{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){#stage[data-transition=fade] :is(.presentation-video,.workshop-surface,#stage-image):not([hidden]){animation:none}}
