.customer-profile{--cp-orange:#ed5c12;--cp-text:#302b28;--cp-muted:#8a8581;min-height:100dvh;background:#f5f5f4;color:var(--cp-text);font-family:inherit;padding-bottom:max(24px,env(safe-area-inset-bottom));isolation:isolate}.customer-profile *{box-sizing:border-box}.customer-profile button,.customer-profile input,.customer-profile select,.customer-profile textarea{font:inherit}.customer-profile button{cursor:pointer;-webkit-tap-highlight-color:transparent}.customer-profile button:focus-visible,.customer-profile input:focus-visible,.customer-profile select:focus-visible,.customer-profile textarea:focus-visible{outline:2px solid var(--cp-orange);outline-offset:3px}.customer-profile button:disabled{cursor:wait;opacity:.6}.cp-topbar{height:64px;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;padding:0 12px;background:#fff;border-bottom:1px solid #eeece9;position:sticky;top:0;z-index:2}.cp-topbar h1{font-size:18px;font-weight:700;line-height:1.3;margin:0;text-align:center;color:var(--cp-text)}.cp-topbar>button{height:44px;width:44px;display:grid;place-items:center;border:0;background:transparent;color:var(--cp-text);border-radius:50%}.cp-body{max-width:640px;margin:auto;padding:0 16px}.cp-intro{padding:27px 4px 23px}.cp-intro>span{display:block;font-size:10px;letter-spacing:1.5px;color:#af795a;font-weight:600}.cp-intro h2{font-size:22px;letter-spacing:-.5px;line-height:1.4;margin:8px 0 6px}.cp-intro p{margin:0;color:var(--cp-muted);font-size:12px;line-height:1.7}.cp-group{background:#fff;border:1px solid #eeedeb;border-radius:16px;overflow:hidden;margin:0 0 14px;box-shadow:0 3px 12px #44301903}.cp-row{width:100%;min-height:58px;border:0;padding:14px 17px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left;color:var(--cp-text);position:relative}.cp-row+.cp-row:before{content:"";position:absolute;left:17px;right:17px;top:0;border-top:1px solid #f1efed}.cp-row-label{font-size:14px;font-weight:500;flex-shrink:0}.cp-row-tail{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0;color:#b9b5b1}.cp-row-value{min-width:0;max-width:190px;text-align:right;color:#817a75;font-size:13px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cp-placeholder{color:#b4afaa}.cp-row:active{background:#fff9f4}.cp-row-static:active{background:#fff}.cp-level{display:inline-flex;align-items:center;gap:5px;border-radius:20px;color:#8c5b35;background:#fff4e5;font-size:11px;font-weight:600;padding:5px 8px;line-height:1.3}.cp-avatar-row{min-height:92px}.cp-avatar{width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;border-radius:50%;background:#ffeddb;color:#c26c36;box-shadow:0 0 0 3px #fff,0 0 0 4px #f3e7dd;font-size:21px;font-weight:600}.cp-avatar-large{width:58px;height:58px}.cp-avatar img{display:block;width:100%;height:100%;object-fit:cover}.cp-group-heading{font-size:11px;font-weight:500;letter-spacing:.4px;color:#a19a95;margin:23px 5px 9px}.cp-logout{display:block;width:100%;border:1px solid #eeedeb;border-radius:14px;min-height:52px;background:#fff;font-size:14px;font-weight:600;color:#d75a21;margin:24px 0 0}.cp-footer{text-align:center;margin:26px 0 0;font-size:10px;color:#b4aaa3;letter-spacing:1.5px}.cp-form{padding:24px 0}.cp-field{display:flex;flex-direction:column;gap:10px;margin:0 0 19px}.cp-field>span{font-size:13px;font-weight:600;color:#5d534c;padding-left:3px}.cp-field input,.cp-field select,.cp-field textarea{display:block;width:100%;min-width:0;background:#fff;border:1px solid #e4e0dc;border-radius:12px;min-height:52px;padding:13px 14px;color:var(--cp-text);font-size:15px;line-height:1.5;box-shadow:none}.cp-field textarea{min-height:112px;resize:vertical}.cp-field input::placeholder,.cp-field textarea::placeholder{color:#b5afa9;font-size:13px}.cp-field input:disabled,.cp-field textarea:disabled{background:#eeedeb;color:#999}.cp-field select{appearance:auto}.cp-help{font-size:12px;color:#90837a;line-height:1.85;margin:12px 3px 22px;overflow-wrap:anywhere}.cp-save{border:0;min-height:51px;width:100%;display:block;border-radius:12px;background:var(--cp-orange);color:#fff;font-size:15px;font-weight:600;box-shadow:0 5px 12px #ed5c121a;margin-top:26px}.cp-form-error{font-size:12px;line-height:1.7;color:#bd3434;padding:10px 12px;background:#fff0ed;border-radius:10px;margin:12px 0}.cp-form-error[hidden]{display:none}.cp-gender{margin:0;border:1px solid #e9e5df;background:#fff;border-radius:16px;padding:0 15px}.cp-gender label{min-height:58px;display:flex;align-items:center;gap:12px;position:relative;cursor:pointer;font-size:14px}.cp-gender label+label{border-top:1px solid #f1efed}.cp-gender input{accent-color:var(--cp-orange);width:18px;height:18px;margin:0}.cp-gender label>svg{margin-left:auto;color:var(--cp-orange);opacity:0}.cp-gender label:has(input:checked)>svg{opacity:1}.cp-security-hero{text-align:center;padding:35px 0 31px}.cp-security-icon{display:inline-flex;justify-content:center;align-items:center;width:68px;height:68px;background:#fff0e2;border-radius:24px;color:var(--cp-orange);margin-bottom:14px}.cp-security-hero h2{font-size:19px;margin:0 0 8px}.cp-security-hero p{font-size:12px;color:var(--cp-muted);margin:0}.cp-security-note{padding:0 5px}.cp-neutral-note{font-size:12px;line-height:1.85;background:#fff7ed;border:1px solid #f3e5d2;color:#92643e;padding:12px 14px;margin:0 0 22px;border-radius:12px}.cp-store-label{font-size:15px;background:#fff;padding:15px;border-radius:12px;border:1px solid #e4e0dc;font-weight:500}.cp-small-info{display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:15px;color:#93877e;padding:16px 4px}.cp-small-info strong{font-weight:500;color:#65594f;overflow-wrap:anywhere}.cp-load-status{padding:18px 20px;font-size:12px;line-height:1.8;color:#9a7d68;text-align:center}.cp-load-error{font-size:12px;line-height:1.7;margin:16px 0;padding:12px 14px;border-radius:12px;background:#fff0ed;color:#a9432d;display:flex;gap:12px;align-items:center;justify-content:space-between}.cp-load-error button{flex-shrink:0;border:0;background:transparent;color:#bc552c;padding:8px 0}.cp-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:374px){.cp-body{padding:0 13px}.cp-row{padding-left:14px;padding-right:14px;gap:10px}.cp-row-tail{gap:8px}.cp-row-value{max-width:154px}.cp-intro h2{font-size:21px}}
.cp-address-effective,.cp-address-request{padding:14px;border:1px solid var(--cp-line,#E5DFD8);border-radius:12px;background:#FFFFFF;overflow-wrap:anywhere}
.cp-address-effective>strong,.cp-address-request>strong{font-size:14px;line-height:1.5}
.cp-address-effective p,.cp-address-request p{margin:7px 0 0;font-size:13px;line-height:1.7;white-space:pre-wrap}
.cp-address-request{margin:12px 0;background:#FFF8EE}
.cp-address-request small{display:block;margin-top:7px;line-height:1.6;color:var(--cp-muted,#8A8581)}

/* Personal details start below the header after removal of the intro. */
.customer-profile[data-cp-panel='profile']>.cp-body{padding-top:16px}

/* WeUI verification-field pattern, scoped to the UI-only phone binding form. */
.customer-profile .cp-phone-binding .cp-binding-label{font-size:13px;font-weight:600;color:#5d534c;padding-left:3px}
.customer-profile .cp-phone-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.customer-profile .cp-phone-heading>label{flex:none}
.customer-profile .cp-phone-conflict{min-width:0;padding:0;border:0;background:none;font:inherit;font-size:12px;line-height:1.6;color:#bd3434;text-align:right;cursor:pointer}
.customer-profile .cp-phone-conflict>span{margin-inline-start:6px;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.customer-profile .cp-phone-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0}
.customer-profile .cp-phone-code-button{min-height:52px;margin:0;padding:10px 14px;border:1px solid #e4e0dc;border-radius:12px;background:#fff;color:var(--cp-orange);font-size:13px;line-height:1.5;font-weight:600;white-space:nowrap}
.customer-profile .cp-phone-code-button:active{background:#fff9f4}
@media(max-width:350px){.customer-profile .cp-phone-code-row{gap:8px}.customer-profile .cp-phone-code-button{padding-inline:10px;font-size:12px}}

/* Native disclosure: the twenty lightweight options mount only when opened. */
.customer-profile .cp-avatar-picker>summary{list-style:none;cursor:pointer;font:inherit}
.customer-profile .cp-avatar-picker>summary::-webkit-details-marker{display:none}
.customer-profile .cp-avatar-picker>summary:focus-visible{outline:2px solid var(--cp-orange);outline-offset:-3px}
.customer-profile .cp-avatar-picker>summary .cp-row-tail>svg{transition:transform 180ms ease}
.customer-profile .cp-avatar-picker[open]>summary .cp-row-tail>svg{transform:rotate(90deg)}
.customer-profile .cp-avatar-picker+.cp-row:before{content:"";position:absolute;left:17px;right:17px;top:0;border-top:1px solid #f1efed}
.customer-profile .cp-avatar-options{padding:0 14px}
.customer-profile .cp-avatar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px 5px;padding:4px 0 14px}
.customer-profile .cp-avatar-choice{display:flex;align-items:center;justify-content:center;min-width:0;min-height:56px;margin:0;padding:4px 0;border:0;border-radius:10px;background:transparent;color:var(--cp-text)}
.customer-profile .cp-avatar-choice img{display:block;width:48px;height:48px;max-width:100%;aspect-ratio:1;object-fit:cover;border:2px solid transparent;border-radius:50%}
.customer-profile .cp-avatar-choice:is(:hover,:focus-visible) img{border-color:var(--cp-orange)}
.customer-profile .cp-avatar-upload{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;margin:0;padding:12px 3px;border:0;border-top:1px solid #f1efed;background:transparent;color:var(--cp-orange);font-size:13px;text-align:left}
@media(max-width:350px){.customer-profile .cp-avatar-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Native disclosure animation; unsupported browsers retain instant disclosure. */
@supports (interpolate-size:allow-keywords) and selector(details::details-content){
 .customer-profile .cp-avatar-picker{interpolate-size:allow-keywords}
 .customer-profile .cp-avatar-picker::details-content{block-size:0;overflow:clip;transition:block-size 200ms ease,content-visibility 200ms allow-discrete}
 .customer-profile .cp-avatar-picker[open]::details-content{block-size:auto}
}
@media(prefers-reduced-motion:reduce){
 .customer-profile .cp-avatar-picker::details-content,.customer-profile .cp-avatar-picker>summary .cp-row-tail>svg{transition:none}
}

.cp-phone-binding [hidden]{display:none}
