.kms-root,.kms-root *{box-sizing:border-box}
.kms-root{font-family:inherit;max-width:430px;width:100%;margin:20px auto;padding:32px 29px;border:1px solid #e9e9ee;border-radius:19px;background:#fff;box-shadow:0 16px 52px rgba(25,31,45,.07);direction:rtl;text-align:right;color:#1e2330}
.kms-root h2{margin:0 0 10px;font-size:23px;line-height:1.5;font-weight:800;color:#202333}
.kms-root p{font-size:14px;line-height:1.85;margin:0 0 20px;color:#707789}
.kms-root label{display:block;font-size:13px;font-weight:600;margin-bottom:9px}
.kms-root input{width:100%;height:54px;padding:0 18px;border:1px solid #d9dde7;border-radius:11px;direction:ltr;text-align:left;font-weight:600;font-size:17px;font-family:inherit;letter-spacing:.6px;background:#fff;color:#202333;outline:none}
.kms-root input:focus{border-color:var(--kms-accent,#d32f49);box-shadow:0 0 0 3px rgba(211,47,73,.11)}
.kms-root button[type=submit],.kms-open{display:block;width:100%;margin-top:18px;min-height:51px;border:0;border-radius:11px;color:#fff;background:var(--kms-accent,#d32f49);font-weight:700;font-size:15px;cursor:pointer;transition:filter .15s}
.kms-root button[type=submit]:hover,.kms-open:hover{filter:brightness(.94)}
.kms-root button:disabled{opacity:.55;cursor:wait}
.kms-root .kms-link{border:0;background:transparent;color:var(--kms-accent,#d32f49);cursor:pointer;margin:12px auto 0;display:block;padding:6px}
.kms-root .kms-feedback{margin:13px 0 0;font-size:13px;min-height:20px;color:#267f50}
.kms-root .kms-feedback.kms-error{color:#c22f44}
.kms-root small{display:block;text-align:center;color:#9095a4;margin-top:13px;line-height:1.8;font-size:11px}
.kms-root [hidden],.kms-modal[hidden]{display:none!important}
.kms-root .kms-verify input{text-align:center;letter-spacing:9px;font-size:24px}
.kms-checkout-login{padding:13px;background:#f9fafb;border:1px solid #eee;border-radius:10px;margin-bottom:20px}
.kms-checkout-login summary{cursor:pointer;font-weight:700}
.kms-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:16px}
.kms-modal-shade{position:absolute;inset:0;background:rgba(15,19,31,.55)}
.kms-modal-panel{position:relative;width:min(100%,480px);max-height:90vh;overflow-y:auto}
.kms-modal-panel .kms-root{margin:0}
.kms-close{position:absolute;z-index:3;top:8px;left:12px;font-size:27px;line-height:1;border:0;background:transparent;cursor:pointer;color:#6a6d75}
.kms-no-scroll{overflow:hidden}
@media(max-width:500px){.kms-root{padding:24px 19px;border-radius:16px}.kms-root h2{font-size:20px}}
/* Kellar 2: scoped visual presets, no global element styling. */
.kms-root{width:100%;max-width:var(--kms-width,430px);margin:12px auto;background:var(--kms-form-bg,#fff);color:var(--kms-form-text,#14223d);border-radius:var(--kms-radius,18px);box-sizing:border-box;font-family:inherit}
.kms-root input:not([type=checkbox]){background:var(--kms-input-bg,#f7f8fc);border-radius:12px}
.kms-root .kms-brand-logo{max-height:66px;max-width:65%;object-fit:contain;display:block;margin:0 auto 22px}
.kms-root .kms-marketing-otp{font-size:12px;line-height:1.9;display:flex;align-items:flex-start;gap:8px;margin:14px 0;color:inherit}
.kms-root .kms-marketing-otp input{margin-top:5px;flex-shrink:0}
.kms-root .kms-resend-wrapper{text-align:center;margin:5px 0}
.kms-root .kms-link{background:transparent!important;border:0!important;color:var(--kms-accent)!important;font-size:13px;box-shadow:none!important}
.kms-root button[disabled]{cursor:not-allowed;opacity:.6}
.kms-root .kms-password-form label{display:block;font-size:13px;margin:10px 0;text-align:right}
.kms-root .kms-password-form input{width:100%;margin:5px 0}
.kms-theme-minimal{border:1px solid #eceff4!important;box-shadow:none!important}
.kms-theme-store{border-top:5px solid var(--kms-accent)!important;box-shadow:0 8px 36px #16233d12!important}
.kms-theme-dark{--kms-form-bg:#172339;--kms-form-text:#f8faff;--kms-input-bg:#25344b;border:1px solid #374457!important}
.kms-theme-dark input{color:#fff!important;border-color:#374b62!important}
.kms-theme-dark input::placeholder{color:#adb6c8!important}
.kms-theme-dark p,.kms-theme-dark label,.kms-theme-dark small{color:#e0e7f1!important}
.kms-profile{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:760px;margin:15px auto;direction:rtl}
.kms-profile h2,.kms-profile-status{grid-column:1/-1}
.kms-profile label{display:block;font-size:13px;color:#273348}
.kms-profile input{display:block;margin-top:7px;width:100%;padding:10px;border:1px solid #cfd7e5;border-radius:9px;box-sizing:border-box}
.kms-profile button{grid-column:1/-1;background:var(--kms-accent,#d32f49);color:white;border:0;padding:13px 18px;border-radius:10px;cursor:pointer}
.kms-profile-overlay{position:fixed;inset:0;z-index:9999999;background:#091626b8;display:grid;place-items:center;padding:18px;overflow:auto}
.kms-profile-box{background:#fff;border-radius:18px;padding:25px;max-width:780px;width:100%;position:relative;box-sizing:border-box;box-shadow:0 20px 85px #12162645}
.kms-profile-dismiss{position:absolute;top:7px;left:10px;font-size:25px;background:transparent;border:0;cursor:pointer}
@media(max-width:520px){.kms-profile{grid-template-columns:1fr}.kms-profile-box{padding:25px 15px}}

.kms-root input[type=checkbox]{width:17px!important;height:17px!important;min-width:17px!important;padding:0;accent-color:var(--kms-accent);margin:0 4px 0 0;display:inline-block!important}
.kms-root .kms-marketing-otp{display:flex!important;margin-top:12px}
.kms-root .kms-marketing-otp input{margin-top:3px!important}
.kms-root .kms-theme-dark h2,.kms-root.kms-theme-dark h2{color:#fff}

/* v3 interface: built independently; all selectors are scoped to Kellar UI */
.kms-page-shell,.kms-page-shell *{box-sizing:border-box}
.kms-page-shell{min-height:min(100vh,1000px);width:100%;background-color:var(--kms-page-bg,#eff4ff);background-image:radial-gradient(ellipse at 12% 20%,#a3bfff 0,transparent 43%),radial-gradient(ellipse at 84% 12%,#fff2bc 0,transparent 35%),linear-gradient(130deg,#dce9ff,#f9fbff 60%,#e0ecff);background-repeat:no-repeat;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;padding:38px 22px;position:relative;isolation:isolate;overflow:hidden;direction:rtl}
.kms-page-shell:before{content:"";position:absolute;width:55vw;height:55vw;border:2px solid #fff9;left:-30vw;top:-30vw;border-radius:50%;pointer-events:none}
.kms-page-shell:after{content:"";position:absolute;width:45vw;height:45vw;border:2px solid #e2b84e56;right:-30vw;bottom:-35vw;border-radius:50%;pointer-events:none}
.kms-page-shell.kms-layout-right{justify-content:flex-start}.kms-page-shell.kms-layout-left{justify-content:flex-end}
.kms-page-inner{position:relative;z-index:1;width:100%;max-width:510px}
.kms-root{--kms-accent:var(--kms-button,#1739df);border:1px solid #e8e7e2;border-radius:25px;padding:30px 29px 24px;max-width:var(--kms-width,430px);box-shadow:none!important;text-align:center;overflow:hidden}
.kms-root.kms-has-shadow{box-shadow:0 22px 70px #1b39752a!important}
.kms-root .kms-brand-header{display:flex;justify-content:center;align-items:center;margin-bottom:20px;min-height:45px}
.kms-root .kms-brand-logo{max-width:105px;max-height:56px;margin:0}
.kms-root .kms-brand-symbol{font-size:34px;line-height:1;color:var(--kms-accent,#153cde)}
.kms-root h2{font-size:19px;text-align:center;margin:0 0 8px;color:var(--kms-title,#102450);font-weight:800}
.kms-root p:not(.kms-feedback){text-align:center;font-size:12px;line-height:1.9;color:#566782;margin:5px 0 13px}
.kms-root label:not(.kms-marketing-otp){text-align:right;font-size:12px;color:var(--kms-form-text,#1c2a4c);margin-bottom:5px}
.kms-root input:not([type=checkbox]){height:46px;background:var(--kms-input-bg,#fff);border:1px solid var(--kms-input-border,#dfe6f5);border-radius:12px;box-shadow:none;font-weight:500}
.kms-root button[type=submit]{background:var(--kms-button,#1739df);color:var(--kms-button-text,#fff);border-radius:12px;min-height:47px;margin-top:9px;font-weight:800;box-shadow:none}
.kms-root button[type=submit]:focus-visible,.kms-root .kms-digit:focus{outline:2px solid var(--kms-button,#1739df);outline-offset:2px}
.kms-root small{margin-top:14px;line-height:1.8;font-size:11px;color:#3b4b6b}
.kms-root .kms-feedback{font-size:12px;min-height:0;margin:10px 0;text-align:center}
.kms-root .kms-feedback:empty{display:none}
.kms-root .kms-feedback.kms-error{color:#a32131;background:#fff0f0;border-radius:9px;padding:8px}
.kms-root .kms-feedback.kms-success{color:#14764d;background:#e5faee;border-radius:9px;padding:8px}
.kms-root .kms-loading button[type=submit]{opacity:.7}
.kms-root .kms-otp-sent{background:#e5faee;color:#187147;border:1px solid #c7edda;border-radius:10px;padding:11px 9px;font-size:12px;margin:16px 0 18px}
.kms-root .kms-code-boxes{display:flex;gap:8px;justify-content:center;align-items:center;width:100%;margin:10px 0}
.kms-root .kms-code-boxes .kms-digit{height:54px;width:100%;min-width:0;flex:1;max-width:62px;text-align:center;font-size:24px;padding:0;border-radius:11px;letter-spacing:0;color:#192d60;font-weight:750}
.kms-root .kms-marketing-otp{font-size:11px;text-align:right;margin:17px 0 10px;line-height:1.8}
.kms-root .kms-resend-wrapper{margin:11px 0}
.kms-root .kms-link{font-size:12px;margin:2px auto;padding:8px;color:var(--kms-button,#1739df)!important}
.kms-root .kms-link:disabled{color:#909cb4!important}
.kms-root.kms-skin-gold{--kms-button:#1739df}
.kms-root.kms-skin-blue{--kms-button:#1264e5}
.kms-root.kms-skin-cyan{--kms-button:#06a8c9}
.kms-root.kms-skin-purple{--kms-button:#7e3bed}
.kms-root.kms-skin-minimal{--kms-button:#1d304f}
.kms-root.kms-theme-dark{--kms-button:#4674ff;--kms-title:#fff}
.kms-modal-panel{width:min(100%,500px)}.kms-modal-panel .kms-root{max-width:100%;margin:0}
.kms-open{background:var(--kms-button,#1739df);min-height:44px;padding:9px 18px;width:auto;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:570px){.kms-page-shell{min-height:100dvh;padding:19px 14px}.kms-root{padding:25px 19px 22px;border-radius:22px}.kms-root .kms-code-boxes{gap:6px}.kms-root .kms-code-boxes .kms-digit{height:49px;font-size:21px}.kms-page-inner{max-width:420px}}
.kms-profile .kms-profile-description{grid-column:1/-1;font-size:13px;color:#6b778c;margin:0 0 6px}
.kms-profile select,.kms-profile textarea{display:block;margin-top:7px;width:100%;padding:10px;border:1px solid #cfd7e5;border-radius:9px;box-sizing:border-box;background:#fff}
.kms-profile .kms-required{color:#d22249}
.kms-root .kms-welcome{font-size:12px;color:#3d4d71;margin:0 0 10px;font-weight:650}
.kms-page-shell.kms-has-side{gap:24px}
.kms-page-shell .kms-page-illustration{position:relative;flex:1;min-width:0;max-width:450px;display:flex;align-items:center;justify-content:center}
.kms-page-shell .kms-page-illustration img{width:100%;height:auto;max-height:72vh;object-fit:contain;border-radius:15px}
.kms-page-shell.kms-has-side .kms-page-inner{flex:0 1 470px}
@media(max-width:760px){.kms-page-shell.kms-has-side{flex-direction:column}.kms-page-shell .kms-page-illustration{display:none}.kms-page-shell.kms-has-side .kms-page-inner{flex:1 1 auto}}

/* Verified-mobile registration stage */
.kms-root .kms-signup{text-align:right}
.kms-root .kms-signup label{display:block;margin:12px 0 7px}
.kms-root .kms-signup input{display:block;width:100%;margin:5px 0 10px}
