        :root {
            --blue: #1268f3;
            --ink: #10243e;
            --muted: #6b7b8f;
            --line: #dce5ef;
            --bg: #f6f9fc;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: Inter, Arial, sans-serif;
            color: var(--ink);
            background: var(--bg);
        }

        a {
            color: inherit;
        }

        /* =========================
           HEADER
           ========================= */

        .top {
            height: 74px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1180px;
            margin: auto;
            padding: 0 24px;
        }

        .brand {
            font-size: 23px;
            font-weight: 800;
            letter-spacing: -0.5px;
        }

        .back {
            font-size: 14px;
            text-decoration: none;
            color: var(--muted);
        }

        .back:hover {
            color: var(--blue);
        }

        /* =========================
           MAIN
           ========================= */

        main {
            max-width: 820px;
            margin: 50px auto 90px;
            padding: 0 24px;
        }

        /* =========================
           HERO
           ========================= */

        .hero {
            text-align: center;
            margin-bottom: 35px;
        }

        .eyebrow {
            color: var(--blue);
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 1.6px;
            text-transform: uppercase;
        }

        .hero h1 {
            font-size: clamp(38px, 6vw, 62px);
            line-height: 1.02;
            letter-spacing: -2.5px;
            margin: 14px 0 18px;
        }

        .hero p {
            max-width: 640px;
            margin: auto;
            color: var(--muted);
            font-size: 17px;
            line-height: 1.65;
        }

        /* =========================
           CARD
           ========================= */

        .card {
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 26px;
            padding: 34px;
            box-shadow: 0 20px 60px rgba(18, 52, 86, 0.06);
        }

        /* =========================
           UPLOAD
           ========================= */

        .drop {
            border: 1.5px dashed #b8c8da;
            border-radius: 20px;
            padding: 48px 24px;
            text-align: center;
            transition: 0.2s;
            background: #fbfdff;
        }

        .drop.drag {
            border-color: var(--blue);
            background: #f1f6ff;
        }

        .upload-icon {
            font-size: 35px;
            color: var(--blue);
            margin-bottom: 12px;
        }

        .drop h2 {
            margin: 0 0 8px;
            font-size: 22px;
        }

        .drop p {
            margin: 0 0 20px;
            color: var(--muted);
            font-size: 14px;
        }

        /* =========================
           BUTTONS
           ========================= */

        .btn {
            height: 48px;
            border-radius: 12px;
            padding: 0 21px;
            border: 1px solid var(--line);
            font-weight: 700;
            cursor: pointer;
            background: #fff;
            color: var(--ink);
            transition: 0.15s;
        }

        .btn:hover {
            border-color: #bdcad8;
        }

        .btn-primary {
            background: var(--blue);
            color: #fff;
            border-color: var(--blue);
        }

        .btn-primary:hover {
            opacity: 0.92;
        }

        .btn:disabled {
            opacity: 0.55;
            cursor: not-allowed;
        }

        /* =========================
           PRIVACY
           ========================= */

        .privacy {
            display: flex;
            gap: 10px;
            margin-top: 20px;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.5;
        }

        .privacy input {
            margin-top: 3px;
        }

        /* =========================
           VIEWS
           ========================= */

        .hidden {
            display: none !important;
        }

        .status {
            text-align: center;
            padding: 34px;
        }

        /* =========================
           LOADING
           ========================= */

        .spinner {
            width: 42px;
            height: 42px;
            border: 4px solid #e6edf5;
            border-top-color: var(--blue);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin: 0 auto 18px;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* =========================
           RESULT
           ========================= */

        .result-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            margin-bottom: 26px;
        }

        .ok {
            color: #15803d;
            font-size: 14px;
            font-weight: 800;
        }

        /* =========================
           FIELDS
           ========================= */

        .field {
            margin-bottom: 18px;
        }

        .field label,
        .positions-title {
            display: block;
            font-size: 12px;
            font-weight: 800;
            color: #708196;
            text-transform: uppercase;
            letter-spacing: 0.7px;
            margin-bottom: 7px;
        }

        .field input {
            width: 100%;
            height: 48px;
            border: 1px solid var(--line);
            border-radius: 11px;
            padding: 0 14px;
            font: inherit;
            color: var(--ink);
            outline: none;
        }

        .field input:focus {
            border-color: var(--blue);
            box-shadow: 0 0 0 4px rgba(18, 104, 243, 0.08);
        }

        /* =========================
           POSITION MATCHING
           ========================= */

        .positions-title {
            margin-top: 26px;
        }

        .positions {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
            margin: 10px 0 28px;
        }

        .position-card {
            padding: 15px 16px;
            border: 1px solid var(--line);
            border-radius: 14px;
            background: #f8fbff;
            min-width: 0;
        }

        .position-name {
            color: var(--ink);
            font-size: 14px;
            font-weight: 750;
            line-height: 1.4;
        }

        .position-match {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-top: 7px;
            font-size: 12px;
            font-weight: 700;
        }

        .position-match::before {
            content: "";
            width: 7px;
            height: 7px;
            border-radius: 50%;
            flex: 0 0 auto;
        }

        .position-match.high {
            color: #15803d;
        }

        .position-match.high::before {
            background: #22a447;
        }

        .position-match.medium {
            color: #a16207;
        }

        .position-match.medium::before {
            background: #d59a24;
        }

        .no-positions {
            grid-column: 1 / -1;
            padding: 15px 16px;
            border: 1px solid var(--line);
            border-radius: 14px;
            background: #f8fafc;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.5;
        }
		
		hr {
			border: 1px solid #d7e0eb;
			margin: 40px 0 10px;			
		}

        /* =========================
           ACTIONS
           ========================= */

        .actions {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }

        /* =========================
           ERROR
           ========================= */

        .error {
            padding: 25px;
            background: #fff4f4;
            border: 1px solid #ffdada;
            border-radius: 16px;
            color: #a52d2d;
            text-align: center;
        }

        /* =========================
           FOOTER NOTE
           ========================= */

        .small {
            font-size: 12px;
            color: #91a0b1;
            margin-top: 18px;
            text-align: center;
        }

        /* =========================
           MOBILE
           ========================= */

        @media (max-width: 600px) {

            main {
                margin-top: 25px;
            }

            .card {
                padding: 20px;
                border-radius: 20px;
            }

            .drop {
                padding: 38px 16px;
            }

            .actions {
                flex-direction: column-reverse;
            }

            .actions .btn {
                width: 100%;
            }

            .hero h1 {
                letter-spacing: -1.5px;
            }

            .positions {
                grid-template-columns: 1fr;
            }

            .result-head {
                align-items: flex-start;
            }
        }