/**
 * 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-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{font-family:monospace;-webkit-user-select:text;user-select:text;white-space:pre}.xterm .xterm-accessibility-tree>div{transform-origin:left;width:fit-content}.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}.xterm .xterm-scrollable-element>.scrollbar{cursor:default}.xterm .xterm-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.xterm .xterm-scrollable-element>.visible{opacity:1;background:#0000;transition:opacity .1s linear;z-index:11}.xterm .xterm-scrollable-element>.invisible{opacity:0;pointer-events:none}.xterm .xterm-scrollable-element>.invisible.fade{transition:opacity .8s linear}.xterm .xterm-scrollable-element>.shadow{position:absolute;display:none}.xterm .xterm-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow, #000) 0 6px 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.xterm .xterm-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}:root{--brand: #26cc00;--brand-strong: color-mix(in oklch, var(--brand) 75%, black);--brand-soft: color-mix(in oklch, var(--brand) 12%, white);--sidebar: oklch(97% .02 128);--ink: oklch(22% .01 100);--ink-muted: oklch(48% .01 100);--ink-faint: oklch(65% .01 100);--bg: oklch(98.5% .003 100);--surface: #ffffff;--border: oklch(90% .005 100);--danger: oklch(55% .19 25);--warn: oklch(70% .15 75);--ok: var(--brand-strong);--radius-card: 16px;--radius-input: 10px;--radius-pill: 999px;--font-display: "Poppins", system-ui, sans-serif;--font-body: "Montserrat", system-ui, sans-serif;--shadow-card: 0 1px 2px rgb(0 0 0 / .05), 0 8px 24px rgb(0 0 0 / .04)}*{box-sizing:border-box}body{margin:0;font-family:var(--font-body);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}h1,h2,h3,h4{font-family:var(--font-display);margin:0}button{font-family:inherit;cursor:pointer}input,select,textarea{font-family:inherit}.login-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-hero{background:linear-gradient(160deg,#eaf7db,#c6e3a3);display:flex;flex-direction:column;justify-content:center;padding:64px}.login-hero h1{font-size:40px;line-height:1.15;max-width:420px}.login-panel{display:flex;align-items:center;justify-content:center;padding:32px}.login-card{width:380px}.login-card h2{font-size:24px;margin-bottom:4px}.login-card p.sub{color:var(--ink-muted);margin:0 0 24px;font-size:14px}@media(max-width:860px){.login-wrap{grid-template-columns:1fr}.login-hero{display:none}}.brand{font-family:var(--font-display);font-weight:800;font-size:20px;display:flex;align-items:center;gap:8px}.field{margin-bottom:16px}.field label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}.field input{width:100%;padding:11px 14px;border:1px solid var(--border);border-radius:var(--radius-input);font-size:14px;background:var(--surface)}.field input:focus{outline:2px solid var(--brand);outline-offset:-1px;border-color:transparent}.btn-primary{width:100%;padding:12px 16px;background:var(--brand);color:#fff;border:none;border-radius:var(--radius-input);font-weight:700;font-size:14px}.btn-primary:hover{filter:brightness(.95)}.btn-primary:disabled{opacity:.6;cursor:default}.form-error{background:#ffecea;background:oklch(96% .03 25);color:var(--danger);border-radius:var(--radius-input);padding:10px 14px;font-size:13px;margin-bottom:16px}.shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{background:var(--sidebar);border-right:1px solid var(--border);padding:24px 16px;display:flex;flex-direction:column;gap:4px}.sidebar .brand{margin-bottom:24px;padding:0 8px}.sidebar a{display:block;padding:10px 12px;border-radius:10px;color:var(--ink-muted);text-decoration:none;font-size:14px;font-weight:600}.sidebar a:hover{background:#e5efda;color:var(--ink)}.sidebar a.active{background:var(--brand);color:#fff}.sidebar .spacer{flex:1}.sidebar .whoami{font-size:12px;color:var(--ink-muted);padding:8px}.sidebar .logout{background:none;border:1px solid var(--border);border-radius:10px;padding:8px 12px;font-size:13px;font-weight:600;color:var(--ink-muted)}.main{padding:32px 40px}.main h1{font-size:26px;margin-bottom:24px}.placeholder{border:1.5px dashed var(--border);border-radius:var(--radius-card);padding:48px;color:var(--ink-faint);text-align:center;font-size:14px}.signup-card{width:440px}.signup-hero .brand{margin-bottom:32px}.hero-bullets{list-style:none;padding:0;margin:24px 0 0;display:flex;flex-direction:column;gap:10px}.hero-bullets li{font-size:15px;color:var(--ink-muted);font-weight:500}.signup-steps{display:flex;align-items:flex-start;gap:0;margin-bottom:28px;position:relative}.signup-step{display:flex;flex-direction:column;align-items:center;flex:1;position:relative}.step-dot{width:28px;height:28px;border-radius:50%;background:var(--border);color:var(--ink-faint);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;z-index:1;transition:background .2s,color .2s}.signup-step.active .step-dot{background:var(--brand);color:#fff}.signup-step.done .step-dot{background:var(--brand-strong);color:#fff}.step-label{font-size:11px;font-weight:600;color:var(--ink-faint);margin-top:4px;white-space:nowrap}.signup-step.active .step-label{color:var(--brand-strong)}.signup-step.done .step-label{color:var(--ok)}.step-line{position:absolute;top:14px;left:50%;width:100%;height:2px;background:var(--border);z-index:0}.signup-step.done .step-line{background:var(--brand)}.slug-preview{font-weight:400;font-size:12px;color:var(--ink-muted)}.slug-preview strong{color:var(--brand-strong)}.field-hint{font-size:12px;color:var(--ink-faint);margin:0 0 6px}.field-error{display:block;font-size:12px;color:var(--danger);margin-top:4px}input.input-error,select.input-error{border-color:var(--danger);outline-color:var(--danger)}.field select{width:100%;padding:11px 14px;border:1px solid var(--border);border-radius:var(--radius-input);font-size:14px;background:var(--surface);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;cursor:pointer}.field select:focus{outline:2px solid var(--brand);outline-offset:-1px;border-color:transparent}.terms-box{background:var(--brand-soft);border-radius:var(--radius-card);padding:16px 20px;font-size:13px;color:var(--ink-muted);line-height:1.6;margin-bottom:20px;max-height:220px;overflow-y:auto}.terms-box p{margin:0 0 10px}.terms-box p:last-child{margin:0}.check-row{display:flex;align-items:flex-start;gap:10px;font-size:14px;font-weight:500;cursor:pointer}.check-row input[type=checkbox]{margin-top:2px;width:16px;height:16px;accent-color:var(--brand);flex-shrink:0;cursor:pointer}.signup-login-link{text-align:center;font-size:13px;color:var(--ink-muted);margin-top:16px}.signup-login-link a{color:var(--brand-strong);font-weight:600;text-decoration:none}.signup-login-link a:hover{text-decoration:underline}.pending-state{text-align:center;padding:16px 0}.pending-icon{font-size:56px;margin-bottom:16px}.pending-state h2{margin-bottom:8px}.pending-state .sub{color:var(--ink-muted);margin:0 0 24px;font-size:14px}.pending-detail{margin-bottom:16px}.status-pill{display:inline-block;padding:4px 14px;border-radius:var(--radius-pill);font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.status-pill.pending{background:#ffe7c8;background:oklch(94% .06 75);color:#8d5e00;color:oklch(52% .15 75)}.status-pill.active{background:var(--brand-soft);color:var(--brand-strong)}.status-pill.rejected{background:#ffecea;background:oklch(96% .03 25);color:var(--danger)}.pending-note{font-size:12px;color:var(--ink-faint)}
