.topbar{position:sticky;top:0;z-index:40}
#shopping-nav [data-view=notifications] span{font-size:.6875rem}
.topbar-search{position:absolute;left:calc(50% - var(--rail-width)/2);transform:translateX(-50%);width:min(420px,calc(100vw - 650px));margin:0}
.topbar-search label{display:flex;align-items:center;gap:8px;border:1px solid var(--border);background:#f8f7f5;border-radius:9px;padding:0 11px;margin:0}
.topbar-search svg{width:18px;height:18px;color:var(--muted)}
.topbar-search input{min-width:0;width:100%;height:36px;min-height:36px;border:0;background:transparent;padding:7px 0;font-size:.8125rem;outline-offset:4px}
.topbar-actions{margin-left:auto}.topbar-actions #logout{font-size:.75rem;padding:7px;min-height:36px}
.notifications-bell{position:relative}.notifications-toggle{position:relative;display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:7px;border:0;background:transparent}
#notifications-count{position:absolute;top:-2px;right:-2px;min-width:16px;height:16px;border-radius:9px;background:var(--accent);color:white;padding:1px 4px;font-size:10px;line-height:14px;font-weight:700}
#notifications-panel{position:absolute;right:0;top:calc(100% + 12px);width:min(400px,calc(100vw - 24px));border:1px solid var(--border);border-radius:14px;background:var(--paper);box-shadow:0 12px 42px #27313f25;overflow:hidden}
.notifications-popup-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--border)}
.notifications-popup-heading h2{font-size:1rem;margin:0}.notifications-popup-heading button{border:0;min-height:32px;width:32px;padding:0;font-size:22px}
.notification-popup-feed{max-height:min(460px,calc(100dvh - 190px));overflow-y:auto;overscroll-behavior:contain}
.notification-row{display:flex;align-items:center;gap:8px;padding:13px 16px;border-bottom:1px solid var(--border);min-width:0;background:#fff}
.notification-row.is-unread{background:#fff8f8}.notification-open{display:flex;flex:1;min-width:0;gap:12px;text-align:left;border:0;background:transparent;padding:0;min-height:44px;border-radius:4px}
.notification-open:hover{background:transparent}.notification-symbol{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:10px;background:#f5f4f2;color:#28734b;font-size:20px;font-weight:700}.notification-symbol.price-rise{color:var(--accent);background:var(--soft)}
.notification-copy{display:grid;min-width:0;gap:4px;font-size:.8125rem;line-height:1.4;overflow-wrap:anywhere}.notification-copy strong{font-size:.8125rem}.notification-copy small{font-size:.6875rem;color:var(--muted)}
.notification-state{font-size:.6875rem;color:var(--muted)}.is-unread .notification-state{color:var(--accent);font-weight:600}.notification-prices{font-weight:600}.notification-prices .muted{font-weight:400}
.notification-read{flex:none;min-height:32px;font-size:.75rem;padding:7px 9px}.notifications-popup-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px;border-top:1px solid var(--border)}
.notifications-popup-footer button{font-size:.75rem;min-height:34px;padding:7px 9px}.notifications-empty{padding:18px;font-size:.875rem;color:var(--muted);margin:0}
.notifications-page{max-width:960px;margin:auto;background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}.notifications-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px}.notifications-intro h2{font-size:1rem;margin:0 0 6px}.notifications-intro p{font-size:.8125rem;margin:0}.notifications-intro button{font-size:.8125rem;min-height:36px}
.notification-filters{display:flex;gap:8px;padding:0 20px 16px;border-bottom:1px solid var(--border)}.notification-filters button{font-size:.8125rem;min-height:34px;padding:6px 12px}.notification-filters [aria-pressed=true]{color:var(--accent);background:var(--soft);border-color:#e9bcc1}
.notifications-page>.muted{padding:0 20px;font-size:.8125rem}.notifications-page .notification-row:last-child{border:0}.toolbar .search-context{margin:0 auto 0 0;font-size:.8125rem;color:var(--muted)}
.search-lists{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.search-lists button{min-height:34px;font-size:.8125rem;padding:6px 10px}
@media(max-width:1100px) and (min-width:761px) and (min-height:421px){.account-button>span:not(.account-avatar){display:none}.topbar-search{width:min(360px,calc(100vw - 570px))}}
@media(max-width:760px),(max-height:420px){#shopping-nav [data-view=notifications] span{font-size:inherit}.topbar{height:100px;align-items:flex-start;padding-top:4px}.topbar-actions{height:44px}.topbar-search{width:calc(100vw - 20px);top:55px;left:50%}.topbar-search input{height:36px;font-size:1rem}.notifications-bell{position:static}#notifications-panel{position:fixed;top:100px;right:10px;width:min(400px,calc(100vw - 20px))}.notification-popup-feed{max-height:calc(100dvh - 230px)}.notifications-intro{align-items:flex-start;flex-direction:column;padding:16px}.notification-filters{padding:0 16px 12px}.notifications-page .notification-row{align-items:flex-start;flex-wrap:wrap;padding:14px}.notifications-page .notification-open{flex-basis:100%}.notifications-page .notification-read{margin-left:44px}.notification-open{gap:10px}.topbar-brand{min-height:44px}}
