/* ---------- Forms in My account (account details, addresses) ---------- */
html body .kl-acc .kl-acc-content :is(.form-row,.woocommerce-form-row):where(:not(.kb-book *)){margin:0 0 20px!important;padding:0!important;}
html body .kl-acc .kl-acc-content :is(.form-row-first,.form-row-last):where(:not(.kb-book *)){width:100%!important;float:none!important;}
html body .kl-acc .kl-acc-content label:where(:not(.kb-book *)){display:block;font-size:14px!important;font-weight:700!important;color:var(--kl-ink)!important;margin:0 0 8px!important;letter-spacing:0!important;text-transform:none!important;line-height:1.4;}
html body .kl-acc .kl-acc-content label .required{color:var(--kl-error)!important;text-decoration:none!important;border:0!important;font-weight:700;}
html body .kl-acc .kl-acc-content label .optional{color:var(--kl-muted)!important;font-weight:400;}
html body .kl-acc .kl-acc-content :is(.form-row,.woocommerce-form-row) > span > em:where(:not(.kb-book *)),
html body .kl-acc .kl-acc-content em:where(:not(.kb-book *)){display:block;margin-top:6px;font-size:13px!important;color:var(--kl-muted)!important;font-style:normal;line-height:1.5;}

/* "Password change" box */
html body .kl-acc .kl-acc-content fieldset:where(:not(.kb-book *)){border:1px solid var(--kl-divider)!important;border-radius:var(--kl-radius-card)!important;background:var(--kl-tint)!important;padding:20px 22px 4px!important;margin:12px 0 24px!important;min-width:0;}
html body .kl-acc .kl-acc-content legend:where(:not(.kb-book *)){float:left;width:100%;font-size:12px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:var(--kl-muted)!important;padding:0!important;margin:0 0 16px!important;}
html body .kl-acc .kl-acc-content legend + *:where(:not(.kb-book *)){clear:both;}

/* two columns for first / last name on wide screens */
html body .kl-acc .kl-acc-content form.woocommerce-EditAccountForm:where(:not(.kb-book *)){display:grid;grid-template-columns:1fr 1fr;gap:0 20px;}
html body .kl-acc .kl-acc-content form.woocommerce-EditAccountForm > *:where(:not(.kb-book *)){grid-column:1 / -1;}
html body .kl-acc .kl-acc-content form.woocommerce-EditAccountForm > :is(p.form-row-first,p.form-row-last):where(:not(.kb-book *)){grid-column:auto;}
html body .kl-acc .kl-acc-content :is(form.woocommerce-EditAccountForm,.woocommerce-address-fields) .clear{display:none;}
html body .kl-acc .kl-acc-content .woocommerce-address-fields__field-wrapper{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 20px;}
html body .kl-acc .kl-acc-content .woocommerce-address-fields__field-wrapper > .form-row{grid-column:1 / -1;}
html body .kl-acc .kl-acc-content .woocommerce-address-fields__field-wrapper > :is(.form-row-first,.form-row-last):where(:not(.kb-book *)){grid-column:auto;}
/* the save button gets some room above it */
html body .kl-acc .kl-acc-content form :is(button[type=submit],input[type=submit]):where(:not(.kb-book *)){margin-top:8px!important;}

/* note under the email field while typing a new address (assets/js/account-email.js) */
html body .kl-acc .kl-acc-content .kl-email-note{display:flex;align-items:flex-start;gap:10px;margin:10px 0 0!important;padding:12px 14px;background:var(--kl-tint);border:1px solid var(--kl-divider);border-left:4px solid var(--kl-ink);border-radius:var(--kl-radius-control);font-size:14px!important;line-height:1.5;color:var(--kl-text)!important;animation:kl-drop-block .62s cubic-bezier(.34,1.3,.5,1) both;}
html body .kl-acc .kl-acc-content .kl-email-note[hidden]{display:none!important;}
html body .kl-acc .kl-acc-content .kl-email-note .kl-icon{margin-top:2px;}
@media (min-width:769px) and (hover:hover) and (pointer:fine){ html body .kl-acc .kl-acc-content .kl-email-note{font-size:13px!important;padding:10px 12px;} }
