:root{--paper:#fff;--ink:#1f2937;--muted:#4b5563;--accent:#1a73e8;--accent-light:#e8f0fe;--soft:#f8fafc;--line:#e5e7eb;--limit:#b45309;--limit-bg:#fef3c7;--r-background-color:var(--paper);--r-main-color:var(--ink);--r-link-color:var(--accent);--r-main-font:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--r-heading-font:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--r-main-font-size:26px;--r-heading-text-transform:none;--r-heading-color:var(--ink);--r-heading-font-weight:650}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);font-family:var(--r-main-font);margin:0}button,input,textarea{font:inherit}button,.button{border:1px solid var(--line);color:var(--ink);background:var(--paper);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;padding:.45em .8em;font-size:.85em;text-decoration:none;display:inline-flex}button:hover,.button:hover{border-color:var(--accent);color:var(--accent)}button.button-sm,.button.button-sm{padding:.3em .6em;font-size:.7em}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}a{color:var(--accent);text-underline-offset:.2em}[hidden]{display:none!important}.reveal .slides{text-align:left}.reveal .slides section.slide-section{text-align:left;flex-direction:column;justify-content:space-between;height:900px;padding:40px 60px 60px;display:flex!important}.slide-body{flex:1;gap:16px;min-height:0;display:flex}.slide-content{flex:1 1 0;min-width:0;padding-right:10px;overflow-y:auto}.slide-body.has-demo .slide-content{flex:0 0 30%;font-size:.9em}.slide-body.has-demo .interactive-demo-container{flex-direction:column;flex:1 1 0;min-width:0;margin-top:0;display:flex}.slide-body.has-demo .interactive-demo-container iframe{flex:1;height:auto;min-height:0}.slide-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;margin-top:16px;padding-top:12px;font-size:.65em;display:flex}.reveal h1{letter-spacing:-.04em;margin:.6em 0 .4em;font-size:2.3em;line-height:1.1}.reveal h2{letter-spacing:-.03em;color:var(--accent);margin:.4em 0 .5em;font-size:1.6em;line-height:1.2}.reveal h3{color:var(--ink);margin:.8em 0 .4em;font-size:1.15em;font-weight:600}.reveal h4{color:var(--muted);margin:.6em 0 .3em;font-size:.95em;font-weight:600}.reveal p{margin:.4em 0;line-height:1.5}.reveal ul,.reveal ol{margin:.4em 0;padding-left:1.2em}.reveal li{margin-bottom:.35em;line-height:1.45}.reveal pre{box-shadow:none;background:var(--soft);border:1px solid var(--line);white-space:pre-wrap;border-radius:6px;width:100%;margin:16px 0;padding:16px;font-size:.7em;line-height:1.5}.reveal code{background:var(--soft);border:1px solid var(--line);border-radius:4px;padding:.1em .3em;font-family:monospace;font-size:.85em}.reveal pre code{background:0 0;border:none;padding:0}.status-badge{vertical-align:middle;border-radius:4px;margin-right:.3em;padding:.15em .5em;font-family:monospace;font-size:.7em;font-weight:600;display:inline-block}.status-badge.status-PROPOSED{color:#0369a1;background:#e0f2fe}.status-badge.status-BLOCKED{color:#b91c1c;background:#fee2e2}.status-badge.status-RETRIEVAL-ONLY{color:#b45309;background:#fef3c7}.status-badge.status-OFFLINE{color:#4b5563;background:#f3f4f6}.status-badge.status-NOT\ EXECUTED{color:#b91c1c;background:#fee2e2}.status-badge.status-PLAN\ ONLY{color:#4338ca;background:#e0e7ff}.tablewrap{margin:16px 0;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.8em}th,td{border:1px solid var(--line);text-align:left;vertical-align:top;padding:8px 12px}section[data-trace] table{font-size:.62em}section[data-trace] td:first-child{white-space:nowrap}th{background:var(--soft);color:var(--muted);font-weight:600}tr:nth-child(2n){background:#fafafa}.interactive-demo-container{border:1px solid var(--line);background:var(--soft);border-radius:8px;margin-top:24px;overflow:hidden}.demo-embed-bar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;padding:10px 16px;display:flex}.demo-embed-bar .badge{color:var(--accent);font-size:.75em;font-weight:600}.interactive-demo-container iframe{border:none;width:100%;height:420px;display:block}.replay-page{padding:20px 24px;font-size:15px;line-height:1.5}.replay-shell{max-width:1600px;margin:auto}.replay-header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:16px;display:flex}.replay-header h1{margin:0;font-size:1.25em}.replay-header p{color:var(--muted);margin:0;font-size:.9em}.replay-grid{grid-template-columns:minmax(0,1fr) 280px;gap:22px;display:grid}.terminal-column{min-width:0}#player{background:var(--soft);border-radius:8px;width:100%;height:min(68vh,780px);min-height:160px;overflow:hidden}.embedded #player{height:350px}.player-controls{flex-wrap:wrap;align-items:center;gap:7px;margin:12px 0;display:flex}#clock{color:var(--muted);font-variant-numeric:tabular-nums;margin-left:auto}#scrub{width:100%;accent-color:var(--accent);display:block}.annotation-rail{border-left:1px solid var(--line);min-width:0;padding-left:20px}.annotation-rail h2{margin:0 0 12px;font-size:1em}#active-note{background:var(--soft);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;margin-bottom:18px;padding:16px}#active-note h3{margin:0 0 8px;font-size:1em}#active-note p{margin:0}#cue-list{gap:8px;display:grid}.cue{grid-template-columns:1fr auto;align-items:start;gap:6px;display:grid}.cue>button:first-child{text-align:left}.cue-time{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.8em;display:block}.status{color:var(--muted);overflow-wrap:anywhere;margin:8px 0}.status.error{color:#a12c28}.editor{border-top:1px solid var(--line);margin-top:22px;padding-top:16px}.editor summary{cursor:pointer;color:var(--accent);font-weight:600}.editor p{color:var(--muted)}.editor form{gap:12px;max-width:850px;display:grid}.editor label{gap:5px;font-size:.9em;display:grid}.editor input,.editor textarea{border:1px solid var(--line);background:var(--paper);width:100%;min-width:0;color:var(--ink);border-radius:5px;padding:9px}.editor input[type=checkbox]{width:auto}.editor .checkbox{align-items:center;gap:10px;display:flex}.editor textarea{min-height:90px}.editor-fields{grid-template-columns:1fr 1fr;gap:14px;display:grid}.editor-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;display:flex}.editor-actions label{display:inline-block}#file-import{max-width:300px}.embedded{padding:8px 12px;font-size:13px}.embedded .replay-header{margin-bottom:6px}.embedded .replay-header h1{font-size:.95em}.embedded .editor,.embedded .back-link{display:none}.embedded .replay-grid{grid-template-columns:minmax(0,1fr);gap:12px}.embedded .annotation-rail{border-left:0;border-top:1px solid var(--line);max-height:90px;padding-top:8px;padding-left:0;overflow-y:auto}.embedded .replay-header,.embedded #load-status,.embedded label[for=scrub]{display:none}.embedded .player-controls{margin:6px 0}.embedded #active-note{margin-bottom:6px;padding:8px}.embedded #cue-list,.embedded .annotation-rail h2{display:none}.embedded,.embedded .terminal-column{padding:0}.embedded{height:100%;overflow:hidden}html:has(.embedded){height:100%;overflow:hidden}.embedded .replay-shell{flex-direction:column;height:100%;display:flex}.embedded .replay-grid{flex-direction:column;flex:1;gap:6px;min-height:0;display:flex}.embedded .terminal-column{flex-direction:column;flex:1;min-height:0;display:flex}.embedded #player{flex:1;height:auto;min-height:0}.embedded #scrub{margin:0}.embedded .annotation-rail{flex:none}.embedded #clock{margin-left:auto;padding-right:4px}
