
            #authSection.kl-auth-shell {
                max-width: 100% !important;
                width: 100% !important;
                margin: 0 auto !important;
                padding: 0 16px !important;
                box-sizing: border-box;
            }
            .kl-auth-stage {
                min-height: calc(100vh - 190px);
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 20px 0 48px 0;
                box-sizing: border-box;
            }
            .kl-auth-surface {
                width: 100%;
                max-width: 420px;
                margin: 0 auto;
                background: #ffffff;
                border: 1px solid #dadce0;
                border-radius: 12px;
                padding: 40px 36px;
                box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05), 0 6px 18px rgba(16, 24, 40, 0.04);
                font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
                color: #1f2937;
                display: flex;
                flex-direction: column;
                justify-content: center;
                box-sizing: border-box;
            }
            .kl-auth-surface form {
                width: 100%;
                margin: 0 auto;
            }
            @media (max-width: 480px) {
                .kl-auth-stage {
                    min-height: calc(100vh - 150px);
                    padding: 12px 0 32px 0;
                }
                .kl-auth-surface {
                    padding: 32px 22px;
                }
            }
            .kl-auth-heading {
                font-size: 1.5rem;
                font-weight: 600;
                color: #111827;
                text-align: center;
                margin: 0 0 6px 0;
                letter-spacing: -0.02em;
            }
            .kl-auth-subheading {
                font-size: 0.88rem;
                font-weight: 400;
                color: #5f6368;
                text-align: center;
                margin: 0 0 26px 0;
                line-height: 1.5;
            }
            .kl-auth-alert {
                display: none;
                border-radius: 8px;
                padding: 11px 14px;
                font-size: 0.83rem;
                font-weight: 500;
                line-height: 1.45;
                margin-bottom: 18px;
                text-align: center;
            }
            .kl-auth-alert.err {
                background: #fef2f2;
                border: 1px solid #fecaca;
                color: #991b1b;
            }
            .kl-auth-alert.ok {
                background: #f0fdf4;
                border: 1px solid #bbf7d0;
                color: #166534;
            }
            #googleBtnWrap:empty,
            #googleBtnWrapSignup:empty {
                display: none !important;
                margin: 0 !important;
            }
            .kl-oauth-stack {
                display: flex;
                flex-direction: column;
                gap: 10px;
                width: 100%;
                margin: 0 0 4px 0;
            }
            .kl-google-slot {
                display: flex;
                justify-content: center;
                align-items: flex-start;
                width: 100%;
                height: 40px;
                min-height: 40px;
                max-height: 40px;
                overflow: hidden;
                position: relative;
            }
            .kl-btn-github {
                width: 100%;
                height: 40px;
                padding: 0 14px;
                border: 1px solid #dadce0;
                border-radius: 4px;
                background: #ffffff;
                color: #3c4043;
                font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
                font-size: 0.875rem;
                font-weight: 500;
                letter-spacing: 0.01em;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 10px;
                cursor: pointer;
                box-sizing: border-box;
                transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
            }
            .kl-btn-github:hover:not(:disabled) {
                background: #f8f9fa;
                border-color: #c1c7cd;
            }
            .kl-btn-github:active:not(:disabled) {
                background: #f1f3f4;
            }
            .kl-btn-github:disabled {
                opacity: 0.65;
                cursor: not-allowed;
            }
            .kl-oauth-divider {
                display: flex;
                align-items: center;
                gap: 12px;
                margin: 16px 0 16px 0;
                color: #6b7280;
                font-size: 0.76rem;
                font-weight: 500;
            }
            .kl-oauth-divider::before,
            .kl-oauth-divider::after {
                content: "";
                flex: 1;
                height: 1px;
                background: #e5e7eb;
            }
            .kl-field {
                margin-bottom: 16px;
            }
            .kl-label-row {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 6px;
            }
            .kl-label {
                font-size: 0.8125rem;
                font-weight: 500;
                color: #374151;
                margin: 0;
            }
            .kl-link-inline {
                background: none;
                border: none;
                padding: 0;
                color: #8B1528;
                font-size: 0.8rem;
                font-weight: 500;
                cursor: pointer;
                font-family: inherit;
            }
            .kl-link-inline:hover {
                text-decoration: underline;
            }
            .kl-input-wrap {
                position: relative;
            }
            .kl-input {
                width: 100%;
                height: 44px;
                padding: 0 13px;
                border: 1px solid #dadce0;
                border-radius: 8px;
                font-size: 0.925rem;
                font-family: inherit;
                color: #111827;
                background: #ffffff;
                box-sizing: border-box;
                transition: border-color 0.15s ease, box-shadow 0.15s ease;
            }
            .kl-input.has-toggle {
                padding-right: 42px;
            }
            .kl-input::placeholder {
                color: #9ca3af;
            }
            .kl-input:hover:not(:disabled):not([readonly]) {
                border-color: #b0b5bc;
            }
            .kl-input:focus {
                outline: none;
                border-color: #8B1528;
                box-shadow: 0 0 0 3px rgba(139, 21, 40, 0.10);
            }
            .kl-input[readonly] {
                background: #f8fafc;
                color: #64748b;
                cursor: default;
            }
            .kl-pw-eye {
                position: absolute;
                right: 8px;
                top: 50%;
                transform: translateY(-50%);
                background: none;
                border: none;
                padding: 5px;
                color: #6b7280;
                cursor: pointer;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                border-radius: 6px;
            }
            .kl-pw-eye:hover {
                color: #111827;
                background: #f3f4f6;
            }
            .kl-hint {
                font-size: 0.76rem;
                color: #6b7280;
                margin-top: 5px;
            }
            .kl-btn-primary {
                width: 100%;
                height: 44px;
                margin-top: 6px;
                border: none;
                border-radius: 8px;
                background: #8B1528;
                color: #ffffff;
                font-family: inherit;
                font-size: 0.925rem;
                font-weight: 600;
                cursor: pointer;
                transition: background 0.15s ease, box-shadow 0.15s ease;
            }
            .kl-btn-primary:hover:not(:disabled) {
                background: #731121;
                box-shadow: 0 1px 3px rgba(139, 21, 40, 0.22);
            }
            .kl-btn-primary:disabled {
                opacity: 0.68;
                cursor: not-allowed;
            }
            .kl-stack-divider {
                display: flex;
                align-items: center;
                gap: 12px;
                margin: 22px 0 14px 0;
                color: #6b7280;
                font-size: 0.78rem;
                font-weight: 500;
            }
            .kl-stack-divider::before,
            .kl-stack-divider::after {
                content: "";
                flex: 1;
                height: 1px;
                background: #e5e7eb;
            }
            .kl-btn-secondary {
                width: 100%;
                height: 44px;
                border: 1px solid #dadce0;
                border-radius: 8px;
                background: #ffffff;
                color: #1f2937;
                font-family: inherit;
                font-size: 0.89rem;
                font-weight: 600;
                cursor: pointer;
                transition: background 0.15s ease, border-color 0.15s ease;
            }
            .kl-consent-group {
                margin: 14px 0 12px 0;
                display: flex;
                flex-direction: column;
                gap: 10px;
            }
            .kl-check-row {
                display: flex;
                align-items: flex-start;
                gap: 9px;
                font-size: 0.78rem;
                line-height: 1.45;
                color: #374151;
            }
            .kl-check-row.optional {
                color: #6b7280;
            }
            .kl-check-row input[type="checkbox"] {
                width: 16px;
                height: 16px;
                margin-top: 2px;
                accent-color: #8B1528;
                cursor: pointer;
                flex-shrink: 0;
            }
            .kl-check-row a {
                color: #8B1528;
                font-weight: 600;
                text-decoration: none;
            }
            .kl-check-row a:hover {
                text-decoration: underline;
            }
            .kl-auth-foot-note {
                margin-top: 18px;
                padding-top: 14px;
                border-top: 1px solid #f0f1f3;
                font-size: 0.74rem;
                line-height: 1.5;
                color: #6b7280;
                text-align: center;
            }
            .kl-auth-foot-links {
                margin-top: 6px;
                display: flex;
                justify-content: center;
                gap: 10px;
                flex-wrap: wrap;
            }
            .kl-auth-foot-links a {
                color: #4b5563;
                font-weight: 600;
                text-decoration: none;
            }
            .kl-auth-foot-links a:hover {
                color: #8B1528;
                text-decoration: underline;
            }
            .kl-summary-3pt {
                background: #ffffff;
                border: 1px solid #e5e7eb;
                border-left: 3px solid #8B1528;
                border-radius: 10px;
                padding: 12px 14px;
                margin-bottom: 14px;
                font-size: 0.8rem;
                line-height: 1.52;
                color: #374151;
            }
            .kl-summary-3pt ol {
                margin: 0;
                padding-left: 18px;
            }
            .kl-summary-3pt li {
                margin-bottom: 5px;
            }
            .kl-summary-3pt li:last-child {
                margin-bottom: 0;
            }
            .kl-esig-wrap {
                margin-top: 12px;
                padding-top: 12px;
                border-top: 1px dashed rgba(139, 21, 40, 0.22);
            }
            .kl-esig-input {
                width: 100%;
                height: 42px;
                padding: 0 13px;
                border: 1px solid #cbd5e1;
                border-radius: 8px;
                font-size: 0.92rem;
                font-weight: 600;
                color: #111827;
                background: #ffffff;
                box-sizing: border-box;
                font-family: 'Inter', -apple-system, sans-serif;
            }
            .kl-esig-input:focus {
                outline: none;
                border-color: #8B1528;
                box-shadow: 0 0 0 3px rgba(139, 21, 40, 0.12);
            }
            #legalModal {
                z-index: 100000 !important;
            }
            #legalModal .modal-card {
                max-width: 820px !important;
                width: 94% !important;
            }
            .kl-legal-doc h4 {
                color: #8B1528;
                font-size: 0.96rem;
                font-weight: 800;
                margin: 20px 0 8px 0;
            }
            .kl-legal-doc p, .kl-legal-doc li {
                font-size: 0.87rem;
                line-height: 1.62;
                color: #333;
                margin-bottom: 8px;
            }
            .kl-legal-doc ul, .kl-legal-doc ol {
                padding-left: 18px;
                margin: 8px 0 14px 0;
            }
            .kl-legal-meta {
                font-size: 0.79rem;
                color: #666;
                padding-bottom: 10px;
                border-bottom: 1px solid #eee;
                margin-bottom: 14px;
            }
            .kl-btn-secondary:hover {
                background: #f8f9fa;
                border-color: #c1c7cd;
            }
        