.customer-panel{--cp-line:#dce4ef;--cp-surface:#fff;--cp-soft:#f4f7fc;--cp-text:#15283f;--cp-muted:#64748b;padding-bottom:40px;color:var(--cp-text)}.dark .customer-panel{--cp-line:#354357;--cp-surface:#1f2b3b;--cp-soft:#172335;--cp-text:#edf3fc;--cp-muted:#a8b8cc}.customer-panel>div{gap:24px;margin-top:28px}.customer-panel .cp-sidebar,.customer-panel .cp-content>div:not(:first-child),.customer-panel .cp-content>div:last-child{border:1px solid var(--cp-line);border-radius:20px;background:var(--cp-surface);box-shadow:0 8px 28px #071a3510}.customer-panel .cp-sidebar{padding:20px;top:20px}.customer-panel :is(.cp-sidebar,.user-menu) ul li{align-items:center;position:relative;min-height:48px;padding:0!important;gap:12px;border-radius:12px;transition:background .2s,transform .2s}.customer-panel :is(.cp-sidebar,.user-menu) ul li>svg{margin-inline-start:14px;flex-shrink:0}.customer-panel :is(.cp-sidebar,.user-menu) ul li>a{padding:13px 0;flex:1}.customer-panel :is(.cp-sidebar,.user-menu) ul li:hover{background:var(--cp-soft)}.customer-panel :is(.cp-sidebar,.user-menu) ul li:has([aria-current=page]){background:#3284fa18;color:#3284fa;box-shadow:inset -3px 0 #3284fa}.customer-panel .cp-content{min-width:0}.customer-panel .cp-content>div:last-child{padding:28px}.customer-panel h2{font-size:24px;line-height:1.7}.customer-panel h3{font-size:18px;line-height:1.8}.customer-panel .cp-quick{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.customer-panel .cp-quick a{border:1px solid var(--cp-line);padding:10px 16px;border-radius:12px;font-size:14px;background:var(--cp-soft);transition:transform .2s,color .2s}.customer-panel .cp-quick a:hover{color:#3284fa;transform:translateY(-2px)}.customer-panel .cp-summary>div{border:1px solid var(--cp-line);border-radius:16px;padding:22px;background:var(--cp-soft)}.customer-panel .cp-summary b{font-size:23px;font-variant-numeric:tabular-nums}.customer-panel table{border-collapse:separate;border-spacing:0;width:100%;line-height:1.8}.customer-panel th{text-align:right;padding:13px 14px;font-size:13px;color:var(--cp-muted);background:var(--cp-soft)}.customer-panel td{padding:16px 14px!important;border-bottom:1px solid var(--cp-line);vertical-align:middle}.customer-panel tbody tr:last-child td{border-bottom:0}.customer-panel tbody tr:hover{background:var(--cp-soft)}.customer-panel td a{white-space:nowrap;color:#3284fa}.customer-panel .cp-status{display:inline-flex;padding:4px 10px;border-radius:8px;font-size:12px;background:#f59e0b18;color:#bf7c06;white-space:nowrap}.customer-panel .cp-status[data-state=success]{background:#22c55e18;color:#21955b}.customer-panel input,.customer-panel select,.customer-panel textarea{border-radius:12px;min-height:46px}.customer-panel :is(a,button,input,select,textarea):focus-visible{outline:3px solid #3284fa80;outline-offset:3px}.customer-panel .open-user-menu{min-height:46px;padding:10px 18px;border-radius:12px}.customer-panel .user-menu{background:var(--cp-surface);color:var(--cp-text);overflow-y:auto;overscroll-behavior:contain;padding-bottom:100px}.customer-panel .cp-content>div:last-child{animation:cp-enter .35s ease-out}@keyframes cp-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(max-width:767px){.customer-panel>div{margin-top:18px;gap:16px}.customer-panel .cp-content>div:last-child{padding:18px 14px}.customer-panel h2{font-size:20px}.customer-panel .cp-summary{gap:10px}.customer-panel .cp-summary>div{padding:16px}.customer-panel .cp-orders thead{display:none}.customer-panel .cp-orders,.customer-panel .cp-orders tbody{display:block}.customer-panel .cp-orders tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--cp-line);border-radius:14px;padding:10px;margin:12px 0;background:var(--cp-soft)}.customer-panel .cp-orders td{border:0;padding:7px!important;font-size:13px;overflow-wrap:anywhere}.customer-panel .cp-orders td:before{content:attr(data-label);display:block;font-size:11px;color:var(--cp-muted);margin-bottom:3px}.customer-panel .cp-orders td:last-child{grid-column:1/-1;text-align:left}.customer-panel .cp-quick{gap:8px}.customer-panel .cp-quick a{font-size:12px;padding:9px 12px}}@media(prefers-reduced-motion:reduce){.customer-panel *{animation:none!important;transition:none!important}}


.customer-panel .cp-content ul>li{padding:20px!important;line-height:1.9;overflow-wrap:anywhere;border-color:var(--cp-line)}.customer-panel .cp-content .user-menu ul>li{padding:0!important}.customer-panel .cp-content form+.grid,.customer-panel .cp-content form~.cp-summary{margin-top:24px}.customer-panel .cp-content small{display:inline-block;direction:rtl;unicode-bidi:isolate;line-height:1.8}.customer-panel .cp-content form{margin-bottom:24px}.customer-panel .cp-content input[type=email],.customer-panel .cp-content input[type=tel]{direction:ltr;text-align:right}@media(max-width:767px){.customer-panel .cp-content ul>li{padding:16px!important}}

/* Customer panel light palette; dark theme keeps its existing tokens. */
html:not(.dark) body:has(main.customer-panel){background:#f2f5fa;color:#17263c}
html:not(.dark) .customer-panel{--cp-soft:#f2f5fa;--cp-line:#dce4ef;--cp-text:#17263c;--cp-muted:#5e7086}
html:not(.dark) .customer-panel .cp-content input,html:not(.dark) .customer-panel .cp-content textarea,html:not(.dark) .customer-panel .cp-content select{background:#f7f9fc;color:#17263c;border:1px solid #dce4ef}
html:not(.dark) .customer-panel .cp-content li p{color:#46586e}/* Unified account navigation, desktop and mobile. */
.customer-panel :is(.cp-sidebar,.user-menu) .cp-menu-row{min-height:48px;font-size:14px;gap:10px!important;color:var(--cp-text);background:transparent;box-shadow:none}
.customer-panel :is(.cp-sidebar,.user-menu) .cp-menu-row>svg{width:21px;height:21px;margin-inline-start:12px;flex:none}
.customer-panel :is(.cp-sidebar,.user-menu) .cp-menu-row>a{min-height:48px;display:flex;align-items:center;padding:10px 0;line-height:1.6}
.customer-panel :is(.cp-sidebar,.user-menu) .cp-menu-row:has([aria-current=page]),.customer-panel :is(.cp-sidebar,.user-menu) .cp-menu-row.cp-menu-active{background:#3284fa18;color:#3284fa;box-shadow:inset -3px 0 #3284fa}
.customer-panel :is(.cp-sidebar,.user-menu) .cp-menu-row:hover{background:var(--cp-soft)}
.customer-panel :is(.cp-sidebar,.user-menu) .cp-menu-exit{margin-top:12px!important;border-top:1px solid var(--cp-line);border-radius:0 0 12px 12px;color:#e14b59}
.customer-panel :is(.cp-sidebar,.user-menu) .cp-menu-row span.inline-flex{min-width:20px!important;width:auto!important;flex:0 0 auto!important;height:20px;justify-content:center;padding:0 5px;line-height:20px}
.customer-panel .user-menu{height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);padding:12px 16px calc(20px + env(safe-area-inset-bottom));row-gap:10px;z-index:60}
.customer-panel .user-menu .close-user-menu{position:sticky;top:0;z-index:2;align-self:flex-end;min-width:44px;min-height:44px;display:grid;place-items:center;background:var(--cp-surface);border:1px solid var(--cp-line);border-radius:12px;flex-shrink:0}
.customer-panel .user-menu ul{margin:0;flex-shrink:0}
@media(max-width:1023px){.customer-panel .open-user-menu{margin:0 0 12px;min-height:46px}.customer-panel .cp-content{display:flex;flex-direction:column}.customer-panel .cp-content>div:has(>.open-user-menu){order:-2}.customer-panel .cp-content>[data-club-mode="summary"]{order:-1}}
.customer-panel :is(.cp-sidebar,.user-menu) .cp-unread-count[hidden]{display:none!important}
.customer-panel :is(.cp-sidebar,.user-menu) .cp-menu-row:not(.cp-menu-active):hover{background:#3284fa10;color:#287cf2}
.dark .customer-panel :is(.cp-sidebar,.user-menu) .cp-menu-row:not(.cp-menu-active):hover{background:#3284fa18;color:#8fc2ff}
.customer-panel :is(.cp-sidebar,.user-menu) .cp-menu-row.cp-menu-active:hover{background:#3284fa20;color:#3284fa}
