:root {
            --navy: #0d174b;
            --red: #bd3239;
            --ink: #1d2333;
            --muted: #5b6377;
            --line: #e2e6ee;
        }

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

        body {
            font-family: 'Inter', system-ui, sans-serif;
            color: var(--ink);
            background: #f3f4f6;
            line-height: 1.65;
        }

        h1,
        h2,
        .brand,
        .nav-cta,
        label,
        button {
            font-family: 'Poppins', sans-serif;
        }

        header {
            position: sticky;
            top: 0;
            z-index: 50;
            background: rgba(13, 23, 75, .97);
            backdrop-filter: blur(8px);
        }

        .nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            max-width: 1140px;
            margin: 0 auto;
            padding: 16px 24px;
        }

        .brand {
            font-weight: 700;
            font-size: 22px;
            color: #fff;
            text-decoration: none;
        }

        .brand span {
            color: var(--red);
        }

        .nav-links {
            display: flex;
            gap: 26px;
            align-items: center;
        }

        .nav-links a {
            color: #cfd5e6;
            font-size: 14.5px;
            font-weight: 500;
            text-decoration: none;
        }

        .nav-links a:hover {
            color: #fff;
        }

        .nav-cta {
            background: var(--red);
            color: #fff !important;
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 14px;
            margin-left: 8px;
            text-decoration: none;
            white-space: nowrap;
        }

        .burger {
            display: none;
            background: none;
            border: 0;
            cursor: pointer;
            flex-direction: column;
            gap: 5px;
            padding: 6px;
        }

        .burger span {
            width: 24px;
            height: 2px;
            background: #fff;
            display: block;
        }

        .container {
            max-width: 1180px;
            margin: 24px auto;
            background: #fff;
            padding: 28px;
            border-radius: 18px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
        }

        .page-title {
            font-size: 28px;
            font-weight: 800;
            margin-bottom: 8px;
        }

        .page-subtitle {
            color: var(--muted);
            font-size: 13px;
            line-height: 1.6;
            margin-bottom: 10px;
        }

        .access-note {
            padding: 8px 10px;
            border: 1px solid #bfdbfe;
            border-radius: 10px;
            background: #eff6ff;
            color: #1e40af;
            font-size: 11.5px;
            line-height: 1.5;
            margin-bottom: 18px;
        }

        .access-note strong {
            font-weight: 700;
        }

        .kpm-form-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
            align-items: stretch;
        }

        .form-section {
            border: 1px solid var(--line);
            border-radius: 14px;
            padding: 18px;
            margin-bottom: 0;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px 16px;
            height: 100%;
        }

        .form-section.is-primary {
            grid-column: 1 / -1;
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .form-section h2 {
            grid-column: 1 / -1;
            font-size: 16px;
            margin-bottom: 0;
            color: var(--navy);
        }

        .form-row {
            margin-bottom: 0;
            min-width: 0;
        }

        label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            line-height: 1.35;
            margin-bottom: 6px;
        }

        .label-hint {
            display: block;
            font-weight: 400;
            font-size: 11px;
            color: var(--muted);
            margin-top: 2px;
        }

        .input-money,
        .input-wrap {
            display: flex;
            align-items: center;
            border: 1px solid #d1d5db;
            border-radius: 10px;
            overflow: hidden;
            background: #fff;
            min-height: 44px;
            width: 100%;
        }

        .input-money span {
            background: #f9fafb;
            padding: 11px 13px;
            font-size: 13px;
            border-right: 1px solid #d1d5db;
            flex: 0 0 48px;
            text-align: center;
        }

        .input-money input,
        .input-wrap input {
            width: 100%;
            min-width: 0;
            border: none;
            outline: none;
            padding: 11px 13px;
            font-size: 13px;
        }

        .input-money:has(input:disabled),
        .input-wrap:has(input:disabled) {
            background: #f3f4f6;
            opacity: .72;
            cursor: not-allowed;
        }

        .input-money:has(input:disabled) span,
        .input-wrap:has(input:disabled) span {
            cursor: not-allowed;
        }

        .input-money input:disabled,
        .input-wrap input:disabled {
            background: #f3f4f6;
            cursor: not-allowed;
        }

        .btn-submit {
            width: 100%;
            border: none;
            background: var(--red);
            color: #fff;
            padding: 13px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 18px;
            box-shadow: 0 8px 22px rgba(189, 50, 57, .3);
        }

        #openIdentityForm {
            background: var(--navy);
            box-shadow: 0 8px 22px rgba(13, 23, 75, .28);
        }

        #openIdentityForm:hover {
            background: #16235f;
        }

        .modal-overlay {
            position: fixed;
            inset: 0;
            z-index: 2000;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(17, 24, 39, .62);
        }

        .modal-overlay.is-open {
            display: flex;
        }

        .identity-modal {
            width: 100%;
            max-width: 520px;
            background: #fff;
            border-radius: 18px;
            padding: 28px;
        }

        .identity-field {
            margin-bottom: 18px;
        }

        .identity-field input {
            width: 100%;
            border: 1px solid #d1d5db;
            border-radius: 10px;
            padding: 14px 16px;
            outline: none;
        }

        .modal-actions {
            display: flex;
            gap: 10px;
        }

        .modal-actions>button {
            flex: 1;
            width: auto;
            height: 60px;
            min-height: 60px;
            padding: 0 16px;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 600;
            margin-top: 0 !important;
            box-shadow: none;
        }

        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            min-width: 210px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
            z-index: 100;
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }

        .dropdown-content a {
            display: block;
            padding: 12px 16px;
            color: #1e3a8a;
            text-decoration: none;
        }

        .dropdown-content a:hover {
            background: #1e3a8a;
            color: #fff;
        }

        @media(max-width:900px) {
            .nav-links {
                position: fixed;
                top: 62px;
                left: 0;
                right: 0;
                background: var(--navy);
                flex-direction: column;
                align-items: flex-start;
                padding: 18px 24px;
                gap: 16px;
                display: none;
                border-top: 1px solid rgba(255, 255, 255, .1);
            }

            .nav-links.open {
                display: flex;
            }

            .burger {
                display: flex;
            }

            .dropdown,
            .dropdown-content {
                width: 100%;
            }

            .dropdown-content {
                position: static;
                margin-top: 10px;
            }

            .container {
                width: auto;
                margin: 20px 14px;
                padding: 22px;
            }

            .page-title {
                font-size: 25px;
            }

            .kpm-form-grid,
            .form-section,
            .form-section.is-primary {
                grid-template-columns: 1fr;
            }
        }
