body.ksca-atelier.woocommerce-account:not(.logged-in) main:has(.ksd-auth)>article>h1{display:none}
body.ksca-atelier.woocommerce-account:not(.logged-in) main:has(.ksd-auth)>article{padding:0;background:transparent;border:0;border-radius:0}
body.ksca-atelier .ksd-auth .woocommerce-privacy-policy-text{display:none}
/* Guest account form; native account endpoints and WooCommerce handlers are retained. */
body.ksca-atelier.woocommerce-account:not(.logged-in) main:has(.ksd-auth) {padding-top:38px;padding-bottom:64px;}
body.ksca-atelier .ksd-auth {box-sizing:border-box;width:100%;max-width:440px;padding:24px;margin:0 auto;background:var(--surface,#fff);color:var(--ink,#171c17);border:0;border-radius:28px;}
body.ksca-atelier .ksd-auth-back {display:inline-block;margin:0 0 14px;color:#3485ff;font-size:16px;font-weight:400;line-height:1.4;}
body.ksca-atelier .ksd-auth h1 {font-family:var(--display,'Arial Narrow',sans-serif);font-size:40px;font-weight:900;line-height:1.08;text-transform:uppercase;letter-spacing:0;margin:0 0 32px;}
body.ksca-atelier .ksd-auth .ksd-auth-form {display:block;width:100%;margin:0;padding:0;border:0;background:transparent;box-shadow:none;}
body.ksca-atelier .ksd-auth .ksd-auth-field {display:block;float:none;width:100%;margin:0 0 16px;padding:0;clear:both;}
body.ksca-atelier .ksd-auth .ksd-auth-field>label {display:block;font-family:var(--body,Arial,sans-serif);font-size:14px;font-weight:700;line-height:1.4;margin:0 0 6px;}
body.ksca-atelier .ksd-auth .ksd-auth-field input {box-sizing:border-box;display:block;width:100%;max-width:none;height:46px;min-height:46px;margin:0;border:1px solid transparent;border-radius:14px;box-shadow:none;background:var(--soft,#f4f4f6);color:var(--ink,#171c17);padding:10px 14px;font-family:var(--body,Arial,sans-serif);font-size:16px;font-weight:400;line-height:1.4;outline-offset:3px;}
body.ksca-atelier .ksd-auth .ksd-auth-field input::placeholder {color:var(--muted,#8b8d8d);opacity:1;}
body.ksca-atelier .ksd-auth .ksd-auth-field input:focus-visible {outline:2px solid var(--green,#246a44);}
body.ksca-atelier .ksd-auth-phone,body.ksca-atelier .ksd-auth-password {position:relative;display:flex;align-items:center;min-width:0;}
body.ksca-atelier .ksd-auth .ksd-auth-phone>input {padding-left:73px;}
body.ksca-atelier .ksd-auth-phone-code {position:absolute;left:6px;top:6px;bottom:6px;display:flex;align-items:center;justify-content:center;gap:8px;width:56px;border-radius:12px;background:color-mix(in srgb,var(--soft,#f4f4f6) 91%,var(--ink,#171c17));font-size:15px;pointer-events:none;}
body.ksca-atelier .ksd-auth-phone-code select {appearance:none;-webkit-appearance:none;pointer-events:auto;box-sizing:border-box;width:100%;height:100%;min-height:0;border:0;border-radius:12px;padding:0 23px 0 10px;background:transparent;color:inherit;font:inherit;cursor:pointer;}
body.ksca-atelier .ksd-auth-phone-code svg {position:absolute;right:8px;width:14px;height:14px;stroke-width:1.7;}
body.ksca-atelier .ksd-auth .ksd-auth-password>input {padding-right:52px;}
body.ksca-atelier .ksd-auth .ksd-auth-reveal {position:absolute;right:1px;top:1px;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:12px;border:0;border-radius:12px;background:transparent;color:inherit;box-shadow:none;cursor:pointer;}
body.ksca-atelier .ksd-auth-reveal svg {width:24px;height:24px;}
body.ksca-atelier .ksd-auth .ksd-auth-new-password {margin-top:30px;}
body.ksca-atelier .ksd-auth .ksd-auth-submit {box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;margin:28px 0 0;padding:10px 18px;border:0;border-radius:14px;background:#10130f;color:#fff;box-shadow:none;font-family:var(--display,'Arial Narrow',sans-serif);font-size:22px;font-weight:500;line-height:1.15;letter-spacing:0;text-transform:uppercase;cursor:pointer;transition:background-color .15s ease;}
body.ksca-atelier .ksd-auth .ksd-auth-submit:hover {background:#263c2d;color:#fff;}
body.ksca-atelier .ksd-auth .ksd-auth-submit:disabled {opacity:.5;cursor:not-allowed;}
body.ksca-atelier .ksd-auth .ksd-auth-consent {display:flex;align-items:flex-start;gap:10px;margin:30px 0 0;font-size:13px;font-weight:400;line-height:1.45;cursor:pointer;}
body.ksca-atelier .ksd-auth :is(.ksd-auth-consent,.ksd-auth-login-options) input[type=checkbox] {box-sizing:border-box;appearance:none;-webkit-appearance:none;position:relative;display:block;flex:0 0 24px;width:24px;height:24px;margin:3px 0 0;border:1px solid transparent;border-radius:6px;background:var(--soft,#f4f4f6);cursor:pointer;}
body.ksca-atelier .ksd-auth :is(.ksd-auth-consent,.ksd-auth-login-options) input[type=checkbox]:checked {background:var(--green,#246a44);}
body.ksca-atelier .ksd-auth :is(.ksd-auth-consent,.ksd-auth-login-options) input[type=checkbox]:checked::after {content:'';position:absolute;left:7px;top:3px;width:7px;height:12px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);}
body.ksca-atelier .ksd-auth :is(a,.ksd-auth-reveal,.ksd-auth-submit,input[type=checkbox]):focus-visible {outline:2px solid var(--green,#246a44);outline-offset:3px;}
body.ksca-atelier .ksd-auth-consent a,body.ksca-atelier .ksd-auth-register-link a,body.ksca-atelier .ksd-auth-login-options>a {color:#3485ff;}
body.ksca-atelier .ksd-auth-login-options {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;margin:8px 0 0;font-size:13px;line-height:1.4;}
body.ksca-atelier .ksd-auth-login-options>label {display:flex;align-items:center;gap:10px;cursor:pointer;}
body.ksca-atelier .ksd-auth .ksd-auth-login-options input[type=checkbox] {flex-basis:24px;width:24px;height:24px;margin:0;}
body.ksca-atelier .ksd-auth .ksd-auth-login-options input[type=checkbox]:checked::after {left:7px;top:3px;width:7px;height:12px;}
body.ksca-atelier .ksd-auth-register-link {font-size:14px;line-height:1.5;margin:24px 0 0;}
body.ksca-atelier .ksd-auth-unavailable {font-size:15px;line-height:1.5;color:var(--muted);margin:24px 0 0;}
/* Native password scripts must not add a second reveal control. */
body.ksca-atelier .ksd-auth .show-password-input {display:none!important;}
html[data-theme=dark] body.ksca-atelier .ksd-auth .ksd-auth-submit {background:#d8e7dc;color:#122017;}
html[data-theme=dark] body.ksca-atelier .ksd-auth :is(.ksd-auth-back,.ksd-auth-consent a,.ksd-auth-register-link a,.ksd-auth-login-options>a) {color:#84b6ff;}
@media(max-width:850px) {
 body.ksca-atelier.woocommerce-account:not(.logged-in) main:has(.ksd-auth) {padding-top:24px;padding-bottom:40px;}
 body.ksca-atelier .ksd-auth {max-width:440px;padding:24px;border-radius:28px;}
 body.ksca-atelier .ksd-auth h1 {font-size:40px;margin-bottom:30px;}
}
@media(max-width:540px) {
 body.ksca-atelier .ksd-auth {padding:24px 20px 28px;border-radius:25px;}
 body.ksca-atelier .ksd-auth-back {font-size:16px;margin-bottom:18px;}
 body.ksca-atelier .ksd-auth h1 {font-size:36px;margin-bottom:28px;}
 body.ksca-atelier .ksd-auth .ksd-auth-field {margin-bottom:16px;}
 body.ksca-atelier .ksd-auth .ksd-auth-field>label {font-size:14px;}
 body.ksca-atelier .ksd-auth .ksd-auth-field input {height:50px;min-height:50px;font-size:16px;padding:11px 14px;border-radius:15px;}
 body.ksca-atelier .ksd-auth .ksd-auth-phone>input {padding-left:75px;}
 body.ksca-atelier .ksd-auth-phone-code {left:6px;top:6px;bottom:6px;width:58px;font-size:16px;gap:5px;}
 body.ksca-atelier .ksd-auth .ksd-auth-password>input {padding-right:51px;}
 body.ksca-atelier .ksd-auth .ksd-auth-reveal {width:44px;height:44px;top:3px;right:3px;padding:10px;}
 body.ksca-atelier .ksd-auth .ksd-auth-new-password {margin-top:28px;}
 body.ksca-atelier .ksd-auth .ksd-auth-submit {min-height:50px;font-size:23px;margin-top:28px;}
 body.ksca-atelier .ksd-auth .ksd-auth-consent {margin-top:28px;font-size:13px;gap:10px;}
 body.ksca-atelier .ksd-auth .ksd-auth-consent input[type=checkbox] {flex-basis:24px;width:24px;height:24px;}
 body.ksca-atelier .ksd-auth .ksd-auth-consent input[type=checkbox]:checked::after {left:7px;top:3px;width:7px;height:12px;}
 body.ksca-atelier .ksd-auth-login-options,body.ksca-atelier .ksd-auth-register-link {font-size:14px;}
}
@media(prefers-reduced-motion:reduce){body.ksca-atelier .ksd-auth .ksd-auth-submit{transition:none;}}

/* Guest forms use the complete account content area, not the signed-in navigation column. */
body.ksca-atelier.woocommerce-account:not(.logged-in) main.content-page>article>.woocommerce:has(>.ksd-auth){display:block;grid-template-columns:none;min-width:0;width:100%;}

/* Icon reflects the existing native reveal button state. */
body.ksca-atelier .ksd-auth .ksd-auth-reveal .ksd-auth-eye-open{display:none}
body.ksca-atelier .ksd-auth .ksd-auth-reveal[aria-pressed="true"] .ksd-auth-eye-closed{display:none}
body.ksca-atelier .ksd-auth .ksd-auth-reveal[aria-pressed="true"] .ksd-auth-eye-open{display:block}
