/*! Pseudly; generated by npm run build. Edit static/css sources. */
/* Source: pseudly.css */:root{--pseudly-chrome:#f2f2f2;--pseudly-border:#c7c7c7;--pseudly-header-height:54px;--pseudly-footer-height:44px;--pseudly-side-width:30%}/* Global document and viewport shell. */html,body{width:100%;height:100%;margin:0;overflow:hidden}body{font-family:"Roboto Mono",monospace !important}.pseudly-page{display:grid;grid-template-rows:var(--pseudly-header-height) minmax(0, 1fr) var(--pseudly-footer-height);width:100%;min-width:320px;min-height:100vh;min-height:100dvh;height:100vh;height:100dvh}/* Header and navigation. */.site-header,.site-footer{display:flex;align-items:center;flex-wrap:nowrap;min-width:0;background:var(--pseudly-chrome)}.site-header{position:relative;z-index:1000;overflow:visible;height:var(--pseudly-header-height);padding:3px .75rem;border-bottom:1px solid var(--pseudly-border)}.site-brand,.site-brand img{display:block}.site-brand img{width:auto;max-width:100%;height:calc(var(--pseudly-header-height) - 8px)}.header-links{--navigation-gap:.5rem;display:flex;align-items:center;gap:var(--navigation-gap);margin-left:.75rem;margin-top:6px;align-self:flex-start}.header-link{display:flex;align-items:center;justify-content:center;margin-top:1px;height:27px;padding:0 .75rem;border:1px solid #001d60;border-radius:.4rem;background:#002b82;color:#fff;font-size:.85rem;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap;transition:background-color .18s ease,transform .18s ease,box-shadow .18s ease}.header-link:hover,.header-link:focus-visible{background:#0a3b9f;color:#fff;transform:translateY(-2px);box-shadow:0 3px 8px #001d6040}.header-link:active{transform:translateY(0) scale(.96);box-shadow:none}.header-link:focus-visible{outline:2px solid #ffcc00;outline-offset:2px}/* Footer. */.site-footer{justify-content:space-between;height:var(--pseudly-footer-height);padding:0 .75rem;border-top:1px solid var(--pseudly-border);font-size:.75rem;font-weight:bold !important;line-height:1}.footer-links{display:flex;align-items:center;gap:1rem}.footer-links a{color:inherit;white-space:nowrap}/* Main content region. min-height: 0 allows it to shrink within the page grid. */.site-content{min-width:0;min-height:0;overflow:auto;background:#fff}/* Main Pseudly editor layout. */#main{display:grid;grid-template-columns:minmax(0, 1fr) minmax(280px, var(--pseudly-side-width));width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}#blocklyPane,#blocklyDiv{width:100%;height:100%;min-width:0;min-height:0}#blocklyPane{position:relative;overflow:hidden}#blocklyDiv{position:absolute;inset:0}#side{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border-left:1px solid var(--pseudly-border)}/* Pseudocode viewer and cosmetic line-number gutter. */#pseudocodeViewer{display:grid;grid-template-columns:max-content minmax(0, 1fr);flex:1 1 auto;min-width:0;min-height:0;overflow:hidden;background:#fff}#pseudocodeLineNumbers,#output{box-sizing:border-box;margin:0;padding-top:.5rem;padding-bottom:.5rem;font-family:"Roboto Mono",monospace !important;font-size:.9rem;line-height:1.45;tab-size:4}#pseudocodeLineNumbers{min-width:2.8rem;padding-right:.65rem;padding-left:.5rem;overflow:hidden;border-right:1px solid var(--pseudly-border);background:var(--pseudly-chrome);color:#6b6b6b;text-align:right;user-select:none;pointer-events:none}#output{width:100%;height:100%;min-width:0;min-height:0;padding-right:.5rem;padding-left:.75rem;overflow:auto;resize:none;border:0;outline:0;background:#fff;color:#111;white-space:pre}/* Blockly workspace and toolbox presentation. */.blocklyToolboxDiv,.blocklyToolbox{background-color:var(--pseudly-chrome) !important}/* Keep all toolbox UI text in Blockly's standard sans-serif face.
   This is deliberately scoped to the toolbox so workspace blocks,
   fields, dialogs and generated pseudocode can retain Roboto Mono. */.blocklyToolboxDiv,.blocklyToolboxDiv *,.blocklyToolbox,.blocklyToolbox *{font-family:sans-serif !important}.blocklySvg text,.blocklyText,.blocklyHtmlInput,.blocklyDropDownDiv,.blocklyWorkspace *,code,pre,.zelos-code{font-family:"Roboto Mono",monospace !important}.blocklyText{font-size:12px;fill:#000}.blocklyCheckbox{font-size:36pt !important}.blocklyFieldInput{fill:#ffcc00}.blocklyFieldInput.blocklyEditing{background-color:#fff}.blocklyPath{stroke:#c6c6c6 !important;stroke-width:1px !important}.blocklyPath.blocklySelected{stroke:gold !important;stroke-width:2px !important}.customCategoryLabel,.customVersionLabel{color:#253862;font-family:sans-serif;font-size:16px;font-weight:bold !important}.customCategoryLabel{text-decoration:underline 3px;text-underline-offset:4px}.styled-underline{text-decoration:underline wavy red 3px;text-underline-offset:4px}.logoImage{display:inline-block;height:65px;margin:5px;background:url('/static/images/logo.png') no-repeat;background-size:contain;color:transparent !important}#blockly-1{color:transparent !important}.gapForVersion{height:100px}.blocklyLabelField{margin-top:30px !important}/* Hidden SVG used when exporting the Blockly workspace. */.export-svg{position:absolute;width:0;height:0;overflow:hidden}/* Shared long-form page presentation: Change Log and About. */.pseudly-content{max-width:1080px;margin:0 auto;padding:clamp(1.5rem, 4vw, 3.5rem) 1.25rem 4rem}.pseudly-content h1{color:#253862;font-weight:700;letter-spacing:-.035em}.pseudly-content h2{margin-top:2.75rem;padding-top:.25rem;color:#253862;font-size:clamp(1.35rem, 2.4vw, 1.8rem)}.pseudly-content p,.pseudly-content li{line-height:1.72}.pseudly-content .lead{max-width:820px;font-size:clamp(1.05rem, 2vw, 1.25rem)}.pseudly-content figure{margin:2.5rem 0}.pseudly-content figure img,.start-page figure img,.pseudly-content img{display:block;width:100%;height:auto;border:1px solid var(--pseudly-border);border-radius:1rem;box-shadow:0 .6rem 1.5rem rgba(37, 56, 98, .12)}.pseudly-content figcaption,.start-page figcaption{margin-top:.75rem;color:#5c6473;font-size:.85rem;text-align:center}.pseudly-content .principle{margin:1.5rem 0;padding:1rem 1.25rem;border-left:.35rem solid #ffcc00;background:#f7f8fb}.pseudly-content .quiet{color:#5c6473}/* Getting Started page. */.start-page{max-width:980px;margin:0 auto;padding:clamp(1.5rem, 4vw, 3.5rem) 1.25rem 4rem}.start-page h1,.start-page h2{color:#253862;font-weight:700}.start-page h2{margin-top:2.25rem;font-size:1.35rem}.start-page p,.start-page li{line-height:1.68}.start-page .lead{max-width:780px}.start-page .steps{display:grid;grid-template-columns:repeat(5, 1fr);gap:.6rem;margin:2rem 0;padding:0;list-style:none;counter-reset:steps}.start-page .steps li{min-height:7rem;padding:1rem .75rem;border:1px solid var(--pseudly-border);border-top:.4rem solid #ffcc00;border-radius:.55rem;background:#f7f8fb}.start-page .steps li::before{display:block;color:#253862;font-size:1.25rem;font-weight:700;content:counter(steps);counter-increment:steps}.start-page .remember{margin-top:2rem;padding:1.25rem;border-radius:.7rem;background:#253862;color:#fff}/* Responsive layout adjustments. */@media (max-width: 767.98px){#main{grid-template-columns:1fr;grid-template-rows:minmax(240px, 3fr) minmax(180px, 2fr)}#side{border-top:1px solid var(--pseudly-border);border-left:0}}@media (max-width: 760px){.start-page .steps{grid-template-columns:1fr}.start-page .steps li{min-height:0}}@media (max-width: 520px){.header-links{--navigation-gap:.3rem}.header-link{padding:0 .55rem;font-size:.78rem}}/* Hide the gold selection overlay after dragging stops. */.blocklySelected:not(.blocklyDragging)
  > .blocklyPath.blocklyPathSelected{display:none !important;filter:none !important;stroke:none !important}/* Keep the gold highlight while dragging. */.blocklySelected.blocklyDragging
  > .blocklyPath.blocklyPathSelected{display:inline !important;filter:var(--blocklySelectedGlowFilter) !important}.pseudly-loader{position:fixed;inset:0;z-index:10000;border:0;margin:auto;padding:30px 44px 26px;border-radius:22px;background:#092c76;color:#fff;box-shadow:0 18px 65px #03152c66;overflow:visible;font:600 16px/1.5 system-ui,sans-serif;text-align:center}.pseudly-loader::backdrop{background:#071b3655}.pseudly-loader:not([open]){display:none}.pseudly-loader__scene{width:70px;height:70px;display:grid;place-items:center;perspective:300px;margin:0 auto 6px}.pseudly-loader__cube{width:38px;height:38px;position:relative;transform-style:preserve-3d;transform:rotateX(-25deg) rotateY(-35deg);animation:pseudly-cube-turn 2.4s linear infinite;will-change:transform}.pseudly-loader__face{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:1.5px;border-radius:3.5px;background:#062057;box-sizing:border-box;backface-visibility:hidden}.pseudly-loader__face i{border-radius:2.5px;background:var(--tile);box-shadow:inset 1px 2px 2px #ffffff80,inset -2px -3px 4px #0003}.pseudly-loader__face:nth-child(1){transform:translateZ(19px)}.pseudly-loader__face:nth-child(2){transform:rotateY(90deg) translateZ(19px)}.pseudly-loader__face:nth-child(3){transform:rotateY(180deg) translateZ(19px)}.pseudly-loader__face:nth-child(4){transform:rotateY(-90deg) translateZ(19px)}.pseudly-loader__face:nth-child(5){transform:rotateX(90deg) translateZ(19px)}.pseudly-loader__face:nth-child(6){transform:rotateX(-90deg) translateZ(19px)}.pseudly-loader__label{margin:0;white-space:normal;overflow-wrap:anywhere}@keyframes pseudly-cube-turn{from{transform:rotateX(-25deg) rotateY(-35deg)}to{transform:rotateX(-25deg) rotateY(325deg)}}@media(prefers-reduced-motion:reduce){.pseudly-loader__cube{animation:none}}.blocklyDialogPrompt{white-space:pre}/* Compact Program and Help menus. */.workspace-program-menu{margin-left:.75rem;margin-top:6px;align-self:flex-start}.workspace-program-menu ~ .header-links{margin-left:var(--navigation-gap)}.header-menu{position:relative}.header-menu > summary{cursor:pointer;list-style:none}.header-menu > summary::-webkit-details-marker{display:none}.header-submenu{position:relative}.header-menu-panel{position:absolute;top:calc(100% + .25rem);left:0;z-index:1001;min-width:11rem;padding:.25rem;border:1px solid #174888;border-radius:.35rem;background:#3567ad;box-shadow:0 .3rem .7rem #0004}.header-menu-panel button,.header-menu-panel a{display:block;width:100%;padding:.4rem .65rem;border:0;border-radius:.2rem;background:transparent;color:#fff;font:inherit;font-size:.75rem;text-align:left;text-decoration:none;white-space:nowrap}.header-menu-panel .header-menu-disabled{display:block;width:100%;padding:.4rem .65rem;color:#c0c9d6;font-size:.75rem;text-align:left;white-space:nowrap;cursor:not-allowed;user-select:none}.header-menu-panel button:hover,.header-menu-panel a:hover,.header-menu-panel button:focus-visible,.header-menu-panel a:focus-visible{background:#174888;color:#fff}.header-submenu-trigger{cursor:pointer}.header-submenu-trigger::after{content:'▸';float:right;margin-left:1rem}.header-submenu-panel{display:none;position:absolute;top:-.25rem;left:calc(100% - 1px);z-index:1002;min-width:11rem;padding:.25rem;border:1px solid #174888;border-radius:.35rem;background:#3567ad;box-shadow:0 .3rem .7rem #0004}.header-submenu:hover > .header-submenu-panel,.header-submenu:focus-within > .header-submenu-panel{display:block}@media (prefers-reduced-motion: reduce){.header-link{transition:none}.header-link:hover,.header-link:focus-visible,.header-link:active{transform:none}}/* Extension controls and selector. */#blocklyPane{display:flex;flex-direction:column}#blocklyDiv{position:relative;inset:auto;height:auto;flex:1;min-height:0}.pseudlyExtensionStatusRow{pointer-events:none;cursor:default !important}.pseudlyExtensionStatusLabel{color:#253862;font-style:normal}.pseudlyExtensionActionLabel{font-weight:normal}.pseudly-extension-dialog{width:min(560px, calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;padding:1.4rem;border:1px solid #c7d1e2;border-radius:.7rem;color:#18243a;box-shadow:0 12px 50px #0004}.pseudly-extension-dialog::backdrop{background:#001d6066}.pseudly-extension-dialog h2{font-size:1.15rem}.pseudly-extension-dialog p{font-size:.9rem}.pseudly-extension-choices{display:grid;gap:.8rem;margin:1rem 0}.pseudly-extension-core-choice{display:flex;justify-content:center}.pseudly-extension-grid{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:.8rem}.pseudly-extension-choice{display:flex;min-height:116px;flex-direction:column;align-items:center;justify-content:center;gap:.55rem;padding:.8rem;border:2px solid #c7d1e2;border-radius:.65rem;background:#f7f9fd;color:#18243a;font-weight:600}.pseudly-extension-core-choice .pseudly-extension-choice{width:min(240px, 100%)}.pseudly-extension-choice:hover{border-color:#4569a8;background:#eef3fc}.pseudly-extension-choice[aria-pressed="true"]{border-color:#002b82;background:#e6eefc;box-shadow:0 0 0 2px #002b8230}.pseudly-extension-choice img{width:64px;height:64px;object-fit:contain}.pseudly-extension-core-choice .pseudly-extension-choice img{width:112px;height:50px}.pseudly-extension-actions{display:flex;justify-content:flex-end;gap:.5rem}.pseudly-extension-actions button{padding:.4rem .8rem;border:1px solid #002b82;border-radius:.3rem;background:white;color:#002b82}.pseudly-extension-dialog button:focus-visible{outline:3px solid #ffcc00;outline-offset:2px}@media (max-width:420px){.pseudly-extension-dialog{padding:1rem}.pseudly-extension-choice{min-height:98px;padding:.55rem}.pseudly-extension-choice img{width:52px;height:52px}}.blocklyToolbox .blocklyToolboxCategoryGroup{display:flex;flex-direction:column;min-height:100%}.blocklyToolboxCategoryGroup > *{flex-shrink:0}.blocklyToolboxCategoryGroup > .pseudlyExamplesCategory{order:1;margin-top:auto}.blocklyTrash .pseudlyTrashScale{transform:translate(7.75px, 15px) scale(0.75)}/* Source: symbolEditor.css */.ps-editor{width:min(960px,94vw);max-height:88vh;border:1px solid #50555b;border-radius:8px;padding:20px;color:#20252a;background:#fff;overflow:auto}.ps-editor::backdrop{background:#0007}.ps-editor h2{font-size:1.5rem}.ps-editor h3{font-size:1.15rem;margin-top:1rem}.ps-editor h4{font-size:1rem;margin-top:1rem}.ps-editor input,.ps-editor select,.ps-editor button{margin:3px;padding:5px 8px;max-width:100%;border:1px solid #999;border-radius:4px;font:inherit}.ps-editor button{cursor:pointer;background:#eef1f4}.ps-editor button:hover{background:#dbe3ec}.ps-editor .ps-row{display:flex;flex-wrap:wrap;align-items:center}.ps-editor .ps-subprogram{border-top:1px solid #aaa;margin-top:16px;padding-top:8px}.ps-editor .ps-error{color:#a21414;white-space:pre-wrap}.ps-editor fieldset{border:1px solid #aaa;padding:10px}.ps-editor legend{float:none;width:auto;font-size:1rem}#symbolStatus{display:block;font-size:.85rem;color:#783f00;padding:4px}#symbolStatus:empty{display:none}.ps-simple-dialog{width:min(390px,92vw);border:1px solid #777;border-radius:8px;padding:20px;background:white;color:#20252a}.ps-simple-dialog::backdrop{background:#0006}.ps-simple-dialog h2{font-size:1.2rem;margin:0 0 15px}.ps-simple-dialog label{display:block;margin:12px 0}.ps-simple-dialog input:not([type="checkbox"]):not([type="radio"]),.ps-simple-dialog select{display:block;width:100%;padding:7px;margin-top:4px}.ps-simple-dialog label:has(> input[type="checkbox"]){display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.ps-simple-dialog input[type="checkbox"]{margin:0;flex:0 0 auto}.ps-simple-dialog label:has(> input[type="checkbox"]) > small{flex-basis:100%}.ps-simple-dialog button{padding:6px 12px;margin:4px;border:1px solid #888;border-radius:4px}.ps-simple-dialog .ps-error{color:#a21414;font-size:.9rem}.loader-test-controls{display:flex;gap:.6rem;flex-wrap:wrap}.loader-test-controls button{font:inherit;padding:.5rem .8rem;border:1px solid #62738a;border-radius:.35rem}#loader-test-workspace{height:450px;position:relative;border:1px solid var(--pseudly-border)}/* Keep progress text compact, including long filenames without spaces. */.pseudly-page dialog.pseudly-loader{width:260px;max-width:calc(100vw - 24px);min-width:0}.footer-legal{display:flex;align-items:center;gap:1rem;min-width:0}.footer-legal > span{white-space:nowrap}.pseudly-page dialog.pseudly-about{width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:hidden}.pseudly-page dialog.pseudly-about[open]{display:flex;flex-direction:column}.pseudly-about > header,.pseudly-about > .pseudly-about-release,.pseudly-about > form{flex-shrink:0}.pseudly-about > section{min-height:0;overflow:auto;overscroll-behavior:contain}.pseudly-page dialog.pseudly-about h1{font-size:2rem;font-weight:700;margin:0}.pseudly-page dialog.pseudly-about h2{font-size:1.3rem;font-weight:700;margin:0 0 .8rem}.pseudly-page dialog.pseudly-about h3{margin:1rem 0 .4rem}.pseudly-about header{text-align:center}.pseudly-about header p{margin:.3rem 0 0}.pseudly-about-release{text-align:center;margin:1.5rem 0}.pseudly-about-release p{margin:0}.pseudly-about .dialog-actions{margin-top:1.5rem}@media(max-width:650px){:root{--pseudly-footer-height:76px}.site-footer{flex-wrap:wrap;align-content:center;gap:.65rem;font-size:.65rem;line-height:1.2}.site-footer > .footer-links,.footer-legal{width:100%;justify-content:space-between;gap:.5rem}.footer-legal .footer-links{gap:.65rem}}/* Keep matching History/Credits controls together at the left; Dismiss stays unchanged. */.pseudly-about-links{display:flex;gap:.6rem;flex-wrap:wrap;margin-right:auto;align-items:center}#pseudly-about .pseudly-history-button{display:inline-flex;align-items:center;padding:.4rem .8rem;border:1px solid currentColor;border-radius:.3rem;background:transparent;color:inherit;text-decoration:none;font:inherit;cursor:pointer}#pseudly-about .pseudly-history-button:hover{background:rgba(100,130,180,.15)}#pseudly-about .pseudly-history-button:focus-visible{outline:2px solid currentColor;outline-offset:3px}/* Teacher presentation switch stays at the far right, independent of theme. */.teaching-view-switch{margin-left:auto;flex-shrink:0;display:flex;align-items:center;gap:6px;padding:3px 7px;border:1px solid var(--pseudly-border);border-radius:6px;background:var(--pseudly-chrome);color:var(--pseudly-text,#253862);font:12px system-ui;cursor:pointer}.teaching-view-switch svg{width:19px;height:19px;fill:currentColor}.view-end{display:flex;align-items:center;gap:3px}.view-track{width:30px;height:16px;border-radius:10px;background:#71829c;padding:2px;display:block;box-sizing:border-box}.view-track>span{display:block;width:12px;height:12px;border-radius:50%;background:white}[data-teaching-view="class"] .view-track>span{transform:translateX(14px)}.teaching-view-switch:focus-visible{outline:3px solid #d89226;outline-offset:2px}[data-teaching-view="class"] #exportPythonButton,[data-teaching-view="class"] #pythonPane,[data-teaching-view="class"] #pythonSplitter,[data-teaching-view="class"] .teacher-menu{display:none!important}.teacher-menu details>summary{padding:.4rem .65rem;font-size:.75rem;color:white;cursor:pointer;list-style:revert}.teacher-nested-links{padding-left:.55rem;border-left:1px solid #a9c3eb;margin-left:.5rem}@media(max-width:760px){.site-header:has(.teaching-view-switch){height:auto;min-height:var(--pseudly-header-height);flex-wrap:wrap;row-gap:4px;padding-bottom:5px}.teaching-view-switch .view-end>span{display:none}.teaching-view-switch{margin-left:auto}.site-header:has(.teaching-view-switch) .site-page-title{display:none}}.teaching-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.lesson-examples{padding-left:1.4rem}.lesson-meta{font-weight:600}.lesson-guide h2{font-size:1.15rem}.design-poster{width:100%;height:auto;background:white;border:1px solid var(--pseudly-border)}.implementations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.implementations pre{overflow:auto}.implementations h3{font-size:1.1rem}.teaching-downloads{display:flex;flex-wrap:wrap;gap:.5rem 1rem;padding:0;list-style:none}@media(max-width:760px){.teaching-grid,.implementations{grid-template-columns:1fr}}@media print{.lesson-guide{font-size:10.5pt;line-height:1.15}.lesson-guide h1{font-size:18pt}.lesson-guide h2{font-size:12pt;margin:.6em 0 .2em}.site-header,.site-footer,.teaching-downloads,.lesson-nav{display:none!important}.lesson-guide{margin:0;max-width:none}.site-content{overflow:visible;height:auto}.pseudly-page{height:auto}.lesson-guide p{margin:.25em 0}}[data-theme="dark"] .teaching-view-switch{color:#eef4ff}@media(max-width:760px){html:has(.teaching-view-switch){--pseudly-header-height:90px}.site-header:has(.teaching-view-switch) .site-brand img{height:46px}.site-header:has(.teaching-view-switch){align-content:center}}/* Shared compact navigation between Help pages. */.documentation-page .doc-related{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem .8rem;font-size:.82rem}.doc-related>a,.doc-related>button{white-space:nowrap}.doc-related button{border:0;padding:0;background:none;color:var(--link-color,#174888);text-decoration:underline;font:inherit;cursor:pointer}html[data-theme="dark"] .doc-related button{color:#9cc8ff}/* Shared action icon proportions; Blockly media controls retain native sizing. */.header-links button>i,.pseudly-code-copy i,.pseudlySearchButton i{font-size:16px;line-height:1;width:1em;text-align:center}.pseudly-page button>:is(i.fa-solid,i.fa-regular,svg.svg-inline--fa){font-size:16px;line-height:1;width:1em;height:1em;flex:none;vertical-align:middle;text-align:center}/* Teacher/Class mirrors the labelled Inspect segmented choice. */.teaching-view-switch{padding:0;gap:0;background:transparent;border:0;cursor:default}.teaching-view-switch button{display:inline-flex;align-items:center;gap:4px;min-height:30px;margin:0;padding:4px 7px;border:1px solid #253862;border-radius:0;background:var(--pseudly-chrome);color:#253862;font:12px system-ui,sans-serif;cursor:pointer}.teaching-view-switch button:first-child{border-radius:4px 0 0 4px}.teaching-view-switch button:last-child{border-radius:0 4px 4px 0}.teaching-view-switch button[aria-pressed=true]{background:#253862;color:#fff;box-shadow:inset 0 -3px currentColor;font-weight:700}.teaching-view-switch button:focus-visible{outline:3px solid #d89226;outline-offset:2px}[data-theme=dark] .teaching-view-switch button{border-color:#a7b8d1;color:#edf2f8;background:#17212b}[data-theme=dark] .teaching-view-switch button[aria-pressed=true]{background:#253862;color:#fff}.teaching-view-switch .view-end>span{display:inline}/* Source: workspaceSplitter.css *//* Loaded on the editor page only. */#main{grid-template-columns:minmax(0, 1fr) 8px minmax(0, var(--pseudly-code-width, 30%))}#side{border-left:0}#workspaceSplitter{position:relative;min-width:0;min-height:0;background:#edf0f5;border-inline:1px solid var(--pseudly-border, #c7d1e2);cursor:col-resize;touch-action:none;user-select:none}#workspaceSplitter::after{content:'';position:absolute;top:calc(50% - 18px);left:2px;width:2px;height:36px;border-radius:2px;background:#8090aa}#workspaceSplitter:hover,#workspaceSplitter:focus-visible,#main.is-resizing #workspaceSplitter{background:#cbd8ed}#workspaceSplitter:focus-visible{outline:2px solid #253862;outline-offset:-2px}body.pseudly-resizing,body.pseudly-resizing *{cursor:col-resize !important;user-select:none !important}@media (max-width: 767.98px){#main{grid-template-columns:1fr;grid-template-rows:minmax(240px, 3fr) minmax(180px, 2fr)}#workspaceSplitter{display:none}}/* Source: toolboxSearch.css *//* Native search controls inside the toolbox, immediately below Program. */.pseudlySearchRow{display:flex !important;align-items:center;gap:3px;height:auto !important;min-height:34px;padding:4px 5px !important;margin:2px 0 5px;border:0 !important;background:transparent !important}.pseudlySearchInput{box-sizing:border-box;width:118px;min-width:0;height:28px;padding:3px 6px;border:1px solid #7b8794;border-radius:4px;background:#fff;color:#172b4d;font-size:12px}.pseudlySearchButton{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;padding:5px;border:1px solid #002b82;border-radius:4px;background:#002b82;color:#fff;cursor:pointer}.pseudlySearchButton:hover{background:#16499a}.pseudlySearchButton svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}.pseudlySearchInput:focus-visible,.pseudlySearchButton:focus-visible{outline:2px solid #002b82;outline-offset:2px}/* Source: workspaceExport.css */.blob-text{font-family:"Roboto Mono",monospace;font-size:12px;fill:#000;text-anchor:start;dominant-baseline:middle}/* Initial Minimap layout for classroom review. */#blocklyDiv .blockly-minimap,#blocklyPane .blockly-minimap{position:absolute!important;left:var(--pseudly-minimap-left,12px) !important;bottom:32px!important;top:auto!important;right:auto!important;width:var(--pseudly-minimap-width,200px) !important;height:140px!important;z-index:30;border:1px solid #6b7c90;border-radius:5px;overflow:hidden;background:#fff}.blockly-focus-region{fill:#1b75bc;fill-opacity:.12;stroke:#165d94;stroke-width:2px}[data-theme=dark] .blockly-minimap{background:#19232f}[data-theme=dark] .blockly-focus-region{stroke:#ffe084;fill:#ffe084}@media(max-width:600px){#blocklyPane .blockly-minimap{height:95px!important}}[data-theme=dark] .blocklyBackpackContainer image{filter:brightness(3)}#blocklyPane .blockly-focus-region{fill:#1b75bc;fill-opacity:.12;stroke:#165d94}[data-theme=dark] #blocklyPane .blockly-focus-region{fill:#ffe084;stroke:#ffe084}/* Match the neighbouring Blockly zoom controls in both themes. */#blocklyDiv .zoomToFit{cursor:pointer}#blocklyDiv .zoomToFit .zoomToFitIcon{opacity:.4;filter:none}#blocklyDiv .zoomToFit:is(:hover,:focus) .zoomToFitIcon{opacity:.6}#blocklyDiv .zoomToFit:active .zoomToFitIcon{opacity:.8}html[data-theme=dark] #blocklyDiv .zoomToFit .zoomToFitIcon{filter:brightness(0) invert(1);opacity:.7}html[data-theme=dark] #blocklyDiv .zoomToFit:is(:hover,:focus) .zoomToFitIcon{opacity:1}/* Flyouts are positioned SVG siblings of the main SVG, not nested canvases.
   Keep their blocks and scrollbar above the HTML minimap; editors retain their
   higher Blockly layer and drag surfaces stay above both. */#blocklyDiv .injectionDiv > .blocklyFlyout{z-index:40}#blocklyDiv .injectionDiv > .blocklyFlyoutScrollbar{z-index:41}/* Match the chart's 6px sliders while retaining Blockly's larger drag/track area. */#blocklyDiv .blocklyMainWorkspaceScrollbar.blocklyScrollbarVertical .blocklyScrollbarHandle{width:6px;x:calc(50% - 3px);stroke:transparent;stroke-width:14px}#blocklyDiv .blocklyMainWorkspaceScrollbar.blocklyScrollbarHorizontal .blocklyScrollbarHandle{height:6px;y:calc(50% - 3px);stroke:transparent;stroke-width:14px}#blocklyDiv .injectionDiv > :is(.blocklyBlockDragSurface,.blocklyAnimationLayer){z-index:50}/* Experimental dual-language output; divider spans code and both gutters. */#main:has(.has-python){min-height:360px}#side.has-python{display:grid;grid-template-rows:auto auto minmax(100px,var(--python-upper,1fr)) 8px minmax(140px,var(--python-lower,1fr))}#symbolControls{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem}#symbolControls:has(#symbolEditorButton[hidden]):has(#symbolStatus:empty){display:none}#side.has-python #symbolControls{grid-row:1}#pseudocodeLabel{grid-row:2}#side.has-python #pseudocodeViewer{grid-row:3}#pythonSplitter{grid-row:4;cursor:row-resize;touch-action:none;background:var(--pseudly-chrome,#edf0f5);border-block:1px solid var(--pseudly-border,#8090aa);position:relative}#pythonSplitter::after{content:'';position:absolute;left:calc(50% - 18px);top:2px;width:36px;height:2px;background:#8090aa}#pythonSplitter:focus-visible{outline:2px solid #1b75bc;outline-offset:-2px}#pythonPane{grid-row:5;min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden}#pythonPane[hidden],#pythonSplitter[hidden],#pseudocodeLabel[hidden]{display:none!important}.python-pane-heading{box-sizing:border-box;min-height:36px;display:flex;align-items:center;gap:.4rem;padding:.25rem .5rem;background:var(--pseudly-chrome,#edf0f5);font-size:.8rem}.python-pane-heading strong{margin-right:auto}.python-pane-heading button{font-size:.8rem;padding:.15rem .4rem;min-width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center}#pythonStatus,#pseudocodeStatus{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}#pythonViewer{display:grid;grid-template-columns:max-content minmax(0,1fr);flex:1;min-height:0;overflow:hidden}#pythonLineNumbers,#pythonOutput{box-sizing:border-box;margin:0;padding-top:.5rem;padding-bottom:.5rem;font-family:"Roboto Mono",monospace!important;font-size:.9rem;line-height:1.45;tab-size:4}#pythonLineNumbers{min-width:2.8rem;padding-right:.65rem;padding-left:.5rem;overflow:hidden;border-right:1px solid var(--pseudly-border);background:var(--pseudly-chrome);color:#6b6b6b;text-align:right;user-select:none;pointer-events:none}#pythonOutput{width:100%;height:100%;min-width:0;min-height:0;padding-right:.5rem;padding-left:.75rem;overflow:auto;resize:none;border:0;background:#fff;color:#111;white-space:pre}#pythonDiagnostics{font-size:.8rem;padding:.2rem .5rem;overflow:auto;max-height:35%;flex-shrink:0}#pythonIssues button{text-align:left;font:inherit}[data-theme=dark] #pythonOutput{background:#182330;color:#f1f5fa}[data-theme=dark] #pythonLineNumbers{color:#b8c6d8;background:#243244}[data-theme=dark] .python-pane-heading,[data-theme=dark] #pythonSplitter{background:#243244;color:#f1f5fa}[data-theme=dark] #pythonPane{color:#f1f5fa;background:#182330}@media(max-width:767.98px){#main:has(.has-python){min-height:680px;grid-template-rows:minmax(240px,1fr) minmax(400px,2fr)}}/* Same 32px circular chrome and theme treatment as the centre-blocks control. */#blocklyDiv .pseudly-clean-up-button{box-sizing:border-box;width:32px;height:32px;margin:0;padding:0;display:flex;align-items:center;justify-content:center;border:2px solid #888;border-radius:50%;background:transparent;color:#888;opacity:.4;cursor:pointer;font-size:16px;line-height:1}#blocklyDiv .pseudly-clean-up-button:is(:hover,:focus){opacity:.6}#blocklyDiv .pseudly-clean-up-button:active{opacity:.8}#blocklyDiv .pseudly-clean-up-button:focus-visible{outline:2px solid #165d94;outline-offset:2px}html[data-theme=dark] #blocklyDiv .pseudly-clean-up-button{border-color:#fff;color:#fff;opacity:.7}html[data-theme=dark] #blocklyDiv .pseudly-clean-up-button:is(:hover,:focus){opacity:1}html[data-theme=dark] #blocklyDiv .pseudly-clean-up-button:focus-visible{outline-color:#ffe084}/* Breathing room around category dividers, independent of flyout block gaps. */#blocklyDiv .blocklyToolbox .blocklyTreeSeparator{margin:8px 0;padding:0;height:0;flex-shrink:0}/* Shared 32px circles: clean up, view controls, Undo and Redo. */#blocklyPane .pseudly-workspace-button{box-sizing:border-box;width:32px;height:32px;margin:0;padding:0;display:flex;align-items:center;justify-content:center;border:2px solid #888;border-radius:50%;background:transparent;color:#888;opacity:.55;cursor:pointer;line-height:1}#blocklyPane .pseudly-workspace-button:is(:hover,:focus-visible){opacity:.85}#blocklyPane .pseudly-workspace-button:active{opacity:1}#blocklyPane .pseudly-workspace-button:disabled{opacity:.35;cursor:default}#blocklyPane .pseudly-workspace-button:focus-visible{outline:2px solid #165d94;outline-offset:2px}html[data-theme=dark] #blocklyPane .pseudly-workspace-button{border-color:#fff;color:#fff;opacity:.75}html[data-theme=dark] #blocklyPane .pseudly-workspace-button:is(:hover,:focus-visible){opacity:1}html[data-theme=dark] #blocklyPane .pseudly-workspace-button:disabled{opacity:.35}html[data-theme=dark] #blocklyPane .pseudly-workspace-button:focus-visible{outline-color:#ffe084}/* Both dividers use the same theme tokens and interaction colours. */#workspaceSplitter,#runtimeSplitter{background:var(--pseudly-chrome,#edf0f5) !important;border-color:var(--pseudly-border,#c7d1e2) !important}#workspaceSplitter:hover,#workspaceSplitter:focus-visible,#runtimeSplitter:hover,#runtimeSplitter:focus-visible,#runtimeSplitter.is-resizing{background:#cbd8ed!important}html[data-theme=dark] #workspaceSplitter:hover,html[data-theme=dark] #workspaceSplitter:focus-visible,html[data-theme=dark] #runtimeSplitter:hover,html[data-theme=dark] #runtimeSplitter:focus-visible,html[data-theme=dark] #runtimeSplitter.is-resizing{background:#3c526d!important}html[data-theme=dark] #workspaceSplitter:focus-visible,html[data-theme=dark] #runtimeSplitter:focus-visible{outline-color:#a7c8ff!important}/* Match the requested category rhythm without changing block connections. */#blocklyDiv .blocklyToolbox .blocklyToolboxCategory{margin-top:2px;margin-bottom:2px}#blocklyDiv .blocklyToolbox .blocklyToolboxCategory:has(.customCategoryLabel){margin-top:8px;margin-bottom:8px}/* Phone editor: one outer scrollbar reaches blocks, pseudocode and runtime. */@media(max-width:767.98px){.site-content:has(#main){overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}#main,#main:has(.has-python){display:flex;flex-direction:column;height:auto;min-height:100%;overflow:visible;gap:0}#blocklyPane{flex:none;height:420px;min-height:420px}#side,#side.has-python{flex:none;height:720px;min-height:720px;border-left:0;border-top:1px solid var(--pseudly-border)}#side:not(:has(#runtimeDevPane)){height:440px;min-height:440px}#workspaceSplitter{display:none}#runtimeDevPane{min-height:280px!important}#pseudocodeViewer{min-height:160px!important}}@media(max-width:767.98px){.site-content:has(#main){overflow-y:scroll;scrollbar-color:#71829c var(--pseudly-chrome,#edf0f5)}.site-content:has(#main)::-webkit-scrollbar{width:12px}.site-content:has(#main)::-webkit-scrollbar-track{background:var(--pseudly-chrome,#edf0f5)}.site-content:has(#main)::-webkit-scrollbar-thumb{background:#71829c;border:2px solid var(--pseudly-chrome,#edf0f5);border-radius:8px}}#pseudocodeViewer{position:relative}#inspectionFlow{position:absolute;right:10px;bottom:10px;z-index:5;max-width:calc(100% - 65px);padding:5px 9px;border:1px solid #176cb0;border-radius:5px;background:#e4f0ff;color:#123f70;font:12px/1.4 "Roboto Mono",monospace;overflow-wrap:anywhere;pointer-events:none;box-shadow:0 1px 5px #0003}#inspectionFlow[hidden]{display:none!important}html[data-theme=dark] #inspectionFlow{background:#173d62;color:#e7f2ff;border-color:#76baff}.inspection-flow-pulse{animation:inspection-flow-pulse .6s ease-out}@keyframes inspection-flow-pulse{0%{box-shadow:0 0 0 5px #3185d699;transform:translateY(-3px)}100%{box-shadow:0 1px 5px #0003;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.inspection-flow-pulse{animation:none;outline:2px solid #176cb0}}/* Temporary recording points; no editor/program serialization. */#pseudocodeLineNumbers.inspection-gutter{pointer-events:auto;white-space:normal;padding-right:.4rem;min-width:3.4rem}.inspection-gutter .inspection-line{display:block;box-sizing:border-box;width:100%;margin:0;padding:0 3px;border:0;border-left:3px solid transparent;border-radius:0;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:right;white-space:nowrap}.inspection-gutter button.inspection-line{cursor:pointer}.inspection-gutter button[aria-pressed=true]{border-left-color:#666;background:#ddd;color:#222}html[data-theme=dark] .inspection-gutter button[aria-pressed=true]{border-left-color:#ddd;background:#525b65;color:#fff}.inspection-gutter button[data-automatic=true]{border-left-style:dotted;cursor:default}.inspection-gutter button:focus-visible{outline:2px solid #176cb0;outline-offset:-2px}/* Match action icon proportions without resizing Blockly media controls. */.header-links button>i,.pseudly-code-copy i,.pseudlySearchButton i{font-size:16px;line-height:1;width:1em;text-align:center}#pseudocodeLineNumbers.inspection-gutter{scroll-behavior:auto;box-sizing:border-box}.inspection-gutter .inspection-line{flex:none;min-height:0}/* Stacked editor keeps enough height for a usable runtime table. */@media(max-width:767.98px){#main{grid-template-rows:minmax(240px,2fr) minmax(520px,3fr);overflow-y:auto}#side{min-height:520px}}#inspectionLineHighlight{background:#28a04b40}#inspectionLineHighlight[data-tone="input"]{background:#1e78d240}#inspectionLineHighlight[data-tone="alert"]{background:#e1a2004d}#inspectionLineHighlight[data-tone="error"]{background:#cd2d2d40}/* Render execution highlighting on the code row itself in a single scrollport. */#pseudocodeViewer.has-runtime-rows{display:flex}#pseudocodeViewer #output[hidden]{display:none}#pseudocodeRuntimeScroll{display:grid;grid-template-columns:max-content minmax(max-content,1fr);align-items:stretch;flex:1;min-width:0;min-height:0;overflow:auto}#pseudocodeRuntimeScroll :is(#pseudocodeLineNumbers,#pseudocodeRuntimeRows){margin:0;padding-block:.5rem;font:.9rem/1.45 "Roboto Mono",Consolas,monospace!important;tab-size:4;white-space:pre;-webkit-text-size-adjust:none;text-size-adjust:none}#pseudocodeRuntimeScroll #pseudocodeLineNumbers{position:sticky;left:0;z-index:1;overflow:visible}#pseudocodeRuntimeRows{color:#111;background:#fff;overflow:visible}html[data-theme=dark] #pseudocodeRuntimeRows{color:#edf2f8;background:#19232f}.pseudocode-runtime-line{display:block;min-height:1lh;padding-inline:.75rem .5rem}#pseudocodeRuntimeRows .pseudocode-runtime-line:empty::before{content:" ";white-space:pre}#inspectionLineHighlight[data-tone="selected"]{background:#1e78d240}/* Source: examples.css */.ph-dialog.pe-dialog{width:min(850px,96vw);height:min(650px,85dvh)}.pe-intro{margin:0;font-size:.9rem}.pe-body{display:grid;grid-template-columns:minmax(220px,42%) minmax(0,1fr);gap:1rem;min-height:0;flex:1}.pe-list,.pe-detail{overflow:auto;overscroll-behavior:contain}.pe-list{border-right:1px solid #d1dcef;padding-right:.75rem}.pseudly-page .pe-dialog .pe-group{font-size:.9rem;color:#596880;margin:1rem 0 .5rem}.pe-group:first-child{margin-top:0}.pe-list button{display:block;width:100%;margin-bottom:.4rem;text-align:left;font-size:.85rem}.pe-list button[aria-pressed="true"]{background:#e4ecfa;border-color:#002b82}.pseudly-page .pe-detail h2{font-size:1.2rem;margin-top:.2rem}.pe-detail p{font-size:.9rem;line-height:1.5}.pe-level,.pe-note{color:#596880}.pe-footer{border-top:1px solid #d1dcef;padding-top:.6rem;font-size:.9rem}.pe-footer a,.pe-guide-actions a{color:#002b82}.pe-guide-card{border-top:1px solid #d1dcef;padding:1.2rem 0}.pe-guide-card h3{font-size:1.15rem}.pe-guide-actions,#examplesContents{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;margin:1rem 0}.pe-guide-actions button{font:inherit;border:1px solid #bccce4;border-radius:.35rem;padding:.45rem .7rem;color:#002b82;background:#f3f6fc}.pe-guide-actions button:hover{background:#e4ecfa}.pe-guide-card summary{cursor:pointer;color:#002b82}.pe-guide-card pre{font-family:"Roboto Mono",Consolas,monospace!important;overflow:auto;padding:1rem;background:#f4f7fc;border:1px solid #d7e0ee;font:.85rem/1.5 "Roboto Mono",Consolas,monospace}@media(max-width:600px){.pe-body{grid-template-columns:1fr;grid-template-rows:40% minmax(0,1fr)}.pe-list{border-right:0;border-bottom:1px solid #d1dcef;padding:0 0 .5rem}.ph-dialog.pe-dialog{height:92dvh;max-height:92dvh}}/* Source: help.css *//* Scoped Help styles. Existing toolbox and editor fonts are preserved. */.ph-dialog{width:min(1180px,96vw);max-width:96vw;height:min(800px,92dvh);max-height:92dvh;padding:1rem;border:1px solid #b9c8e1;border-radius:.7rem;background:#fff;color:#18243a;font-family:Arial,sans-serif;overflow:hidden}.ph-dialog::backdrop{background:#001d6070}.ph-dialog[open]{display:flex;flex-direction:column;gap:.7rem}.ph-header{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.ph-header h1{font-size:1.5rem;margin:0 auto 0 0}.ph-dialog button{border:1px solid #bccce4;border-radius:.35rem;padding:.45rem .7rem;color:#002b82;background:#f3f6fc}.ph-dialog button:hover{background:#e4ecfa}.ph-dialog button:disabled{opacity:.55;cursor:not-allowed}.ph-dialog button:focus-visible,.ph-dialog input:focus-visible,.ph-dialog select:focus-visible{outline:3px solid #ecb900;outline-offset:2px}.ph-filters{display:flex;align-items:end;gap:.6rem;flex-wrap:wrap}.ph-filters input{flex:1;min-width:180px;padding:.5rem;border:1px solid #8eabd5;border-radius:.3rem}.ph-filters label,.ph-variants label{display:flex;flex-direction:column;gap:.2rem;font-size:.85rem}.ph-dialog select{padding:.4rem;max-width:100%;border:1px solid #8eabd5;border-radius:.3rem;background:#fff}.ph-body{display:grid;grid-template-columns:minmax(220px,32%) minmax(0,1fr);gap:1rem;min-height:0;flex:1}.ph-results,.ph-detail{overflow:auto;overscroll-behavior:contain}.ph-results{border-right:1px solid #d1dcef;padding-right:.7rem}.ph-results button{display:block;width:100%;text-align:left;margin-bottom:.5rem;font-weight:600}.ph-results small,.ph-results span{display:block;font-size:.78rem;font-weight:400;margin-top:.25rem}.ph-results span{color:#3d4c66}.ph-detail{padding:0 .6rem .8rem 0}.ph-detail h2{font-size:1.3rem}.ph-detail h3{font-size:1rem;margin-top:1.3rem;font-weight:700}.ph-detail p,.ph-detail li{font-size:.9rem;line-height:1.5}.ph-path,.ph-note{color:#596880}.ph-variants{display:flex;gap:.6rem;flex-wrap:wrap}.ph-preview{height:240px;position:relative;margin:.8rem 0;border:1px solid #cbd8ee;border-radius:.4rem;overflow:hidden}.ph-detail pre{background:#f4f7fc;border:1px solid #d7e0ee;padding:.8rem;white-space:pre;overflow:auto;font:.82rem/1.5 'Roboto Mono',Consolas,monospace}.ph-related{display:flex;gap:.4rem;flex-wrap:wrap}.ph-detail>button{margin-right:.4rem}.ph-status{margin:0;min-height:1.2rem;font-size:.85rem;color:#9d291d}.help-landing{max-width:900px;margin:2rem auto;padding:1rem}.help-landing button{background:#002b82;color:#fff;border:0;border-radius:.4rem;padding:.65rem 1rem}.site-page-title{margin-left:auto;color:#002b82;font:600 1rem Arial,sans-serif}.site-back-workspace{font:.75rem Arial,sans-serif;margin-left:.7rem}@media(max-width:650px){.ph-dialog{height:95dvh;max-height:95dvh;padding:.6rem}.ph-body{grid-template-columns:1fr;grid-template-rows:35% minmax(0,1fr)}.ph-results{border-right:0;border-bottom:1px solid #d1dcef}.ph-preview{height:210px}.ph-filters label{max-width:65%}.site-page-title{display:none}}/* Pseudly 0.4c final: shared Help-style typography and dialog controls. */body{font-family:Arial,sans-serif !important}button,input,select,textarea{font-family:Arial,sans-serif}/* Block field choices are UI; inline block editing remains monospace. */.blocklyDropDownDiv,.blocklyDropDownDiv *,.blocklyMenu,.blocklyMenuItem{font-family:Arial,sans-serif !important}/* General prose and inline code use the UI face; actual pseudocode is below. */code,pre{font-family:Arial,sans-serif !important}.pseudly-page dialog{box-sizing:border-box;max-width:96vw;padding:1rem;border:1px solid #b9c8e1;border-radius:.7rem;background:#fff;color:#18243a;box-shadow:0 12px 50px #0004;font-family:Arial,sans-serif !important;font-size:.9rem}.pseudly-page dialog::backdrop{background:#001d6070}.pseudly-page dialog :is(h1, h2, h3, h4, p, label, span, div, li, legend, button, input, select, textarea){font-family:Arial,sans-serif !important}.pseudly-page dialog h2{font-size:1.3rem}.pseudly-page dialog :is(h3, h4){font-size:1rem;font-weight:700}.pseudly-page dialog :is(p, label, li){line-height:1.5}.pseudly-page dialog button{border:1px solid #bccce4;border-radius:.35rem;padding:.45rem .7rem;color:#002b82;background:#f3f6fc;font-weight:400;cursor:pointer}.pseudly-page dialog button:hover{background:#e4ecfa}.pseudly-page dialog button:disabled{opacity:.55;cursor:not-allowed}.pseudly-page dialog :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea){border:1px solid #8eabd5;border-radius:.3rem;padding:.5rem;background:#fff;color:#18243a;max-width:100%;box-sizing:border-box}.pseudly-page dialog :is(button, input, select, textarea):focus-visible{outline:3px solid #ecb900;outline-offset:2px}/* Preserve the extension chooser's selected-state indication and card layout. */.pseudly-page dialog .pseudly-extension-choice{border-width:2px;border-radius:.65rem;padding:.8rem}.pseudly-page dialog .pseudly-extension-choice[aria-pressed="true"]{border-color:#002b82;background:#e6eefc;box-shadow:0 0 0 2px #002b8230}/* Blockly alerts, confirmations and filename prompts are native dialog elements. */.pseudly-page .blocklyDialog{width:min(440px, 92vw);min-width:0;max-width:92vw;max-height:90dvh;overflow:auto}.blocklyDialogPrompt{white-space:pre-wrap}.blocklyDialogForm{row-gap:.8rem}.blocklyDialogInput{box-sizing:border-box;width:100%}.blocklyDialogButtonRow,.dialog-actions{display:flex;justify-content:flex-end;gap:.6rem;flex-wrap:wrap;margin-top:.7rem}.blocklyDialogCancelButton{order:-1}.pe-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.pe-footer .dialog-actions{margin:0;margin-left:auto}/* These are the only monospace surfaces: block text/editing and pseudocode. */.blocklySvg text,.blocklyText,.blocklyHtmlInput,#output,#pseudocodeLineNumbers,.ph-detail pre,.ph-detail pre code,.zelos-code{font-family:"Roboto Mono",Consolas,monospace !important}@media (max-width: 650px){.pseudly-page dialog.ph-dialog{padding:.6rem}}/* EBNF and pseudocode examples on the grammar page retain monospace. */.grammar-code,.grammar-code code{font-family:"Roboto Mono",Consolas,monospace !important}/* Example previews are rendered from the same saved documents as Load. */.pe-preview-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.75rem;margin:1rem 0}.pe-preview{height:320px;position:relative;min-width:0;border:1px solid var(--pseudly-border);border-radius:.35rem;overflow:hidden}.pe-code,.pe-detail pre{font:.8rem/1.5 'Roboto Mono',Consolas,monospace!important;white-space:pre;overflow:auto;max-height:320px;margin:0;padding:.7rem;border:1px solid var(--pseudly-border);background:var(--page-code);color:var(--page-ink)}.pe-dialog .pe-detail{min-width:0}@media(max-width:650px){.pe-preview-pair{grid-template-columns:1fr}.pe-preview{height:240px}}html:has(#blocklyPane) dialog:is([data-workspace-dialog], .blocklyDialog)[open]{position:fixed;inset:auto;left:var(--workspace-dialog-x, 50vw);top:var(--workspace-dialog-y, 50vh);transform:translate(-50%, -50%);margin:0;max-width:min(96vw, calc(var(--workspace-dialog-width, 100vw) - 1rem));max-height:min(90dvh, calc(var(--workspace-dialog-height, 100dvh) - 1rem));overflow:auto}/* Shared account controls and the two supported presentation themes. */.account-menu,.account-login{margin-left:auto;flex-shrink:0}.account-admin{background:#602b63}.account-admin:hover{background:#783c7a}.account-menu .header-menu-panel{left:0;right:auto;min-width:180px}.account-menu form{margin:0}.account-menu summary::marker{content:''}.account-menu summary{list-style:none}.account-menu summary:focus-visible,.account-block:focus-visible{outline:3px solid #e0a400;outline-offset:2px}#account-notices{position:fixed;top:var(--pseudly-header-height);right:12px;z-index:1500;max-width:min(620px,94vw);font-family:system-ui,sans-serif}.account-notice{padding:.8rem;background:#fff4ce;color:#392d03;border:1px solid #b88900;border-radius:4px;box-shadow:0 2px 8px #0002}.account-page{font-family:system-ui,sans-serif;max-width:680px;margin:1rem auto;padding:1.2rem;line-height:1.55}.account-page h1{font-size:1.8rem}.account-page form{display:grid;gap:.5rem;margin:1rem 0 1.5rem}.account-page label{font-weight:600;margin-top:.4rem}.account-page input,.account-page select{padding:.55rem;width:100%;min-width:0;border:1px solid #778599;border-radius:4px;background:#fff;color:#18243a}.account-page button{padding:.5rem .8rem;border:1px solid #002b82;border-radius:4px;background:#002b82;color:#fff;cursor:pointer}.account-page .check{display:flex;align-items:center;gap:.6rem}.account-page .check input{width:auto}.password-row{display:flex;gap:.4rem}.password-row button{white-space:nowrap}.account-page fieldset{border:1px solid #9ca9b9;padding:1rem}.account-page legend{float:none;width:auto;font-size:1.1rem}.account-actions{display:flex;justify-content:flex-end;gap:.6rem}.account-page input:focus-visible,.account-page button:focus-visible,.account-page select:focus-visible{outline:3px solid #c78e00;outline-offset:2px}.account-wide{max-width:1200px}.account-table{overflow:auto}.account-table th,.account-table td{padding:.6rem;border:1px solid #9ca9b9;vertical-align:top}html[data-theme=dark]{color-scheme:dark;--pseudly-chrome:#243244;--pseudly-border:#62738a}html[data-theme=dark] body,html[data-theme=dark] .site-content,html[data-theme=dark] #side,html[data-theme=dark] #output{background:#19232f;color:#edf2f8}html[data-theme=dark] a{color:#b6d2ff}html[data-theme=dark] .account-block,html[data-theme=dark] .header-link{color:#fff}html[data-theme=dark] #pseudocodeLineNumbers{background:#243244;color:#c7d6e8}html[data-theme=dark] :is(.account-page input,.account-page select,dialog:not(.pseudly-loader),.pe-guide-card,.start-page .steps li,.pseudly-extension-choice){background:#243244;color:#edf2f8;border-color:#8da0b8}html[data-theme=dark] :is(dialog:not(.pseudly-loader) input,dialog:not(.pseudly-loader) select,dialog:not(.pseudly-loader) button,.ph-search,.ph-detail,.pe-detail,.ph-list,.pe-list){background:#2d4055;color:#edf2f8;border-color:#8da0b8}html[data-theme=dark] :is(.site-page-title,.site-back-workspace,.start-page h1,.start-page h2,.start-page h3,.pe-level,.pe-note,.pe-group,.ph-group,.pseudlyExtensionStatusLabel,#symbolStatus){color:#c5d7f4}html[data-theme=dark] :is(.ps-error,.ph-error){color:#ffb6bb}html[data-theme=dark] :disabled{color:#bac4d1;opacity:.7}html[data-theme=dark] .blocklyMainBackground{stroke:#62738a}html[data-theme=dark] .blocklyFlyoutLabelText{fill:#f1f5fa}@media(max-width:760px){.site-page-title{display:none}.site-back-workspace{font-size:.7rem;margin-right:.4rem}.account-page{padding:.8rem}.site-header{gap:4px;padding-inline:5px}.header-links{margin-left:0;gap:3px}.header-link{padding-inline:.35rem}.site-brand img{max-width:105px;object-fit:contain}.site-back-workspace{display:none}}html[data-theme=dark] :is(.customCategoryLabel,.customVersionLabel){color:#c5d7f4}html[data-theme=dark] #workspaceSplitter{background:#35465b}html[data-theme=dark] #workspaceSplitter:hover,html[data-theme=dark] #workspaceSplitter:focus-visible{background:#506d91}html[data-theme=dark] .pseudlySearchInput{background:#19232f;color:#edf2f8}/* The HTML editor floats outside the block SVG. Keep its text, caret and
   background paired; completed block fields retain Blockly's existing style. */html[data-theme=dark] .blocklyHtmlInput{background:#243244 !important;color:#edf2f8 !important;-webkit-text-fill-color:#edf2f8;caret-color:#edf2f8;color-scheme:dark}@media(max-width:380px){.site-brand img{max-width:82px}.header-link{font-size:.7rem;padding-inline:.25rem}.site-header{gap:2px}}.ph-dialog.account-preferences-dialog{width:min(680px,94vw);height:auto;max-height:90dvh;overflow:auto;padding:0}.account-preferences-dialog .account-page{margin:0;max-width:none}html[data-theme=dark] :is(.ph-path,.ph-note,.ph-results span,.pe-guide-card summary){color:#c5d7f4}html[data-theme=dark] :is(.ph-detail pre,.pe-guide-card pre){background:#19232f;color:#edf2f8;border-color:#8da0b8}html[data-theme=dark] dialog button[aria-pressed=true]{background:#49688f;color:#fff;border-color:#c5d7f4}@media(max-width:380px){.site-header .site-brand img{width:54px;height:auto}.site-header .workspace-program-menu{margin-left:2px}.site-header .workspace-program-menu~.header-links{margin-left:2px;gap:2px}.site-header .header-link{font-size:.7rem;padding-inline:.3rem}}.account-initials{display:inline-block;max-width:8ch;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}@media(max-width:380px){.account-initials{max-width:6ch}}/* 0.5c: theme control and private program picker. */.account-menu,.account-login{margin-left:0}.theme-toggle{margin-left:auto;border:1px solid #7890b3;border-radius:50%;width:32px;height:32px;flex-shrink:0;background:#fff;color:#002b82;font-size:1.3rem;line-height:1;cursor:pointer}.theme-toggle:focus-visible{outline:3px solid #e0a400;outline-offset:2px}html[data-theme=dark] .theme-toggle{background:#243244;color:#edf2f8}#storage-indicator{padding:.5rem;font-size:.8rem;max-width:240px;white-space:normal;color:#fff}#storage-indicator progress{display:block;width:100%;height:.6rem;margin-top:.3rem}.program-dialog{width:min(620px,94vw);max-height:90dvh}.program-dialog form{display:grid;gap:.7rem}.program-dialog input:not([type=checkbox]){width:100%}.program-dialog .copy-choice{display:flex;gap:.5rem;align-items:center}.program-dialog input[type=checkbox]{width:auto}.program-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:.7rem;flex-wrap:wrap}.program-picker{width:min(1100px,96vw);height:min(700px,90dvh);padding:1rem}.program-picker[open]{display:flex;flex-direction:column;gap:.4rem}.program-picker h2{flex-shrink:0}.program-picker .program-status{margin:0;min-height:1.5em}.program-results{flex:1;min-height:60px;overflow-y:auto;scrollbar-gutter:stable;border:1px solid #8da0b8}.program-row{display:grid;grid-template-columns:20px 100px minmax(160px,1fr) minmax(150px,1fr) 135px;gap:.6rem;align-items:center;padding:.6rem;border-bottom:1px solid #8da0b8;cursor:pointer;overflow-wrap:anywhere}.program-row img{max-width:100px;max-height:65px;object-fit:contain;background:white}.program-row strong,.program-row div>span{display:block}.program-row div>span,.program-row time{font-size:.8rem}.program-row[aria-selected=true]{outline:3px solid #4569a8;outline-offset:-3px;background:#e6eefc;color:#18243a}.row-check{font-weight:bold}.preview-placeholder{font-size:.75rem;color:#596880}.program-paging{display:flex;justify-content:space-between;align-items:center}html[data-theme=dark] .program-row[aria-selected=true]{background:#49688f;color:#fff}@media(max-width:650px){.program-row{grid-template-columns:20px 60px minmax(0,1fr)}.program-row img{max-width:60px}.program-row>span:nth-last-child(2),.program-row time{grid-column:3}.program-picker{padding:.6rem}.program-dialog .program-actions button{min-height:36px}}@media(max-width:380px){.theme-toggle{width:25px;height:25px;font-size:1rem}.site-header{gap:3px}.header-link{padding-inline:.25rem}}#account-notices{top:auto;bottom:3rem;max-height:28vh;overflow:auto;pointer-events:none}#account-notices .account-notice{pointer-events:auto}html[data-theme=dark] .program-dialog input:not([type=checkbox]){background:#2d4055;color:#edf2f8}@media(max-width:380px){.site-header .site-brand img{width:44px}.site-header .header-link{font-size:.65rem;padding-inline:.2rem}.site-header .workspace-program-menu{margin-left:0}.site-header .workspace-program-menu~.header-links{margin-left:0}}/* Reserve header height as text is enlarged; allow small-screen controls to wrap. */:root{--pseudly-header-height:max(54px,3.375rem)}@media(max-width:380px){.site-header{flex-wrap:wrap;align-content:center}}.program-column-head{display:grid;grid-template-columns:20px 100px minmax(160px,1fr) minmax(150px,1fr) 135px;gap:.6rem;padding-inline:.6rem;font-size:.75rem;font-weight:bold}.theme-toggle{width:2rem;height:2rem}@media(max-width:650px){.program-column-head{display:none}}@media(max-width:380px){.theme-toggle{width:1.5625rem;height:1.5625rem}}/* 0.5c UI review: use the same button metrics and font as the Program menu. */.site-header .account-block{position:relative;margin:1px 0 0;font-family:inherit;cursor:pointer}.site-header .account-block::before{content:none}.site-header .account-menu{align-self:flex-start;margin-top:6px}.site-header .account-login{align-self:flex-start;margin-top:7px}.site-header .account-admin{background:#602b63;border-color:#49204c}.site-header .account-admin:hover,.site-header .account-admin:focus-visible{background:#783c7a}.site-header .theme-toggle{display:grid;place-items:center;padding:0;align-self:flex-start;margin-top:7px;margin-right:.65rem;width:27px;height:27px;border:0;overflow:hidden;background:transparent}.theme-artwork{display:block;width:100%;height:100%;border-radius:50%;background-image:url('../images/theme-icons.png');background-repeat:no-repeat;background-size:232.222222% 232.222222%;background-position:92.717087% 49.579832%}html[data-theme=dark] .theme-artwork{background-position:7.282913% 49.579832%}.header-menu-panel hr{border:0;border-top:1px solid #c5d7f4;opacity:1;margin:.35rem .4rem}#storage-indicator .storage-label,#storage-indicator .storage-amount{display:block}#storage-indicator .storage-amount{margin-top:.15rem;font-variant-numeric:tabular-nums}#account-notices{overflow:visible;max-height:none;max-width:min(32rem,calc(100vw - 24px))}.account-notice{position:relative;display:flex;align-items:center;gap:.6rem;margin:.5rem 0 0;padding:.75rem .85rem;box-shadow:0 .4rem 1.2rem #0005;border-radius:.5rem}.notice-message{flex:1;min-width:0}.account-notice button{flex-shrink:0;color:inherit;background:transparent;border:1px solid #846000;cursor:pointer;line-height:1.2}.account-notice .notice-info{display:grid;place-items:center;width:1.4rem;height:1.4rem;padding:0;border-radius:50%;font:bold .9rem Georgia,serif}.account-notice .notice-dismiss{padding:.25rem .4rem;border-radius:.25rem;font:inherit;font-size:.8rem}.account-notice button:focus-visible{outline:3px solid #002b82;outline-offset:2px}.notice-tooltip{display:none;position:absolute;right:0;bottom:calc(100% + .5rem);width:max-content;max-width:min(30rem,calc(100vw - 24px));padding:.7rem .8rem;border:1px solid #62738a;border-radius:.4rem;background:#19232f;color:#fff;font-size:.85rem;line-height:1.45;box-shadow:0 .3rem 1rem #0005;z-index:1}.notice-info:is(:hover,:focus)+.notice-tooltip{display:block}@media(max-width:380px){.site-header .theme-toggle{margin-right:.4rem}.account-notice{gap:.4rem;padding:.65rem}}/* Header review: one navigation rhythm, then twice that gap before the theme. */.site-header{column-gap:0}.site-header .header-links{gap:var(--navigation-gap)}.site-header .workspace-program-menu~.header-links{gap:var(--navigation-gap);margin-left:var(--navigation-gap)}.site-header .header-links :is(.account-menu,.account-login){margin:0;align-self:auto}.site-header .header-links .account-login{margin-top:1px}.site-header .header-links .theme-toggle{margin:1px 0 0 var(--navigation-gap);align-self:auto}.theme-toggle:hover,.theme-toggle:focus-visible{filter:brightness(1.2)}@media(max-width:760px){.site-header .header-links{--navigation-gap:3px}}@media(max-width:380px){.site-header .header-links{--navigation-gap:2px}}/* Keep Blockly sprite alpha/clip paths and lid animation; brighten only controls. */html[data-theme=dark] #blocklyDiv :is(.blocklyZoom,.blocklyTrash) image{filter:brightness(0) invert(1)}html[data-theme=dark] #blocklyDiv .blocklyZoom>image,html[data-theme=dark] #blocklyDiv .blocklyZoom>svg>image{opacity:.7}html[data-theme=dark] #blocklyDiv .blocklyZoom:is(:hover,:focus)>image,html[data-theme=dark] #blocklyDiv .blocklyZoom:is(:hover,:focus)>svg>image{opacity:1}html[data-theme=dark] #blocklyDiv .blocklyTrash{opacity:.7 !important}html[data-theme=dark] #blocklyDiv .blocklyTrash:is(:hover,:focus){opacity:1 !important}/* 0.5d Tools switches and account-only save status. */.tool-switch{display:flex;align-items:center;gap:.65rem;cursor:pointer}.tool-switch input[role=switch]{appearance:none;width:2.5rem;height:1.4rem;border:2px solid #52677d;border-radius:1rem;background:#a6b1bf;position:relative;flex:none}.tool-switch input[role=switch]::before{content:'';position:absolute;left:2px;top:2px;width:.9rem;height:.9rem;border-radius:50%;background:white;transition:transform .15s}.tool-switch input[role=switch]:checked{background:#176cb0}.tool-switch input[role=switch]:checked::before{transform:translateX(1.05rem)}.tool-switch input:focus-visible{outline:3px solid #d49613;outline-offset:3px}#backpack-status{position:absolute;right:12px;top:90px;z-index:50;max-width:min(320px,80%);font:14px sans-serif;padding:6px 10px;background:#fff3cd;color:#302600;border:1px solid #9f7d18;border-radius:5px}#backpack-status:empty,#backpack-status[hidden]{display:none}#backpack-status button{margin-left:8px}.workspace-tools-prefs .tool-switch input[role=switch]{padding:0;margin:0;background:#8999ad;border:2px solid #52677d}.workspace-tools-prefs .tool-switch input[role=switch]:checked{background:#176cb0;border-color:#176cb0}/* Shared fixed-page palette and navigation typography in both themes. */:root{--page-ink:#18243a;--page-heading:#253862;--page-muted:#5c6473;--page-panel:#f7f8fb;--page-code:#f4f7fc;--page-link:#002b82}html[data-theme=dark]{--page-ink:#edf2f8;--page-heading:#c5d7f4;--page-muted:#c7d6e8;--page-panel:#243244;--page-code:#19232f;--page-link:#b6d2ff}.pseudly-content,.start-page,.grammar-page{color:var(--page-ink)}.pseudly-content :is(h1,h2,h3,h4),.start-page :is(h1,h2,h3),.grammar-page :is(h1,h2,h3){color:var(--page-heading)}.pseudly-content :is(.quiet,figcaption),.start-page figcaption{color:var(--page-muted)}.pseudly-content .principle,.start-page .remember{background:var(--page-panel);color:var(--page-ink)}.pseudly-content :is(pre,code),.grammar-code{background:var(--page-code);color:var(--page-ink)}.pseudly-content a,.start-page a{color:var(--page-link)}.pseudly-content :is(th,td){border-color:var(--pseudly-border)}.site-header :is(.header-menu-panel,.header-submenu-panel) :is(a,button,.header-submenu-trigger,.header-menu-disabled){font:400 .75rem/1.4 Arial,sans-serif}.site-header :is(.header-menu-panel,.header-submenu-panel) :is(a,button,.header-submenu-trigger){color:#fff}.site-header :is(.header-menu-panel,.header-submenu-panel) :is(a,button):focus-visible{outline:2px solid #ffcc00;outline-offset:-2px;background:#174888;color:#fff}html[data-theme=dark] :is(.pe-group,.pe-level,.pe-note,.ph-note,.ph-path){color:var(--page-muted)}html[data-theme=dark] .pseudly-extension-choice:hover{background:#3b506b;color:#fff}html[data-theme=dark] .ph-dialog select{background:#2d4055;color:var(--page-ink)}/* The loader has its own paired colours; general dialog rules must not repaint it. */.pseudly-page dialog.pseudly-loader{background:#092c76;color:#fff;padding:15px 22px 13px;border:0;border-radius:11px}/* Bootstrap's secondary-text utility uses !important, including page kickers. */.pseudly-content .text-secondary,.start-page .text-secondary{color:var(--page-muted) !important}html[data-theme=dark] .pseudly-page .pe-dialog :is(.pe-group,.pe-level,.pe-note){color:var(--page-muted)}/* Keep the 404 page's white CTA paired with its dark text in either theme. */html[data-theme=dark] .not-found-home{color:#001d60}/* Account actions stay visibly unavailable in either theme, including hover. */.site-header :is(.header-menu-panel,.header-submenu-panel) button:disabled{color:#c0c9d6;background:transparent;opacity:.65;cursor:not-allowed}/* Teaching pages share one reading and illustration layout. */.documentation-page{max-width:1080px;overflow-wrap:break-word}.doc-contents,.doc-related{display:flex;flex-wrap:wrap;gap:.65rem 1.25rem;margin:1.5rem 0}.doc-related{border-top:1px solid var(--pseudly-border);padding-top:1.25rem;margin-top:2.5rem}.doc-table-scroll{max-width:100%;overflow:visible;margin:1.25rem 0}.doc-table-scroll:focus-visible{outline:3px solid #c78e00;outline-offset:3px}.documentation-page table{border-collapse:collapse;width:100%;min-width:0;max-width:100%;margin:1.25rem 0;table-layout:auto}.documentation-page table :is(th,td){border:1px solid var(--pseudly-border);padding:.7rem .85rem;vertical-align:middle;white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none}.documentation-page table th{background:var(--page-panel);text-align:left}.documentation-page table :is(a,code){overflow-wrap:anywhere}.documentation-page table th:first-child{width:20%}.documentation-page .doc-table--pathways th:first-child{width:24%}.documentation-page .doc-table--comparison th:first-child{width:50%}@media(max-width:700px){.documentation-page table,.documentation-page table tbody,.documentation-page table tr,.documentation-page table td{display:block;width:100%;box-sizing:border-box}.documentation-page table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.documentation-page table tr{margin:0 0 1rem}.documentation-page table td{border-top:0;overflow-wrap:break-word}.documentation-page table td:first-child{border-top:1px solid var(--pseudly-border)}.documentation-page table td::before{content:attr(data-label);display:block;font-weight:700;color:var(--page-heading);margin-bottom:.25rem}}.doc-example{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;align-items:start}.doc-example>*{min-width:0}.doc-example .doc-blocks img{border-radius:.4rem;box-shadow:none}.doc-example pre,.doc-code{margin:0;max-width:100%;overflow:auto;white-space:pre;padding:1rem;border:1px solid var(--pseudly-border);border-radius:.4rem;font:.9rem/1.55 'Roboto Mono',Consolas,monospace}.doc-example figcaption{grid-column:1/-1;text-align:left}.doc-screenshot figcaption{text-align:left}.doc-reference{padding-left:1.8rem;text-indent:-1.8rem}.release-entry{margin-bottom:2rem}.teacher-menu>summary{display:block;list-style:none;width:100%;padding:.4rem .65rem;border:0;border-radius:.2rem;text-align:left;white-space:nowrap}.teacher-menu>summary::-webkit-details-marker{display:none}.teacher-menu>summary:is(:hover,:focus-visible){background:#174888;color:#fff}.teacher-menu>summary:focus-visible{outline:2px solid #ffcc00;outline-offset:-2px}.teacher-menu:not([open])>.header-submenu-panel{display:none}.teacher-menu[open]>.header-submenu-panel{display:block}.teacher-menu>summary::marker{content:""}@media(max-width:700px){.doc-example{grid-template-columns:minmax(0,1fr)}.teacher-menu>.header-submenu-panel{position:static;margin:.25rem 0 .25rem .75rem;min-width:0;box-shadow:none}.help-menu>.header-menu-panel{left:auto;right:0;min-width:min(18rem,calc(100vw - 24px))}}/* Keep the reference download CTA paired with its blue background. */.pseudly-content .grammar-download{color:#fff}/* 0.6.4: compact account administration in both supported themes. */.user-management .user-management-note{margin:.5rem 0 1.5rem}.user-management .user-search{display:flex;align-items:center;gap:.6rem;margin:1.5rem 0}.user-search label{margin:0;white-space:nowrap}.user-search input[type=search]{flex:1;width:auto}.user-search button{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px}.user-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.user-filters a{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .7rem;border:1px solid #62738a;border-radius:5px;text-decoration:none;color:#002b82;background:#fff}.user-filters a[aria-current=true]{background:#002b82;color:#fff;border-color:#002b82}.user-filters a:focus-visible,.user-management [tabindex]:focus-visible{outline:3px solid #c78e00;outline-offset:2px}.user-management h2{font-size:1.25rem;margin:1.25rem 0 .6rem}.user-table{width:100%;border-collapse:collapse;font-size:.9rem;background:#fff;color:#18243a}.user-table th{background:#e5edf8;font-weight:650;text-align:left;white-space:nowrap}.user-table :is(th,td){vertical-align:middle;padding:.5rem .6rem;border-color:#b5c0cf}.user-table tbody tr:nth-child(even){background:#f4f7fb}.user-table .user-muted{color:#596575;background:#edf0f4}.user-table .user-muted:nth-child(even){background:#e8ecf1}.user-role{display:inline-flex;gap:3px;align-items:center;white-space:nowrap;vertical-align:middle;min-width:74px}.user-role svg:nth-child(2){width:16px}.user-table time{white-space:nowrap;font-size:.82rem}.user-status{display:block;font-size:.75rem;font-weight:600}.user-actions{display:flex;gap:.35rem;justify-content:flex-end;min-height:36px}.user-management .user-actions form{display:block;margin:0}.user-actions button{padding:.35rem;display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px}.user-actions button:disabled{cursor:not-allowed;background:#d9e0ea;color:#4b596c;border-color:#8190a4;opacity:1}.user-pagination{display:flex;gap:1rem;align-items:center;margin-top:.5rem;font-size:.85rem}html[data-theme=dark] .user-table{background:#19232f;color:#edf2f8}html[data-theme=dark] .user-table th{background:#35465b;color:#fff}html[data-theme=dark] .user-table tbody tr:nth-child(even){background:#243244}html[data-theme=dark] .user-table .user-muted{background:#29313c;color:#bdc7d4}html[data-theme=dark] .user-table .user-muted:nth-child(even){background:#303946}html[data-theme=dark] .user-table :is(th,td){border-color:#62738a}html[data-theme=dark] .user-filters a{background:#243244;color:#d9e7ff;border-color:#8da0b8}html[data-theme=dark] .user-filters a[aria-current=true]{background:#49688f;color:#fff;border-color:#c5d7f4}html[data-theme=dark] .user-actions button:disabled{background:#3c4859;color:#c6cfdb;border-color:#8da0b8;opacity:1}@media(max-width:600px){.user-management .user-search{flex-wrap:wrap}.user-search label{flex-basis:100%}.user-management{padding:.6rem}.user-table :is(th,td){padding:.4rem}.user-table{min-width:680px}}.user-table .account-active{white-space:nowrap;min-width:24ch}.user-management .account-table{max-height:65vh;overflow:auto;isolation:isolate}.user-management .user-table th{position:sticky;top:0;z-index:2}.user-management .user-actions{flex-wrap:wrap}.user-management .admin-program-link{font:inherit;text-align:left;padding:0;background:none;color:inherit;text-decoration:underline;border:0;cursor:pointer}.program-inspection-label{margin:.35rem;padding:.45rem;border:1px solid #c78e00;border-radius:4px;background:#fff3cc;color:#443000;font:14px/1.5 system-ui;flex:0 0 auto}.program-inspection-label[hidden]{display:none!important}html[data-theme=dark] .program-inspection-label{background:#493b16;color:#fff3cc}#blocklyPane:has(.program-inspection-label:not([hidden])){display:flex;flex-direction:column}#blocklyPane:has(.program-inspection-label:not([hidden])) #blocklyDiv{flex:1;min-height:0}.admin-owner-details{white-space:pre-wrap;font:14px/1.5 system-ui;overflow-wrap:anywhere}.report-navigation,.report-toolbar,.report-search,.report-paging{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap;margin:1rem 0}.report-navigation a,.report-download{padding:.4rem .6rem;border:1px solid #7184a0;border-radius:4px}.report-navigation a[aria-current=page]{background:#253862;color:#fff;text-decoration:none}.report-toolbar p{flex:1 1 300px;margin:0}.report-toolbar form{margin:0}.report-search input{max-width:100%;min-width:0}.report-coverage{padding:.6rem;background:#e5edf8;border-radius:4px}.report-warning{padding:.6rem;border-left:4px solid #b17900;background:#fff3cc;color:#443000;margin:.7rem 0}.report-warning p{margin:0}.report-warning ul{margin-bottom:0}.report-table-wrapper{max-width:100%;overflow:auto;max-height:65vh;isolation:isolate;margin:.75rem 0}.report-table{width:100%;border-collapse:collapse;font-size:.9rem;background:#fff;color:#18243a}.report-table :is(th,td){padding:.55rem;border:1px solid #b5c0cf;text-align:left;vertical-align:top}.report-table thead th{position:sticky;top:0;z-index:1;background:#e5edf8}.report-table th[scope=row]{font-weight:500}.report-table td small{display:block;white-space:nowrap}.report-table :is([data-value],[data-storage-bytes],[data-program-count],[data-occurrences],[data-programs]){font-variant-numeric:tabular-nums;white-space:nowrap}.report-program-link{padding:0;border:0;background:none;color:inherit;text-align:left;text-decoration:underline;font:inherit;cursor:pointer}.report-definitions{margin-top:1.5rem}.report-definitions summary{font-weight:650;cursor:pointer}.report-page :is(a,button,input,[tabindex]):focus-visible{outline:3px solid #c78e00;outline-offset:2px}html[data-theme=dark] .report-table{background:#19232f;color:#edf2f8}html[data-theme=dark] .report-table thead th,html[data-theme=dark] .report-coverage{background:#35465b;color:#fff}html[data-theme=dark] .report-table :is(th,td){border-color:#62738a}html[data-theme=dark] .report-warning{background:#493b16;color:#fff3cc}/* Administration shares the right-opening direction used by Program / Export. */#administration-menu>.header-submenu-panel{left:calc(100% - 1px);right:auto}#administration-menu>.header-submenu-trigger::after{content:'▸'}@media(max-width:1000px){#administration-menu>.header-submenu-panel{position:static;left:auto;right:auto;min-width:0;margin:.2rem 0 .2rem .65rem;box-shadow:none}#administration-menu>.header-submenu-trigger::after{content:'▾'}}.report-page .report-search{display:flex}.report-page .report-toolbar form{display:block}.site-header .account-teacher{background:#20543d;border-color:#173d2c}.site-header .account-teacher:is(:hover, :focus-visible){background:#2a694e}.account-menu-admin{--account-menu-fill:#825386;--account-menu-hover:#602b63}.account-menu-teacher{--account-menu-fill:#397354;--account-menu-hover:#20543d}:is(.account-menu-admin, .account-menu-teacher) :is(.header-menu-panel, .header-submenu-panel){background:var(--account-menu-fill);border-color:var(--account-menu-hover)}:is(.account-menu-admin, .account-menu-teacher) :is(.header-menu-panel, .header-submenu-panel) :is(a, button):is(:hover, :focus-visible){background:var(--account-menu-hover)}.ph-dialog.account-preferences-dialog[open]{display:block;height:fit-content;min-height:0}.account-preferences-dialog .pseudly-view-tabs{border-bottom:1px solid var(--tab-outline)}.account-preferences-dialog .account-page h1{margin:0 0 .7rem}.account-preferences-dialog .account-page > form{margin:.9rem 0 0}.account-preferences-dialog .account-actions button[value=cancel]{order:-1}.account-preferences-dialog #preference-panel-account{padding-top:.9rem}.account-preferences-dialog #preference-panel-account p{margin:.65rem 0}.account-preferences-dialog #preference-panel-account summary{cursor:pointer}.preference-fields:not([hidden]){display:grid;gap:.35rem}.preference-fields > label{margin:.35rem 0 0}.preference-fields > select + label{margin-top:.6rem}/* Shared columns align every option label and switch, centred in the pane. */.preference-switches{display:grid;grid-template-columns:max-content 25px max-content .5rem 2.75rem .5rem max-content;gap:.7rem 0;justify-self:center;max-width:100%;margin:.5rem 0}.preference-switches > .preference-switch{display:grid;grid-template-columns:subgrid;grid-column:1/-1;align-items:center;column-gap:inherit;margin:0;cursor:pointer}.preference-switch-name{grid-column:1;text-align:right;line-height:1.3}.preference-switches .preference-switch > span:nth-child(2){grid-column:3}.preference-switches .preference-switch > input{grid-column:5}.preference-switches .preference-switch > span:last-child{grid-column:7}.preference-switch span:nth-child(2){text-align:right}.ph-dialog.account-preferences-dialog .preference-switch input[role=switch]{appearance:none;position:relative;width:2.75rem;height:1.5rem;padding:0;margin:0;border:2px solid #52677d;border-radius:1rem;background:#8999ad;cursor:pointer}.ph-dialog.account-preferences-dialog .preference-switch input[role=switch]::before{content:"";position:absolute;width:1rem;height:1rem;top:2px;left:2px;border-radius:50%;background:white}.ph-dialog.account-preferences-dialog .preference-switch input[role=switch]:checked::before{transform:translateX(1.25rem)}.ph-dialog.account-preferences-dialog .preference-switch input[role=switch]:checked,.ph-dialog.account-preferences-dialog .preference-choice input[role=switch]{background:#176cb0;border-color:#176cb0}#exportAllButton[hidden],#exportAllSeparator[hidden]{display:none}/* Keep all five rows aligned when their names need a separate line. */@media (max-width: 600px){.preference-switches{grid-template-columns:max-content 2.75rem max-content;gap:1rem .5rem}.preference-switches .preference-switch-name{grid-column:1/-1;margin-bottom:.3rem}.preference-switches .preference-switch > span:nth-child(2){grid-column:1}.preference-switches .preference-switch > input{grid-column:2}.preference-switches .preference-switch > span:last-child{grid-column:3}}.pseudly-page dialog.account-session-dialog{width:min(26rem,calc(100vw - 32px));max-width:calc(100vw - 32px);height:fit-content;min-height:0;max-height:calc(100dvh - 32px);padding:1.25rem;overflow:auto}.account-session-dialog :is(h2,p){margin:0;flex:0 0 auto}.pseudly-page dialog.account-session-dialog p{white-space:normal;overflow-wrap:break-word}.account-session-dialog button{display:block;margin-left:auto}#blocklyPane{position:relative}.representation-tools{position:absolute;right:24px;top:12px;display:flex;flex-direction:column;gap:24px;z-index:8}.representation-tools[hidden]{display:none!important}.representation-tools button[hidden]{display:none!important}.representation-tools svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#flowspace{position:absolute;inset:0;overflow:scroll;touch-action:none;outline-offset:-3px;z-index:2;background-color:transparent;background-image:radial-gradient(circle,#8888 1px,transparent 1px);background-size:20px 20px;scrollbar-color:#ccc transparent;scrollbar-width:thin}#flowspace::-webkit-scrollbar{width:15px;height:15px}#flowspace::-webkit-scrollbar-track,#flowspace::-webkit-scrollbar-corner{background:transparent}#flowspace::-webkit-scrollbar-thumb{background:#ccc;border:4px solid transparent;background-clip:padding-box;border-radius:8px}#flowspace::-webkit-scrollbar-thumb:hover{background-color:#bbb}#flowExtent{position:relative;min-width:100%;min-height:100%;pointer-events:none}#flowViewport{transform-origin:0 0;position:absolute;top:0;left:0;pointer-events:auto}#flowViewport svg{display:block}#flowViewport [role=button]{cursor:pointer}#flowViewport [role=button]:focus{outline:none;filter:drop-shadow(0 0 4px #1375ce)}#flowViewport [aria-pressed=true]{filter:drop-shadow(0 0 4px #1375ce)}#flowScopeTools{position:absolute;top:12px;left:12px;max-width:calc(100% - 90px);z-index:6}#flowScopeTools[hidden]{display:none}#flowScopeTools > div{display:flex;gap:.4rem;align-items:center}#flowScopeTools :is(button,select,h2){color:#24364e;background:#fff;border:1px solid #71849d;border-radius:5px}#flowScopeTools :is(button,select){padding:.25rem .5rem}#flowScope{min-width:0;max-width:100%}#flowScopeTitle{margin:.35rem 0 0;padding:.25rem .5rem;font:600 .95rem/1.35 Arial,sans-serif;overflow-wrap:anywhere}#blocklyPane:has(#flowScopeTools:not([hidden])) #flowStatus{top:100px}html[data-theme=dark] #flowScopeTools :is(button,select,h2){color:#edf3fb;background:#23374c;border-color:#aec8e3}#flowStatus{position:absolute;top:12px;left:12px;padding:16px;max-width:calc(100% - 90px);color:var(--bs-body-color,#24364e);background:var(--bs-body-bg,#fff);border-radius:6px}#flowStatus:empty{display:none}#flowSharedControls{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:4;overflow:visible}#flowSharedControls .pseudly-workspace-controls button{pointer-events:auto}#flowSharedControls[hidden]{display:none}#blocklyPane #blocklyDiv{top:0;height:auto}.is-flowspace #blocklyDiv{visibility:hidden}.is-flowspace #flowSharedControls .pseudly-workspace-controls{visibility:visible}.is-flowspace #workspace-cleanup,.is-flowspace .blocklyBackpack,.is-flowspace .blocklyTrash,.is-flowspace .blockly-minimap{display:none!important}.flow-inspector{position:absolute;right:64px;bottom:20px;max-width:min(480px,80%);max-height:50%;overflow:auto;z-index:9;padding:14px;background:#fff;color:#162d44;border:1px solid #71849d;border-radius:8px;box-shadow:0 4px 18px #0003}.flow-inspector h3{font:600 17px Arial,sans-serif}.flow-inspector pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.5 'Roboto Mono',Consolas,monospace}.flow-inspector button{margin:4px;border:1px solid #77869a;border-radius:4px;padding:5px 9px;background:#fff;color:#19354f}@media(max-width:650px){.flow-inspector{right:8px;max-width:90%}}/* Always-visible Blockly-style scrollbar handles; scrolling remains native. */#flowspace{scrollbar-width:none}#flowspace::-webkit-scrollbar{display:none}#flowScrollbars[hidden]{display:none}.flow-scroll{position:absolute;z-index:7;touch-action:none;background:transparent}.flow-scroll-x{left:0;right:15px;bottom:0;height:15px}.flow-scroll-y{top:0;right:0;bottom:15px;width:15px}.flow-scroll-thumb{position:absolute;background:#ccc;border-radius:8px;min-width:6px;min-height:6px}.flow-scroll-x .flow-scroll-thumb{top:4px;height:6px}.flow-scroll-y .flow-scroll-thumb{left:4px;width:6px}.flow-scroll:hover .flow-scroll-thumb,.flow-scroll:focus-visible .flow-scroll-thumb{background:#bbb}.flow-scroll:focus-visible{outline:2px solid #165d94;outline-offset:-2px}/* View switching is a prominent primary canvas action. */#blocklyPane #spaceToggle{width:44px;height:44px;border-width:2.5px;border-color:#526e8c;background:#edf4fb;color:#244b73;opacity:1;box-shadow:0 1px 3px #16365325}#blocklyPane #spaceToggle svg{width:30px;height:30px;stroke-width:2.6;overflow:visible}#blocklyPane #spaceToggle:hover{background:#dceafb;border-color:#244b73}#blocklyPane #spaceToggle:focus-visible{outline:3px solid #176cb0;outline-offset:3px}.representation-tools{align-items:center}html[data-theme=dark] #blocklyPane #spaceToggle{background:#29415a;border-color:#aec8e3;color:#f0f7ff}html[data-theme=dark] #blocklyPane #spaceToggle:hover{background:#355779}/* These controls sit over the chart and use its independent theme. */#blocklyPane[data-flowchart-theme="light"] :is(#flowOrientationToggle,#flowExpandToggle){background:#edf4fb;border-color:#526e8c;color:#244b73}#blocklyPane[data-flowchart-theme="dark"] :is(#flowOrientationToggle,#flowExpandToggle){background:#29415a;border-color:#aec8e3;color:#f0f7ff}#blocklyPane[data-flowchart-theme] :is(#flowOrientationToggle,#flowExpandToggle):not(:disabled){opacity:1}#blocklyPane[data-flowchart-theme="light"] :is(#flowOrientationToggle,#flowExpandToggle):hover:not(:disabled){background:#dceafb}#blocklyPane[data-flowchart-theme="dark"] :is(#flowOrientationToggle,#flowExpandToggle):hover:not(:disabled){background:#355779}#blocklyPane[data-flowchart-theme="light"] #flowspace{background-color:#f7faff}#blocklyPane[data-flowchart-theme="dark"] #flowspace{background-color:#172433}#blocklyPane[data-flowchart-theme="light"] :is(#flowStatus,.flow-inspector){background:#fff;color:#162d44}#blocklyPane[data-flowchart-theme="dark"] :is(#flowStatus,.flow-inspector){background:#23374c;color:#edf3fb}#blocklyPane[data-flowchart-theme="dark"] :is(#flowScopeTools,.flow-inspector) :is(button,select,h2){color:#edf3fb;background:#23374c;border-color:#aec8e3}#blocklyPane[data-flowchart-theme="light"] #flowScopeTools :is(button,select,h2){color:#24364e;background:#fff;border-color:#71849d}#flowExportDialog form{display:grid;gap:.55rem}
