/* MISCHEL production-oriented UI polish - layered after existing styles.
   Existing shopping logic, product presentation, and private server are untouched. */
:root {--mischel-gold:#ad8649;--mischel-ink:#32271d;--mischel-btn-radius:11px;}
/* The header dropdown is the only account navigation; each route renders one section. */
#mischel-account-page .mischel-account-layout{display:block!important;max-width:100%;width:100%;}
#mischel-account-page .mischel-account-content{width:100%;min-height:360px;box-sizing:border-box;border:0!important;box-shadow:none!important;background:transparent;padding:4px clamp(6px,2vw,26px)!important;}
#mischel-account-page .mischel-account-content > section[hidden]{display:none!important;}
#mischel-account-page .mischel-account-content > section:not([hidden]){max-width:100%;}
#mischel-account-page .mischel-account-header{margin:0 0 24px;border-radius:14px;padding:18px 26px;}
#mischel-account-page .mischel-account-page-intro{margin-bottom:26px;}
#mischel-account-page .mischel-account-page-intro h1{font-size:clamp(32px,3.6vw,47px);}
#mischel-account-page .mischel-account-local-notice{display:none!important;}
/* A compact sign-in or register dialog should not waste space on repeated disclaimers. */
#shop-checkout-dialog.account-entry>.eyebrow,
#shop-checkout-dialog.account-entry>.shop-demo-notice,
#shop-checkout-dialog.account-entry .checkout-preview-warning,
#shop-checkout-dialog.account-entry .checkout-confirmation-note,
#shop-checkout-dialog.account-entry #checkout-account-note{display:none!important;}
#shop-checkout-dialog.mischel-login-compact{padding:25px 26px 26px!important;}
#shop-checkout-dialog.mischel-login-compact #checkout-login-title{margin:0 0 18px!important;}
#shop-checkout-dialog.mischel-login-compact #checkout-login-panel .checkout-account-actions{align-items:center!important;justify-content:center!important;}
#shop-checkout-dialog.mischel-login-compact #checkout-login-demo{width:auto!important;min-width:155px!important;padding:11px 27px!important;border-radius:10px!important;}
#shop-checkout-dialog.mischel-login-compact > #mischel-checkout-up{display:none!important;}
/* Prominent actions: smooth, compact and with one consistent shape. */
:is(button.button,a.button,button.secondary,.checkout-account-secondary,.test-profile-actions button,
 #shop-checkout-dialog .checkout-submit .button,.mischel-inline-form button.button,
 .mischel-account-content button.button,.footer-admin-bar button:not(.icon)){
 border-radius:11px!important;box-shadow:0 3px 10px #3427171f;
 transition:background-color .17s,color .17s,box-shadow .17s,transform .17s;
}
:is(button.button,a.button,button.secondary,.checkout-account-secondary,.test-profile-actions button,
 .mischel-inline-form button.button,.mischel-account-content button.button,
 .footer-admin-bar button:not(.icon)):hover:not(:disabled){
 transform:translateY(-1px);box-shadow:0 6px 16px #34271725;
}
/* Navigation and icon buttons must not swell into action buttons. */
:is(.icon,.close,.checkout-password-toggle,.mischel-admin-password-toggle,
 .mischel-notify-button,.pd-photo-nav,.qty-control button){box-shadow:none!important;transform:none!important;}
/* Text links use only an underline and color, never a pill or floating shadow. */
:is(a.text-link,button.text-link,.checkout-account-link,.account-close-page,
 #checkout-back-to-login,#checkout-register-to-login,#checkout-back-to-reset-email,
 #checkout-new-password-back-login,.checkout-create-account button,
 #shop-checkout-dialog .checkout-go-guest,.checkout-account-actions .shop-quiet){
 color:var(--mischel-ink)!important;text-decoration:underline!important;
 text-decoration-color:var(--mischel-gold)!important;text-underline-offset:4px!important;
 text-decoration-thickness:1px!important;border:0!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;padding:5px 3px!important;
 transform:none!important;min-height:0!important;width:auto!important;
}
:is(a.text-link,button.text-link,.checkout-account-link,.account-close-page,
 #checkout-back-to-login,#checkout-register-to-login,#checkout-back-to-reset-email,
 #checkout-new-password-back-login,.checkout-create-account button,
 #shop-checkout-dialog .checkout-go-guest,.checkout-account-actions .shop-quiet):hover{
 color:var(--mischel-gold)!important;box-shadow:none!important;transform:none!important;
}
/* Product references remain visible links in the order history. */
#mischel-account-page .mischel-ordered-product a{color:#38291a;text-decoration:underline;text-decoration-color:var(--mischel-gold);text-underline-offset:4px;}
/* Header account dropdown keeps buttons quiet - no global button shadow. */
.mischel-usernav-menu button{border-radius:0!important;box-shadow:none!important;transform:none!important;}
.mischel-usernav-menu button:hover{background:#f1e7d7!important;}
/* Two independent authenticated notification inboxes. */
.mischel-notify{position:relative;display:inline-flex;align-items:center;flex:0 0 auto;}
.mischel-notify[hidden],.mischel-notify-panel[hidden],.mischel-notify-badge[hidden]{display:none!important;}
.mischel-notify-button{width:42px;height:42px;display:grid;place-items:center;background:transparent;border:0;color:var(--mischel-ink);position:relative;cursor:pointer;}
.mischel-notify-button:hover{color:var(--mischel-gold);}
.mischel-notify-badge{position:absolute;top:-2px;right:-3px;min-width:17px;height:17px;padding:1px 4px;box-sizing:border-box;border-radius:12px;background:#a17a40;color:#fff;font-size:11px;line-height:16px;text-align:center;}
.mischel-notify-panel{position:absolute;top:calc(100% + 8px);right:0;width:min(88vw,380px);max-height:440px;overflow:auto;box-sizing:border-box;background:#fffcf7;border:1px solid #e3d5c3;border-radius:13px;box-shadow:0 12px 30px #251a0e2e;z-index:1500;color:#31251b;padding:18px;}
.mischel-notify-panel h3{font:normal 23px/1.25 Georgia,serif;margin:0 0 12px;}
.mischel-notify-list{display:grid;gap:6px;font-size:13px;}
.mischel-notify-item{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px;text-align:left;background:transparent;border:1px solid #f2ede6;border-radius:8px;cursor:pointer;color:#3b2c1e;}
.mischel-notify-item.unread{background:#f8f0df;border-color:#e1caa2;}
.mischel-notify-item:hover{background:#f5ead7;}
.mischel-notify-item strong{font-size:13px;}.mischel-notify-item span{line-height:1.4;}.mischel-notify-item small{color:#887968;font-size:11px;}
.footer-admin-bar .mischel-notify{margin-left:8px;}
.footer-admin-bar .mischel-notify-panel{bottom:calc(100% + 7px);top:auto;}
@media(max-width:700px){
 #mischel-account-page .mischel-account-header{padding:15px;}
 #mischel-account-page .mischel-account-content{padding:2px!important;}
 .mischel-notify-panel{position:fixed;right:12px;left:12px;top:75px;width:auto;max-height:min(70vh,520px);}
 .footer-admin-bar .mischel-notify-panel{position:fixed;top:auto;bottom:20px;}
}
@media(prefers-reduced-motion:reduce){button.button,a.button,button.secondary,.checkout-account-secondary{transition:none!important;transform:none!important;}}

/* Keep a single logout in the account dropdown; trigger remains wired for the menu. */
#mischel-account-page #test-customer-logout{display:none!important;}
/* Sample data helpers remain available in code for local diagnostics, not public-looking registration. */
#shop-checkout-dialog.account-entry #test-profile-register{display:none!important;}
