.pb-notification-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;margin:0 0 12px;padding-right:clamp(76px,12vw,108px);position:relative;z-index:2}
.pb-notification-heading>.eyebrow{margin:0;flex:1}
.pb-notification-top{display:flex;justify-content:flex-end;flex:none;position:relative;z-index:2;margin:0}
.pb-notification-trigger{position:relative;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid rgba(194,158,94,.5);border-radius:50%;background:#22201d;color:#e4c78d;cursor:pointer}
.pb-notification-trigger:hover,.pb-notification-trigger:focus-visible{background:#332c20;outline-offset:3px}
.pb-notification-count{position:absolute;right:-6px;top:-7px;min-width:19px;height:19px;border-radius:20px;background:#c9a668;color:#17130b;padding:2px 4px;font-size:11px;font-weight:800;line-height:15px;text-align:center}
.pb-notification-count[hidden]{display:none}
.pb-notification-overlay{position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.74)}
.pb-notification-panel{width:min(100%,540px);max-height:min(85vh,760px);overflow:auto;border:1px solid rgba(195,162,100,.4);border-radius:18px;background:#171717;color:#f5f0e7;padding:20px;box-shadow:0 20px 60px #0009}
.pb-notification-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.pb-notification-header h2{font-size:20px;font-weight:650;margin:0}
.pb-notification-close{border:0;background:transparent;color:#e4c78d;font-size:30px;cursor:pointer}
.pb-notification-list{display:grid;gap:10px}
.pb-notification-item{padding:14px;border:1px solid #39332a;border-radius:12px;background:#202020}
.pb-notification-item.is-unread{border-color:#a88a55;background:#27231d}
.pb-notification-item-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pb-notification-item p{margin:8px 0;color:#e5e0d8;font-size:14px}
.pb-notification-item small{color:#a9a296}
.pb-notification-dot{width:8px;height:8px;border-radius:50%;background:#d9b16e;flex:none}
.pb-notification-read{display:block;margin-top:12px;padding:7px 10px;border:1px solid #8e754b;border-radius:9px;background:transparent;color:#e7ca90;cursor:pointer}
.pb-notification-empty{color:#c9c1b5;text-align:center;padding:20px}
@media(max-width:600px){.pb-notification-panel{padding:15px}.pb-notification-heading{padding-right:82px;min-height:48px;margin-bottom:12px}.pb-notification-trigger{width:40px;height:40px}}

/* Unread notification indicator on the client Moi tab and professional profile menu. */
.bottom-nav [data-route="me"]{position:relative}
.pb-nav-notification-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:20px;background:#c9a668;color:#17130b;font-size:11px;font-weight:800;line-height:1}
.pb-nav-notification-count[hidden]{display:none!important}
.bottom-nav [data-route="me"]>.pb-nav-notification-count{position:absolute;right:clamp(6px,15%,22px);top:2px;pointer-events:none}


/* Professional view: occupy the exact cart slot only while cart is empty. */
.pb-notification-floating{position:fixed!important;right:18px;top:100px;bottom:auto;width:56px;height:56px;z-index:74;box-shadow:0 8px 28px #0009}
.pb-notification-floating .pb-notification-count{right:-3px;top:-5px}
.pb-notification-inline-hidden{visibility:hidden!important;pointer-events:none!important}

/* Compact Moi heading and profile spacing without moving floating actions. */
.mg-client-mode .pb-notification-heading{min-height:32px;margin-bottom:4px;padding-right:0}
.mg-client-mode .pb-notification-heading>.eyebrow{line-height:1.2}
.mg-client-mode .pb-notification-heading+.client-account-link{margin-top:0!important}
.mg-client-mode .pb-notification-inline-hidden{display:none!important}
@media(max-width:600px){.mg-client-mode .pb-notification-heading{min-height:28px;margin-bottom:4px}}

/* Reduce the overall distance from professional top tabs to the connected profile. */
.mg-page:has(.mg-client-mode) .mg-content.mg-client-mode{padding-top:8px!important}
.mg-page:has(.mg-client-mode) .mg-client-back{margin-top:0!important;margin-bottom:0!important;min-height:24px!important}
.mg-page:has(.mg-client-mode) .pb-notification-heading{margin-top:0!important;margin-bottom:2px!important;min-height:24px!important}
.mg-page:has(.mg-client-mode) .client-account-link{margin-top:0!important}

/* Client Moi: same three-across action layout as professional client mode. */
.page.dashboard .pb-client-moi-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0 24px}
.page.dashboard .pb-client-moi-actions>button{width:100%;min-width:0;min-height:88px;margin:0!important;padding:14px 8px;border:1px solid rgba(197,165,95,.55);border-radius:16px;background:#191919;color:#e6c78d;font-weight:750;text-align:center;white-space:normal;line-height:1.3}
.page.dashboard .pb-client-moi-actions>button:hover{background:#27231c}
.pb-notification-trigger[hidden],.pb-notification-floating[hidden]{display:none!important}
@media(max-width:480px){.page.dashboard .pb-client-moi-actions{gap:7px}.page.dashboard .pb-client-moi-actions>button{min-height:72px;padding:9px 5px;font-size:11px;border-radius:12px}}
