/* Account menu pages: neutral structure, blue information and beige actions. */
html body.zh-account-details-theme .zh-account-page,html body.zh-account-details-theme #common-success{padding-top:0;padding-bottom:30px;color:#43525a}
html body.zh-account-details-theme #content{min-width:0;min-height:0;overflow-wrap:anywhere}
html body.zh-account-details-theme #content>h1,html body.zh-account-details-theme #content>h2:first-of-type{margin:12px 0 16px;padding:20px;border:1px solid #dbe1e5;border-radius:8px;background:linear-gradient(180deg,#fafbfc,#f1f4f5 50%,#e7ecef);color:#43525a;font-size:26px;line-height:1.3;font-weight:400}
html body.zh-account-details-theme #content>form,html body.zh-account-details-theme #content>.zh-contact-profile{margin-bottom:18px;padding:20px;border:1px solid #d9e3e9;border-radius:8px;background:linear-gradient(180deg,#fff,#fbfdfe);box-shadow:none}
html body.zh-account-details-theme #content fieldset{min-width:0}
html body.zh-account-details-theme #content legend{width:100%;margin:0 0 20px;padding:13px 15px;border:1px solid #d9e5ec;border-radius:6px;background:linear-gradient(180deg,#f7fcfe,#eaf4f8 50%,#dcebf2);color:#3c5868;font-size:18px;line-height:1.4}
html body.zh-account-details-theme #content .form-control{min-height:44px;height:auto;padding:10px 12px;border:1px solid #c9d6de;border-radius:5px;background:#fff;color:#43525a;box-shadow:none;font-size:14px;max-width:100%}
html body.zh-account-details-theme #content textarea.form-control{min-height:100px}
html body.zh-account-details-theme #content .form-control:focus{border-color:#78976c;box-shadow:0 0 0 2px #78976c33}
html body.zh-account-details-theme #content .form-control::placeholder{color:#8a959b;opacity:1}
html body.zh-account-details-theme #content .control-label{color:#52616a;line-height:1.5;font-weight:400}
html body.zh-account-details-theme #content .help-block{color:#6b7880;line-height:1.5}
html body.zh-account-details-theme #content .radio-inline,html body.zh-account-details-theme #content .checkbox-inline{min-height:44px;padding-top:12px;padding-bottom:9px}
html body.zh-account-details-theme #content>.table-responsive{margin:0 0 18px;border:1px solid #dbe1e5;border-radius:8px;overflow-x:auto;-webkit-overflow-scrolling:touch}
html body.zh-account-details-theme #content .table{margin-bottom:0;border:0;color:#43525a;background:#fff}
html body.zh-account-details-theme #content .table td,html body.zh-account-details-theme #content .table th{padding:13px 15px;border-color:#e0e6ea;vertical-align:middle;line-height:1.6}
html body.zh-account-details-theme #content .table thead td,html body.zh-account-details-theme #content .table thead th{background:linear-gradient(180deg,#fafbfc,#f1f4f5 50%,#e7ecef);color:#52616a;font-weight:500}
html body.zh-account-details-theme #content .table tbody tr:nth-child(even){background:#f8fbfc}
html body.zh-account-details-theme #content>p{margin:0 0 16px;padding:16px 18px;border:1px solid #d9e5ec;border-radius:7px;background:linear-gradient(180deg,#fafdff,#eff6fa);line-height:1.7}
html body.zh-account-details-theme :is(#account-reward,#account-transaction) #content>p{border-color:#e6dccb;background:linear-gradient(180deg,#fffaf2,#f9efdf 50%,#f0e5d2);color:#66513c}
html body.zh-account-details-theme #content .buttons{margin:18px 0 0;padding:16px 0 0;border-top:1px solid #e0e6ea;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
html body.zh-account-details-theme #content .buttons:before,html body.zh-account-details-theme #content .buttons:after{display:none}
html body.zh-account-details-theme #content .buttons .pull-left,html body.zh-account-details-theme #content .buttons .pull-right{float:none!important}
html:root body.zh-account-details-theme #content .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:10px 15px;border-radius:5px;white-space:normal;line-height:1.5;font-size:14px;font-weight:400;text-shadow:none;box-shadow:none}
html:root body.zh-account-details-theme #content .btn-primary{background:linear-gradient(180deg,#fff8ec,#f8ecd8 50%,#eadbc1)!important;border:1px solid #b89971!important;color:#4f3b24!important}
html:root body.zh-account-details-theme #content .btn-default{background:linear-gradient(180deg,#f3f7ef,#e2eddc 50%,#d0dfc7)!important;border:1px solid #8a9f7d!important;color:#405236!important}
html:root body.zh-account-details-theme #content .btn-info{background:linear-gradient(180deg,#f7fcfe,#eaf4f8 50%,#dcebf2)!important;border:1px solid #91afc0!important;color:#3c5868!important}
html:root body.zh-account-details-theme #content .btn-danger{background:linear-gradient(180deg,#fff,#fff7f4 50%,#f3e7e1)!important;border:1px solid #cda698!important;color:#a63127!important}
html body.zh-account-details-theme #content .btn:focus-visible{outline:2px solid #56784c;outline-offset:3px}
@media(hover:hover) and (pointer:fine){html:root body.zh-account-details-theme #content .btn:not(:disabled):not(.disabled):not([aria-disabled=true]):hover{filter:brightness(.94)!important}}
@media(max-width:767px){html body.zh-account-details-theme #content>form{padding:16px}html body.zh-account-details-theme #content>h1,html body.zh-account-details-theme #content>h2:first-of-type{padding:16px;font-size:23px}html body.zh-account-details-theme #content .form-control{font-size:16px}html body.zh-account-details-theme #content .table td,html body.zh-account-details-theme #content .table th{padding:10px;white-space:normal;min-width:90px}html body.zh-account-details-theme #account-address .table td .btn{margin:4px 0}html body.zh-account-details-theme #content .buttons>div{max-width:100%}html body.zh-account-details-theme #content .buttons .btn{min-width:100px}}
/* The logout message uses the native shared success template. */
html body.zh-account-details-theme #common-success>.breadcrumb{margin:4px 0 8px;padding:0;border:0;background:transparent;font-size:12px}
html body.zh-account-details-theme #common-success>.breadcrumb>li{padding:0;text-shadow:none;white-space:normal}
html body.zh-account-details-theme #common-success>.breadcrumb>li:after{display:none}
html body.zh-account-details-theme #common-success>.breadcrumb>li+li:before{content:'›';padding:0 6px;color:#7b8576}
html body.zh-account-details-theme #content .buttons>.pull-right:only-child{margin-left:auto}
html body.zh-account-details-theme #content>h3{margin:20px 0 12px;color:#52616a;font-size:19px;font-weight:400}

/* Contact confirmation retains native validation and submits the complete profile. */
html:root body.zh-account-details-theme #account-edit .zh-contact-review-notice{position:relative;padding:16px 18px;margin-top:4px;border:1px solid #c8b18f;border-radius:6px;background:linear-gradient(180deg,#fffaf2,#f9efdf 50%,#eee2ce)!important;color:#66513c!important;line-height:1.6}
html:root body.zh-account-details-theme #account-edit .zh-contact-review-notice>.zh-contact-attention{top:-9px;left:-5px}
html body.zh-account-details-theme #account-edit .zh-contact-actions{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}
html body.zh-account-details-theme #account-edit .zh-contact-actions>.pull-left{grid-column:1;justify-self:start}
html body.zh-account-details-theme #account-edit .zh-contact-confirm-wrap{grid-column:2;justify-self:center}
html:root body.zh-account-details-theme #account-edit #content .zh-contact-confirm{position:relative;overflow:visible;background:var(--zh-action-fill)!important;background-image:var(--zh-action-sheen)!important;color:var(--zh-action-ink)!important;border-color:var(--zh-action-edge)!important}
html:root body.zh-account-details-theme #account-edit #content .zh-contact-confirm:active{background:var(--zh-action-pressed-fill)!important}
@media(hover:hover) and (pointer:fine){html:root body.zh-account-details-theme #account-edit #content .zh-contact-confirm:hover{background:var(--zh-action-hover-fill)!important}}
@media(max-width:479px){html body.zh-account-details-theme #account-edit .zh-contact-actions{grid-template-columns:minmax(0,1fr)}html body.zh-account-details-theme #account-edit .zh-contact-confirm-wrap{grid-row:1;grid-column:1}html body.zh-account-details-theme #account-edit .zh-contact-actions>.pull-left{grid-row:2;grid-column:1}}
html:root body.zh-account-details-theme #account-edit #content .zh-contact-confirm>.zh-contact-attention{color:#a63127!important}

/* Quiet name review; confirmed profiles do not render the reminder. */
html:root body.zh-account-details-theme #account-edit .zh-contact-attention{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:1px solid #ead7d1;border-radius:50%;background:linear-gradient(180deg,#fff8f5,#fbeae4 50%,#efd8d0)!important;background-image:linear-gradient(180deg,#fff8f5,#fbeae4 50%,#efd8d0)!important;color:#a63127!important;font:700 17px/20px Arial,sans-serif;text-shadow:none;pointer-events:none}
html:root body.zh-account-details-theme #account-edit .zh-contact-review-notice>.zh-contact-attention{top:-11px;left:-5px}
html:root body.zh-account-details-theme #account-edit .zh-name-review-input{border-color:#c8b18f!important;box-shadow:0 0 0 1px #f2e6d4!important}
html:root body.zh-account-details-theme #account-edit .zh-name-review-hint{display:flex;align-items:flex-start;gap:8px;margin-top:8px;padding:10px 12px;border:1px solid #e4d2b9;border-radius:6px;background:linear-gradient(180deg,#fffaf2,#f9efdf 50%,#eee2ce);color:#66513c;line-height:1.5}
html:root body.zh-account-details-theme #account-edit .zh-name-review-hint>.zh-contact-attention{position:static;flex:0 0 22px;margin:0}
html:root body.zh-account-details-theme #account-edit .zh-name-review-hint>span:last-child{min-width:0}

/* Optional email proof: independent forms, shared palette, no checkout restriction. */
html:root body.zh-account-details-theme #account-edit .zh-email-panel{margin:24px 0;padding:20px;border:1px solid #e4d2b9;border-radius:7px;background:linear-gradient(180deg,#fffdf9,#fffaf2 50%,#f8f3e9);color:#52616a;overflow-wrap:anywhere}
html:root body.zh-account-details-theme #account-edit .zh-email-panel h2{margin:0 0 14px;font-size:21px;font-weight:400}
html:root body.zh-account-details-theme #account-edit .zh-email-panel p{line-height:1.6;margin:12px 0}
html:root body.zh-account-details-theme #account-edit .zh-email-actions{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}
html:root body.zh-account-details-theme #account-edit .zh-email-panel .btn{white-space:normal;max-width:100%}
html:root body.zh-account-details-theme #account-edit #content .zh-email-panel .btn-primary{background:var(--zh-action-fill)!important;background-image:var(--zh-action-sheen)!important;color:var(--zh-action-ink)!important;border-color:var(--zh-action-edge)!important}
html:root body.zh-account-details-theme #account-edit #content .zh-email-panel .btn-primary:hover{background:var(--zh-action-hover-fill)!important}
html:root body.zh-account-details-theme #account-edit #content .zh-email-panel .btn-primary:active{background:var(--zh-action-pressed-fill)!important}
html:root body.zh-account-details-theme #account-edit .zh-email-change{margin-top:20px;padding-top:16px;border-top:1px solid #e4d2b9}
html:root body.zh-account-details-theme #account-edit .zh-email-change summary{cursor:pointer;color:#007fa6}
html:root body.zh-account-details-theme #account-edit .zh-email-bell{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;vertical-align:middle;width:22px;height:22px;border:1px solid #e4d2b9;border-radius:50%;background:linear-gradient(180deg,#fffaf2,#f9efdf 50%,#eee2ce);color:#b84a00}

html:root body.zh-account-details-theme #account-edit .zh-contact-profile #zh-email-panel{margin:12px 0 0}
html:root body.zh-account-details-theme #account-edit .zh-email-panel .form-group{margin-left:0;margin-right:0}
