.kf-form{--kf-accent:#3156d3;--kf-border:#cbd5e1;max-width:960px;margin:1.5rem auto;padding:clamp(16px,4vw,32px);border:1px solid #e2e8f0;border-radius:16px;background:#fff;color:#172033;box-sizing:border-box;font:inherit}.kf-form *{box-sizing:border-box}.kf-grid{display:flex;flex-wrap:wrap;gap:20px}.kf-element{min-width:0;flex:0 0 calc(100% - 0px)}.kf-width-25{flex-basis:calc(25% - 15px)}.kf-width-33{flex-basis:calc(33.333% - 13.334px)}.kf-width-50{flex-basis:calc(50% - 10px)}.kf-width-66{flex-basis:calc(66.666% - 6.667px)}.kf-width-75{flex-basis:calc(75% - 5px)}.kf-form label,.kf-form legend{display:block;font-weight:600;margin-bottom:8px}.kf-form input:not([type=radio]):not([type=checkbox]),.kf-form select,.kf-form textarea{width:100%;padding:12px;border:1px solid var(--kf-border);border-radius:8px;background:#fff;color:inherit;font:inherit;min-height:44px}.kf-form input:focus,.kf-form select:focus,.kf-form textarea:focus{outline:2px solid var(--kf-accent);outline-offset:2px}.kf-form .kf-choice{display:flex;gap:10px;align-items:flex-start;font-weight:400}.kf-choice input{margin-top:5px;accent-color:var(--kf-accent)}.kf-form small{display:block;color:#556277;margin-top:6px}.kf-error{display:block;color:#a51d2d;font-size:.9rem;margin-top:5px}.kf-form [aria-invalid=true]{border-color:#a51d2d}.kf-submit{margin-top:24px;background:var(--kf-accent);color:#fff;border:0;border-radius:8px;min-height:44px;padding:12px 28px;font:inherit;font-weight:600;cursor:pointer}.kf-submit:disabled{opacity:.6;cursor:wait}.kf-form[data-preview="0"] .kf-message:not(:empty){padding:14px;background:#f8fafc;color:#334155;border:1px solid #cbd5e1;border-radius:8px;margin-bottom:20px}.kf-form[data-preview="0"] .kf-message.kf-message--success:not(:empty){background:#f0fdf4;color:#166534;border-color:#bbf7d0}.kf-form[data-preview="0"] .kf-message.kf-message--error:not(:empty){background:#fef2f2;color:#991b1b;border-color:#fecaca}.kf-form[data-preview="0"] .kf-message.kf-message--info:not(:empty){background:#f8fafc;color:#334155;border-color:#cbd5e1}.kf-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.kf-form fieldset{border:1px solid #e2e8f0;padding:16px;border-radius:10px;min-width:0}.kf-turnstile{margin-top:20px}.kf-form hr{border:0;border-top:1px solid #e2e8f0}@media(max-width:640px){.kf-form .kf-element{flex-basis:100%}.kf-grid{gap:16px}.kf-submit{width:100%}}

.kf-form .kf-element[hidden]{display:none!important}

/* Shared country control: uses the form palette and native input sizing. */
.kf-country-picker{position:relative;min-width:0}
.kf-country-flag{display:inline-block;width:24px;height:18px;max-width:none;vertical-align:middle;margin-inline-end:8px;object-fit:contain}
.kf-form select.kf-country-native{position:absolute;width:1px;height:1px;min-height:0;padding:0;border:0;clip-path:inset(50%);overflow:hidden}
.kf-form .kf-country-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;padding:12px;border:1px solid var(--kf-border);border-radius:8px;background:inherit;color:inherit;font:inherit;text-align:start;cursor:pointer}
.kf-country-selection{display:inline-flex;align-items:center;min-width:0}
.kf-country-selection .kf-country-flag{flex-shrink:0}
.kf-country-chevron{flex:0 0 7px;width:7px;height:7px;border-inline-end:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-inline:2px}
.kf-country-trigger[aria-expanded=true] .kf-country-chevron{transform:rotate(225deg)}
.kf-form .kf-country-trigger:focus-visible,.kf-country-search:focus-visible{outline:2px solid var(--kf-accent);outline-offset:2px}
.kf-country-trigger:disabled{opacity:.6;cursor:default}
.kf-country-popup{position:absolute;inset-inline-start:0;top:calc(100% + 4px);z-index:20;width:max(100%,280px);max-width:min(400px,calc(100vw - 64px));padding:8px;border:1px solid var(--kf-border);border-radius:8px;background:var(--kf-country-background,#fff);color:inherit;box-shadow:0 8px 24px #0002}
.kf-country-popup[hidden]{display:none}
.kf-country-list{max-height:240px;overflow:auto;overscroll-behavior:contain;margin-top:8px}
.kf-country-option{padding:10px;border-radius:4px;cursor:pointer;overflow-wrap:anywhere}
.kf-country-option[aria-selected=true]{font-weight:600}
.kf-country-option:hover,.kf-country-active{background:var(--kf-accent);color:var(--kf-country-active-color,#fff)}
.kf-country-status{display:block;font-size:.85em;padding:4px}
.kf-phone{display:flex;align-items:stretch;gap:0;border:1px solid var(--kf-border);border-radius:8px;background:var(--kf-country-background,#fff)}
.kf-phone:focus-within{outline:2px solid var(--kf-accent);outline-offset:2px}
.kf-phone>.kf-country-picker{flex:0 0 auto;max-width:45%}
.kf-form .kf-phone .kf-country-trigger{height:100%;border:0;border-inline-end:1px solid var(--kf-border);border-radius:7px 0 0 7px;background:transparent}
.kf-form .kf-phone>input[data-kf-phone-number]{flex:1;min-width:0;width:0;border:0;border-radius:0 7px 7px 0;background:transparent}
.kf-form .kf-phone .kf-country-trigger:focus-visible,.kf-form .kf-phone>input[data-kf-phone-number]:focus{outline:none}
