/* Shared topbar notice titles; keep the existing header height and design tokens. */
.erp-notification-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--erp-sp-2);
  min-width: 0;
}
.erp-notification-bell { flex-shrink: 0; }
.erp-topbar__brand { flex-shrink: 0; }
.erp-notification-ticker {
  display: flex;
  align-items: center;
  gap: var(--erp-sp-2);
  width: 100%;
  max-width: 640px;
  min-width: 0;
  padding: var(--erp-sp-1) var(--erp-sp-2);
  border: 1px solid var(--erp-gray-20);
  border-radius: var(--erp-radius);
  background: var(--erp-brand-10);
  font-size: var(--erp-fs-sm);
}
.erp-notification-ticker[hidden],
.erp-notification-ticker__toggle[hidden] { display: none; }
.erp-notification-ticker__label {
  display: inline-flex;
  align-items: center;
  gap: var(--erp-sp-1);
  flex-shrink: 0;
  color: var(--erp-brand-80);
  font-weight: 600;
  white-space: nowrap;
}
.erp-notification-ticker__link {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--erp-gray-80);
  text-decoration: none;
}
.erp-notification-ticker__link:hover { text-decoration: underline; }
.erp-notification-ticker__link.is-changing { animation: erp-notice-enter 180ms ease-out; }
.erp-notification-ticker__position {
  flex-shrink: 0;
  color: var(--erp-gray-60);
  font-size: var(--erp-fs-xs);
  font-variant-numeric: tabular-nums;
}
.erp-notification-ticker__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: var(--erp-radius);
  background: transparent;
  color: var(--erp-gray-70);
}
.erp-notification-ticker__toggle:hover { background: var(--erp-surface); }
.erp-notification-ticker__toggle:focus-visible {
  outline: 2px solid var(--erp-brand-60);
  outline-offset: 1px;
}
@keyframes erp-notice-enter {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 991.98px) {
  .erp-notification-ticker { display: none; }
  .erp-notification-slot { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .erp-notification-ticker__link.is-changing { animation: none; }
}
@media print {
  .erp-notification-ticker { display: none; }
}
