:root{--ui-radius: 6px;--ui-space: 8px;font-family:Inter,Segoe UI,Arial,sans-serif;color:#172554;background:#edf2f8;font-size:16px;font-synthesis:none}main.sidebar-collapsed{grid-template-columns:44px minmax(0,1fr)}main{position:relative}#sidebar{position:relative;z-index:40;width:100%}.sidebar-collapsed #sidebar{padding:8px 5px;overflow-x:hidden;overflow-y:auto}.sidebar-collapsed #sidebar .section-title,.sidebar-collapsed #sidebar .aside-bottom,.sidebar-collapsed #projects .project-name,.sidebar-collapsed #projects small{display:none}.sidebar-collapsed #projects button{display:grid;place-items:center;padding:7px 0;min-width:0;width:32px}.project-icon{flex:0 0 auto;vertical-align:middle}.project-name{margin-left:6px}.console-variables-details{min-width:0;min-height:0;overflow:auto}.console-variables-details h3{margin:8px 0;font-size:.9rem}.examples-menu{position:relative}.examples-menu>summary{list-style:none;border:1px solid #cbd5e1;background:#fff;border-radius:7px;padding:.5rem .75rem;color:#1e3a8a}.examples-menu>summary::-webkit-details-marker{display:none}.examples-list{position:fixed;right:0;top:calc(100% + 8px);z-index:100;background:#fff;border:1px solid #cbd5e1;box-shadow:0 12px 32px #17255426;border-radius:9px;padding:8px;width:min(360px,85vw);max-height:65vh;overflow:auto;display:grid;gap:4px}.examples-list button{text-align:left;border:0;font-weight:400}dialog{width:min(620px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:1px solid #cbd5e1;border-radius:12px;padding:12px;color:#172554}dialog::backdrop{background:#10213d80}dialog h2{margin-top:0;font-size:1.3rem}dialog p{font-size:.9rem;line-height:1.6}dialog input,dialog textarea{width:100%;margin:6px 0 16px;background:#fffce8}#exerciseSource{font:15px/1.6 Consolas,monospace;resize:vertical}.starter-heading,.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-actions{justify-content:flex-end}.hint{font-size:.85rem;line-height:1.6;color:#475569}#exerciseError{color:#991b1b}#inputDialog{width:min(500px,calc(100vw - 32px))}#inputDialog #inputForm{display:block;padding:0}.input-dialog-header{margin:0 0 12px}.input-dialog-title{margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:1.25rem;font-weight:800;color:#1e3a8a;line-height:1.4}#inputActionPrefix{color:#1e3a8a;letter-spacing:.5px;text-transform:uppercase}.variable-name-badge{display:inline-flex;align-items:center}#inputVarName{font-family:Consolas,monospace;font-size:1.85rem;font-weight:900;color:#1d4ed8;background:#dbeafe;border:1px solid #3b82f6;border-radius:8px;padding:2px 14px;letter-spacing:.5px;box-shadow:0 2px 4px #2563eb26}.input-description{margin-top:0;margin-bottom:14px;color:#475569;font-size:.95rem;line-height:1.5}.input-value-label{display:block;font-size:.95rem;font-weight:600;color:#334155;margin-bottom:4px}#inputDialog #inputValue{display:block;width:100%;font-size:1.25rem;padding:8px;font-family:Consolas,monospace;border:1px solid #2563eb;border-radius:8px;background:#fffce8;box-shadow:0 2px 6px #1d4ed81a;margin:6px 0 20px}#inputDialog #inputValue:focus{outline:3px solid #60a5fa;border-color:#1d4ed8}#auditEvents{padding-left:24px;max-height:350px;overflow:auto;font-size:.85rem;line-height:1.5}#auditEvents>li{margin:12px 0}#auditEvents pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f1f5f9;padding:10px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid #cbd5e1;background:#fff;color:#1e3a8a;border-radius:7px;padding:.5rem .75rem;font-size:.875rem;font-weight:600}button:hover{background:#eff6ff}button:disabled{opacity:.45;cursor:default}.action-icon{width:18px;height:18px;vertical-align:-4px;margin-right:7px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}#settings .action-icon{margin-right:0}#settings{min-width:40px;min-height:38px}#settingsDialog{width:min(440px,calc(100vw - 32px))}#settingsDialog select{width:100%;margin-bottom:24px}#settingsError{color:#991b1b}#run:not(:disabled){background:#15803d;color:#fff;border-color:#15803d}#run:not(:disabled):hover{background:#166534}#stop:not(:disabled),#cancelInput:not(:disabled){background:#b91c1c;color:#fff;border-color:#b91c1c}#stop:not(:disabled):hover,#cancelInput:not(:disabled):hover{background:#991b1b}#run .action-icon,#stop .action-icon,#cancelInput .action-icon{fill:currentColor}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #2563eb;outline-offset:2px}.primary{background:#1d4ed8;color:#fff;border-color:#1d4ed8}.primary:hover{background:#1e40af}.header-left{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.header-file-actions{display:flex;align-items:center;gap:8px}#import,#export{display:inline-flex;align-items:center;gap:6px;font-size:.925rem;font-weight:700;padding:.55rem .95rem;border-radius:8px;transition:all .15s ease-in-out}#import{background:#eff6ff;color:#1d4ed8;border:1px solid #3b82f6;box-shadow:0 1px 3px #2563eb26}#import:hover{background:#dbeafe;border-color:#2563eb;color:#1e40af}#export{background:#1d4ed8;color:#fff;border:1px solid #1e40af;box-shadow:0 2px 5px #1d4ed84d}#export:hover{background:#1e40af;border-color:#1e3a8a}#export .action-icon{stroke:#fff;stroke-width:2.5}#import .action-icon{stroke:#1d4ed8;stroke-width:2.5}header{min-height:64px;background:#fff;border-bottom:1px solid #cbd5e1;display:flex;align-items:center;justify-content:space-between;padding:10px 20px;gap:14px;flex-wrap:wrap}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#172554;font-weight:750;font-size:1.25rem}.mark{display:grid;place-items:center;border-radius:10px;width:42px;height:42px;background:#1d4ed8;color:#fff;font-family:monospace}.brand small{display:block;font-size:.8rem;color:#64748b;font-weight:400;margin-top:3px}.header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;flex:1;justify-content:flex-end}header{position:sticky;top:0;z-index:50;display:flex}header.compact{min-height:48px;padding:4px 12px}header.compact .mark{width:30px;height:30px}header.compact button,header.compact .wiki-link,header.compact .examples-menu>summary{padding:5px 8px;font-size:.8rem}.teacher-setting{display:flex;align-items:center;gap:8px;font-weight:600}.teacher-setting input{width:auto;margin:0}.hl-error{color:#b91c1c;text-decoration:underline wavy #dc2626;text-underline-offset:4px}#codeDiagnostic{flex:0 0 auto;margin:0;padding:5px 12px;max-height:56px;overflow:auto;color:#991b1b;background:#fef2f2;font-size:.8rem}@media(max-width:1200px){header{display:flex}}main{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:calc(100vh - 64px)}aside{background:#f8fafc;border-right:1px solid #cbd5e1;padding:var(--ui-space);display:flex;flex-direction:column;gap:18px}.section-title{display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:.9rem}.section-title button{font-size:1.1rem;padding:3px 9px}#projects{display:grid;gap:8px}.project-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px}.project-row>button{min-width:0}#projects .delete-project{padding:6px;color:#b91c1c;border-color:#fecaca}#projects .delete-project:hover:not(:disabled){background:#fef2f2}.sidebar-collapsed .project-row{grid-template-columns:minmax(0,1fr)}.sidebar-collapsed #projects .delete-project{display:none}#projects button{text-align:left;overflow-wrap:anywhere;padding:8px}#projects .active{background:#dbeafe;border-color:#93c5fd;color:#1e40af}#projects small{display:block;font-weight:400;color:#64748b;margin-top:5px;font-size:.75rem}.aside-bottom{margin-top:auto;display:grid;gap:10px;font-size:.85rem}.aside-bottom button{text-align:left;font-weight:400}.aside-bottom p{line-height:1.6;color:#64748b}.workspace{margin:var(--ui-space);min-width:0;max-width:none}.project-bar{display:flex;gap:16px;align-items:end;justify-content:space-between;margin-bottom:10px}label{display:block;font-size:.85rem;color:#475569}.name-label{flex:1;font-weight:650}input,select,textarea{border:1px solid #cbd5e1;border-radius:6px;padding:9px 12px;color:#172554;background:#fff}#name{display:block;width:100%;margin-top:4px;padding:6px 12px;font-size:1.35rem;font-weight:750;border-color:#94a3b8;background:#fffce8}select{display:block;margin-top:6px}details summary{cursor:pointer;font-size:.875rem;font-weight:600;padding:10px 0}.assignment{margin-bottom:10px;border:1px solid #93c5fd;border-radius:9px;background:#eff6ff;padding:0 14px}.assignment>summary{font-size:1rem;font-weight:700;color:#1e3a8a;padding:8px 0}.assignment>summary:hover{color:#1d4ed8}.assignment[open]>summary{border-bottom:1px solid #bfdbfe;margin-bottom:10px}.assignment textarea{width:100%;background:#fffce8;font-size:1.05rem;line-height:1.6;margin-bottom:12px;resize:vertical}.tabs{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#fff;border:1px solid #cbd5e1;border-radius:10px 10px 0 0;flex-wrap:wrap;position:sticky;top:8px;z-index:30}.tabs [role=tab]{border:0;background:transparent;color:#64748b}.tabs [aria-selected=true]{background:#dbeafe;color:#1d4ed8}.spacer{flex:1}#textPanel,#blocksPanel,#flowPanel{background:#fff;border:1px solid #cbd5e1;border-top:0}.editor-tools{display:flex;align-items:center;justify-content:space-between;padding:6px 14px;font-size:.85rem;color:#64748b;border-bottom:1px solid #e2e8f0}.numbered-editor{display:flex;overflow:hidden;background:#fffef4;border-bottom:1px solid #e2e8f0}.numbered-editor:focus-within{outline:2px solid #2563eb;outline-offset:-1px}#lineNumbers{flex:0 0 56px;height:330px;overflow:hidden;padding:12px 8px;text-align:right;color:#64748b;background:#f1f5f9;font:16px/28px Consolas,monospace;-webkit-user-select:none;user-select:none;border-right:1px solid #e2e8f0}#lineNumbers .current-line{color:#172554;background:#fcd34d;font-weight:700;box-shadow:inset 4px 0 #92400e}.code-editor-wrapper{position:relative;flex:1;min-width:0;height:330px;overflow:hidden;background:#fffef4}#highlighting,#source,#highlightingCode{margin:0;padding:12px 8px;font:16px/28px Consolas,monospace;-moz-tab-size:2;tab-size:2;box-sizing:border-box;white-space:pre;word-wrap:normal;overflow-wrap:normal;letter-spacing:normal;font-variant-ligatures:none;text-transform:none;text-indent:0}#highlighting{padding:0;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;overflow:hidden;pointer-events:none;background:linear-gradient(to bottom,transparent calc(var(--active-top, -100px) - var(--editor-scroll-top, 0px)),#fcd34d calc(var(--active-top, -100px) - var(--editor-scroll-top, 0px)),#fcd34d calc(var(--active-top, -100px) - var(--editor-scroll-top, 0px) + 28px),transparent calc(var(--active-top, -100px) - var(--editor-scroll-top, 0px) + 28px)) local,#fffef4;color:#172554;border:0}#highlightingCode{font:inherit;line-height:inherit;white-space:inherit;-moz-tab-size:inherit;tab-size:inherit;padding:12px 8px;margin:0;border:0;display:block;width:max-content;min-width:100%;transform-origin:top left}#highlightingCode span{line-height:inherit}#source{position:relative;width:100%;height:100%;z-index:2;border:0;outline:none;resize:none;overflow:auto;background:transparent;color:transparent;caret-color:#172554}#source::selection{background:#93c5fd80;color:transparent}.hl-keyword{color:#1e40af;font-weight:700}.hl-io{color:#0284c7;font-weight:700}.hl-bool{color:#7c3aed;font-weight:700}.hl-logic{color:#6d28d9;font-weight:600}.hl-string{color:#15803d}.hl-number{color:#c2410c}.hl-assign{color:#b91c1c;font-weight:700}.hl-operator{color:#334155;font-weight:600}.hl-comment{color:#64748b;font-style:italic}.hl-variable{color:#0f172a}.workspace-body{display:flex;flex-direction:column;gap:10px}.panels-container{min-width:0;flex:1}.workspace:not(.layout-side-by-side) .workspace-body,.layout-stacked .workspace-body{display:flex;flex-direction:column;gap:10px}.workspace:not(.layout-side-by-side) .editor-row,.layout-stacked .editor-row{display:grid;grid-template-columns:minmax(0,1fr);border-bottom:1px solid #e2e8f0;background:#fffef4}.workspace:not(.layout-side-by-side) .editor-row .numbered-editor,.layout-stacked .editor-row .numbered-editor{border-bottom:0;border-right:1px solid #e2e8f0}.workspace:not(.layout-side-by-side) .numbered-editor,.workspace:not(.layout-side-by-side) .code-editor-wrapper,.workspace:not(.layout-side-by-side) #source,.workspace:not(.layout-side-by-side) #lineNumbers,.workspace:not(.layout-side-by-side) #editorVariables,.layout-stacked .numbered-editor,.layout-stacked .code-editor-wrapper,.layout-stacked #source,.layout-stacked #lineNumbers,.layout-stacked #editorVariables{height:clamp(260px,calc(100dvh - 420px),600px)}.workspace:not(.layout-side-by-side) .console,.layout-stacked .console{margin-top:0}.workspace:not(.layout-side-by-side) .console-variables-details,.layout-stacked .console-variables-details{display:block}.workspace:not(.layout-side-by-side) .console #output,.layout-stacked .console #output{min-height:80px;max-height:180px}.layout-side-by-side .workspace-body{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:10px;align-items:stretch}.layout-side-by-side .panels-container{min-width:0}.layout-side-by-side .editor-row{display:block}.layout-side-by-side .editor-row .numbered-editor{border-bottom:1px solid #e2e8f0}#editorVariables{display:none}.layout-side-by-side .console-variables-details{display:block;margin-top:8px}.layout-side-by-side .console{margin-top:0;display:flex;flex-direction:column;height:100%}.layout-side-by-side .console #output{flex:1;min-height:180px;max-height:clamp(220px,calc(100dvh - 360px),420px)}.layout-side-by-side .numbered-editor,.layout-side-by-side .code-editor-wrapper,.layout-side-by-side #source,.layout-side-by-side #lineNumbers{height:clamp(340px,calc(100dvh - 310px),520px)}.variables-panel{display:flex;flex-direction:column;background:#f8fafc;min-width:0}.variables-panel-header{display:flex;align-items:center;justify-content:space-between;padding:6px 12px;background:#f1f5f9;border-bottom:1px solid #e2e8f0;font-size:.775rem;font-weight:750;color:#334155;text-transform:uppercase;letter-spacing:.5px}.variables-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:18px;padding:0 5px;font-size:.75rem;font-weight:700;background:#e2e8f0;color:#1e293b;border-radius:9px}.variables-container{flex:1;padding:8px;overflow-y:auto;display:flex;flex-direction:column;gap:8px;min-width:0}.variables-empty{padding:20px 8px;text-align:center;color:#64748b;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;height:100%}.variables-empty-title{font-weight:600;font-size:.85rem;color:#475569}.variables-empty-desc{font-size:.75rem;color:#94a3b8;line-height:1.35;max-width:170px}.variable-box{position:relative;background:var(--var-bg, #eff6ff);border:1px solid var(--var-border, #3b82f6);border-radius:6px;padding:4px 6px;display:flex;flex-direction:column;gap:2px;box-shadow:0 1px 3px #0000000d;transition:transform .12s ease,box-shadow .12s ease;min-width:0}.variable-box:hover{transform:translateY(-1px);box-shadow:0 3px 6px #00000014}.variable-box-label{align-self:flex-start;font-family:Consolas,monospace;font-size:.775rem;font-weight:750;color:var(--var-label-color, #ffffff);background:var(--var-label-bg, #2563eb);padding:1px 7px;border-radius:4px;letter-spacing:.5px;box-shadow:0 1px 2px #00000014;overflow-wrap:anywhere;word-break:break-all}.variable-box-value{font-family:Consolas,monospace;font-size:.95rem;font-weight:750;color:var(--var-val-color, #1e3a8a);overflow-wrap:anywhere;word-break:break-all;padding-left:2px}.console-variables-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(90px,100%),1fr));align-content:start;align-items:start;gap:6px;padding:6px 0}.console-variables-container .variable-box{min-width:0;max-width:none}@media(max-width:768px){.workspace:not(.layout-side-by-side) .editor-row,.layout-stacked .editor-row{grid-template-columns:1fr}.workspace:not(.layout-side-by-side) .editor-row .numbered-editor,.layout-stacked .editor-row .numbered-editor{border-right:0;border-bottom:1px solid #e2e8f0}.workspace:not(.layout-side-by-side) #editorVariables,.layout-stacked #editorVariables{height:auto;max-height:180px}}#toggleLayout{display:inline-flex;align-items:center;gap:6px;background:#f8fafc;color:#1e3a8a;border-color:#cbd5e1}#toggleLayout:hover{background:#eff6ff;border-color:#93c5fd}.help{padding:0 16px}.wiki-link{border:1px solid #cbd5e1;border-radius:7px;padding:.5rem .75rem;background:#fff;color:#1e3a8a;font-size:.875rem;font-weight:600;text-decoration:none}.wiki-link:hover{background:#eff6ff}.wiki-link:focus-visible{outline:3px solid #2563eb;outline-offset:2px}.syntax-quick{font-size:.85rem;line-height:1.6;padding-bottom:10px}.syntax-quick>div{display:flex;flex-wrap:wrap;gap:4px 10px;margin:3px 0}.syntax-quick strong{min-width:130px;color:#334155}.syntax-quick code{overflow-wrap:anywhere}.help .syntax-quick p{margin:8px 0 0;font-size:.85rem;line-height:1.6}.help p{font-size:.875rem;line-height:1.9;color:#475569}#blockly{height:440px;width:100%}#flow{overflow:auto;height:440px;background:#fbfdff;display:flex;padding:8px}.flow-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 16px;border-bottom:1px solid #e2e8f0;background:#fff;font-size:.875rem}#flowZoom{min-width:48px;text-align:center;font-variant-numeric:tabular-nums}#flow svg{display:block;flex:0 0 auto;margin:auto;width:100%;min-width:650px;min-height:100%;height:auto}.flow-view #flowPanel{border-radius:0 0 10px 10px}.flow-view #flow{height:calc(100dvh - 260px)}#message{flex:0 0 auto;padding:12px 16px;background:#fee2e2;color:#991b1b;border:1px solid #fecaca;font-size:.9rem;white-space:pre-wrap;overflow-wrap:anywhere;max-height:25dvh;overflow:auto}.console{margin-top:18px;border-radius:10px;border:1px solid #cbd5e1;background:#fff;overflow:hidden;padding:0 8px 8px}.console-heading{display:flex;align-items:center;gap:14px}.console h2{font-size:.95rem;margin:8px 0}.console-heading button{margin-left:auto;font-weight:400}#executionState{font-size:.8rem;color:#64748b}#output{margin:0 -8px;padding:8px;min-height:100px;max-height:240px;overflow:auto;background:#0f172a;color:#f1f5f9;font:15px/1.7 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--console-font-size, 15px);-moz-tab-size:2;tab-size:2;scrollbar-gutter:stable;overscroll-behavior:contain}#output:focus-visible{outline:2px solid #60a5fa;outline-offset:-3px}#output::selection{background:#1d4ed8;color:#fff}#inputForm{display:flex;align-items:center;gap:10px;padding-top:14px}#inputValue{flex:1;min-width:0;background:#fffce8}#variables{white-space:pre-wrap;font-size:.85rem;overflow-wrap:anywhere;font-size:var(--console-font-size, 15px)}.console-zoom{display:flex;align-items:center;gap:6px}.zoom-icon{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.console-heading .console-zoom button{margin-left:0;min-width:38px}#consoleFontSize{font-size:.8rem;min-width:36px;text-align:center;color:#475569}.stepping .numbered-editor #source,.stepping .code-editor-wrapper,.stepping #lineNumbers{height:clamp(100px,calc(100dvh - 360px),240px)}.stepping .help{display:none}.tabs{scroll-margin-top:8px}#stepRun:not(:disabled),#nextStep:not(:disabled){color:#5b21b6;background:#ede9fe;border-color:#c4b5fd}#stepRun:not(:disabled):hover,#nextStep:not(:disabled):hover{background:#ddd6fe}#stepRun[aria-pressed=true]{opacity:1;color:#5b21b6;background:#ede9fe;border-color:#a78bfa}.stepping #output{min-height:60px;max-height:100px}.stepping #variables{max-height:100px;overflow:auto}.console-heading,.editor-tools,.dialog-actions,.starter-heading{flex-wrap:wrap}#executionState{overflow-wrap:anywhere}dialog{max-height:calc(100dvh - 24px);max-width:calc(100vw - 24px)}dialog .dialog-actions{position:sticky;bottom:-12px;background:#fff;padding:8px 0}dialog button{max-width:100%;white-space:normal}dialog input,dialog select,dialog textarea{min-width:0}body [hidden]{display:none!important}@media(max-width:900px){header{align-items:start;flex-direction:column;gap:12px}.header-left{width:100%;justify-content:space-between}main{grid-template-columns:180px minmax(0,1fr)}aside{padding:16px 10px}.workspace{margin:14px}.header-actions{width:100%;gap:6px;justify-content:flex-start}.project-bar{gap:10px}}@media(max-width:650px){main{display:block}aside{border-right:0;border-bottom:1px solid #cbd5e1}#projects{display:flex;overflow:auto}.aside-bottom{display:none}.workspace{margin:12px}.project-bar{flex-wrap:wrap}.name-label{min-width:190px}.tabs{gap:4px}.tabs button{padding:8px}.numbered-editor,.code-editor-wrapper,#source,#lineNumbers{height:240px}#source{padding:12px 8px}.layout-side-by-side .workspace-body{display:flex;flex-direction:column;gap:14px}.editor-tools{gap:10px}#flow svg{min-width:600px}}@media(min-width:1000px)and (min-height:560px){body{height:100dvh;display:flex;flex-direction:column;overflow:hidden}header{flex:0 0 auto;padding:8px}main{flex:1;min-height:0;grid-template-columns:190px minmax(0,1fr);overflow:hidden}#sidebar{min-height:0;overflow:auto;padding:8px}.workspace{display:flex;flex-direction:column;min-height:0;margin:8px}.project-bar{margin-bottom:6px}.name-label{display:flex;align-items:center;gap:12px}#name{flex:1;min-width:0;width:auto;margin:0;font-size:1.1rem}.assignment{flex:0 0 auto;margin-bottom:6px;max-height:24dvh;overflow:auto}.tabs{flex:0 0 auto;position:static;gap:4px;padding:6px}.tabs button{padding:7px 8px;font-size:.85rem}.workspace .workspace-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,55fr) minmax(0,45fr);gap:8px}.workspace.layout-side-by-side .workspace-body{grid-template-columns:minmax(0,55fr) minmax(280px,45fr);grid-template-rows:minmax(0,1fr)}.workspace .workspace-body:has(#flowPanel:not([hidden])){grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.panels-container{min-height:0;overflow:hidden;display:flex;flex-direction:column}#textPanel,#blocksPanel,#flowPanel{flex:1;height:auto;min-height:0;display:flex;flex-direction:column}.editor-tools{flex:0 0 auto;padding:4px 12px}.workspace .editor-row{flex:1;min-height:0;display:flex}.workspace:not(.layout-side-by-side) #editorVariables{display:none}.workspace .numbered-editor{flex:1;min-width:0;min-height:0;height:100%;border-right:0}.workspace .code-editor-wrapper,.workspace #source,.workspace #lineNumbers{height:100%;min-height:0}.help{flex:0 0 auto;max-height:25dvh;overflow:auto}.help summary{padding:5px 12px}.workspace .console{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:"heading variables" "output variables" "audit audit";min-height:0;height:auto;margin:0;padding-bottom:4px}.console-heading{grid-area:heading;flex:0 0 auto;gap:8px;padding:4px 0}.console-heading button{padding:4px 8px}.workspace .console #output{grid-area:output;margin-right:0;flex:1 1 auto;min-height:48px;max-height:none;padding:8px}.console>details{flex:0 1 auto;min-height:0;max-height:35%;overflow:auto}.console>details summary{padding:5px 0}.workspace .console-variables-details{grid-area:variables;display:flex;flex-direction:column;margin-top:0;margin-left:12px;padding-left:12px;border-left:1px solid #cbd5e1;overflow:hidden;max-height:none}.console #auditPanel{grid-area:audit}.workspace.layout-side-by-side .console{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) minmax(0,1fr) auto;grid-template-areas:"heading" "output" "variables" "audit"}.workspace.layout-side-by-side .console-variables-details{margin-left:0;padding-left:0;border-left:0;border-top:1px solid #cbd5e1}#blockly,#flow{flex:1;min-height:0;height:auto;overflow:auto}}button,input,select,textarea,dialog,.examples-menu>summary,.examples-list,.assignment,.console,.mark,.wiki-link,.variable-box,.variable-box-label,.variables-count-badge,.variable-name-badge,#inputVarName,#inputDialog #inputValue,#import,#export,#name,#message{border-radius:var(--ui-radius)}.tabs{border-radius:var(--ui-radius) var(--ui-radius) 0 0}#textPanel,#blocksPanel,.flow-view #flowPanel{border-radius:0 0 var(--ui-radius) var(--ui-radius);overflow:hidden}.header-left,.header-file-actions,.header-actions{gap:var(--ui-space)}.editor-tools,.flow-tools{padding:4px var(--ui-space)}.assignment{padding:0 var(--ui-space)}#import,#export{padding:6px var(--ui-space)}.tabs{top:var(--header-height, 64px)}.editor-notices{position:sticky;top:calc(var(--header-height, 64px) + var(--tabs-height, 48px));z-index:31;flex:0 0 auto;max-height:25dvh;overflow:auto;background:#fff;border-radius:var(--ui-radius)}.editor-notices #message,.editor-notices #codeDiagnostic{margin:0;padding:var(--ui-space);font-size:1rem;line-height:1.5;max-height:none;overflow:visible}@media(min-width:1000px)and (min-height:560px){.editor-notices{position:relative;top:0}}
