/**
 * 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;right:0;left:0;top:0;bottom: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;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;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}:root{--bg: #f6f7f9;--fg: #1c1e21;--muted: #6b7280;--card: #ffffff;--line: #e5e7eb;--accent: #2563eb;--error: #b91c1c;--notice-bg: #ecfdf5;--notice-fg: #065f46;--warn: #b45309;color-scheme:light}*{box-sizing:border-box}body{margin:0;font:15px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Noto Sans KR,sans-serif;background:var(--bg);color:var(--fg)}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}.topbar{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:var(--card);border-bottom:1px solid var(--line)}.topbar nav{display:flex;gap:14px;align-items:center}.brand{font-weight:700;color:var(--fg)}.page{max-width:920px;margin:0 auto;padding:20px 16px 48px}h1{font-size:22px;margin:0 0 16px}h2{font-size:16px;margin:0 0 8px}.card{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:14px 16px;margin-bottom:12px}.narrow{max-width:420px;margin:24px auto}.list{list-style:none;padding:0;margin:0}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.row h1{margin:0}.grow{flex:1;min-width:0;overflow-wrap:anywhere}.stack{display:grid;gap:10px}label{display:grid;gap:4px;font-size:13px;color:var(--muted)}input{font:inherit;padding:8px 10px;border:1px solid var(--line);border-radius:6px;min-width:220px}button{font:inherit;padding:8px 14px;border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:6px;cursor:pointer}button:disabled{opacity:.5;cursor:default}button.link{background:none;border:none;color:var(--accent);padding:0}button.secondary{background:var(--card);color:var(--accent)}button.danger{background:var(--error);border-color:var(--error)}.actions{margin-top:10px}.right{text-align:right}a.button.secondary{background:var(--card);color:var(--accent);border:1px solid var(--accent)}.badge{font-size:12px;padding:3px 10px;border-radius:999px;border:1px solid var(--line);background:var(--card)}.badge.ok{color:var(--notice-fg);background:var(--notice-bg);border-color:#a7f3d0}.badge.bad{color:var(--error);background:#fef2f2;border-color:#fecaca}.steps li{margin-bottom:12px}pre{background:#111827;color:#e5e7eb;padding:10px 12px;border-radius:6px;overflow-x:auto}pre code{background:none;color:inherit;padding:0}details{margin:8px 0}.list.plain li{padding:8px 0;border-bottom:1px solid var(--line)}.list.plain li:last-child{border-bottom:none}label.check{display:flex;gap:10px;align-items:flex-start;color:var(--fg);font-size:15px}label.check input{min-width:0;margin-top:4px}.score{font-variant-numeric:tabular-nums;color:var(--muted)}.score.done{color:var(--notice-fg);font-weight:600}.scenario-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,45%);gap:12px;align-items:start}@media (max-width: 900px){.scenario-grid{grid-template-columns:1fr}}.terminal-host{height:420px;background:#111827;border-radius:6px;padding:4px}.terminal-bar{margin-bottom:6px}.env-actions .row{margin-top:8px}.small{font-size:12px}.stale{color:var(--warn)}.grid-wrap{overflow-x:auto}table.grid th,table.grid td{vertical-align:top}table.grid td.active{background:#eff6ff}button.cell{display:grid;gap:2px;background:none;border:1px solid transparent;color:var(--fg);padding:4px 8px;text-align:left}button.cell:hover{border-color:var(--line);background:var(--bg)}.drawer-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px}@media (max-width: 800px){.drawer-grid{grid-template-columns:1fr}}button.link.current{font-weight:700}h3{font-size:14px;margin:0 0 8px}.steps-log{margin-top:10px}.steps-log summary.ok{color:var(--notice-fg)}.steps-log ol{padding-left:18px}.steps-log pre{margin:4px 0 8px;max-height:160px;overflow:auto;font-size:12px}.markdown h1,.markdown h2,.markdown h3{font-size:16px;margin:14px 0 6px}.markdown p,.markdown li{line-height:1.6}.checks li{margin-bottom:8px}.checks li.pass .mark{color:var(--notice-fg)}.checks li.fail .mark{color:var(--error)}.checks li.unknown .mark{color:var(--warn)}.mark{font-weight:700;width:1.2em;display:inline-block}.checks details{margin:4px 0 0 1.6em}.checks pre{max-height:240px;overflow:auto;font-size:12px}.hint code{white-space:pre-wrap}.env-missing{background:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:8px 12px;margin-bottom:10px}.env-missing p{margin:4px 0}summary{cursor:pointer;color:var(--accent)}button.sso{width:100%}a.button{display:inline-block;padding:8px 14px;background:var(--accent);color:#fff;border-radius:6px}.muted{color:var(--muted)}.error{color:var(--error)}.notice{background:var(--notice-bg);color:var(--notice-fg);padding:8px 12px;border-radius:6px}.tag{font-size:12px;padding:2px 8px;border-radius:999px;background:var(--line);color:var(--muted)}code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;background:var(--bg);padding:4px 8px;border-radius:4px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--line)}th{font-size:13px;color:var(--muted)}.group-title{font-size:.9rem;margin:1rem 0 .25rem;color:var(--muted, #666)}.planned{margin:.5rem 0;padding-left:1.25rem}.prepare .row{gap:.5rem;align-items:center}.tag{display:inline-block;padding:0 .4rem;border-radius:.6rem;background:#6366f126;margin-left:.4rem}.toggle{gap:.4rem;align-items:center;margin:.5rem 0}.transcript{margin-top:1rem}.chat{list-style:none;padding:0;margin:.25rem 0}.chat li{margin:.5rem 0;padding:.4rem .6rem;border-radius:.4rem;background:#7f7f7f1a}.chat li.user{background:#6366f11a}.chat-text{white-space:pre-wrap;overflow-wrap:anywhere}.exam-bar{display:flex;gap:16px;align-items:center;justify-content:center;padding:6px 16px;background:var(--notice-bg);color:var(--notice-fg);border-bottom:1px solid var(--line)}.exam-bar.ended{background:var(--card);color:var(--error)}.exam-clock{font-variant-numeric:tabular-nums;font-size:1.1em}.warn{color:var(--warn)}blockquote.evidence{margin:0 0 4px;padding:2px 8px;border-left:3px solid var(--line);color:var(--muted);white-space:pre-wrap}.dist{display:flex;align-items:flex-end;gap:6px;height:64px}.dist .bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;min-width:36px;font-size:.75rem;color:var(--muted)}.dist .bar i{display:block;width:100%;background:var(--accent);border-radius:2px 2px 0 0}
