.ProseMirror{min-height:60vh;font:16px/1.7 var(--rte-font,system-ui, sans-serif);color:var(--rte-text,#1f2330);caret-color:var(--rte-caret,#3b82f6);outline:none;padding:24px 32px}.ProseMirror p{margin:0 0 1em}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3,.ProseMirror h4{margin:1.6em 0 .6em;font-weight:600;line-height:1.25}.ProseMirror h1{font-size:2em}.ProseMirror h2{font-size:1.5em}.ProseMirror h3{font-size:1.2em}.ProseMirror code{background:var(--rte-code-bg,#f4f3ec);border-radius:4px;padding:2px 6px;font-family:ui-monospace,Consolas,monospace;font-size:.92em}.ProseMirror pre{background:var(--rte-code-bg,#f4f3ec);border-radius:8px;padding:14px 18px;overflow-x:auto}.ProseMirror pre code{background:0 0;padding:0}.ProseMirror blockquote{border-left:3px solid var(--rte-quote,#d6d3dd);color:var(--rte-muted,#6b6375);margin:1em 0;padding:.2em 0 .2em 1em}.ProseMirror ul,.ProseMirror ol{padding-left:1.6em}.ProseMirror a{color:var(--rte-accent,#aa3bff);text-underline-offset:2px;text-decoration:underline}.ProseMirror hr{border:none;border-top:1px solid var(--rte-border,#e5e4e7);margin:1.6em 0}.ProseMirror-selectednode{outline-offset:4px;border-radius:2px;outline:2px solid #93c5fd}.ProseMirror .md-pending{color:var(--rte-pending,#b8b3c4)}.ProseMirror .syntax-hint{color:var(--rte-pending,#b8b3c4);-webkit-user-select:none;user-select:none;font-style:normal;font-weight:400}.ProseMirror .syntax-hidden{font-size:0}.ProseMirror .md-block-pending{color:var(--rte-block-pending,#c4c0cd)}.ProseMirror .md-block-pending-content{font-weight:600}.ProseMirror .md-live-em{font-style:italic}.ProseMirror .md-live-strong{font-weight:700}.ProseMirror .md-live-strikethrough{text-decoration:line-through}.ProseMirror sub,.ProseMirror .md-live-subscript{vertical-align:baseline;font-size:.75em;line-height:0;position:relative;top:.3em}.ProseMirror sup,.ProseMirror .md-live-superscript{vertical-align:baseline;font-size:.75em;line-height:0;position:relative;top:-.45em}.ProseMirror mark,.ProseMirror .md-live-highlight{background:var(--rte-highlight-bg,#fff1a8)}.ProseMirror .md-live-code{background:var(--rte-code-bg,#f4f3ec);border-radius:4px;padding:2px 6px;font-family:ui-monospace,Consolas,monospace;font-size:.92em}.ProseMirror .md-live-link-label{color:var(--rte-accent,#aa3bff);text-underline-offset:2px;text-decoration:underline}.ProseMirror .md-live-link-url{color:var(--rte-muted,#6b6375)}.ProseMirror .md-live-autolink-url{color:var(--rte-accent,#aa3bff);text-underline-offset:2px;text-decoration:underline}.ProseMirror .md-image-widget{max-width:100%;margin:1em auto;display:block}.ProseMirror .play-caret{vertical-align:-.15em;background:currentColor;width:1px;height:1em;margin:0;animation:1s step-end infinite play-caret-blink;display:inline-block}@keyframes play-caret-blink{50%{opacity:0}}.ProseMirror-focused .play-caret{display:none}.ProseMirror .play-selection-marker{color:currentColor}.ProseMirror-focused .play-selection-marker{display:none}:root{--bg:#f7f4ec;--surface:#fffefa;--surface-muted:#efede5;--surface-strong:#fff;--line:#ddd8cc;--line-strong:#cfc8b8;--text:#1c1b17;--muted:#625f57;--subtle:#817b6e;--accent:#4f7b7a;--accent-strong:#2f6664;--gold:#f5b719;--gold-ink:#8a6814;--fail:#b84d3f;--fail-bg:#fff0ec;--pass:#3d7250;--pass-bg:#edf6ee;--ready-bg:#eeebe3;--mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;--display:"Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;--body:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--topbar-height:4.75rem;--sidebar-width:18.5rem;--content-width:64rem;font:17px/1.65 var(--body);color:var(--text);background:var(--bg)}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;margin:0}body{color:var(--text)}a,button,textarea{font:inherit}a{color:inherit}button{border:1px solid var(--line-strong);min-height:2.35rem;color:var(--text);cursor:pointer;background:0 0;border-radius:999px;padding:.35rem .8rem;transition:border-color .16s,background-color .16s,color .16s}button:hover{border-color:var(--accent);color:var(--accent-strong)}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}pre,code{font-family:var(--mono)}pre{white-space:pre-wrap;word-break:break-word;margin:0}#app,.shell{height:100svh;min-height:0}.shell{background:var(--bg);flex-direction:column;display:flex;overflow:hidden}.topbar{z-index:10;min-height:var(--topbar-height);border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f7f4eceb;flex:none;padding:1rem 1.5rem;position:sticky;top:0}.brandrow{justify-content:space-between;align-items:center;gap:1.2rem;display:flex}.brandnav{align-items:center;gap:1.2rem;min-width:0;display:flex}.brandmark{letter-spacing:0;font-size:.95rem;font-weight:600;text-decoration:none}.topnav{align-items:center;gap:.6rem;display:flex}.navlink{color:var(--text);padding:.65rem .15rem;font-size:1rem;line-height:1;text-decoration:none;position:relative}.navlink:after{content:"";background:0 0;height:2px;position:absolute;bottom:.2rem;left:.1rem;right:.1rem}.navlink.active{color:var(--accent-strong)}.navlink.active:after{background:var(--accent)}.iconlink{width:2.25rem;height:2.25rem;color:var(--muted);border:1px solid #0000;border-radius:999px;flex:none;justify-content:center;align-items:center;text-decoration:none;transition:border-color .16s,background-color .16s,color .16s;display:inline-flex}.iconlink:hover{border-color:var(--line-strong);color:var(--accent-strong);background:#fffefab8}.iconlink svg{fill:currentColor;width:1.2rem;height:1.2rem}.docs-layout{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);width:min(100%,92rem);margin:0 auto;display:grid}.docs-sidebar{top:var(--topbar-height);height:calc(100svh - var(--topbar-height));border-right:1px solid var(--line);padding:4rem 2rem 3rem clamp(1rem,4vw,3.75rem);position:sticky;overflow:auto}.docs-sidebar-section+.docs-sidebar-section{margin-top:2rem}.docs-sidebar-kicker,.section-label{font-family:var(--mono);letter-spacing:.28em;text-transform:uppercase;color:var(--gold-ink);margin:0;font-size:.72rem;font-weight:700}.docs-sidebar-link{font-family:var(--mono);color:var(--text);border-left:3px solid #0000;margin-top:.55rem;padding:.38rem .55rem;font-size:.93rem;line-height:1.45;text-decoration:none;display:block}.docs-sidebar-link:hover{color:var(--accent-strong)}.docs-sidebar-link.active{border-color:var(--accent);color:var(--accent-strong);background:#e8e2d394}.docs-content{width:min(100%, var(--content-width));padding:4.2rem clamp(1.25rem,4vw,4rem) 6rem}.page-hero{margin-bottom:5rem}.page-hero h1{max-width:12ch;font-family:var(--display);letter-spacing:0;color:var(--gold);text-wrap:balance;margin:1.2rem 0 0;font-size:clamp(4.5rem,8vw,6rem);font-weight:300;line-height:.98}.hero-copy{max-width:45rem;color:var(--text);text-wrap:pretty;margin:1.8rem 0 0;font-size:1.12rem;line-height:1.65}.docs-section{padding:0 0 4.4rem}.docs-section+.docs-section{padding-top:.2rem}.docs-section h2,.specs-sidebar-head h2,.specs-content-head h2,.spec-case-head h3{font-family:var(--display);letter-spacing:0;color:var(--text);text-wrap:balance;margin:0;font-weight:320}.docs-section h2{border-bottom:1px solid var(--line);margin-top:.8rem;padding-bottom:.8rem;font-size:clamp(2.55rem,4vw,3.35rem);line-height:1.05}.docs-section p{max-width:70ch;color:var(--text);text-wrap:pretty;margin:.8rem 0 0}.section-copy{margin-bottom:1rem}.section-heading-row{justify-content:space-between;align-items:end;gap:1rem;display:flex}.mode-button{flex:none;margin-bottom:.75rem}.text-link{color:var(--accent-strong);text-underline-offset:.18em;align-items:center;gap:.35rem;font-weight:650;text-decoration-thickness:1px;display:inline-flex}.text-link:after{content:"->";font-family:var(--mono);font-size:.85em}.editor-card,.side-card,.projection-card,.history-card,.editor-stage-surface,.specs-sidebar,.specs-content,.spec-case-card{border:1px solid var(--line);background:0 0}.editor-card,.editor-stage-surface{background:var(--surface);min-height:0;overflow:hidden}.editor-card{width:min(100%,960px);margin-top:1.2rem}.editor-card .ProseMirror,.editor-stage-surface .ProseMirror{--rte-font:var(--body);--rte-text:var(--text);--rte-muted:var(--muted);--rte-accent:var(--accent-strong);--rte-caret:var(--accent-strong);--rte-code-bg:var(--surface-muted);--rte-border:var(--line);--rte-quote:var(--accent);--rte-pending:#9b9488;--rte-highlight-bg:#fff0a5;min-height:24rem;padding:1.35rem 1.45rem}.source-textarea{resize:none;background:var(--surface);width:100%;min-height:24rem;color:var(--text);font-family:var(--mono);border:0;outline:none;margin:0;padding:1.35rem 1.45rem;font-size:.86rem;line-height:1.75;display:block;overflow:hidden}.editor-card>[hidden]{display:none}.page-wrap{flex:1;justify-content:center;align-items:flex-start;min-height:0;padding:1.4rem 1.5rem 2rem;display:flex;overflow:auto}.page-wrap-top{padding:0}.specs-page-wrap{width:min(100%,92rem);height:100%;margin:0 auto;overflow:hidden}.hint{color:var(--muted);margin:.25rem 0 0;font-size:.88rem}.editor-grid{grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:.9rem;display:grid}.specs-shell{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);align-items:stretch;width:100%;height:100%;display:grid}.specs-sidebar{height:calc(100svh - var(--topbar-height));border-width:0 1px 0 0;max-height:none;padding:.85rem 1rem 1.5rem;overflow:auto}.specs-content{width:min(100%, var(--content-width));border:0;height:100%;padding:4rem clamp(1.25rem,4vw,4rem) 6rem;overflow:auto}.specs-sidebar-head,.specs-content-head{margin-bottom:1rem}.specs-sidebar-head h2,.specs-content-head h2{font-size:1.15rem;line-height:1}.specs-content-head h2{font-size:2.8rem}.feature-list{gap:.35rem;display:grid}.feature-item{text-align:left;width:100%;min-height:0;font-family:var(--mono);background:0 0;border:0;border-left:3px solid #0000;border-radius:0;padding:.42rem .55rem;font-size:.9rem;line-height:1.45}.feature-item.active{border-color:var(--accent);color:var(--accent-strong);background:#e8e2d394}.feature-item-title,.feature-item-copy{display:block}.feature-item-title{font-size:inherit}.feature-item-copy{color:var(--muted);font-size:.8rem}.spec-case-list{gap:1.5rem;display:grid}.spec-case-card{border-width:1px 0 0;padding:1rem 0 1.4rem}.spec-case-head{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.spec-case-head h3{font-size:2rem;line-height:1.08}.player-meta{color:var(--muted);align-items:center;gap:.65rem;font-size:.82rem;display:flex}.toolbar{align-items:center;gap:.35rem;display:flex}.toolbar-tight button,.copylink{min-height:2rem;padding:.2rem .65rem;font-size:.8rem}.editor-stage{margin-bottom:.9rem}.editor-stage-surface .ProseMirror{min-height:9rem;max-height:none}.projection-card{background:#fffefa9e;margin-bottom:.9rem}.projection-head,.history-head{color:var(--muted);font-family:var(--mono);justify-content:space-between;align-items:center;gap:1rem;padding:.65rem .85rem 0;font-size:.74rem;display:flex}.projection-output{min-height:4rem;color:var(--text);font-family:var(--mono);padding:.5rem .85rem .85rem;font-size:.78rem;line-height:1.75}.copylink{color:var(--accent-strong);background:0 0;border:0}.history-card{padding-bottom:.3rem}.history-list{gap:.35rem;margin:0;padding:.5rem .75rem .75rem;list-style:none;display:grid}.history-item{border:1px solid var(--line);background:var(--pass-bg);grid-template-columns:2.4rem minmax(0,1fr);align-items:start;gap:.7rem;padding:.45rem .55rem;display:grid}.history-item.active{border-color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}.history-item.fail{background:var(--fail-bg);border-color:#e1b9b2}.history-item.fail.active{box-shadow:inset 3px 0 0 var(--fail)}.history-index{color:var(--accent-strong);font-family:var(--mono);font-size:.78rem;line-height:1.8}.history-body{gap:.25rem;display:grid}.history-status{width:fit-content;color:var(--pass);font-family:var(--mono);background:#dcecdf;border-radius:999px;padding:.05rem .45rem;font-size:.68rem;font-weight:700}.history-item.fail .history-status{color:var(--fail);background:#f7dcd6}.history-item.ready{background:var(--ready-bg)}.history-item.ready .history-status{color:var(--muted);background:#dfdbd0}.history-value{color:var(--text);font-family:var(--mono);margin:0;font-size:.78rem;line-height:1.75}.assertion{gap:.3rem;margin:0;display:grid}.assertion div{gap:.1rem;display:grid}.assertion dt{color:var(--muted);font-family:var(--mono);text-transform:uppercase;letter-spacing:.12em;font-size:.68rem}.assertion dd{margin:0}@media (width<=980px){.docs-layout,.specs-shell{grid-template-columns:1fr}.specs-page-wrap{height:auto;overflow:auto}.specs-shell{height:auto;overflow:visible}.docs-sidebar,.specs-sidebar{border-right:0;border-bottom:1px solid var(--line);height:auto;padding:1rem;position:static}.docs-sidebar-section{align-items:center;gap:.5rem;display:flex;overflow-x:auto}.docs-sidebar-section+.docs-sidebar-section{margin-top:.55rem}.docs-sidebar-kicker{flex:none;min-width:fit-content}.docs-sidebar-link{flex:none;margin-top:0}.docs-content,.specs-content{width:100%;height:auto;padding-top:2.5rem;overflow:visible}}@media (width<=720px){:root{--topbar-height:auto;font-size:16px}.topbar{padding:.9rem 1rem}.brandrow{align-items:center;gap:.8rem}.brandnav{flex-direction:column;align-items:flex-start;gap:.8rem}.topnav{width:100%}.page-hero h1{max-width:9ch;font-size:4rem}.section-heading-row,.spec-case-head,.player-meta{flex-direction:column;align-items:flex-start}.mode-button{margin-bottom:0}.editor-card .ProseMirror,.editor-stage-surface .ProseMirror,.source-textarea{min-height:18rem;padding:1rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
