        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --ink: #f7fbff;
            --muted: #a8b4c7;
            --navy-950: #061224;
            --navy-900: #09182d;
            --navy-800: #10243e;
            --navy-700: #173354;
            --cyan: #2ee6ff;
            --cyan-2: #1299d6;
            --ok: #31d37d;
            --danger: #ef5d6f;
            --line: rgba(180, 207, 235, 0.18);
            --line-strong: rgba(46, 230, 255, 0.62);
            --glass: rgba(13, 31, 53, 0.72);
            --glass-2: rgba(19, 44, 73, 0.62);
            --shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
        }

        body {
            min-height: 100vh;
            font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
            color: var(--ink);
            background:
                linear-gradient(120deg, rgba(46, 230, 255, 0.08), transparent 28%),
                linear-gradient(240deg, rgba(201, 162, 39, 0.09), transparent 32%),
                linear-gradient(160deg, #061224 0%, #09182d 45%, #020814 100%);
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            pointer-events: none;
            background-image:
                linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
            background-size: 44px 44px;
            mask-image: linear-gradient(to bottom, rgba(0,0,0,0.76), transparent 72%);
        }

        button, input, select {
            font: inherit;
        }

        .shell {
            position: relative;
            z-index: 1;
            width: min(760px, 100%);
            min-height: 100vh;
            margin: 0 auto;
            padding: 8px 24px 12px;
            display: grid;
            grid-template-rows: auto auto auto;
            gap: 10px;
            align-content: start;
        }

        .masthead {
            display: grid;
            justify-items: center;
            text-align: center;
            gap: 5px;
            padding-top: 0;
        }

        .masthead h1 {
            font-size: clamp(1.72rem, 3.5vw, 2.46rem);
            line-height: 1.05;
            font-weight: 300;
            letter-spacing: 0;
        }

        .masthead p {
            color: var(--muted);
            font-size: clamp(0.92rem, 2vw, 1.05rem);
            line-height: 1.35;
        }

        .company-area {
            display: grid;
            gap: 8px;
        }

        .section-label {
            color: #d9e4f5;
            font-size: 1.02rem;
            font-weight: 600;
        }

        .company-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 18px;
        }

        .company-card {
            position: relative;
            min-height: 118px;
            padding: 12px;
            border: 1px solid var(--line);
            border-radius: 8px;
            color: var(--ink);
            background:
                linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.035)),
                rgba(15, 34, 58, 0.72);
            box-shadow:
                inset 0 1px 0 rgba(255,255,255,0.08),
                0 10px 22px rgba(0,0,0,0.22);
            cursor: pointer;
            display: grid;
            place-items: center;
            transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
        }

        .company-card:hover {
            transform: translateY(-2px);
            border-color: rgba(46, 230, 255, 0.42);
        }

        .company-card.is-active {
            border-color: var(--line-strong);
            background:
                linear-gradient(180deg, rgba(46, 230, 255, 0.16), rgba(255,255,255,0.045)),
                rgba(15, 34, 58, 0.82);
            box-shadow:
                inset 0 1px 0 rgba(255,255,255,0.12),
                0 0 0 1px rgba(46, 230, 255, 0.18),
                0 18px 42px rgba(0,0,0,0.28),
                0 0 28px rgba(46, 230, 255, 0.16);
        }

        .company-card img {
            width: 100%;
            max-width: 238px;
            max-height: 88px;
            object-fit: contain;
            filter: brightness(1.08) saturate(1.08) drop-shadow(0 8px 15px rgba(0,0,0,0.32));
            pointer-events: none;
        }

        .company-card[data-company="1"] img {
            transform: scale(2.05);
        }

        .company-card[data-company="2"] img {
            transform: scale(1.22);
        }

        .company-card[data-company="3"] img {
            transform: scale(1.24);
        }

        .company-check {
            position: absolute;
            top: 13px;
            right: 13px;
            width: 26px;
            height: 26px;
            border-radius: 8px;
            display: grid;
            place-items: center;
            background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
            color: #031220;
            opacity: 0;
            transform: scale(0.88);
            transition: opacity 160ms ease, transform 160ms ease;
        }

        .company-card.is-active .company-check {
            opacity: 1;
            transform: scale(1);
        }

        .login-panel {
            align-self: start;
            padding: clamp(16px, 2.4vw, 22px);
            border: 1px solid rgba(188, 213, 239, 0.26);
            border-radius: 8px;
            background:
                linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.035)),
                var(--glass);
            box-shadow: var(--shadow);
            backdrop-filter: blur(18px);
        }

        .panel-title {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 14px;
        }

        .panel-icon {
            width: 42px;
            height: 42px;
            border-radius: 8px;
            display: grid;
            place-items: center;
            color: var(--cyan);
            background: linear-gradient(150deg, rgba(255,255,255,0.13), rgba(46, 230, 255, 0.08));
            border: 1px solid rgba(255,255,255,0.10);
        }

        .panel-title h2 {
            font-size: clamp(1.42rem, 2.7vw, 1.78rem);
            font-weight: 650;
            line-height: 1.1;
            letter-spacing: 0;
        }

        .title-rule {
            width: 44px;
            height: 2px;
            margin-top: 7px;
            border-radius: 99px;
            background: var(--cyan);
            box-shadow: 0 0 16px rgba(46, 230, 255, 0.68);
        }

        .message {
            display: none;
            margin-bottom: 18px;
            padding: 12px 14px;
            border-radius: 8px;
            font-weight: 700;
            line-height: 1.35;
        }

        .message.error {
            display: block;
            color: #ffd6dc;
            background: rgba(239, 93, 111, 0.14);
            border: 1px solid rgba(239, 93, 111, 0.42);
        }

        .message.success {
            display: block;
            color: #d9ffe9;
            background: rgba(49, 211, 125, 0.14);
            border: 1px solid rgba(49, 211, 125, 0.42);
        }

        .form-group {
            margin-bottom: 0;
        }

        label {
            display: block;
            margin-bottom: 5px;
            color: #dce7f7;
            font-size: 0.86rem;
            font-weight: 650;
        }

        .control {
            position: relative;
        }

        .control-icon {
            position: absolute;
            left: 18px;
            top: 50%;
            width: 22px;
            height: 22px;
            color: #b6c4d6;
            transform: translateY(-50%);
            pointer-events: none;
        }

        input, select {
            width: 100%;
            min-height: 42px;
            padding: 0 44px;
            border: 1px solid rgba(174, 203, 234, 0.20);
            border-radius: 8px;
            color: var(--ink);
            background: rgba(5, 17, 32, 0.34);
            outline: none;
            font-size: 0.94rem;
            transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
        }

        select {
            appearance: none;
            cursor: pointer;
        }

        input::placeholder {
            color: rgba(180, 194, 212, 0.62);
        }

        input:focus, select:focus {
            border-color: rgba(46, 230, 255, 0.68);
            background: rgba(7, 23, 42, 0.56);
            box-shadow: 0 0 0 3px rgba(46, 230, 255, 0.12);
        }

        .select-chevron {
            position: absolute;
            right: 18px;
            top: 50%;
            width: 22px;
            height: 22px;
            color: #b6c4d6;
            transform: translateY(-50%);
            pointer-events: none;
        }

        .password-toggle {
            position: absolute;
            right: 10px;
            top: 50%;
            width: 38px;
            height: 34px;
            border: 0;
            border-radius: 8px;
            color: #b6c4d6;
            background: transparent;
            cursor: pointer;
            display: grid;
            place-items: center;
            transform: translateY(-50%);
        }

        .password-toggle:hover {
            color: var(--cyan);
            background: rgba(255,255,255,0.06);
        }

        .btn-login {
            width: 100%;
            min-height: 42px;
            margin-top: 21px;
            border: 1px solid rgba(46, 230, 255, 0.78);
            border-radius: 8px;
            color: #f7fbff;
            background:
                linear-gradient(100deg, #25bad5, #168fbd),
                #147fa9;
            box-shadow:
                0 14px 26px rgba(18, 153, 214, 0.22),
                inset 0 1px 0 rgba(255,255,255,0.22);
            font-size: 0.96rem;
            font-weight: 800;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow:
                0 16px 30px rgba(18, 153, 214, 0.28),
                inset 0 1px 0 rgba(255,255,255,0.25);
            filter: saturate(1.08);
        }

        .btn-login:active {
            transform: translateY(0);
        }

        .btn-login:disabled {
            opacity: 0.64;
            cursor: not-allowed;
            transform: none;
        }

        .status {
            min-height: 16px;
            margin-top: 4px;
            color: var(--muted);
            font-size: 0.88rem;
            text-align: center;
        }

        #loginForm {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px 14px;
            align-items: end;
        }

        #loginBtn {
            grid-column: 1 / -1;
            width: min(360px, 100%);
            justify-self: end;
        }

        #status {
            grid-column: 1 / -1;
        }

        .status.loading {
            color: var(--cyan);
        }

        .form-footer {
            margin-top: 18px;
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
            gap: 18px;
            color: var(--cyan);
            font-weight: 650;
            font-size: 0.95rem;
        }

        .form-footer::before,
        .form-footer::after {
            content: "";
            height: 1px;
            background: rgba(188, 213, 239, 0.14);
        }

        @media (max-width: 760px) {
            .shell {
                padding: 8px 12px 12px;
                gap: 8px;
            }

            .masthead {
                padding-top: 2px;
                gap: 4px;
            }

            .company-grid {
                display: grid;
                grid-template-columns: repeat(3, minmax(0, 1fr));
                gap: 7px;
                overflow: visible;
                padding: 0;
            }

            .company-card {
                min-height: 88px;
                padding: 8px;
            }

            .company-card img {
                max-height: 64px;
                max-width: 142px;
            }

            .company-card[data-company="1"] img {
                transform: scale(1.75);
            }

            .company-card[data-company="2"] img {
                transform: scale(1.28);
            }

            .company-card[data-company="3"] img {
                transform: scale(1.3);
            }

            .login-panel {
                padding: 12px 14px;
            }

            .panel-title {
                gap: 11px;
                margin-bottom: 10px;
            }

            .panel-icon {
                width: 38px;
                height: 38px;
            }

            #loginForm {
                display: grid;
                grid-template-columns: 1fr;
                gap: 10px;
            }

            #loginBtn,
            #status {
                grid-column: 1;
            }

            #loginBtn {
                width: 100%;
                justify-self: stretch;
            }

            input, select {
                min-height: 42px;
                padding-left: 44px;
                font-size: 16px;
            }

            .btn-login {
                min-height: 44px;
                margin-top: 0;
            }

            .form-footer {
                margin-top: 14px;
                gap: 12px;
                font-size: 0.88rem;
            }

        }

        @media (max-width: 420px) {
            .masthead h1 {
                font-size: 1.52rem;
            }

            .masthead p {
                font-size: 0.84rem;
            }

            .panel-title h2 {
                font-size: 1.28rem;
            }

            .section-label {
                font-size: 0.88rem;
            }

            .company-card {
                min-height: 82px;
            }

            .company-card img {
                max-height: 58px;
            }

            .company-check {
                top: 7px;
                right: 7px;
                width: 22px;
                height: 22px;
            }
        }
    
