/* Main layout */
.app__ZZN6S { display: flex; height: 100vh; background: #111; color: #d4d4d4; }

/* Left panel - terminal */
.leftPanel__SM20p { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.headerBar__JIp3d {
    display: flex; align-items: center; gap: 12px; padding: 12px 18px;
    background: #1a1a1a; border-bottom: 1px solid #2a2a2a;
}
.logo__YEu_R { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__YEu_R img { height: 36px; }
.logoText__k5s_0 {
    font-size: 20px; font-weight: 700; color: #e8e8e8; letter-spacing: 0.3px;
}
.logoAccent__BvOCT { color: #ff6a00; }
.version__cQQE1 { font-size: 10px; color: #666; margin-left: auto; }
.terminal__BSQbf { flex: 1; padding: 2px; }

/* Right panel */
.rightPanel__G5CaL {
    width: 420px; min-width: 320px; max-width: 500px;
    display: flex; flex-direction: column; border-left: 1px solid #2a2a2a; background: #111;
}

/* Tutorial area (top 2/3) */
.tutorialArea__fhjvu { flex: 2; overflow-y: auto; }
.tutorialArea__fhjvu::-webkit-scrollbar { width: 4px; }
.tutorialArea__fhjvu::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

/* Sections */
.section__OOGqM { padding: 14px 18px; border-bottom: 1px solid #2a2a2a; }
.section__OOGqM:last-child { border-bottom: none; }
.sectionTitle__a7iSu { font-size: 14px; font-weight: 700; color: #ff6a00; margin-bottom: 6px; letter-spacing: 0.3px; }
.sectionSubtitle__ffINH { font-size: 14px; font-weight: 600; color: #d4d4d4; margin: 10px 0 4px; }
.sectionText__LqL34 { font-size: 14px; line-height: 1.55; color: #999; margin-bottom: 6px; }
.sectionText__LqL34 a { color: #ccc; text-decoration: underline; text-decoration-color: #555; text-underline-offset: 2px; }
.sectionText__LqL34 a:hover { color: #fff; text-decoration-color: #999; }
.featureList__N0ZaC { font-size: 14px; line-height: 1.6; color: #999; padding-left: 16px; margin-bottom: 6px; }

/* Repo links */
.repos__d5MYQ { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.repoLink__JKtHQ {
    display: inline-flex; align-items: center; gap: 4px; font-size: 12px;
    padding: 2px 7px; border: 1px solid #2a2a2a; border-radius: 3px;
    color: #999; text-decoration: none;
}
.repoLink__JKtHQ:hover { border-color: #555; color: #fff; }
.repoLink__JKtHQ svg { width: 12px; height: 12px; fill: currentColor; }

/* Repo callout */
.repoCallout__58l37 {
    font-size: 14px; color: #ff6a00; margin: 6px 0 2px;
}
.repoCallout__58l37 a { color: #ff6a00; font-weight: 600; text-decoration: none; }
.repoCallout__58l37 a:hover { text-decoration: underline; }
.repoCallout__58l37 a svg { width: 14px; height: 14px; fill: currentColor; vertical-align: -2px; margin-right: 2px; }
.repoSecondary__XtVrj {
    font-size: 13px; color: #777; margin: 2px 0 6px;
}
.repoSecondary__XtVrj a { color: #999; text-decoration: underline; text-decoration-color: #555; }
.repoSecondary__XtVrj a:hover { color: #fff; }

/* Language switcher */
.langSwitch__QwMnw { display: flex; gap: 0; margin-left: auto; }
.langBtn__EBrVf {
    font-size: 11px; padding: 2px 8px; border: 1px solid #2a2a2a; background: transparent;
    color: #999; cursor: pointer;
}
.langBtn__EBrVf:first-child { border-radius: 3px 0 0 3px; }
.langBtn__EBrVf:last-child { border-radius: 0 3px 3px 0; border-left: none; }
.langBtnActive__wlWag { background: #ff6a00; color: #fff; border-color: #ff6a00; }

/* SQL code blocks */
.sqlBlock__GcU_R {
    background: #0c0c0c; border: 1px solid #2a2a2a; border-radius: 4px;
    padding: 8px 10px; font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 13px; line-height: 1.5; color: #bbb; margin: 4px 0 8px;
    cursor: pointer; position: relative; overflow-x: auto; white-space: pre-wrap; word-break: break-all;
}
.sqlBlock__GcU_R:hover { border-color: #555; }
.sqlBlock__GcU_R:hover::after {
    content: 'Run'; position: absolute; top: 2px; right: 4px;
    font-size: 9px; color: #000; background: #ff6a00; padding: 0 5px;
    border-radius: 2px; font-family: sans-serif; font-weight: 700;
}

/* Step numbers */
.stepNum__gdnvs {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 50%; font-size: 11px; font-weight: 700;
    background: #ff6a00; color: #fff; margin-right: 5px; flex-shrink: 0;
}
.stepTitle__IK78z { display: flex; align-items: center; margin: 12px 0 4px; font-size: 14px; font-weight: 600; }

/* Shortcuts */
.shortcuts__lAC8o { font-size: 13px; line-height: 1.9; color: #999; }
.shortcuts__lAC8o code {
    font-family: 'JetBrains Mono', monospace; font-size: 0.85em;
    background: #222; padding: 1px 4px; border-radius: 2px;
}

/* File Manager (bottom 1/3) */
.fileManager__dmeGE { flex: 1; min-height: 180px; display: flex; flex-direction: column; background: #1a1a1a; border-top: 1px solid #2a2a2a; }
.fmHeader__MOFX7 {
    display: flex; align-items: center; padding: 6px 12px; gap: 6px;
    border-bottom: 1px solid #2a2a2a;
}
.fmTitle__VXK1Q { font-size: 12px; font-weight: 700; color: #ff6a00; text-transform: uppercase; letter-spacing: 0.3px; }
.fmStatus__Qg2NV { font-size: 11px; color: #666; margin-left: auto; }
.fmBtn__d_04n {
    font-size: 11px; padding: 2px 6px; border: 1px solid #2a2a2a; border-radius: 2px;
    background: transparent; color: #999; cursor: pointer;
}
.fmBtn__d_04n:hover { border-color: #555; color: #fff; }
.fmList__bMc3G { flex: 1; overflow-y: auto; padding: 2px 0; }
.fmList__bMc3G::-webkit-scrollbar { width: 4px; }
.fmList__bMc3G::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }
.fmEmpty__iVbBM { padding: 8px 12px; font-size: 12px; color: #555; text-align: center; }

/* File tree */
.treeNode__Cdjxk { font-size: 12px; font-family: monospace; }
.treeDir__bddID {
    display: flex; align-items: center; padding: 1px 0 1px 0;
    color: #999; cursor: pointer; user-select: none;
}
.treeDir__bddID:hover { color: #fff; }
.treeDirIcon__quaZY { width: 16px; text-align: center; font-size: 10px; color: #666; flex-shrink: 0; }
.treeDirName__oL7nZ { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.treeFile__DspzL {
    display: flex; align-items: center; padding: 1px 0;
    color: #888;
}
.treeFile__DspzL:hover { background: #222; }
.treeFileName__zpvM3 { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.treeFileSize__jNohs { color: #555; font-size: 10px; width: 45px; text-align: right; flex-shrink: 0; }
.treeFileDel__XTkyj { cursor: pointer; color: #555; font-size: 12px; width: 14px; text-align: center; flex-shrink: 0; }
.treeFileDel__XTkyj:hover { color: #e44; }
.treeChildren__x_NR6 { }

/* Responsive */
@media (max-width: 900px) {
    .app__ZZN6S { flex-direction: column; }
    .rightPanel__G5CaL { width: 100%; max-width: none; max-height: 45vh; border-left: none; border-top: 1px solid #2a2a2a; }
}

/**
 * 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.
 */

/**
 *  Default styles for xterm.js
 */

.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;
    /**
     * The z-index of the helpers must be higher than the canvases in order for
     * IMEs to appear on top.
     */
    z-index: 5;
}

.xterm .xterm-helper-textarea {
    padding: 0;
    border: 0;
    margin: 0;
    /* Move textarea out of the screen to the far left, so that the cursor is not visible */
    position: absolute;
    opacity: 0;
    left: -9999em;
    top: 0;
    width: 0;
    height: 0;
    z-index: -5;
    /** Prevent wrapping so the IME appears against the textarea at the correct position */
    white-space: nowrap;
    overflow: hidden;
    resize: none;
}

.xterm .composition-view {
    /* TODO: Composition position got messed up somewhere */
    background: #000;
    color: #FFF;
    display: none;
    position: absolute;
    white-space: nowrap;
    z-index: 1;
}

.xterm .composition-view.active {
    display: block;
}

.xterm .xterm-viewport {
    /* On OS X this is required in order for the scroll bar to appear fully opaque */
    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 {
    /* When mouse events are enabled (eg. tmux), revert to the standard pointer cursor */
    cursor: default;
}

.xterm.xterm-cursor-pointer,
.xterm .xterm-cursor-pointer {
    cursor: pointer;
}

.xterm.column-select.focus {
    /* Column selection mode */
    cursor: crosshair;
}

.xterm .xterm-accessibility,
.xterm .xterm-message {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
    color: transparent;
    pointer-events: none;
}

.xterm .live-region {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.xterm-dim {
    /* Dim should not apply to background, so the opacity of the foreground color is applied
     * explicitly in the generated class and reset to 1 here */
    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;
}

