.cq-mascot{position:fixed;right:1rem;bottom:1rem;z-index:200;display:flex;align-items:flex-end;gap:.5rem;pointer-events:none}.cq-mascot__bubble{pointer-events:auto;max-width:14rem;background:var(--cq-surface);border:1px solid var(--cq-border);border-radius:var(--cq-radius);padding:.5rem .75rem;font-size:.9em;color:var(--cq-text);box-shadow:0 4px 14px #0000001f}.cq-mascot__figure{pointer-events:auto;width:96px;height:96px;border-radius:50%;background:var(--cq-surface);border:2px solid var(--cq-accent);display:grid;place-items:center;overflow:hidden}.cq-mascot__canvas{width:100%;height:100%;display:block}.cq-mascot__fallback{font-size:2.5rem;line-height:1}@media(max-width:30rem){.cq-mascot__bubble{display:none}}.cq-cases-intro{color:var(--cq-text-muted);max-width:46rem}.cq-case-grid{list-style:none;padding:0;margin:1.25rem 0 0;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(18rem,1fr))}.cq-case-card{display:flex;flex-direction:column;gap:.5rem}.cq-case-card h2{margin:0;font-size:1.2rem}.cq-case-summary{margin:0;color:var(--cq-text);flex:1}.cq-case-meta{margin:0;color:var(--cq-text-muted);font-size:.85em}.cq-case-start{align-self:flex-start;text-decoration:none;margin-top:.25rem}/**
 * Copyright (c) 2014 The xterm.js authors. All rights reserved.
 * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
 * https://github.com/chjj/term.js
 * @license MIT
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * Originally forked from (with the author's permission):
 *   Fabrice Bellard's javascript vt100 for jslinux:
 *   http://bellard.org/jslinux/
 *   Copyright (c) 2011 Fabrice Bellard
 *   The original design remains. The terminal itself
 *   has been extended to include xterm CSI codes, among
 *   other features.
 */.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;inset:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;inset:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.cq-terminal{border:1px solid var(--cq-border);border-radius:var(--cq-radius);overflow:hidden;background:var(--cq-terminal-bg)}.cq-terminal__bar{display:flex;align-items:center;justify-content:space-between;padding:.4rem .75rem;background:var(--cq-surface-2);border-bottom:1px solid var(--cq-border);font-size:.85em;color:var(--cq-text-muted)}.cq-terminal__host{width:100%;height:18rem;padding:.5rem}.cq-player{margin-top:.5rem}.cq-mode-switch{display:flex;gap:.5rem;margin:1rem 0}.cq-prompt{font-size:1.15em;font-weight:600;margin:0 0 .5rem}.cq-hint{color:var(--cq-text-muted);font-size:.95em}.cq-options{list-style:none;padding:0;margin:.75rem 0 0;display:grid;gap:.6rem}.cq-option{width:100%;text-align:left;padding:.85rem 1rem;font-size:1.02em}.cq-option-detail{color:var(--cq-text-muted);font-weight:400}.cq-solve-status{min-height:1.5rem;margin-top:1rem;color:var(--cq-accent-strong);font-weight:600}.cq-progress{list-style:none;padding:0;display:flex;gap:1.5rem;flex-wrap:wrap;color:var(--cq-text-muted)}.cq-hint-zone{margin-top:1rem}.cq-hint-btn{font-size:.9em}.cq-hint-text{margin:.6rem 0 0;padding:.7rem .85rem;border-radius:var(--cq-radius);background:var(--cq-surface-2, rgba(45, 212, 191, .08));border:1px solid var(--cq-border);color:var(--cq-text)}.cq-case-brief{color:var(--cq-text-muted);border-left:3px solid var(--cq-accent, currentColor);padding-left:.9rem;margin:.5rem 0 1.25rem}.cq-case-progress{display:flex;flex-direction:column;gap:.35rem;color:var(--cq-text-muted);margin:0 0 1.5rem;max-width:24rem}.cq-case-progress progress{width:100%;height:.55rem}.cq-step-narrative{font-size:1.05em}.cq-case-explain{color:var(--cq-text-muted)}.cq-advance{margin-top:1.5rem;padding:1rem 1.1rem;border-radius:.6rem;background:var(--cq-surface-2, rgba(45, 212, 191, .08))}.cq-advance p{margin-top:0}.cq-resolution{font-size:1.05em}.cq-account{max-width:30rem;margin:0 auto}.cq-account-hero{text-align:center;margin:.5rem 0 1.5rem}.cq-account-badge{display:inline-flex;align-items:center;justify-content:center;width:3.25rem;height:3.25rem;font-size:1.6rem;border-radius:50%;background:var(--cq-surface-2);border:1px solid var(--cq-border);margin-bottom:.6rem}.cq-account-hero h1{margin:0 0 .35rem;font-size:1.7rem}.cq-account-tagline{margin:0 auto;max-width:26rem;color:var(--cq-text-muted)}.cq-account-panel{display:flex;justify-content:center}.cq-account-card{width:100%;max-width:26rem;padding:1.5rem;box-shadow:0 1px 3px #141e2d0f,0 10px 28px #141e2d12}.cq-oauth{display:flex;flex-direction:column;gap:.6rem}.cq-oauth-btn{display:flex;align-items:center;justify-content:center;gap:.6rem;width:100%;font:inherit;cursor:pointer;padding:.65rem 1rem;border-radius:var(--cq-radius);border:1px solid var(--cq-border);background:var(--cq-surface);color:var(--cq-text);transition:background var(--cq-transition-fast) ease,border-color var(--cq-transition-fast) ease}.cq-oauth-btn:hover{background:var(--cq-surface-2);border-color:var(--cq-text-muted)}.cq-oauth-icon{flex:none}.cq-oauth-divider{display:flex;align-items:center;gap:.75rem;color:var(--cq-text-muted);font-size:.85em;margin:1rem 0 .25rem}.cq-oauth-divider:before,.cq-oauth-divider:after{content:"";flex:1;border-top:1px solid var(--cq-border)}.cq-auth-form{display:flex;flex-direction:column;gap:.85rem;margin-top:.75rem}.cq-auth-field{display:flex;flex-direction:column;gap:.3rem}.cq-auth-field label{font-size:.9em;font-weight:600;color:var(--cq-text-muted)}.cq-auth-field input{width:100%;padding:.6rem .75rem;font:inherit;border-radius:var(--cq-radius);border:1px solid var(--cq-border);background:var(--cq-bg);color:var(--cq-text)}.cq-auth-field input::placeholder{color:var(--cq-text-muted);opacity:.75}.cq-auth-field input:focus-visible{outline:var(--cq-focus-width) solid var(--cq-focus);outline-offset:1px;border-color:var(--cq-accent)}.cq-auth-submit{width:100%;padding:.65rem 1rem;font-weight:600;margin-top:.15rem}.cq-auth-submit:disabled{opacity:.6;cursor:default}.cq-auth-msg{min-height:1.4rem;margin:.75rem 0 0;color:var(--cq-accent-strong);font-weight:600;text-align:center}.cq-account-toggle{display:block;width:100%;text-align:center;margin-top:.6rem}.cq-account-note{color:var(--cq-text-muted);margin:.5rem 0}.cq-account-note:first-child{margin-top:0}.cq-signedin-line{display:flex;align-items:center;gap:.5rem;font-size:1.05em;margin:0 0 .5rem}.cq-signedin-check{display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:50%;background:var(--cq-success);color:#fff;font-size:.85rem;flex:none}.cq-linkbutton{background:none;border:none;padding:.4rem 0;color:var(--cq-accent-strong);text-decoration:underline;cursor:pointer;font:inherit}.cq-community-intro{max-width:60ch;color:var(--cq-text-muted);margin-bottom:1.5rem}.cq-community-totals p{font-size:1.1rem;margin:0}.cq-community-list{list-style:none;padding:0;margin:0;display:grid;gap:.75rem}.cq-community-item{padding:.85rem 1rem}.cq-community-row{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}.cq-community-skill{font-weight:600}.cq-community-count{color:var(--cq-text-muted);font-variant-numeric:tabular-nums;white-space:nowrap}.cq-community-bar{margin-top:.5rem;height:6px;border-radius:999px;background:var(--cq-surface-2);overflow:hidden}.cq-community-bar>span{display:block;height:100%;border-radius:999px;background:var(--cq-accent);transition:width calc(var(--cq-transition) * var(--cq-motion-scale, 1))}.cq-community-optin{margin-top:1.5rem}.cq-community-switch{display:flex;align-items:center;gap:.6rem;font-weight:600;cursor:pointer}.cq-community-switch input{width:1.15rem;height:1.15rem;accent-color:var(--cq-accent);cursor:pointer}.cq-community-note{color:var(--cq-text-muted);margin:.6rem 0 0}.cq-linklike{background:none;border:none;padding:0;font:inherit;color:var(--cq-accent);text-decoration:underline;cursor:pointer}.cq-linklike:focus-visible{outline:var(--cq-focus-width) solid var(--cq-focus);outline-offset:2px;border-radius:var(--cq-radius-sm)}:root{--cq-teal: #0d9488;--cq-teal-strong: #0f766e;--cq-indigo: #4f46e5;--cq-indigo-strong: #4338ca;--cq-amber: #d97706;--cq-amber-strong: #b45309;--cq-success: #0f766e;--cq-warning: #b45309;--cq-danger: #b91c1c;--cq-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--cq-font-mono: "Cascadia Code", "Fira Code", "Courier New", monospace;--cq-font-dyslexic: "Comic Sans MS", "Trebuchet MS", var(--cq-font-sans);--cq-radius: .5rem;--cq-radius-sm: .25rem;--cq-focus-width: 3px;--cq-text-scale: 1;--cq-font-base: calc(1rem * var(--cq-text-scale));--cq-motion-scale: 1;--cq-transition-fast: calc(.12s * var(--cq-motion-scale));--cq-transition: calc(.22s * var(--cq-motion-scale))}:root,[data-theme=light]{--cq-bg: #f7f8fa;--cq-surface: #ffffff;--cq-surface-2: #eef1f5;--cq-border: #d3d9e0;--cq-text: #1a2230;--cq-text-muted: #4a5568;--cq-accent: var(--cq-teal);--cq-accent-strong: var(--cq-teal-strong);--cq-accent-contrast: #ffffff;--cq-focus: var(--cq-indigo);--cq-terminal-bg: #10141c;--cq-terminal-fg: #d7f5ec}[data-theme=dark]{--cq-bg: #0d1117;--cq-surface: #161b22;--cq-surface-2: #1f2733;--cq-border: #30363d;--cq-text: #e6edf3;--cq-text-muted: #9aa7b4;--cq-accent: #2dd4bf;--cq-accent-strong: #14b8a6;--cq-accent-contrast: #06231f;--cq-focus: #a5b4fc;--cq-terminal-bg: #05080d;--cq-terminal-fg: #7ee7cd}[data-dyslexic=true]{--cq-font-sans: var(--cq-font-dyslexic)}*,*:before,*:after{box-sizing:border-box}html{font-size:100%}body{margin:0;background:var(--cq-bg);color:var(--cq-text);font-family:var(--cq-font-sans);font-size:var(--cq-font-base);line-height:1.6;-webkit-font-smoothing:antialiased}h1,h2,h3{line-height:1.2;color:var(--cq-text)}a{color:var(--cq-accent-strong)}:focus-visible{outline:var(--cq-focus-width) solid var(--cq-focus);outline-offset:2px;border-radius:var(--cq-radius-sm)}.cq-skip-link{position:absolute;left:.5rem;top:-3rem;z-index:1000;padding:.5rem .75rem;background:var(--cq-accent);color:var(--cq-accent-contrast);border-radius:var(--cq-radius-sm);transition:top var(--cq-transition-fast) ease}.cq-skip-link:focus{top:.5rem}.cq-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:root[data-calm=true]{--cq-motion-scale: 0}@media(prefers-reduced-motion:reduce){:root{--cq-motion-scale: 0}}:root[data-calm=true] *,:root[data-calm=true] *:before,:root[data-calm=true] *:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}.cq-app{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}.cq-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem;background:var(--cq-surface);border-bottom:1px solid var(--cq-border);flex-wrap:wrap}.cq-brand{font-weight:700;font-size:1.15em;color:var(--cq-accent-strong);text-decoration:none;display:inline-flex;align-items:center;gap:.5rem}.cq-nav{display:flex;gap:.25rem;flex-wrap:wrap}.cq-nav a{padding:.4rem .7rem;border-radius:var(--cq-radius-sm);text-decoration:none;color:var(--cq-text-muted);transition:background var(--cq-transition-fast) ease,color var(--cq-transition-fast) ease}.cq-nav a:hover{background:var(--cq-surface-2);color:var(--cq-text)}.cq-nav a[aria-current=page]{background:var(--cq-accent);color:var(--cq-accent-contrast)}.cq-main{flex:1;width:100%;max-width:68rem;margin:0 auto;padding:1.5rem 1rem 3rem}.cq-footer{padding:1rem;text-align:center;color:var(--cq-text-muted);border-top:1px solid var(--cq-border);font-size:.9em}.cq-card{background:var(--cq-surface);border:1px solid var(--cq-border);border-radius:var(--cq-radius);padding:1.25rem}.cq-button{font:inherit;cursor:pointer;padding:.5rem .9rem;border-radius:var(--cq-radius-sm);border:1px solid var(--cq-border);background:var(--cq-surface-2);color:var(--cq-text);transition:background var(--cq-transition-fast) ease}.cq-button:hover{background:var(--cq-border)}.cq-button--primary{background:var(--cq-accent);border-color:var(--cq-accent-strong);color:var(--cq-accent-contrast)}.cq-button--primary:hover{background:var(--cq-accent-strong)}.cq-toolbar{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}fieldset.cq-card{margin-bottom:1rem}fieldset.cq-card>legend{font-weight:700;padding:0 .4rem}.cq-field{display:flex;align-items:center;gap:.5rem;padding:.3rem 0;cursor:pointer}.cq-field input[type=range]{width:min(20rem,100%)}.cq-passport-list{list-style:none;padding:0;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(16rem,1fr))}.cq-passport-list progress{display:block;width:100%;margin-top:.25rem}@media(max-width:40rem){.cq-header{flex-direction:column;align-items:stretch}.cq-nav{justify-content:center}}
