 :root {
            --bg: #09111f;
            --panel: rgba(10, 22, 40, 0.88);
            --panel-border: rgba(145, 183, 255, 0.18);
            --text: #eef4ff;
            --muted: #a8bbd9;
            --accent: #49c6ff;
            --accent-2: #7dffb3;
            --danger: #ff7c7c;
            --warning: #ffc86b;
            --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 100vh;
            font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
            color: var(--text);
            background:
                radial-gradient(circle at top left, rgba(73, 198, 255, 0.22), transparent 32%),
                radial-gradient(circle at bottom right, rgba(125, 255, 179, 0.18), transparent 30%),
                linear-gradient(135deg, #050b16 0%, #0b1730 45%, #09111f 100%);
            padding: 24px;
        }

        .shell {
            width: min(1240px, 100%);
            min-height: calc(100vh - 48px);
            margin: 0 auto;
            background: var(--panel);
            border: 1px solid var(--panel-border);
            border-radius: 24px;
            box-shadow: var(--shadow);
            overflow: hidden;
            backdrop-filter: blur(18px);
            display: grid;
            grid-template-columns: minmax(0, 1fr) 300px;
        }

        .content {
            padding: 28px;
        }

        .hero {
            margin-bottom: 22px;
        }

        .eyebrow {
            display: inline-block;
            padding: 6px 10px;
            border-radius: 999px;
            font-size: 12px;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            background: rgba(73, 198, 255, 0.12);
            color: var(--accent);
        }

        h1 {
            margin: 14px 0 8px;
            font-size: clamp(2rem, 4vw, 3.5rem);
            line-height: 1;
        }

        p {
            margin: 0;
            color: var(--muted);
            line-height: 1.6;
        }

        .page {
            display: none;
        }

        .page.active {
            display: block;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        .card {
            background: rgba(8, 16, 30, 0.74);
            border: 1px solid rgba(145, 183, 255, 0.12);
            border-radius: 20px;
            padding: 20px;
        }

        .card h2 {
            margin: 0 0 16px;
            font-size: 1.1rem;
        }

        .field {
            margin-bottom: 16px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-size: 0.92rem;
            color: var(--muted);
        }

        input, select {
            width: 100%;
            border: 1px solid rgba(145, 183, 255, 0.16);
            background: rgba(255, 255, 255, 0.04);
            color: var(--text);
            padding: 12px 14px;
            border-radius: 12px;
            outline: none;
            transition: border-color 0.2s ease, transform 0.2s ease;
        }

        textarea {
            width: 100%;
            min-height: 180px;
            border: 1px solid rgba(145, 183, 255, 0.16);
            background: rgba(255, 255, 255, 0.04);
            color: var(--text);
            padding: 12px 14px;
            border-radius: 12px;
            outline: none;
            resize: vertical;
            font-family: Consolas, "Courier New", monospace;
            font-size: 0.9rem;
        }

        input:focus, select:focus, textarea:focus {
            border-color: var(--accent);
            transform: translateY(-1px);
        }

        .actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 10px;
        }

        button {
            border: 0;
            border-radius: 999px;
            padding: 12px 18px;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.2s ease, opacity 0.2s ease;
        }

        button:hover {
            transform: translateY(-1px);
        }

        .primary {
            background: linear-gradient(135deg, var(--accent), #7d92ff);
            color: #03101d;
        }

        .secondary {
            background: rgba(255, 255, 255, 0.06);
            color: var(--text);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .status-pill {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border-radius: 999px;
            padding: 10px 14px;
            background: rgba(255, 255, 255, 0.05);
            margin-bottom: 16px;
            color: var(--muted);
        }

        .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--warning);
            box-shadow: 0 0 16px currentColor;
        }

        .running .dot {
            color: var(--accent-2);
            background: var(--accent-2);
        }

        .error .dot {
            color: var(--danger);
            background: var(--danger);
        }

        .details {
            display: grid;
            gap: 12px;
        }

        .item {
            padding: 12px 14px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        .item strong {
            display: block;
            margin-bottom: 6px;
            font-size: 0.9rem;
            color: #d6e4ff;
        }

        .mono {
            font-family: Consolas, "Courier New", monospace;
            word-break: break-all;
        }

        .placeholder {
            min-height: 420px;
            display: flex;
            align-items: center;
        }

        .placeholder-text {
            margin-top: 16px;
        }

        .hint {
            margin-top: 10px;
            font-size: 0.88rem;
            color: var(--muted);
        }

        .sidebar {
            border-left: 1px solid rgba(145, 183, 255, 0.12);
            background: rgba(4, 10, 22, 0.55);
            padding: 24px 18px;
        }

        .sidebar h2 {
            margin: 0 0 6px;
            font-size: 1rem;
        }

        .sidebar p {
            font-size: 0.92rem;
            margin-bottom: 18px;
        }

        .menu {
            display: grid;
            gap: 10px;
        }

        .menu button {
            width: 100%;
            text-align: left;
            padding: 14px 16px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.04);
            color: var(--text);
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        .menu button.active {
            background: linear-gradient(135deg, rgba(73, 198, 255, 0.2), rgba(125, 146, 255, 0.2));
            border-color: rgba(73, 198, 255, 0.4);
        }

        .menu small {
            display: block;
            margin-top: 4px;
            color: var(--muted);
        }

        @media (max-width: 980px) {
            .shell {
                grid-template-columns: 1fr;
            }

            .sidebar {
                border-left: 0;
                border-top: 1px solid rgba(145, 183, 255, 0.12);
            }
        }
