:root body .header-personal{grid-area:profile;justify-self:end;display:flex;align-items:center;gap:17px;min-width:0;max-width:100%}
:root body .header-personal .header-account{grid-area:auto;min-width:0;flex-shrink:1}
:root body .notification-bell{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;margin:0;padding:10px;border:1px solid transparent;border-radius:14px;background:transparent;color:#d5d6d3;cursor:pointer;transition:background .15s,border-color .15s}
:root body .notification-bell:hover,:root body .notification-bell[aria-expanded=true]{background:#ffffff09;border-color:#ffffff18;color:#fff}
.notification-bell>svg{width:23px;height:23px}
.notification-count{position:absolute;top:0;right:-3px;min-width:17px;height:17px;box-sizing:content-box;padding:0 3px;display:grid;place-items:center;border:2px solid #161717;border-radius:12px;background:#eeeee8;color:#191a1a;font:650 10px/1 system-ui;font-variant-numeric:tabular-nums}
.notifications-panel{position:fixed;z-index:150;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden;background:#1b1c1b;border:1px solid #ffffff20;border-radius:22px;color:#ededeb;box-shadow:0 20px 65px #0009;animation:notification-enter .13s ease-out}
.notifications-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 18px 10px}
.notifications-heading h2{margin:0;font-size:19px;letter-spacing:-.3px;font-weight:650}
.notifications-panel button{font:inherit;color:inherit;cursor:pointer}
.notifications-close{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:10px;background:transparent;color:#a6a8a8!important}
.notifications-close:hover{background:#ffffff09;color:#fff!important}
.notifications-close svg{width:19px;height:19px}
.notifications-empty{text-align:center;padding:22px 28px 36px}
.notifications-empty-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 19px;border:1px solid #ffffff12;border-radius:19px;background:#ffffff04;color:#aaaead}
.notifications-empty-icon svg{width:28px;height:28px}
.notifications-empty h3{margin:0 0 8px;font-size:17px;font-weight:550}
.notifications-empty p,.notifications-loading{margin:0;color:#9fa2a2;font-size:14px;line-height:1.5}
.notifications-loading{padding:28px;text-align:center}
.notifications-list{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 8px 8px}
.notification-item{display:flex;gap:10px;width:100%;padding:15px 12px;text-align:left;border:0;border-radius:12px;background:none}
.notification-item:hover{background:#ffffff05}
.notification-item.is-unread{background:#ffffff04}
.notification-item+.notification-item{margin-top:3px}
.notification-copy{display:grid;gap:6px;min-width:0;overflow-wrap:anywhere}
.notification-copy strong{font-size:14px;line-height:1.45;font-weight:600}
.notification-copy>span{color:#b3b5b5;font-size:13px;line-height:1.5;white-space:pre-wrap}
.notification-copy time{margin-top:2px;font-size:11px;color:#868b8b}
.notification-dot{flex:0 0 6px;width:6px;height:6px;margin-top:7px;border-radius:50%;background:#e7e7e2}
.is-read .notification-dot{background:transparent}
.is-read .notification-copy strong{color:#b9bcbc;font-weight:500}
.notifications-footer{padding:9px 16px;border-top:1px solid #ffffff0e}
.notifications-footer button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:38px;border:0;border-radius:10px;background:none;font-size:13px}
.notifications-footer button:hover{background:#ffffff07}
.notifications-footer svg{width:17px;height:17px}
.notifications-error{font-size:13px;line-height:1.5;padding:16px 22px;color:#c8bcb7}
.notifications-error button{display:block;border:0;padding:10px 0;background:none;text-decoration:underline}
.notifications-panel button:disabled{opacity:.6;cursor:wait}
@keyframes notification-enter{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:861px){:root body .app-header-inner{grid-template-columns:minmax(110px,1fr) auto minmax(280px,1fr);gap:20px}}
@media(max-width:620px){:root body .header-personal{gap:10px}:root body .header-personal .header-account{width:154px;max-width:154px}.notifications-panel{border-radius:18px}}
@media(max-width:380px){:root body .header-personal{gap:7px}:root body .header-personal .header-account{width:clamp(108px,calc(100vw - 226px),132px);max-width:132px}:root body .app-header-inner{gap:6px}}
@media(prefers-reduced-motion:reduce){.notifications-panel{animation:none}.notification-bell{transition:none}}
:root[data-motion=reduced] .notifications-panel{animation:none}

.notification-unread-dot{position:absolute;top:4px;right:4px;width:7px;height:7px;border-radius:50%;background:#f2f2ed;box-shadow:0 0 0 3px #151616}
.notification-bell.has-unread>svg{transform-origin:50% 15%;animation:notification-sway 10s ease-in-out infinite}
.notification-bell[aria-expanded=true]>svg{animation:none}
@keyframes notification-sway{0%,90%,100%{transform:rotate(0)}92%{transform:rotate(-12deg)}94%{transform:rotate(10deg)}96%{transform:rotate(-6deg)}98%{transform:rotate(4deg)}}
@media(prefers-reduced-motion:reduce){.notification-bell.has-unread>svg{animation:none}}
:root[data-motion=reduced] .notification-bell.has-unread>svg{animation:none}

.notification-item{position:relative;display:block;padding:0}
.notification-open{display:flex;gap:10px;width:100%;padding:15px 46px 15px 12px;text-align:left;border:0;border-radius:12px;background:transparent}
.notification-dismiss{position:absolute;top:7px;right:6px;display:grid;place-items:center;width:32px;height:32px;padding:7px;border:0;border-radius:9px;background:transparent;color:var(--muted)!important;opacity:0;pointer-events:none;transition:opacity .12s,background-color .12s}
.notification-dismiss svg{width:17px;height:17px}
.notification-item:hover .notification-dismiss,.notification-item:focus-within .notification-dismiss{opacity:1;pointer-events:auto}
.notification-dismiss:hover{background:#ffffff0c;color:var(--text)!important}
.notification-dismiss:focus-visible,.notification-open:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
@media(hover:none),(pointer:coarse){.notification-dismiss{opacity:1;pointer-events:auto;width:44px;height:44px;top:2px;right:2px}.notification-open{padding-right:50px}}
@media(prefers-reduced-motion:reduce){.notification-dismiss{transition:none}}
:root[data-motion=reduced] .notification-dismiss{transition:none}

.notification-copy .notification-link-action{display:flex;align-items:center;gap:7px;color:var(--text);font-size:13px;margin-top:8px}.notification-link-action svg{width:15px;height:15px}

/* telegram-reminders-v1 */
