/* Signed-in dashboard only: guest registration and checkout keep their existing layout. */
#account-dialog.cm-dashboard-mode{width:min(470px,calc(100vw - 24px));max-height:calc(100dvh - 24px);background:#faf3e5;border-radius:24px}
#account-dialog.cm-dashboard-mode .account-inner{padding:42px 0 0}
#account-dialog.cm-dashboard-mode .account-inner> :not(#account-signed-in){display:none!important}
#account-dialog.cm-dashboard-mode #account-signed-in{margin:0}
#account-dialog.cm-dashboard-mode .dialog-close{top:6px;right:10px;min-height:44px;width:44px}
.cm-account-detail{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:20px;border:1px solid #e6d9c7;border-radius:24px;background:#fffaf1;color:#442b1c;overflow-y:auto}
.cm-account-detail::backdrop{background:rgba(36,23,15,.52);backdrop-filter:blur(4px)}
.cm-account-detail>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px}
.cm-account-detail>header h2{font-size:24px;letter-spacing:-.7px;line-height:1.2;margin:0}
.cm-detail-back{display:flex;align-items:center;gap:6px;min-height:44px;padding:8px 12px;border:1px solid #ddcbb4;border-radius:30px;background:#f5ead7;color:#50311e;font:inherit;font-size:13px;cursor:pointer}
.cm-account-detail .account-profile,.cm-account-detail .account-orders,.cm-account-detail .account-addresses{margin:0}
.cm-account-detail .account-profile-details{overflow-wrap:anywhere}
.cm-account-detail .member-rewards{margin-top:18px}
.cm-account-detail .cm-milestone{margin-top:0}
.cm-account-detail button:focus-visible{outline:3px solid #946627;outline-offset:2px}
#delivery-launch-slide{position:relative}
#delivery-launch-slide .delivery-banner-status{position:absolute;z-index:1;left:12px;right:12px;bottom:12px;margin:0;padding:9px 14px;border:1px solid #e7cf9d;border-radius:12px;background:rgba(255,250,239,.97);color:#4a2c19;font-size:13px;font-weight:600;line-height:1.4;text-align:center;pointer-events:none;box-shadow:0 2px 10px #51311c14}
#delivery-launch-slide .delivery-banner-status[data-state=available]{background:rgba(255,248,226,.97)}
@media(max-width:600px){#delivery-launch-slide .delivery-banner-status{left:9px;right:9px;bottom:9px;font-size:11px;padding:8px 10px}.cm-account-detail{padding:16px}}
@media(max-height:650px){#account-dialog.cm-dashboard-mode .account-inner{padding-top:36px}}

.cm-profile-shortcuts{display:flex;gap:8px;margin:16px 0}.cm-profile-shortcuts button{flex:1;min-height:44px;padding:10px;border:1px solid #ddcbb4;border-radius:12px;background:#f5ead7;color:#50311e;font:inherit;font-weight:600;cursor:pointer}
