/* Consumer account: familiar commerce tasks, one screen at a time. */
body.account-app-ready{background:#f5f4f1;color:#1a1a1a}
.account-app-ready .reference-account-hero,.account-app-ready main.reference-account>h1,.account-app-ready main.reference-account>a:first-child,.account-app-ready main.reference-account>#status:empty,.account-app-ready main.reference-account>.muted-note,.account-app-ready .account-controls,.account-app-ready #reference-guest-account,.account-app-ready .account-guest-services{display:none!important}
.account-app-ready main.reference-account.member-account{max-width:920px;padding:0!important;margin:22px auto 100px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.account-app-ready #signed-in,.account-app-ready #center-content{margin:0;padding:0;border:0;display:block}
.account-app-ready #center-content>.account-utility-links{display:none!important}
.account-app-ready [data-account-view][hidden]{display:none!important}
.account-app-ready #center-content h2,.account-app-ready #identity-settings h2{font-family:'Noto Sans SC',sans-serif!important;font-size:17px!important;font-weight:600!important;line-height:1.5!important;letter-spacing:0!important;margin:0}
.account-app-ready #center-content p,.account-app-ready #center-content a,.account-app-ready #center-content button,.account-app-ready #center-content input,.account-app-ready #center-content select,.account-app-ready #center-content textarea{font-family:'Noto Sans SC',sans-serif;letter-spacing:0;font-size:14px;line-height:1.55}
.account-app-ready a{text-decoration:none}
.account-app-ready button,.account-app-ready a{-webkit-tap-highlight-color:transparent}
.account-app-ready a:focus-visible,.account-app-ready button:focus-visible,.account-app-ready select:focus-visible,.account-app-ready input:focus-visible,.account-app-ready textarea:focus-visible{outline:2px solid #c8402a;outline-offset:3px}
.account-app-toolbar{display:flex;justify-content:space-between;align-items:center;min-height:64px;padding:4px 16px 12px}
.account-app-toolbar>span{font-size:23px;font-weight:650}
.account-app-toolbar nav{display:flex;gap:22px}
.account-app-toolbar nav a{display:flex;flex-direction:column;align-items:center;min-width:44px;min-height:48px;gap:2px;color:#292621}
.account-app-toolbar nav .ui-icon{width:23px;height:23px}
.account-app-toolbar nav span{font-size:12px}
.account-app-member,.account-app-orders,.account-app-tools,.account-app-shortcuts{background:#fff;border:0;border-radius:14px;overflow:hidden;margin:0 0 12px;box-shadow:none}
.account-app-member{background:#f4ebe2}
.account-app-identity{display:flex;gap:13px;align-items:center;min-height:104px;padding:20px 20px 14px;color:inherit}
.account-app-identity>span:nth-child(2){flex:1;min-width:0}
.account-app-identity h2{font-size:20px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-app-identity p{margin:2px 0!important;color:#6a6259;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-app-identity small{font-size:12px;color:#74634f}
.account-app-identity>.ui-icon{width:19px;height:19px;color:#81786d}
.account-app-ready .member-avatar{width:54px;height:54px;font-family:'Noto Sans SC',sans-serif;font-size:22px;background:#c8402a;color:#fff;display:grid;place-items:center;border-radius:50%;flex-shrink:0}
.account-app-assets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:8px 8px 18px}
.account-app-assets a{min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#292621}
.account-app-assets b{font-size:22px;font-weight:650;line-height:1.3;font-variant-numeric:tabular-nums}
.account-app-assets b>.ui-icon{width:25px;height:25px}
.account-app-assets span{font-size:12px}
.account-app-section-title{display:flex;justify-content:space-between;align-items:center;min-height:52px;padding:4px 16px}
.account-app-section-title>a{min-height:44px;display:flex;align-items:center;gap:4px;color:#777068;font-size:12px!important}
.account-app-section-title .ui-icon{width:15px;height:15px}
.account-app-order-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:1px 12px 14px}
.account-app-order-grid>a{display:flex;flex-direction:column;align-items:center;min-height:65px;justify-content:center;gap:8px;color:#292621;font-size:13px!important}
.account-app-order-icon{position:relative;display:block;height:29px}
.account-app-order-icon>.ui-icon{width:28px;height:28px}
.account-app-order-icon em{position:absolute;top:-7px;left:18px;min-width:16px;height:16px;padding:0 4px;box-sizing:content-box;display:grid;place-items:center;border:2px solid #fff;border-radius:10px;background:#c8402a;color:#fff;font-size:10px;line-height:16px;font-style:normal}
.account-app-order-footer{display:flex;align-items:center;border-top:1px solid #f1efeb;padding:0 16px;gap:18px}
.account-app-order-footer>a{display:flex;align-items:center;min-height:48px;gap:5px;flex:1;font-size:12px!important;color:#6c665e}
.account-app-order-footer>a+a{justify-content:flex-end}
.account-app-order-footer b{font-size:13px;color:#1a1a1a;font-variant-numeric:tabular-nums}
.account-app-order-footer .ui-icon{width:14px;height:14px}
.account-app-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 8px;padding:0 12px 9px}
.account-app-service-grid a{display:flex;flex-direction:column;align-items:center;gap:8px;justify-content:center;min-height:82px;color:#292621;font-size:12px!important}
.account-app-service-grid .ui-icon{height:25px;width:25px;color:#8c6a3d}
.account-app-service-grid>a:active,.account-app-assets>a:active{background:#f7f3ed}
.account-app-ready .account-app-row{display:flex;align-items:center;width:100%;gap:11px;min-height:58px;padding:12px 16px;box-sizing:border-box;color:#292621!important;background:#fff;border:0;border-bottom:1px solid #f1efeb;border-radius:0;margin:0;text-align:left;font-weight:400}
.account-app-row>span{flex:1;min-width:0}
.account-app-row>small{font-size:12px;color:#888078;max-width:48%;text-align:right;overflow-wrap:anywhere}
.account-app-row>.ui-icon:first-child{width:20px;height:20px;color:#8c6a3d;flex-shrink:0}
.account-app-row>.ui-icon:last-child{width:16px;height:16px;color:#9b948a;flex-shrink:0}
.account-app-ready .account-app-row:last-child{border-bottom:0}
.account-app-ready .account-app-row:hover{background:#fbf9f5}
.account-app-footnote{text-align:center;color:#918980!important;font-size:12px!important;padding:12px;margin:0}
.account-app-subbar{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;min-height:58px;margin:0 -4px 12px}
.account-app-subbar h2{text-align:center;font-size:18px!important}
.account-app-subbar>a{display:grid;place-items:center;min-height:44px;color:#292621}
.account-app-subbar .ui-icon{width:23px;height:23px}
.account-app-list{margin:0 0 12px;background:#fff;border-radius:12px;overflow:hidden}
.account-app-settings-profile{display:flex;align-items:center;gap:14px;min-height:104px;background:#fff;padding:18px 16px;border-radius:12px;margin-bottom:12px;color:#292621}
.account-app-settings-profile>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.account-app-settings-profile strong{font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-app-settings-profile small{font-size:13px;color:#8a8177;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-app-settings-profile>.ui-icon{width:18px;height:18px;color:#9b948a}
.account-app-value-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;min-height:58px;border-bottom:1px solid #f1efeb;font-size:14px}
.account-app-value-row strong{font-size:13px;font-weight:400;color:#6c665e;text-align:right;overflow-wrap:anywhere;max-width:65%}
.account-app-note{font-size:13px!important;line-height:1.75!important;color:#7c746b!important;margin:12px 16px!important}
.account-app-detail{background:#fff;padding:16px;border-radius:12px}
.account-app-ready .account-app-detail .member-section,.account-app-ready .account-app-detail .points-guide{padding:0;margin:0;border:0;background:transparent}
.account-app-ready .account-app-detail .member-section+.member-section{padding-top:24px;margin-top:24px;border-top:1px solid #eee}
.account-app-ready .account-app-detail .member-section>h2,.account-app-ready .account-app-detail .member-heading{margin-bottom:12px}
.account-app-ready .account-app-detail input,.account-app-ready .account-app-detail select,.account-app-ready .account-app-detail textarea{background:#fbfaf7;border:1px solid #e6e1d9;border-radius:9px;min-height:46px;padding:11px 12px;margin:7px 0 14px;box-sizing:border-box;width:100%;color:#292621}
.account-app-ready .account-app-detail button{border-radius:8px;min-height:44px;padding:10px 16px;margin-top:6px;font-size:14px}
.account-app-ready .account-app-detail label{font-size:14px;margin-top:12px;display:block}
.account-app-ready .account-app-detail form>button[type=submit]{width:100%;background:#c8402a;color:#fff;border:0;min-height:48px;margin-top:10px}
.account-app-ready .account-app-detail .member-service-links{display:flex;flex-direction:column;gap:10px;align-items:stretch}
.account-app-ready .account-app-detail .member-service-links>*{border:1px solid #ddd6ca;min-height:44px;border-radius:8px;background:#fff}
.account-app-ready .account-app-detail .member-service-links>:disabled{color:#91867c;background:#f1eeea;border-color:#eee9e2;cursor:not-allowed}
.account-app-help-tabs{display:flex;background:#fff;border-radius:12px;padding:7px;margin-bottom:12px;gap:7px}
.account-app-help-tabs>a{flex:1;text-align:center;min-height:44px;display:grid;place-items:center;color:#403a33}
.account-app-text-link{display:inline-flex;gap:5px;align-items:center;min-height:44px;color:#8c6a3d!important}
.account-app-text-link .ui-icon{width:16px;height:16px}
.account-app-ready .account-app-logout-slot #logout{width:100%;min-height:48px;border:0;border-radius:10px;background:#fff;color:#c8402a;font-family:'Noto Sans SC',sans-serif;font-weight:500;font-size:15px}
.account-app-ready #identity-settings{display:none!important}
body.account-app-ready[data-account-view=identity] #identity-settings{display:block!important;background:#fff;padding:20px;border-radius:12px;margin-top:12px}
body.account-app-ready[data-account-view=identity] #identity-settings>h2{display:none}
.account-app-ready #center-content [role=status]:empty{display:none}
.account-app-ready #service-status:not(:empty),.account-app-ready #privacy-service-status:not(:empty),.account-app-ready #share-status:not(:empty){padding:12px;background:#f5eee5;border-radius:8px;color:#65513a}
.account-app-ready .request-row{display:block;padding:14px 0;border-bottom:1px solid #f1efeb}
.account-app-ready .request-row p{color:#6c665e;margin:6px 0}
.account-app-ready .request-row>span{display:inline-block;font-size:12px;color:#8c6a3d}
@media(min-width:701px){.account-app-ready .account-app-home{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.account-app-toolbar,.account-app-tools,.account-app-footnote{grid-column:1/-1}.account-app-member,.account-app-orders{margin-bottom:0}.account-app-shortcuts{grid-column:1/-1}.account-app-ready #center-content .account-app-service-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.account-app-ready .account-app-view:not(.account-app-home){max-width:640px;margin:0 auto}.account-app-ready[data-account-view=identity] #identity-settings{max-width:640px;box-sizing:border-box;margin-left:auto;margin-right:auto}}
@media(max-width:700px){.account-app-ready .site-header,.account-app-ready .site-footer{display:none!important}.account-app-ready main.reference-account.member-account{margin:0 auto 94px!important;padding:4px 10px 12px!important;max-width:520px}.account-app-toolbar{padding-top:10px}.account-app-subbar{position:sticky;top:0;background:#f5f4f1;z-index:20;margin:-4px -10px 12px;padding:0 10px;min-height:58px}.account-app-ready[data-account-view]:not([data-account-view=home]) .commerce-bottom-nav{display:none!important}.account-app-ready .account-app-detail .share-row{gap:6px}.account-app-ready .account-app-detail .share-row input{margin-bottom:4px}.account-app-ready .points-guide dl{display:block}.account-app-ready .points-guide dl>div{padding:12px 0}.account-app-ready .points-guide dd{margin-left:0}.account-app-ready .account-app-detail .poster-styles{flex-wrap:wrap}.account-app-ready #faq-assistant #faq-open{bottom:calc(82px + env(safe-area-inset-bottom));right:12px}.account-app-ready[data-account-view]:not([data-account-view=home]) #faq-assistant #faq-open{bottom:calc(18px + env(safe-area-inset-bottom))}.account-app-logout-slot{padding-bottom:env(safe-area-inset-bottom)}}
@media(prefers-reduced-motion:no-preference){.account-app-ready .account-app-row,.account-app-ready .account-app-service-grid>a{transition:background-color .15s ease-out}}

/* Auth stays on the same App surface; the original verified auth handlers are retained. */
body.account-app-surface{background:#f5f4f1;font-family:'Noto Sans SC',sans-serif}
.account-app-surface .site-header,.account-app-surface .site-footer,.account-app-surface .reference-account-hero,.account-app-surface #reference-guest-account,.account-app-surface .account-guest-services{display:none!important}
.account-app-surface main.reference-account:not(.member-account){max-width:440px;margin:24px auto 90px;padding:24px;background:#fff;border:0;border-radius:14px;box-shadow:none}
.account-app-surface main.reference-account:not(.member-account)>h1{font:600 25px/1.5 'Noto Sans SC',sans-serif;letter-spacing:0;margin:22px 0 8px}
.account-app-surface main.reference-account:not(.member-account)>a:first-child{display:inline-flex;gap:7px;align-items:center;min-height:44px;font-size:14px;color:#6c665e}
.account-app-surface main.reference-account:not(.member-account)>a:first-child .ui-icon{width:18px;height:18px}
.account-app-surface main.reference-account:not(.member-account) h2{font:600 18px/1.5 'Noto Sans SC',sans-serif}
.account-app-surface main.reference-account:not(.member-account) p{font-size:13px;color:#766e65;line-height:1.75}
.account-app-surface main.reference-account:not(.member-account) label{font-size:14px;margin-top:16px}
.account-app-surface main.reference-account:not(.member-account) input{background:#fbfaf7;border:1px solid #e6e1d9;border-radius:8px;min-height:46px;font-size:16px;padding:11px 12px}
.account-app-surface main.reference-account:not(.member-account) button{min-height:44px;border-radius:8px;font-size:14px}
.account-app-surface main.reference-account:not(.member-account) #submit{width:100%;margin-top:18px;min-height:48px;background:#c8402a;color:white;border:0}
.account-app-surface #auth-modes{padding:4px;background:#f5f2ed;border-radius:10px;gap:4px}
.account-app-surface #auth-modes button{border:0;background:transparent;color:#74695d}
.account-app-surface #auth-modes button[aria-pressed=true]{background:#fff;color:#c8402a;box-shadow:0 2px 5px #3c302a0b}
@media(max-width:520px){.account-app-surface main.reference-account:not(.member-account){margin:12px 10px 90px;max-width:none;padding:20px 18px}.account-app-surface .password-change-actions{gap:8px}.account-app-surface .auth-alt-actions{flex-wrap:wrap}.account-app-surface .auth-alt-actions button{flex:1;min-width:88px}}
