/* AniTala RC32 — native-like customer portal shell */
.sf-customer-portal-layout{height:100dvh;min-height:100dvh;overflow:hidden;background:#11110f}
.sf-customer-portal-layout .sf-header,.sf-customer-portal-layout>.sf-mobile-nav{display:none!important}
.sf-customer-portal-layout .sf-main{height:100dvh;min-height:0;padding:0!important;overflow:hidden}
.sf-customer-portal-layout .sf-portal-warning{position:fixed;inset:12px auto auto 50%;transform:translateX(-50%);z-index:1600;width:min(760px,calc(100% - 24px));margin:0}
.sf-customer-shell[data-account-shell]{width:100%;height:100dvh;max-width:none;margin:0;padding:14px;grid-template-columns:288px minmax(0,1fr);gap:14px;align-items:stretch;overflow:hidden}
.sf-customer-sidebar[data-customer-sidebar]{position:relative;top:auto;height:100%;max-height:none;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:10px;padding:12px;border:1px solid rgba(255,255,255,.075);border-radius:24px;background:linear-gradient(180deg,#1c1b17,#151410);box-shadow:0 24px 70px rgba(0,0,0,.26);z-index:30}
.sf-customer-sidebar-card,.sf-customer-sidebar-progress,.sf-customer-sidebar-nav,.sf-customer-sidebar-meta{padding:12px;border-radius:17px;box-shadow:none}
.sf-customer-sidebar-card{grid-template-columns:48px minmax(0,1fr);gap:10px}.sf-customer-avatar{width:48px;height:48px;border-radius:15px;font-size:1.25rem}
.sf-customer-sidebar-progress{gap:7px}.sf-customer-sidebar-progress b{font-size:1.05rem}.sf-customer-sidebar-progress span{font-size:11px}.sf-customer-sidebar progress{height:7px}
.sf-customer-sidebar-nav{min-height:0;align-content:start;gap:5px;padding:6px;overflow:hidden}
.sf-customer-sidebar-nav a{grid-template-columns:30px minmax(0,1fr);min-height:48px;padding:7px 9px;border-radius:14px}
.sf-customer-sidebar-nav a>span{width:30px;height:30px;border-radius:10px;font-size:15px}.sf-customer-sidebar-nav a>b{font-size:11px}.sf-customer-sidebar-nav a>small{font-size:8px}
.sf-customer-sidebar-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:7px}.sf-customer-sidebar-meta div{display:grid;justify-items:center;gap:3px;padding:7px 4px;border-radius:11px;text-align:center}.sf-customer-sidebar-meta span{font-size:8px}.sf-customer-sidebar-meta strong{font-size:12px}
.sf-customer-store-return{display:flex;align-items:center;justify-content:center;min-height:42px;border:1px solid rgba(216,182,90,.18);border-radius:14px;background:rgba(216,182,90,.07);color:#f0d27b;font-size:11px;font-weight:900}
.sf-customer-content.sf-customer-ajax-content{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;overflow:hidden}
.sf-account-workspace-head{min-height:68px;padding:11px 16px;border-radius:19px;box-shadow:none}.sf-account-workspace-head h2{font-size:1.08rem}.sf-account-workspace-head>div>span{font-size:9px}
.sf-account-workspace{height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:2px 4px 22px;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:rgba(216,182,90,.3) transparent}
.sf-account-workspace>*{max-width:100%;min-width:0}.sf-account-workspace .sf-account-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sf-account-workspace .sf-customer-panel{padding:16px;border-radius:20px}
.sf-customer-mobile-toolbar,.sf-customer-mobile-dock{display:none}
@media(max-height:850px) and (min-width:781px){.sf-customer-sidebar-meta{display:none}.sf-customer-sidebar[data-customer-sidebar]{grid-template-rows:auto auto minmax(0,1fr) auto}.sf-customer-sidebar-nav a{min-height:43px}.sf-customer-sidebar-progress{padding:9px}.sf-customer-sidebar-card{padding:9px}}
@media(max-width:1100px) and (min-width:781px){.sf-customer-shell[data-account-shell]{grid-template-columns:250px minmax(0,1fr);padding:10px}.sf-customer-sidebar-nav a>small{display:none}.sf-customer-sidebar-nav a{grid-template-rows:1fr}.sf-account-workspace .sf-account-grid{grid-template-columns:1fr}.sf-customer-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){
 .sf-customer-portal-layout{padding:0;overflow:hidden}
 .sf-customer-portal-layout .sf-main{height:100dvh;padding:0!important}
 .sf-customer-mobile-toolbar{position:fixed;display:grid;grid-template-columns:auto minmax(0,1fr) 44px;align-items:center;gap:10px;inset:0 0 auto;z-index:900;width:100%;height:64px;margin:0;padding:max(8px,env(safe-area-inset-top)) 12px 8px;border:0;border-bottom:1px solid rgba(255,255,255,.075);border-radius:0;background:rgba(18,17,14,.94);backdrop-filter:blur(22px)}
 .sf-customer-mobile-brand{display:flex;align-items:center;gap:7px;min-width:0;color:#fff}.sf-customer-mobile-brand>span{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#efd78e,#b9852b);color:#1b1408;font-weight:900}.sf-customer-mobile-brand div{display:none}
 .sf-customer-mobile-toolbar>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;color:#f8f0e1;font-size:13px}
 .sf-customer-mobile-toolbar>button{width:44px;height:44px;min-height:44px;padding:0;display:grid;place-content:center;gap:4px;border-radius:14px}.sf-customer-mobile-toolbar>button>span{display:block;width:19px;height:2px;border-radius:2px;background:#f4d889}
 .sf-customer-shell[data-account-shell]{display:block;width:100%;height:calc(100dvh - 64px - 68px - env(safe-area-inset-bottom));margin:0;padding:8px;position:fixed;inset:64px 0 calc(68px + env(safe-area-inset-bottom));overflow:hidden}
 .sf-customer-content.sf-customer-ajax-content{height:100%;gap:8px}.sf-account-workspace-head{min-height:54px;padding:8px 11px;border-radius:16px}.sf-account-workspace-head>div>span{display:none}.sf-account-workspace-head h2{font-size:1rem}.sf-account-workspace-state{padding:5px 8px;font-size:9px}
 .sf-account-workspace{padding:0 0 18px;scrollbar-width:none}.sf-account-workspace::-webkit-scrollbar{display:none}.sf-account-workspace .sf-account-grid{grid-template-columns:1fr;gap:9px}.sf-account-workspace .sf-customer-panel{padding:13px;border-radius:17px}.sf-customer-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sf-customer-kpis article{padding:12px;border-radius:16px}.sf-customer-kpis strong{font-size:1.05rem}
 .sf-customer-sidebar[data-customer-sidebar]{display:grid!important;position:fixed!important;inset:0 0 0 auto!important;width:min(88vw,360px)!important;height:100dvh!important;padding:max(58px,calc(env(safe-area-inset-top) + 52px)) 12px calc(16px + env(safe-area-inset-bottom))!important;border:0!important;border-radius:0!important;z-index:1300!important;transform:translateX(110%);transition:transform .25s cubic-bezier(.2,.8,.2,1);overflow:hidden!important;grid-template-rows:auto auto minmax(0,1fr) auto!important}
 body.sf-customer-menu-open .sf-customer-sidebar{transform:none}.sf-customer-sidebar-nav{overflow-y:auto;padding-inline:4px;scrollbar-width:none}.sf-customer-sidebar-nav::-webkit-scrollbar{display:none}.sf-customer-sidebar-meta{display:none}.sf-customer-sidebar-close{display:grid;inset-block-start:max(12px,env(safe-area-inset-top));inset-inline-start:12px}.sf-customer-sidebar-backdrop{z-index:1290!important}
 .sf-customer-mobile-dock{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);inset:auto 0 0;z-index:920;height:calc(68px + env(safe-area-inset-bottom));padding:7px 8px calc(7px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.075);background:rgba(18,17,14,.96);backdrop-filter:blur(22px)}
 .sf-customer-mobile-dock :is(a,button){min-width:0;display:grid;place-items:center;align-content:center;gap:3px;border:0;background:transparent;color:#aaa193;font:inherit}.sf-customer-mobile-dock span{font-size:20px;line-height:1}.sf-customer-mobile-dock b{font-size:8px;white-space:nowrap}.sf-customer-mobile-dock .is-active{color:#f1d27b}.sf-customer-mobile-dock .is-active span{filter:drop-shadow(0 0 8px rgba(216,182,90,.35))}
 .sf-finance-record{grid-template-columns:1fr!important}.sf-finance-record dl{grid-template-columns:1fr 1fr!important}.sf-address-grid{grid-template-columns:1fr}.sf-form-grid,.auth-form-grid,.sf-form-grid-wide{grid-template-columns:1fr!important}.sf-span-2{grid-column:auto!important}
}
@media(max-width:420px){.sf-customer-shell[data-account-shell]{padding:6px}.sf-account-workspace-head{padding-inline:9px}.sf-account-workspace-state span{display:none}.sf-customer-kpis{grid-template-columns:1fr 1fr}.sf-finance-record dl{grid-template-columns:1fr!important}}
/* RC32 visual stabilization after legacy responsive layers */
.sf-customer-content.sf-customer-ajax-content,.sf-account-workspace{opacity:1!important;filter:none!important}
.sf-account-workspace-head{position:relative!important;top:auto!important}
.sf-account-workspace .sf-customer-panel,.sf-account-workspace .sf-customer-kpis article{color:#f7f0e4}
.sf-account-workspace .sf-customer-panel :is(h1,h2,h3,strong,b),.sf-account-workspace .sf-customer-kpis strong{color:#fff}
.sf-account-workspace .sf-customer-panel :is(p,small,span){opacity:1}
@media(max-width:780px){.sf-account-workspace-head{position:relative!important;top:auto!important;z-index:20}.sf-customer-mobile-toolbar{padding-top:max(8px,env(safe-area-inset-top));height:calc(64px + env(safe-area-inset-top))}.sf-customer-shell[data-account-shell]{height:calc(100dvh - 64px - 68px - env(safe-area-inset-top) - env(safe-area-inset-bottom));inset-block-start:calc(64px + env(safe-area-inset-top));inset-block-end:calc(68px + env(safe-area-inset-bottom))}}
