.kc-app { max-width: 740px; margin: 24px auto; background: #fff; border: 1px solid #cbd5e1; border-radius: 16px; box-shadow: 0 12px 30px rgba(15, 23, 42, .09); overflow: hidden; color: #0f172a; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.45; }
.kc-app *, .kc-app *::before, .kc-app *::after { box-sizing: border-box; }
.kc-app [hidden] { display: none !important; }
.kc-app h2, .kc-app h3, .kc-app h4 { font-family: inherit; letter-spacing: normal; }
.kc-header { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 22px 26px; color: #fff; background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 65%, #991b1b 100%); border-bottom: 4px solid #dc2626; }
.kc-header img { width: 80px; height: 80px; border-radius: 50%; background: #fff; padding: 3px; object-fit: cover; flex-shrink: 0; }
.kc-header > div { flex: 1; min-width: 220px; }
.kc-brand { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #bfdbfe; margin-bottom: 4px; }
.kc-header h2 { margin: 0 0 6px; font-size: 22px; line-height: 1.25; color: #fff; font-weight: 800; }
.kc-header p { margin: 0; font-size: 14px; color: #e2e8f0; }
.kc-body { padding: 24px 26px; }
.kc-progress { margin-bottom: 18px; }
.kc-progress-text { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: #475569; margin-bottom: 6px; }
.kc-bar { height: 8px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.kc-bar-fill { height: 100%; width: 0; background: #1e3a8a; transition: width .25s ease; }
.kc-q-title { margin: 0 0 6px; font-size: 19px; font-weight: 700; }
.kc-q-sub { margin: 0 0 16px; font-size: 14px; color: #64748b; }
.kc-options { display: flex; flex-direction: column; gap: 10px; }
.kc-option { text-align: left; padding: 14px 16px; border-radius: 10px; border: 2px solid #e2e8f0; background: #fff; color: #0f172a; font: inherit; font-size: 15px; cursor: pointer; width: 100%; transition: border-color .15s, background .15s; }
.kc-option:hover, .kc-option:focus { border-color: #93c5fd; background: #f8fafc; outline: none; }
.kc-option.is-selected { border-color: #1e3a8a; background: #eff6ff; font-weight: 600; }
.kc-qnav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 10px; }
.kc-back { background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; padding: 9px 16px; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.kc-gate-back { margin-top: 14px; }
.kc-privacy { font-size: 12px; color: #94a3b8; margin-left: auto; }
.kc-gate-head { background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 10px; padding: 18px; margin-bottom: 16px; }
.kc-eyebrow { font-size: 12px; font-weight: 700; color: #16a34a; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.kc-gate-head h3 { margin: 0 0 6px; font-size: 19px; }
.kc-gate-head p { margin: 0; color: #475569; font-size: 14px; }
.kc-form { display: flex; flex-direction: column; gap: 12px; }
.kc-form label { display: block; font-size: 13.5px; font-weight: 600; color: #334155; }
.kc-form input[type=text], .kc-form input[type=email], .kc-form select { display: block; width: 100%; margin-top: 4px; padding: 11px 14px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: 15px; }
.kc-form input:focus { outline: 2px solid #93c5fd; border-color: #1e3a8a; }
.kc-submit { background: #b91c1c; color: #fff; border: 0; padding: 13px 20px; border-radius: 8px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.kc-submit[disabled] { opacity: .7; cursor: wait; }
.kc-fine { margin: 0; font-size: 12px; color: #64748b; }
.kc-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; padding: 11px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.kc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.kc-result-card { border-radius: 12px; padding: 20px; margin-bottom: 18px; background: #eff6ff; border: 1px solid #bfdbfe; }
.kc-outcome-k1 { background: #eff6ff; border-color: #bfdbfe; }
.kc-outcome-cr1, .kc-outcome-married { background: #f0fdf4; border-color: #bbf7d0; }
.kc-outcome-either { background: #f8fafc; border-color: #cbd5e1; }
.kc-outcome-lpr, .kc-outcome-not_usc, .kc-outcome-not_free, .kc-outcome-ban { background: #fffbeb; border-color: #fde68a; }
.kc-badge { display: inline-block; background: #1e3a8a; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .05em; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }
.kc-outcome-cr1 .kc-badge, .kc-outcome-married .kc-badge { background: #15803d; }
.kc-outcome-either .kc-badge { background: #475569; }
.kc-outcome-lpr .kc-badge, .kc-outcome-not_usc .kc-badge, .kc-outcome-not_free .kc-badge, .kc-outcome-ban .kc-badge { background: #b45309; }
.kc-result-title { margin: 0 0 8px; font-size: 22px; }
.kc-result-summary { margin: 0; }
.kc-result-lean { margin: 10px 0 0; font-weight: 700; }
.kc-section { margin-bottom: 16px; }
.kc-section h4 { margin: 0 0 8px; font-size: 16px; }
.kc-section ul { margin: 0; padding-left: 20px; }
.kc-section li { margin-bottom: 8px; }
.kc-notes-wrap { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 14px 16px; }
.kc-cta { background: #0f172a; color: #fff; border-radius: 12px; border-top: 5px solid #dc2626; padding: 20px; margin-bottom: 14px; }
.kc-cta h4 { margin: 0 0 6px; font-size: 18px; color: #fff; }
.kc-cta p { margin: 0 0 14px; color: #cbd5e1; font-size: 14px; }
.kc-cta-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.kc-btn { display: inline-block; text-decoration: none !important; padding: 12px 18px; border-radius: 8px; font-weight: 700; font-size: 14px; color: #fff !important; }
.kc-btn-primary { background: #dc2626; }
.kc-btn-secondary { background: #1e3a8a; border: 1px solid rgba(255, 255, 255, .25); }
.kc-sent { font-size: 13px; color: #475569; }
.kc-restart { background: none; border: 0; color: #1e3a8a; text-decoration: underline; font: inherit; font-size: 13px; cursor: pointer; padding: 0; }
@media (max-width: 600px) {
	.kc-body { padding: 18px 16px; }
	.kc-header { padding: 18px 16px; }
	.kc-header img { width: 56px; height: 56px; }
	.kc-header h2 { font-size: 19px; }
	.kc-privacy { display: none; }
}
.kc-sent-card { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 22px; text-align: center; margin-bottom: 18px; }
.kc-sent-badge { display: inline-block; background: #16a34a; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .05em; padding: 5px 12px; border-radius: 999px; margin-bottom: 10px; text-transform: uppercase; }
.kc-sent-card h3 { margin: 0 0 8px; font-size: 21px; }
.kc-sent-card p { margin: 0 0 8px; }
.kc-done-email { display: inline-block; background: #fff; border: 1px solid #86efac; padding: 8px 16px; border-radius: 8px; font-family: monospace; font-size: 15px; font-weight: 700; color: #166534; margin: 4px 0 12px; word-break: break-all; }
.kc-spam { font-size: 14px; color: #334155; max-width: 520px; margin: 0 auto 12px !important; }
.kc-change { background: none; border: 0; color: #1e3a8a; text-decoration: underline; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 0; }
.kc-resend { max-width: 420px; margin: 12px auto 0; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.kc-resend label { display: block; font-size: 13.5px; font-weight: 600; color: #334155; }
.kc-resend input { display: block; width: 100%; margin-top: 4px; padding: 11px 14px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: 15px; }
.kc-packets { background: #eff6ff; border: 2px solid #1e3a8a; border-radius: 12px; padding: 18px 20px; margin-bottom: 18px; text-align: center; }
.kc-packets h4 { margin: 0 0 12px; font-size: 18px; }
.kc-packet-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.kc-btn-packet { background: #1e3a8a; font-size: 15px; padding: 14px 22px; }

.kc-app .kc-sent-badge.is-failed{background:#b91c1c;}

.kc-form select { background: #fff; }
.kc-form .kc-heard-other[hidden] { display: none; }
