#search-tabs .search-tabs__list { max-width: calc(100% - 116px); }
.order-notifications-trigger { position: relative; display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; margin: auto 12px auto auto; padding: 7px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; box-shadow: 0 2px 7px rgba(25,40,60,.05); }
.order-notifications-trigger img { display: block; width: 23px; height: 23px; opacity: .6; }
.order-notifications-trigger:hover, .order-notifications-trigger[aria-expanded="true"] { border-color: var(--accent); background: #fff8f4; }
.order-notifications-trigger.has-unread { border-color: #ffb09a; }
.order-notifications-trigger.has-cancellations { border: 2px solid #dc2626; background: #fff5f5; animation: history-cancellation-pulse 1.8s ease-out infinite; }
.order-notifications-trigger.has-cancellations img { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .order-notifications-trigger.has-cancellations { animation: none; } }
.order-notifications-count { position: absolute; top: -4px; right: -5px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border: 2px solid #fff; border-radius: 12px; background: #d92d20; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; }
.order-notifications-panel { position: fixed; z-index: 1000; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 12px 40px rgba(25,40,60,.16); font-size: 12px; }
.order-notifications-panel[hidden], .order-notifications-panel [hidden], .order-notifications-count[hidden] { display: none !important; }
.order-notifications-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 18px 14px; }
.order-notifications-panel h2 { margin: 0; color: var(--ink); font-size: 18px; font-weight: 800; }
.order-notifications-close { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); font: inherit; font-size: 21px; cursor: pointer; }
.order-notifications-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.order-notifications-toolbar button, .order-notifications-error button, .order-notification-card__expand { padding: 0; border: 0; background: transparent; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; }
.order-notifications-toolbar button:disabled { color: var(--muted); cursor: default; }
.order-notifications-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px; background: #f7f9fb; }
.order-notifications-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.order-notifications-divider { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: #53647a; font-size: 11px; font-weight: 800; }
.order-notifications-divider::before, .order-notifications-divider::after { content: ""; flex: 1; border-top: 2px solid #aebccc; }
.order-notifications-divider.is-unread { color: var(--accent); }
.order-notifications-divider.is-unread::before, .order-notifications-divider.is-unread::after { border-color: #ff9674; }
.order-notification-card { --notice-color: #667085; --notice-surface: #f8f9fb; padding: 13px 14px 12px; border: 1px solid #e4e7ec; border-left: 3px solid var(--notice-color); border-radius: 10px; background: #fff; overflow-wrap: anywhere; }
.order-notification-card--cancelled { --notice-color: #b42318; --notice-surface: #fff3f1; border-color: #f6d8d3; border-left-color: var(--notice-color); }
.order-notification-card--received { --notice-color: #15845f; --notice-surface: #effaf4; border-color: #d3ebdf; border-left-color: var(--notice-color); }
.order-notification-card--missing { --notice-color: #a66500; --notice-surface: #fff8e7; border-color: #f2dfa8; border-left-color: var(--notice-color); }
.order-notification-card.is-unread { background: var(--notice-surface); }
.order-notification-card__heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 7px; }
.order-notification-card__status { color: var(--notice-color); font-size: 12px; font-weight: 800; }
.order-notification-card.is-unread .order-notification-card__status::before { display: inline-block; content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.order-notification-card__supplier { color: var(--muted); font-size: 11px; white-space: nowrap; }
.order-notification-card__number { font-size: 13px; font-weight: 750; }
.order-notification-card__time { display: block; margin-top: 10px; color: var(--muted); font-size: 10px; }
.order-notification-card__note { margin: 9px 0 0; color: var(--notice-color); font-size: 11px; line-height: 1.5; }
.order-notification-products { display: grid; gap: 9px; margin: 10px 0 0; padding: 0; list-style: none; }
.order-notification-products > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding-top: 9px; border-top: 1px solid rgba(120,135,150,.13); }
.order-notification-products strong { font-size: 11px; font-weight: 700; }
.order-notification-products__title { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.order-notification-products__amount { text-align: right; white-space: nowrap; }
.order-notification-products__amount > span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.order-notification-card__expand { margin-top: 10px; font-size: 11px; }
.order-notifications-empty { padding: 30px 18px; color: var(--muted); text-align: center; line-height: 1.7; }
.order-notifications-error { display: flex; align-items: center; gap: 12px; padding: 12px 18px; color: #b42318; background: #fff3f1; line-height: 1.5; }
#order-notifications-more { display: block; margin: 12px auto 2px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.order-notifications-panel button:focus-visible, .order-notifications-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 540px) { .order-notifications-trigger { margin-right: 7px; } .order-notifications-panel > header { padding: 14px; } .order-notifications-scroll { padding: 8px; } }
