html{font-family:Georgia,Times New Roman,serif;background:#fff;color:#000}body{margin:0}#margeux-root{max-width:42rem;margin:3rem auto;padding:0 1rem}.page{border:1px solid #000;padding:1.5rem}label,input,button,select{display:block;margin:.75rem 0;font:inherit}input,button,select{border:1px solid #000;border-radius:0;background:#fff;color:#000;padding:.35rem .5rem}button{cursor:pointer}.margeux-error{color:#900;white-space:pre-wrap}.margeux-error pre{margin:0 0 .5rem;white-space:pre-wrap}.margeux-error button{display:block;margin:.25rem 0}.margeux-terminal{display:block;max-width:100%;height:auto;margin:0;padding:0;overflow:auto;border:2px solid #000;background:#000;color:#fff;white-space:pre;font:16px/1.2 ui-monospace,Cascadia Mono,Liberation Mono,Courier New,monospace;font-variant-ligatures:none;tab-size:4;-webkit-user-select:text;user-select:text;touch-action:none;image-rendering:pixelated;outline:none;position:relative}.margeux-terminal[data-margeux-playhead=true]:after{position:absolute;top:calc(var(--margeux-playhead-row) * 1lh);left:1ch;width:88ch;height:1lh;box-sizing:border-box;border:1px solid #fff;background:#ffffff29;content:"";pointer-events:none}.margeux-terminal[data-margeux-cursor-style=block]:focus:before{position:absolute;top:calc(var(--margeux-cursor-y) * 1lh);left:calc(var(--margeux-cursor-x) * 1ch);width:1ch;height:1lh;background:currentColor;content:"";opacity:.65;pointer-events:none;animation:margeux-terminal-cursor 1.04s steps(1,end) infinite}@keyframes margeux-terminal-cursor{50%{opacity:0}}@media(prefers-reduced-motion:reduce){.margeux-terminal[data-margeux-cursor-style=block]:focus:before{animation:none}}.margeux-canvas{display:block;max-width:100%;border:2px solid #000;background:#000;image-rendering:pixelated;outline:none;touch-action:none}.margeux-canvas:focus{border-color:#d4b75a}.margeux-canvas.is-disabled,.margeux-canvas.is-resolving{cursor:wait}body.standalone-game{min-height:100vh;background:#11140f}body.standalone-game #margeux-root{width:fit-content;max-width:calc(100% - 2rem);margin:0 auto;padding:1rem}body.music-page #margeux-root,body.guitar-page #margeux-root,body.bass-page #margeux-root,body.piano-page #margeux-root{max-width:none;margin:0;padding:0}body.typebook-page #margeux-root{max-width:none;min-height:100vh;margin:0;padding:0}body.typebook-page{background:#11140f;overflow:hidden}.margeux-terminal:focus{border-color:#080}.native-studio{width:100%;max-width:none;margin:0}body.native-studio-page #margeux-root{max-width:none;margin:0;padding:1rem}body.native-studio-page .margeux-runtime-history,body.native-studio-page .margeux-runtime-timeline,body.native-studio-page .margeux-runtime-checkpoints{display:none}@media print{@page{size:letter portrait;margin:.5in}body.native-studio-page #margeux-root{margin:0;padding:0}body.native-studio-page .native-studio-header,body.native-studio-page .native-studio-source,body.native-studio-page .native-window-titlebar,body.native-studio-page .native-studio-taskbar{display:none}body.native-studio-page .native-studio,body.native-studio-page .native-studio-grid{display:block;max-width:none;margin:0}body.native-studio-page .native-studio-output,body.native-studio-page .margeux-runtime-preview{position:static;width:auto;height:auto;border:0;padding:0}}.native-studio-header,.native-studio-actions{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-start;gap:1rem}.native-studio-header{border-bottom:1px solid #000}.native-studio-header h1{margin-right:auto}.native-studio-actions button,.native-studio-actions select,.native-studio-actions input{margin:0}.native-studio-actions input{min-width:min(32rem,70vw);flex:1}.native-studio-status{min-height:1.25rem;margin:0;border-bottom:1px solid #000;padding:.35rem 0}.native-studio-proposal{border:1px solid #000;margin:.75rem 0;padding:.75rem}.native-studio-proposal p,.native-studio-proposal ul{margin-top:0}.native-studio-proposal button{display:inline-block;margin:0 .5rem 0 0}.margeux-code-diff.native-studio-proposal-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.75rem;margin-bottom:.75rem}.margeux-code-diff-panel{min-width:0;border:1px solid #000}.margeux-code-diff-panel h3{margin:0;border-bottom:1px solid #000;padding:.25rem .4rem;font-size:1rem}.margeux-code-diff-editor .cm-editor,.margeux-code-diff-editor .cm-scroller{min-height:14rem}.margeux-code-diff-editor .cm-scroller{max-height:22rem}.cm-margeux-diff-removed{background:#ffd8d8;text-decoration:line-through}.cm-margeux-diff-added{background:#d8f2d8}.cm-margeux-diff-empty{box-shadow:inset 4px 0 currentColor}.native-studio-grid{position:relative;min-height:max(40rem,calc(100vh - 6rem));overflow:hidden;border:1px solid #000;background:#d8d8d8}.native-studio-window{position:absolute;box-sizing:border-box;min-width:20rem;min-height:18rem;max-width:100%;max-height:calc(100% - 3rem);overflow:auto;resize:both;background:#e9e9e9;box-shadow:3px 3px #777}.native-studio-window.is-minimized{display:none}.native-studio-source{top:.75rem;left:.75rem;width:calc(56% - 1rem);height:calc(100% - 4.5rem)}.native-studio-output{top:.75rem;right:.75rem;width:calc(44% - 1rem);height:calc(100% - 4.5rem)}.native-window-titlebar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin:-.75rem -.75rem .75rem;border-bottom:1px solid #000;padding:.35rem .5rem;background:#eee;cursor:move;touch-action:none;-webkit-user-select:none;user-select:none}.native-window-titlebar h2,.native-window-titlebar button{margin:0}.native-window-titlebar h2{overflow:hidden;font-size:1.05rem;text-overflow:ellipsis;white-space:nowrap}.native-window-titlebar button{display:grid;width:1.6rem;height:1.35rem;flex:0 0 auto;place-items:center;padding:0 0 .3rem;font:700 1rem/1 sans-serif;cursor:pointer}.native-studio-taskbar{position:absolute;right:0;bottom:0;left:0;z-index:100;display:flex;gap:.4rem;min-height:2.5rem;border-top:1px solid #000;padding:.3rem;background:#bbb;overflow-x:auto}.native-studio-taskbar button{margin:0;white-space:nowrap}.native-studio-taskbar button.active{border-style:inset;background:#ddd}.native-window-controls{display:flex;flex:0 0 auto;gap:.2rem}.native-studio-source,.native-studio-output,.margeux-runtime-preview{border:1px solid #000;padding:.75rem}.margeux-code-editor{box-sizing:border-box;display:block;width:100%;height:calc(100% - 2.75rem);min-height:20rem;border:1px solid #000;background:#fff;overflow:hidden;resize:none}.margeux-code-editor>textarea{box-sizing:border-box;display:block;width:100%;height:100%;min-height:0;margin:0;border:0;padding:.4rem;resize:none;font:15px/1.45 Courier New,monospace;color:#000;background:#fff}.margeux-code-editor .cm-editor{height:100%;min-height:0;font:15px/1.45 Courier New,monospace}.margeux-code-editor .cm-scroller{height:100%;min-height:0;max-height:none;overflow:auto}.margeux-code-editor .cm-focused{outline:2px solid #080;outline-offset:-2px}.margeux-hover,.margeux-signature{background:#ffffe1;border:1px solid #000;color:#000;display:grid;gap:.2rem;max-width:38rem;padding:.4rem .55rem}.margeux-hover small,.margeux-signature small{color:#444}.margeux-symbol-palette{background:#ffffe1;border:1px solid #000;color:#000;min-width:min(30rem,80vw);padding:.3rem}.margeux-symbol-palette input{box-sizing:border-box;font:inherit;width:100%}.margeux-call-hierarchy>strong{display:block;padding:.2rem .25rem .4rem}.margeux-symbol-results{display:grid;max-height:18rem;overflow:auto}.margeux-symbol-results button{background:transparent;border:0;color:inherit;display:flex;font:inherit;gap:.7rem;justify-content:space-between;padding:.25rem;text-align:left}.margeux-symbol-results button.active,.margeux-symbol-results button:hover{background:navy;color:#fff}.cm-semantic-namespace{color:#505050}.cm-semantic-type,.cm-semantic-struct,.cm-semantic-enum,.cm-semantic-interface{color:#006060}.cm-semantic-property{color:#804000}.cm-semantic-enumMember,.cm-semantic-function,.cm-semantic-method,.cm-semantic-macro{color:#600080}.cm-semantic-keyword{color:navy;font-weight:700}.cm-semantic-operator{color:#000;font-weight:700}.cm-semantic-declaration{font-weight:700}.cm-margeux-reference{background:#fff2a8}.cm-margeux-definition{background:#d8edb3;text-decoration:underline}.cm-margeux-module-link{cursor:pointer;text-decoration:underline;text-decoration-style:dotted}.margeux-runtime-history{display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem;border-bottom:1px solid #000;padding-bottom:.5rem;margin-bottom:.75rem}.margeux-runtime-timeline{border-bottom:1px solid #000;margin:-.25rem 0 .75rem;padding-bottom:.5rem}.margeux-runtime-timeline ol{display:flex;flex-wrap:wrap;gap:.35rem;list-style:none;margin:.5rem 0 0;padding:0}.margeux-server-preview{display:grid;grid-template-columns:auto minmax(10rem,1fr) auto;gap:.5rem}.margeux-server-preview textarea,.margeux-server-preview pre{grid-column:1 / -1}.margeux-runtime-history span{margin-left:auto;font-family:Courier New,monospace}.sample-program{padding:.5rem}@media(max-width:800px){.margeux-code-diff.native-studio-proposal-editor{grid-template-columns:1fr}.native-studio-grid{min-height:60rem;overflow:visible}.native-studio-window{right:auto;left:0;width:100%;min-width:0;max-width:none;resize:none;box-shadow:none}.native-studio-source{top:0;height:32rem}.native-studio-output{top:33rem;height:24rem}.native-window-titlebar{cursor:default}}
