/* ATIIE account and native authentication design system — theme-owned surfaces only.
   Account headings live inside the native WooCommerce account shell.
   Loaded after MarketKit account styling; no changes to other WooCommerce pages. */
body.mk-shell{
 --atiie-account-primary:var(--mk41-teal,var(--mk46-teal,#087f85));
 --atiie-account-deep:#075e65;
 --atiie-account-ink:#193e43;
 --atiie-account-muted:#678186;
 --atiie-account-gold:var(--mk-offer,#f8b431);
 --atiie-account-line:#dbeae8;
 --atiie-account-soft:#e7f6f3;
 --atiie-account-surface:#fff;
}
/* The native header replaces the disconnected large page heading for signed-in visitors. */
body.mk-shell.woocommerce-account.logged-in .mk-commerce-account>.mk-commerce-title{display:none!important}
body.mk-shell .mk-account-layout{min-width:0;column-gap:clamp(14px,1.6vw,24px)!important;row-gap:14px!important;align-items:start}
body.mk-shell .mk-account-inner-heading{
 grid-column:1/-1;display:flex;align-items:center;gap:13px;min-width:0;
 padding:clamp(16px,1.8vw,24px) clamp(18px,2vw,28px);
 border:1px solid var(--atiie-account-line);border-radius:19px;
 background:linear-gradient(115deg,#fff,#f2faf8 78%,#fffbef);
 box-shadow:0 5px 22px rgba(8,63,70,.035)
}
body.mk-shell .mk-account-inner-icon{display:grid;place-items:center;flex:0 0 47px;width:47px;height:47px;border-radius:14px;background:var(--atiie-account-soft);border:1px solid #cde7e2;color:var(--atiie-account-primary)}
body.mk-shell .mk-account-inner-icon svg{width:22px;height:22px;stroke:currentColor}
body.mk-shell .mk-account-inner-heading-copy{min-width:0}
body.mk-shell .mk-account-inner-kicker{display:block;color:var(--atiie-account-muted);font-size:11px;font-weight:750;line-height:1.5}
body.mk-shell .mk-account-inner-heading h1{font-size:clamp(18px,2vw,24px)!important;color:var(--atiie-account-ink)!important;font-weight:900!important;line-height:1.45!important;letter-spacing:0!important;margin:2px 0 0!important;overflow-wrap:anywhere}
body.mk-shell .mk-account-sidebar{min-width:0;top:110px}
body.mk-shell .mk-account-sidebar .mk-account-identity{background:linear-gradient(120deg,#e9f7f4,#fffbf1)!important;border-color:var(--atiie-account-line)!important}
body.mk-shell .mk-account-sidebar .woocommerce-MyAccount-navigation a{color:#365d61!important}
body.mk-shell .mk-account-sidebar .woocommerce-MyAccount-navigation a:hover{background:#eaf8f5!important;color:var(--atiie-account-deep)!important}
body.mk-shell .mk-account-sidebar .woocommerce-MyAccount-navigation li.is-active>a{background:var(--atiie-account-soft)!important;color:var(--atiie-account-deep)!important;border-inline-start:3px solid var(--atiie-account-primary)!important}
body.mk-shell .mk-account-content{min-width:0;max-width:100%;overflow:visible}
body.mk-shell .mk-account-content :is(.woocommerce-message,.woocommerce-error,.woocommerce-info){max-width:100%;box-sizing:border-box;border-radius:12px;line-height:1.7}
body.mk-shell .mk-account-content :is(input,select,textarea){max-width:100%;font-family:inherit}
body.mk-shell .mk-account-content :is(.button,button[type=submit],input[type=submit]){border-radius:11px!important}
body.mk-shell .mk44-profile-unified{padding:clamp(17px,2vw,25px)!important;gap:11px!important;border-radius:18px!important;background:linear-gradient(120deg,#f1faf7 10%,#fffdf5 100%)!important}
body.mk-shell .mk44-profile-unified .mk44-insights-heading h3{font-size:clamp(17px,1.5vw,21px)!important}
body.mk-shell .mk44-profile-action{display:inline-flex;width:max-content;max-width:100%;align-items:center;gap:9px;min-height:38px;padding:8px 15px;color:white!important;background:var(--atiie-account-primary)!important;border-radius:10px;text-decoration:none!important;font-weight:850;font-size:12px}
body.mk-shell .mk44-profile-action:hover{background:var(--atiie-account-deep)!important}
body.mk-shell .mk44-profile-action:focus-visible{outline:2px solid var(--atiie-account-gold);outline-offset:3px}
/* Theme-owned login / registration drawer: no double greeting, one icon-led title. */
body.mk-shell .mk-auth-drawer .mk-auth-heading-refined{display:flex;align-items:center;gap:12px;min-height:72px;padding:16px 20px!important;background:#fff!important;border-bottom:1px solid var(--atiie-account-line)!important}
body.mk-shell .mk-auth-drawer .mk-auth-heading-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:13px;color:var(--atiie-account-primary);background:var(--atiie-account-soft);border:1px solid #c9e5df}
body.mk-shell .mk-auth-drawer .mk-auth-heading-icon svg{width:23px;height:23px}
body.mk-shell .mk-auth-drawer .mk-auth-heading-copy{min-width:0;flex:1}
body.mk-shell .mk-auth-drawer #mk-auth-title{font-size:clamp(17px,1.6vw,21px)!important;line-height:1.4!important;color:var(--atiie-account-ink)!important;margin:0!important;font-weight:900!important}
body.mk-shell .mk-auth-drawer .mk-auth-heading-refined .mk-icon-button{margin-inline-start:auto;flex:none}
body.mk-shell :is(.mk-auth-drawer,.mk-auth-page) .mk-auth-intro{display:none!important}
body.mk-shell .mk-auth-drawer .mk-auth-tabs{background:#eaf7f4!important;border-color:#d5e9e5!important;margin-bottom:17px!important}
body.mk-shell .mk-auth-drawer .mk-auth-tabs button{color:#42686b!important}
body.mk-shell .mk-auth-drawer .mk-auth-tabs button[aria-selected=true]{background:#fff!important;color:var(--atiie-account-deep)!important;box-shadow:0 3px 10px rgba(9,70,73,.06)!important}
body.mk-shell :is(.mk-auth-page,.mk-auth-drawer) .mk-auth-form :is(input.input-text,input.woocommerce-Input){background:#f8fcfb!important;border-color:var(--atiie-account-line)!important;color:var(--atiie-account-ink)!important}
body.mk-shell :is(.mk-auth-page,.mk-auth-drawer) .mk-auth-form :is(input.input-text,input.woocommerce-Input):focus{border-color:var(--atiie-account-primary)!important;box-shadow:0 0 0 3px rgba(8,125,133,.11)!important}
body.mk-shell :is(.mk-auth-page,.mk-auth-drawer) .mk-auth-form .mk-button{background:var(--atiie-account-deep)!important;color:#fff!important;border-radius:11px!important}
body.mk-shell :is(.mk-auth-page,.mk-auth-drawer) .mk-auth-form .mk-button:hover{background:var(--atiie-account-primary)!important}
body.mk-shell :is(.mk-auth-page,.mk-auth-drawer) .mk-auth-options a{color:var(--atiie-account-deep)!important}
body.mk-shell :is(.mk-auth-page,.mk-auth-drawer) .mk-auth-form label{color:var(--atiie-account-ink)!important}
body.mk-shell .mk-auth-drawer .mk-auth-drawer-content{padding-inline:clamp(16px,2.1vw,24px)!important}
body.mk-shell .mk-auth-drawer .mk-auth-page-link{color:var(--atiie-account-deep)!important}
@media(max-width:960px){body.mk-shell .mk-account-inner-heading{padding:15px 18px}}
@media(max-width:767px){
 body.mk-shell .mk-account-layout{gap:12px!important}
 body.mk-shell .mk-account-inner-heading{grid-column:1/-1;padding:12px 15px}
 body.mk-shell .mk-account-inner-icon{width:39px;height:39px;flex-basis:39px}
 body.mk-shell .mk-account-inner-heading h1{font-size:18px!important}
 body.mk-shell .mk-account-content{overflow:visible}
 body.mk-shell .mk44-profile-unified .mk44-insights-heading{align-items:flex-start}
 body.mk-shell .mk44-profile-unified .mk44-checklist{gap:7px}
}

/* MarketKit v6: native account links, one heading, soft error/success feedback */
body.mk-shell .mk-account-inner-heading{margin:0 0 3px!important}
body.mk-shell .mk-account-inner-heading-copy{display:flex;align-items:center;min-height:40px}
body.mk-shell .mk-account-inner-heading h1{margin:0!important}
body.mk-shell .mk-account-content .mk002-account-actions{display:flex!important;flex-wrap:wrap;align-items:center;gap:10px!important;clear:both;margin:22px 0 0!important;padding:17px 0 0!important;border-top:1px solid #dbeae8}
body.mk-shell .mk-account-content .mk002-account-actions a{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 15px!important;color:#075f66!important;background:#f1faf8!important;border:1px solid #d7ebe6!important;border-radius:11px!important;font-size:12px!important;font-weight:850!important;line-height:1.5!important;text-decoration:none!important;white-space:normal}
body.mk-shell .mk-account-content .mk002-account-actions a:hover{background:#e0f5f0!important;border-color:#a6d9cf!important}
body.mk-shell .mk-account-content .mk002-account-actions a:focus-visible{outline:2px solid #087f85;outline-offset:3px}
body.mk-shell .mk-account-content .woocommerce-message{background:#e9f8f2!important;border-color:#8acdbb!important;color:#145b51!important}
body.mk-shell .mk-account-content .woocommerce-error{background:#fff1f0!important;border-color:#f0b8ae!important;color:#9b2f2b!important}
body.mk-shell .mk-account-content .woocommerce-info{background:#f1faf8!important;border-color:#b6ded5!important;color:#235a5e!important}
body.mk-shell .mk-account-content .woocommerce-message a,body.mk-shell .mk-account-content .woocommerce-error a,body.mk-shell .mk-account-content .woocommerce-info a{color:#086b73!important;text-decoration:underline!important}
body.mk-shell .mk-account-content :is(.mk30-shortcuts>a,.mk44-check,.mk44-profile-action){text-decoration:none!important}
body.mk-shell .mk-account-content :is(input.input-text,textarea,select):focus{border-color:#087f85!important;outline-color:#087f85!important;box-shadow:0 0 0 3px #087f8521!important}
body.mk-shell .mk-auth-drawer .mk-cart-heading #mk-auth-title::before{content:none!important;display:none!important}
body.mk-shell .mk-auth-drawer .mk-auth-heading-icon{display:grid!important}
body.mk-shell .mk-auth-drawer .woocommerce-error,body.mk-shell .mk-auth-drawer .woocommerce-message,body.mk-shell .mk-auth-drawer .woocommerce-info{margin:10px 0 16px!important;padding:12px 15px!important;border-radius:12px!important;line-height:1.8!important;max-width:100%!important}
@media(max-width:580px){body.mk-shell .mk-account-content .mk002-account-actions{display:grid!important;grid-template-columns:1fr!important}body.mk-shell .mk-account-content .mk002-account-actions a{width:100%!important}}

/* v7: optional sign-in options are progressive disclosure; security notices stay visible. */
body.mk-shell .mk-auth-form .mk-auth-optional-methods{margin:13px 0 0;padding:0;border:1px solid #d6eae5;border-radius:13px;background:#f6fbf9;overflow:hidden}
body.mk-shell .mk-auth-form .mk-auth-optional-methods>summary{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:12px 14px;min-height:44px;font-size:12px;font-weight:850;cursor:pointer;color:#145f64;list-style:none}
body.mk-shell .mk-auth-form .mk-auth-optional-methods>summary::-webkit-details-marker{display:none}
body.mk-shell .mk-auth-form .mk-auth-optional-methods>summary:after{content:'+';font-size:21px;font-weight:600;line-height:1}
body.mk-shell .mk-auth-form .mk-auth-optional-methods[open]>summary:after{content:'−'}
body.mk-shell .mk-auth-form .mk-auth-optional-methods>summary:focus-visible{outline:2px solid #087f85;outline-offset:-3px}
body.mk-shell .mk-auth-form .mk-auth-optional-methods> .avp-bio-login-wrap,body.mk-shell .mk-auth-form .mk-auth-optional-methods>.avp-native-passwordless-host{margin:0!important;border:0!important;border-radius:0!important;background:transparent!important}
body.mk-shell .mk-auth-form .mk-auth-optional-methods .avp-bio-login-trigger{box-shadow:none!important}
