
        :root {
            --navy-900: #020a15;
            --navy-800: #061221;
            --navy-700: #0a1c33;
            --navy-600: #10294a;
            --line: rgba(255, 255, 255, 0.08);
            --text: #eaf2fb;
            --muted: #8ea3ba;
            --accent: #22d3ee;
            --accent-strong: #67e8f9;
            --alert: #ef4444;
            --alert-soft: rgba(239, 68, 68, 0.12);
            --radius: 14px;
        }

        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

        html, body { height: 100%; }

        body {
            font-family: 'Inter', system-ui, sans-serif;
            background: var(--navy-800);
            color: var(--text);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
        }

        a { color: inherit; text-decoration: none; }

        .shell {
            min-height: 100vh;
            min-height: 100dvh;
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        }

        /* ---------- Brand panel ---------- */
        .brand {
            position: relative;
            overflow: hidden;
            padding: 40px 56px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            background:
                radial-gradient(120% 90% at 20% 110%, rgba(34, 211, 238, 0.14), transparent 60%),
                linear-gradient(160deg, var(--navy-700), var(--navy-900));
            border-right: 1px solid var(--line);
        }

        .logo {
            font-family: 'Outfit', sans-serif;
            font-weight: 900;
            font-size: 1.6rem;
            letter-spacing: 0.08em;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            position: relative;
            z-index: 2;
        }
        .logo em { font-style: normal; color: var(--accent); }
        .logo .tag {
            font-family: 'Inter', sans-serif;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--accent);
            border: 1px solid rgba(34, 211, 238, 0.3);
            background: rgba(34, 211, 238, 0.08);
            padding: 3px 8px;
            border-radius: 6px;
        }

        /* Radar: the one memorable element */
        .radar-wrap {
            position: absolute;
            inset: 0;
            display: grid;
            place-items: center;
            pointer-events: none;
            z-index: 1;
        }
        .radar {
            position: relative;
            width: min(78vh, 560px);
            aspect-ratio: 1;
            border-radius: 50%;
            border: 1px solid rgba(34, 211, 238, 0.28);
            background:
                radial-gradient(circle, transparent 0 24%, rgba(34, 211, 238, 0.14) 24.4%, transparent 25%),
                radial-gradient(circle, transparent 0 49%, rgba(34, 211, 238, 0.14) 49.4%, transparent 50%),
                radial-gradient(circle, transparent 0 74%, rgba(34, 211, 238, 0.14) 74.4%, transparent 75%);
            opacity: 0.9;
        }
        .radar::before, .radar::after {
            content: '';
            position: absolute;
            background: rgba(34, 211, 238, 0.14);
        }
        .radar::before { left: 50%; top: 0; bottom: 0; width: 1px; }
        .radar::after { top: 50%; left: 0; right: 0; height: 1px; }

        .sweep {
            position: absolute;
            inset: 0;
            border-radius: 50%;
            background: conic-gradient(from 0deg, rgba(34, 211, 238, 0.32), rgba(34, 211, 238, 0) 22%, transparent 100%);
            animation: sweep 7s linear infinite;
        }
        @keyframes sweep { to { transform: rotate(360deg); } }

        .blip {
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent-strong);
            box-shadow: 0 0 12px 2px rgba(34, 211, 238, 0.7);
        }
        .blip.b1 { top: 26%; left: 64%; }
        .blip.b2 { top: 58%; left: 30%; }
        .blip.b3 { top: 72%; left: 68%; }

        .brand-copy { position: relative; z-index: 2; max-width: 440px; }
        .brand-copy h1 {
            font-family: 'Outfit', sans-serif;
            font-weight: 800;
            font-size: clamp(2rem, 3.2vw, 2.9rem);
            line-height: 1.1;
            letter-spacing: -0.01em;
            margin-bottom: 14px;
        }
        .brand-copy p { color: var(--muted); font-size: 0.95rem; max-width: 380px; }

        .brand-foot {
            position: relative;
            z-index: 2;
            font-size: 0.75rem;
            color: var(--muted);
        }

        /* ---------- Form panel ---------- */
        .panel {
            display: flex;
            flex-direction: column;
            padding: 28px 32px;
            background: var(--navy-800);
        }
        .panel-top {
            display: flex;
            justify-content: flex-end;
            font-size: 0.8rem;
        }
        .panel-top a {
            color: var(--muted);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 8px;
            transition: color .2s, background .2s;
        }
        .panel-top a:hover { color: var(--accent); background: rgba(34, 211, 238, 0.08); }

        .panel-body {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card { width: 100%; max-width: 400px; }

        .badge {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            display: grid;
            place-items: center;
            font-size: 1.4rem;
            color: var(--alert);
            background: var(--alert-soft);
            border: 1px solid rgba(239, 68, 68, 0.3);
            margin-bottom: 22px;
        }

        .card h2 {
            font-family: 'Outfit', sans-serif;
            font-weight: 800;
            font-size: 1.9rem;
            letter-spacing: -0.01em;
            margin-bottom: 6px;
        }
        .card .sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 26px; }

        .alert {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            padding: 12px 14px;
            margin-bottom: 20px;
            border-radius: var(--radius);
            font-size: 0.85rem;
            color: #fda4af;
            background: rgba(244, 63, 94, 0.1);
            border: 1px solid rgba(244, 63, 94, 0.28);
        }
        .alert i { margin-top: 3px; }

        .field { margin-bottom: 18px; }
        .field label {
            display: block;
            font-size: 0.8rem;
            font-weight: 600;
            color: #c6d4e3;
            margin-bottom: 8px;
        }
        .control { position: relative; }
        .control .icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #5f7590;
            font-size: 0.9rem;
            transition: color .2s;
            pointer-events: none;
        }
        .control input {
            width: 100%;
            height: 50px;
            padding: 0 46px 0 42px;
            font: inherit;
            font-size: 0.95rem;
            color: var(--text);
            background: var(--navy-900);
            border: 1px solid var(--line);
            border-radius: var(--radius);
            outline: none;
            transition: border-color .2s, box-shadow .2s;
        }
        .control input::placeholder { color: #4a5f78; }
        .control input:hover { border-color: rgba(255, 255, 255, 0.16); }
        .control input:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.14);
        }
        .control:focus-within .icon { color: var(--accent); }

        .toggle {
            position: absolute;
            right: 6px;
            top: 50%;
            transform: translateY(-50%);
            width: 38px;
            height: 38px;
            border: 0;
            border-radius: 10px;
            background: transparent;
            color: #6b819b;
            cursor: pointer;
            transition: color .2s, background .2s;
        }
        .toggle:hover { color: var(--accent); background: rgba(34, 211, 238, 0.08); }
        .toggle:focus-visible { outline: 2px solid var(--accent); }

        .hint {
            display: none;
            align-items: center;
            gap: 8px;
            margin-top: 8px;
            font-size: 0.78rem;
            color: #fbbf24;
        }
        .hint.show { display: flex; }

        .submit {
            width: 100%;
            height: 52px;
            margin-top: 8px;
            border: 0;
            border-radius: var(--radius);
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            font-size: 1rem;
            letter-spacing: 0.02em;
            color: #03121d;
            background: var(--accent);
            box-shadow: 0 8px 24px -8px rgba(34, 211, 238, 0.55);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: background .2s, transform .15s, box-shadow .2s;
        }
        .submit:hover { background: var(--accent-strong); box-shadow: 0 10px 28px -8px rgba(34, 211, 238, 0.75); }
        .submit:active { transform: translateY(1px); }
        .submit:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
        .submit:disabled { opacity: .75; cursor: progress; }

        .notice {
            margin-top: 26px;
            padding-top: 18px;
            border-top: 1px solid var(--line);
            display: flex;
            gap: 10px;
            font-size: 0.78rem;
            color: var(--muted);
        }
        .notice i { color: var(--alert); margin-top: 3px; }

        .panel-foot {
            text-align: center;
            font-size: 0.72rem;
            color: #5f7590;
            padding-top: 16px;
        }

        /* ---------- Responsive ---------- */
        @media (max-width: 900px) {
            .shell { grid-template-columns: 1fr; }
            .brand {
                padding: 24px;
                min-height: 220px;
                border-right: 0;
                border-bottom: 1px solid var(--line);
            }
            .brand-copy, .brand-foot { display: none; }
            .radar { width: 340px; opacity: .55; }
            .panel { padding: 24px 20px; }
        }

        @media (prefers-reduced-motion: reduce) {
            .sweep { animation: none; }
            * { transition: none !important; }
        }
    
        /* ---------- Shared additions (register / forgot password) ---------- */
        .control input { font-size: 16px; }
        .badge.cyan { color: var(--accent); background: rgba(34,211,238,.1); border-color: rgba(34,211,238,.3); }
        .badge.ok { color: #34d399; background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.3); }
        .alert.ok { color: #6ee7b7; background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.28); }
        .steps { display: flex; gap: 6px; margin-bottom: 8px; }
        .steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
        .steps i.on { background: var(--accent); }
        .steps-label { font-size: .78rem; color: var(--muted); margin-bottom: 22px; }
        .control input.otp { letter-spacing: .5em; text-align: center; font-family: ui-monospace, Menlo, monospace; font-size: 1.4rem; padding: 0 16px 0 calc(16px + .5em); }
        .control input.plain { padding-left: 16px; }
        .captcha-q { font-family: ui-monospace, Menlo, monospace; color: var(--accent); font-weight: 700; }
        .links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; font-size: .8rem; color: var(--muted); }
        .links a { color: var(--accent); font-weight: 600; }
        .links a:hover { text-decoration: underline; }
        .btn-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
        @media (max-width: 900px) {
            .brand { min-height: 0; padding: 14px 20px; }
            .radar-wrap { display: none; }
            .panel-body { align-items: flex-start; padding-top: 12px; }
        }
        @media (max-width: 480px) {
            .panel { padding: 12px 16px 20px; }
            .card h2 { font-size: 1.6rem; }
            .badge { width: 48px; height: 48px; margin-bottom: 16px; }
        }
