.notification-bell {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 44px;
}
.notification-bell[hidden], .notification-panel[hidden], .notification-bell-count[hidden], .notification-panel-header [hidden] { display: none !important; }

/* The circular header actions have their own geometry. */
:is(#catalogMapHome,[data-outlo-home-mobile]),
#notificationBellButton {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--line, #dde4ee);
  border-radius: 50%;
  background: var(--surface, #fff);
  color: #464b66;
  box-shadow: 0 3px 12px rgb(25 37 74 / 8%);
  transform: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
/* Shared account-control states override the map header's legacy important rules. */
:is(#notificationBellButton, #userMenuButton):is(:hover, :focus-visible, [aria-expanded="true"]) {
  background: var(--outlo-brand-soft, #eef2ff) !important;
  border-color: var(--accent-line, #c7d2fe) !important;
  color: var(--outlo-brand-text-hover, #3730a3);
  box-shadow: 0 0 0 3px rgb(99 102 241 / 8%), 0 3px 10px rgb(25 37 74 / 7%) !important;
  transform: none;
}
.notification-bell-icon { display: grid; place-items: center; }
.notification-bell-icon svg { display: block; width: var(--outlo-icon-lg, 20px); height: var(--outlo-icon-lg, 20px); stroke-width: var(--outlo-icon-stroke, 1.8); }
#notificationBellCount {
  position: absolute;
  top: -6px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #e23b62;
  color: #fff;
  box-shadow: 0 2px 7px rgb(159 18 57 / 22%);
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
#notificationBellCount, #userMenuBadge { transition: background-color .16s ease, box-shadow .16s ease; }
#notificationBellButton:is(:hover, :focus-visible, [aria-expanded="true"]) #notificationBellCount,
#userMenuButton:is(:hover, :focus-visible, [aria-expanded="true"]) #userMenuBadge {
  background: #ce2b52 !important;
  border-color: #fecdd3;
  color: #fff !important;
  font-weight: 850;
  box-shadow: 0 2px 8px rgb(159 18 57 / 30%) !important;
}

#notificationPanel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 1100;
  width: min(420px, calc(100vw - 24px));
  max-height: min(680px, 72dvh);
  display: flex;
  flex-direction: column;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #dde4ee);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgb(28 36 68 / 16%), 0 3px 10px rgb(28 36 68 / 5%);
  overflow: hidden;
  overscroll-behavior: contain;
  color: #232a42;
  animation: notification-enter .16s ease-out;
}
.notification-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: none;
  padding: 10px 12px 10px 18px;
  border-bottom: 1px solid #e8ebf2;
  background: #fff;
}
.notification-panel-heading, .notification-panel-actions { display: flex; align-items: center; gap: 8px; min-width: 0; }
.notification-panel-heading h2 { margin: 0; font-size: 16px; font-weight: 750; line-height: 1.3; }
#notificationPanelCount { padding: 3px 7px; border-radius: 999px; background: var(--outlo-brand-soft, #eef2ff); color: var(--outlo-brand-text, #4338ca); font-size: 11px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.notification-panel-actions { margin-left: auto; }
#notificationPanelClose {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #687187;
  cursor: pointer;
  box-shadow: none;
  transform: none;
  transition: background-color .16s ease, color .16s ease;
}
#notificationPanelClose:hover { background: var(--accent-soft, #eef2ff); color: var(--outlo-brand-text-hover, #3730a3); }
.notification-panel-items { overflow: auto; min-height: 80px; overscroll-behavior: contain; overflow-anchor: none; padding: 0 0 8px; scrollbar-width: thin; }
.notification-scroll-frame { display: contents; }
#notificationScrollHint { display: none; }
.notification-panel .notification-group-title { margin: 0; padding: 12px 18px 6px; font-size: 12px; font-weight: 650; line-height: 1.4; letter-spacing: 0; color: #687187; }
.notification-panel .notification-group-title:not(:first-child) { margin-top: 4px; border-top: 1px solid #edf0f5; }
.notification-item, .notification-skeleton-row { --notification-visual-size: 36px; --notification-row-gap: 10px; --notification-row-inset: 18px; }
.notification-item.has-media, .notification-skeleton-row.has-media { --notification-visual-size: 64px; }
.notification-panel .notification-item, .notification-item.is-preview {
  position: relative;
  display: grid;
  grid-template-columns: var(--notification-visual-size) minmax(0, 1fr);
  align-items: start;
  justify-content: stretch;
  gap: var(--notification-row-gap);
  width: 100%;
  min-height: 64px;
  padding: 10px var(--notification-row-inset);
  border: 0;
  border-radius: 0;
  background: #fff;
  color: inherit;
  text-align: left;
  font: inherit;
  box-shadow: none;
  transform: none;
  cursor: pointer;
  transition: background-color .16s ease;
}
.notification-panel .notification-item.is-unread { background: color-mix(in srgb, var(--accent, #4f46e5) 4%, #fff); }
.notification-panel .notification-item:is(:hover, :focus-visible) { background: #f1f2f7; box-shadow: none; transform: none; }
.notification-panel .notification-item.is-unread:is(:hover, :focus-visible) { background: color-mix(in srgb, var(--accent, #4f46e5) 7%, #fff); }
.notification-panel .notification-item + .notification-item::before { content: ""; position: absolute; top: 0; left: calc(var(--notification-row-inset) + var(--notification-visual-size) + var(--notification-row-gap)); right: var(--notification-row-inset); border-top: 1px solid rgb(104 113 135 / 9%); }
.notification-item-visual { display: grid; place-items: center; width: var(--notification-visual-size); height: var(--notification-visual-size); margin-top: 1px; border-radius: 8px; background: color-mix(in srgb, var(--accent, #4f46e5) 6%, #fff); color: var(--accent, #4f46e5); overflow: hidden; }
.notification-item--saved_event_cancelled .notification-item-visual { background: var(--danger-soft, #fef2f2); color: #be123c; }
.notification-item--saved_event_cancelled .notification-item-kind { color: #be123c; }
.notification-item-visual.has-image { background: #f2f4f8; }
.notification-item-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.notification-item-visual svg { width: 18px; height: 18px; }
.notification-item.has-media .notification-item-visual svg { width: 22px; height: 22px; }
.notification-item-content { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.notification-item-meta { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 3px 10px; min-width: 0; }
.notification-item-kind { color: #687187; font-size: 12px; font-weight: 600; line-height: 1.4; }
.notification-item-time { margin: 0 0 0 auto; color: #687187; font-size: 12px; font-weight: 400; line-height: 1.4; white-space: nowrap; font-variant-numeric: tabular-nums; }
.notification-item-title { font-size: 14px; font-weight: 600; line-height: 1.35; color: #232a42; overflow-wrap: anywhere; }
.notification-item-body { font-size: 13px; font-weight: 400; line-height: 1.4; color: #616b7e; overflow-wrap: anywhere; }
.notification-item-title, .notification-item-body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.notification-item-body { -webkit-line-clamp: 1; }
.notification-item.is-preview { cursor: default; border: 1px solid #e5e7f0; border-radius: 8px; }
.notification-item.is-preview.is-unread { background: color-mix(in srgb, var(--accent, #4f46e5) 4%, #fff); }
.notification-item[aria-busy="true"] { opacity: .65; cursor: wait; }
.notification-empty { display: grid; justify-items: center; gap: 8px; padding: 30px 28px; color: #687187; text-align: center; }
.notification-empty > svg { width: 28px; height: 28px; margin-bottom: 6px; color: var(--accent, #4f46e5); }
.notification-empty strong { font-size: 14px; font-weight: 650; color: #283049; }
.notification-empty span { max-width: 260px; font-size: 13px; line-height: 1.5; }
.notification-skeleton { display: grid; padding: 12px 0 0; }
.notification-skeleton-row { display: grid; grid-template-columns: var(--notification-visual-size) minmax(0, 1fr); grid-template-rows: 17px 20px minmax(19px, auto); align-items: start; gap: 2px var(--notification-row-gap); padding: 10px var(--notification-row-inset); }
.notification-skeleton-row > span { height: 12px; margin-top: 3px; border-radius: 4px; background: #eceef5; animation: notification-pulse 1.6s ease-in-out infinite alternate; }
.notification-skeleton-row .notification-skeleton-visual { grid-row: 1 / 4; height: var(--notification-visual-size); margin-top: 1px; border-radius: 8px; }
.notification-skeleton-meta { width: 55%; }
.notification-skeleton-title { width: 90%; }
.notification-skeleton-body { width: 72%; }
.notification-panel .notification-error { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin: 12px 16px; padding: 10px 12px; border: 1px solid #f1d5db; border-radius: 8px; background: #fff5f6; color: #8a303d; font-size: 13px; line-height: 1.45; }
.notification-panel .notification-error :is(button, a) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; border-radius: 4px; background: transparent; color: #8a303d; font: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transform: none; box-shadow: none; }
.notification-panel .notification-location-note { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 -8px; padding: 10px 18px 4px; border-top: 1px solid #e8ebf2; background: #f7f8fc; color: #616b7e; font-size: 12px; line-height: 1.5; }
.notification-location-note > svg { flex: 0 0 18px; margin-top: 2px; color: var(--accent, #4f46e5); }
.notification-location-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.notification-location-copy a { display: inline-flex; align-items: center; min-height: 44px; margin-top: -2px; color: var(--outlo-brand-text, #4338ca); font-weight: 650; text-decoration: none; }
.notification-location-copy a:hover { text-decoration: underline; text-underline-offset: 3px; }
#notificationPanel :focus-visible, #notificationBellButton:focus-visible { outline: 2px solid var(--accent, #4f46e5); outline-offset: 2px; }
#notificationPanel .notification-item:focus-visible { outline-offset: -3px; }
/* The account menu is shared by the map, administration and organizer workspace. */
:is(.topbar.app-topbar, .admin-modern) #userMenuPanel {
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  width: min(300px, calc(100vw - 48px));
  min-width: 0;
  max-height: calc(100dvh - 88px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border: 1px solid #e3e9ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px #142b461c;
}
:is(.topbar.app-topbar, .admin-modern) #userMenuPanel .menu-item {
  display: grid;
  align-items: center;
  width: 100%;
  height: 40px;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #172536;
  box-shadow: none;
  transform: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  text-align: left;
  text-decoration: none;
}
:is(.topbar.app-topbar, .admin-modern) #userMenuPanel .menu-item:is(:hover, :focus-visible) { background: #f5f5ff; color: #172536; }
:is(.topbar.app-topbar, .admin-modern) #userMenuPanel .menu-item.active { background: #eef2ff; color: var(--outlo-brand-text, #4338ca); }
:is(.topbar.app-topbar, .admin-modern) #userMenuPanel .menu-item.danger-menu:is(:hover, :focus-visible) { background: #fff1f2; color: #b42336; }
#menuNotifications { display: none !important; }
@media (max-width: 1050px) {
  #notificationBell:not([hidden]) { flex: 0 0 0; width: 0; min-width: 0; }
  #notificationBellButton { display: none !important; }
  #menuNotifications { display: grid !important; }
  .topbar.app-topbar:has(#notificationPanel:not([hidden])) { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  #notificationPanel { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-height: min(85dvh, 720px); padding-bottom: env(safe-area-inset-bottom, 0px); border-radius: 18px 18px 0 0; box-shadow: 0 -12px 35px rgb(27 33 67 / 18%); animation: notification-mobile-enter .16s ease-out; }
}
@media (max-width: 720px), (pointer: coarse) {
  :is(.topbar.app-topbar, .admin-modern) #userMenuPanel .menu-item { height: 44px; min-height: 44px; }
}
@keyframes notification-enter { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes notification-pulse { to { opacity: .45; } }
@media (max-width: 640px) {
  .topbar.app-topbar:has(#notificationBell:not([hidden])) .top-actions { gap: 6px !important; }
  .topbar.app-topbar:has(#notificationBell:not([hidden])) #userMenu { margin-left: 0; }
  /* A backdrop filter otherwise makes the header the fixed sheet's containing block. */
  .topbar.app-topbar:has(#notificationPanel:not([hidden])) { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  #notificationPanel { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-height: min(85dvh, 720px); padding-bottom: env(safe-area-inset-bottom, 0px); border-radius: 18px 18px 0 0; box-shadow: 0 -12px 35px rgb(27 33 67 / 18%); animation: notification-mobile-enter .16s ease-out; }
  .notification-panel-header { padding: 8px 10px 8px 16px; gap: 6px; }
  .notification-panel-heading { flex-wrap: wrap; gap: 4px 8px; }
  .notification-panel :is(.notification-item, .notification-skeleton-row) { --notification-row-inset: 16px; }
  .notification-panel .notification-group-title { padding-inline: 16px; }
}
@keyframes notification-mobile-enter { from { opacity: .7; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  #notificationPanel, #notificationBellButton, .notification-panel .notification-item, .notification-bell-icon svg, #notificationBellCount, #userMenuBadge, .notification-skeleton-row > span { animation: none; transition: none; }
}
/* Bell panel presentation; shared administration previews and news details stay unchanged. */
#notificationBell {
  --notification-panel-paper: #f2f4fb;
  --notification-panel-glow: rgb(111 89 226 / 6%);
  --notification-panel-glow-height: 480px;
  --notification-panel-muted: #58657b;
}
#notificationPanel {
  background-color: var(--notification-panel-paper);
  background-image: radial-gradient(ellipse at 100% 0%, var(--notification-panel-glow), transparent 70%);
  background-position: center top;
  background-size: 100% var(--notification-panel-glow-height);
  background-repeat: no-repeat;
  border-color: #e3dfee;
  box-shadow: 0 20px 52px rgb(36 25 82 / 18%), 0 4px 12px rgb(36 25 82 / 7%);
}
#notificationPanel .notification-panel-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 56px;
  padding: 6px 8px 6px 16px;
  background: transparent;
  border-bottom: 0;
  box-shadow: inset 0 -1px 0 #eeebf3;
}
#notificationPanel .notification-panel-header::before,
#notificationPanel .notification-panel-header::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -110px;
  right: 60px;
  width: 148px;
  height: 148px;
  border: 2px solid rgb(101 80 201 / 13%);
  border-radius: 50%;
  pointer-events: none;
}
#notificationPanel .notification-panel-header::after { top: -65px; right: 88px; width: 92px; height: 92px; border-width: 6px; border-color: rgb(101 80 201 / 7%); }
#notificationPanel .notification-panel-header > * { position: relative; z-index: 1; }
#notificationPanel .notification-panel-heading { flex-wrap: wrap; gap: 6px 12px; }
#notificationPanel .notification-panel-heading h2 { color: #302452; font-size: 22px; font-weight: 700; letter-spacing: -.025em; }
#notificationPanelCount { background: var(--outlo-brand-soft, #eef2ff); color: var(--outlo-brand-text, #4338ca); }
#notificationPanelClose { color: #81778f; border-radius: 12px; }
#notificationPanelClose svg { width: var(--outlo-icon-lg, 20px); height: var(--outlo-icon-lg, 20px); stroke-width: var(--outlo-icon-stroke, 1.8); }
#notificationPanelClose:is(:hover, :focus-visible) { background: var(--outlo-brand-soft, #eef2ff); color: var(--outlo-brand-text-hover, #3730a3); }
#notificationPanel #notificationPanelClose:focus-visible { outline-color: var(--outlo-brand-accent, #4f46e5); }
#notificationPanel .notification-panel-items {
  padding: 0 8px 12px;
  background: transparent;
  scrollbar-color: #d0cadb transparent;
  scrollbar-gutter: stable;
}
#notificationPanel .notification-panel-items:hover { scrollbar-color: #aaa0bc transparent; }
#notificationPanel .notification-panel-footer {
  display: flex;
  flex: none;
  justify-content: flex-end;
  padding-inline: 8px 12px;
  border-top: 1px solid #e8e2f5;
}
#notificationPanelSettings {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 8px;
  border-radius: 8px;
  color: var(--outlo-brand-text, #4338ca);
  font-size: 13px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#notificationPanelSettings:is(:hover, :focus-visible) { background: var(--outlo-brand-soft, #eef2ff); }
#notificationPanelSettings:focus-visible { outline: 2px solid var(--outlo-brand-accent, #4f46e5); outline-offset: -2px; }
/* Custom Chromium/WebKit scrollbars omit native arrows; other browsers keep the thin native fallback. */
@supports selector(::-webkit-scrollbar) {
  #notificationPanel .notification-panel-items,
  #notificationPanel .notification-panel-items:hover { scrollbar-width: auto; scrollbar-color: auto; }
  #notificationPanel .notification-panel-items::-webkit-scrollbar { width: 6px; height: 6px; }
  #notificationPanel .notification-panel-items::-webkit-scrollbar-track { background: transparent; }
  #notificationPanel .notification-panel-items::-webkit-scrollbar-thumb { border-radius: 6px; background: #d0cadb; }
  #notificationPanel .notification-panel-items:hover::-webkit-scrollbar-thumb { background: #aaa0bc; }
  #notificationPanel .notification-panel-items::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
}
#notificationPanel .notification-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 8px 7px;
  border: 0;
  color: #65558e;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: .055em;
  text-transform: uppercase;
}
#notificationPanel .notification-group-title::after { content: ""; flex: 1; height: 1px; background: #eeebf3; }
#notificationPanel .notification-group-title:not(:first-child) { margin-top: 0; padding-top: 13px; }
#notificationPanel :is(.notification-item, .notification-skeleton-row) {
  --notification-visual-size: 56px;
  --notification-row-gap: 12px;
  --notification-row-inset: 18px;
  --notification-row-padding: 12px;
}
#notificationPanel .notification-item {
  align-items: start;
  min-height: 76px;
  padding-block: var(--notification-row-padding);
  padding-right: 22px;
  border: 0;
  border-radius: 6px;
  background: transparent;
}
#notificationPanel .notification-item-new {
  position: absolute;
  /* The permanent left gutter keeps all thumbnails aligned, with or without a dot. */
  top: calc(var(--notification-row-padding) + 2px + var(--notification-visual-size) / 2);
  left: 5px;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--outlo-brand-accent, #4f46e5);
  pointer-events: none;
}
#notificationPanel .notification-item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 9px;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  color: #958aa9;
  opacity: .45;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
#notificationPanel .notification-item:is(:hover, :focus-visible)::after { color: var(--accent, #4f46e5); opacity: 1; }
#notificationPanel .notification-item.is-unread { background: #e7eaff; }
#notificationPanel .notification-item:is(:hover, :focus-visible) { background: #f7f5fc; }
#notificationPanel .notification-item.is-unread:is(:hover, :focus-visible) { background: #dfe4ff; }
#notificationPanel .notification-item + .notification-item::before { left: calc(var(--notification-row-inset) + var(--notification-visual-size) + var(--notification-row-gap)); border-top-color: #eeebf3; }
#notificationPanel .notification-item-visual {
  margin-top: 2px;
  border-radius: 10px;
  background: var(--outlo-brand-soft, #eef2ff);
  color: var(--outlo-brand-accent, #4f46e5);
  box-shadow: inset 0 0 0 1px rgb(83 59 147 / 7%);
}
#notificationPanel .notification-item--saved_event_cancelled .notification-item-visual { background: var(--danger-soft, #fef2f2); color: #be123c; }
#notificationPanel .notification-item-visual.has-image { background: #f2eefb; }
#notificationPanel .notification-item-visual svg { display: block; width: var(--outlo-icon-xl, 24px); height: var(--outlo-icon-xl, 24px); stroke-width: var(--outlo-icon-stroke, 1.8); }
#notificationPanel .notification-item-content { gap: 4px; }
/* The title leads; source and time stay available as quiet supporting metadata. */
#notificationPanel .notification-item-meta { order: 3; align-items: baseline; justify-content: flex-start; flex-wrap: wrap; gap: 2px 8px; margin-top: 1px; color: var(--notification-panel-muted); font-size: 12px; font-weight: 500; line-height: 16px; }
#notificationPanel .notification-item-kind { flex: 0 0 auto; color: inherit; font: inherit; white-space: nowrap; }
#notificationPanel .notification-item--saved_event_cancelled .notification-item-kind { color: #be123c; }
#notificationPanel .notification-item-time { display: block; flex: 0 0 auto; margin: 0; color: inherit; font: inherit; }
/* An inline separator preserves the shared text baseline. */
#notificationPanel .notification-item-time::before { content: ""; display: inline-block; width: 10px; height: 1px; margin-right: 8px; vertical-align: middle; background: #b3a8c4; }
#notificationPanel .notification-item-title { color: #241b3e; font-size: 15px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
#notificationPanel .notification-item-body { order: 1; color: #655f73; font-size: 13px; line-height: 1.45; -webkit-line-clamp: 2; }
#notificationPanel .notification-item-reason {
  order: 2;
  color: var(--notification-panel-muted);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
#notificationPanel .notification-skeleton-visual { border-radius: 10px; }
#notificationPanel .notification-empty { padding: 28px 20px; gap: 10px; }
#notificationPanel .notification-empty > svg { box-sizing: content-box; width: 30px; height: 30px; padding: 16px; border-radius: 18px; background: var(--outlo-brand-soft, #eef2ff); color: var(--outlo-brand-accent, #4f46e5); }
#notificationPanel .notification-empty strong { color: #201940; font-size: 16px; }
#notificationPanel .notification-empty span { color: #685c87; font-size: 14px; }
#notificationPanel .notification-location-note { margin: 12px -8px -12px; padding: 12px 16px 6px; background: #f5f2fc; border-top-color: #e8e2f5; }
@media (min-width: 1051px) {
  #notificationPanel { width: min(440px, calc(100vw - 32px)); max-height: min(600px, calc(100dvh - 112px)); border-radius: 16px; }
  #notificationBell.is-open::after {
    content: "";
    position: absolute;
    z-index: 1101;
    top: calc(100% + 2px);
    right: 12px;
    width: 20px;
    height: 11px;
    /* A real triangle cannot expose a square while the panel fades in. */
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    background-color: var(--notification-panel-paper);
    background-image: linear-gradient(var(--notification-panel-glow), var(--notification-panel-glow));
    animation: notification-enter .16s ease-out both;
    pointer-events: none;
  }
}
@media (max-width: 1120px) {
  #notificationBell {
    --notification-panel-glow: rgb(111 89 226 / 5%);
    --notification-panel-glow-height: 440px;
  }
}
@media (forced-colors: active) {
  #notificationBell { --notification-panel-paper: Canvas; --notification-panel-glow: transparent; --notification-panel-muted: CanvasText; }
  #notificationPanel { background: Canvas; }
  #notificationPanel .notification-item.is-unread { outline: 1px solid Highlight; outline-offset: -1px; }
  #notificationPanel .notification-item-new { background: Highlight; forced-color-adjust: none; }
}
@media (max-width: 1050px) {
  #notificationPanel { max-height: min(78dvh, 600px); box-shadow: 0 -8px 30px rgb(33 29 61 / 16%); }
}
@media (max-width: 640px) {
  #notificationPanel .notification-panel-header { min-height: 56px; padding: 6px 8px 6px 16px; }
  #notificationPanel .notification-panel-heading h2 { font-size: 21px; }
  #notificationPanel :is(.notification-item, .notification-skeleton-row) { --notification-visual-size: 48px; --notification-row-gap: 10px; --notification-row-padding: 11px; }
  #notificationPanel .notification-item { min-height: 74px; }
  #notificationPanel .notification-item-visual { border-radius: 10px; }
  #notificationPanel .notification-item-visual svg { width: var(--outlo-icon-xl, 24px); height: var(--outlo-icon-xl, 24px); }
}
@media (prefers-reduced-motion: reduce) {
  #notificationBell.is-open::after { animation: none; }
}

/* News detail: isolated from the shared bell/list and the administration composer. */
body dialog.notification-news-dialog {
  --news-inset: 30px;
  box-sizing: border-box;
  width: min(720px, calc(100vw - 40px));
  max-width: none;
  max-height: min(90dvh, 900px);
  margin: auto;
  padding: 0;
  border: 1px solid #e0dcf0;
  border-radius: 24px;
  background: #fff;
  color: #252337;
  box-shadow: 0 30px 90px rgb(30 25 53 / 23%), 0 4px 16px rgb(30 25 53 / 8%);
  overflow: hidden;
}
.notification-news-dialog[open] { display: flex; flex-direction: column; }
@media (min-width: 900px) {
  body dialog.notification-news-dialog--expanded { width: min(1000px, calc(100vw - 40px)); }
}
body dialog.notification-news-dialog::backdrop { background: rgb(26 23 42 / 40%); backdrop-filter: blur(4px); }
.notification-news-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: none;
  padding: 18px var(--news-inset);
  border: 0;
  border-bottom: 1px solid #ebe7f7;
  background: linear-gradient(110deg, #f4f0ff, #f5f7ff 65%, #fafaff);
}
.notification-news-header::before { content: ''; position: absolute; z-index: -1; width: 200px; height: 200px; right: 70px; top: -150px; border: 28px solid rgb(108 86 225 / 5%); border-radius: 50%; pointer-events: none; }
.notification-news-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.notification-news-identity-text { display: grid; gap: 3px; min-width: 0; }
.notification-news-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid #ddd5fb; border-radius: 13px; background: #fff9; color: var(--outlo-brand-accent, #4f46e5); box-shadow: 0 2px 5px #53419a06; }
.notification-news-icon svg { display: block; width: var(--outlo-icon-lg, 20px); height: var(--outlo-icon-lg, 20px); }
.notification-news-label { color: var(--outlo-brand-text, #4338ca); font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.notification-news-date { color: #7a718f; font-size: 12px; font-weight: 400; line-height: 1.4; }
.notification-news-dialog .notification-dialog-close,
.notification-lightbox .notification-dialog-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #656074;
  box-shadow: none;
  cursor: pointer;
  transform: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.notification-news-dialog .notification-dialog-close:hover,
.notification-lightbox .notification-dialog-close:hover { border-color: var(--outlo-brand-border, #c7d2fe); background: var(--outlo-brand-soft, #eef2ff); color: var(--outlo-brand-text-hover, #3730a3); box-shadow: none; transform: none; }
.notification-news-dialog .notification-dialog-close { margin-right: -8px; background: #fff9; border-color: #e7e2f4; border-radius: 13px; }
.notification-news-content { flex: 1 1 auto; padding: 26px var(--news-inset) 30px; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d9d3e9 transparent; }
.notification-news-dialog .notification-news-content h2 { margin: 0; max-width: 30ch; color: #27223c; font-size: 29px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; overflow-wrap: anywhere; }
.notification-news-body { margin: 14px 0 0; color: #696276; font-size: 15px; font-weight: 400; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.notification-news-layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 24px; margin-top: 24px; }
.notification-news-media { min-width: 0; }
.notification-news-media--gallery { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px; }
.notification-news-dialog .notification-news-media--gallery .notification-news-image { width:100%; }
.notification-news-media--gallery .notification-news-image img { width:100%;height:160px;max-height:none;object-fit:contain; }
.notification-news-dialog .notification-news-image { position: relative; display: block; width: 100%; max-width: 100%; min-height: 0; margin: 0 auto; padding: 8px; border: 1px solid #e8e4f2; border-radius: 16px; background: #f7f5fc; overflow: hidden; cursor: pointer; box-shadow: none; transform: none; transition: border-color .15s ease; }
.notification-news-dialog .notification-news-image:hover { border-color: #b8b0eb; background: #f7f5fc; box-shadow: none; transform: none; }
/* Preserve the complete artwork; enlarging it never reveals a cropped surprise. */
.notification-news-image img { display: block; width: 100%; height: auto; max-width: 100%; max-height: 280px; border-radius: 9px; object-fit: contain; }
.notification-news-update { min-width: 0; }
.notification-news-dialog .notification-news-update-label { margin: 0 0 12px; color: #81758f; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .025em; text-transform: none; }
.notification-news-changes { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: news-change; }
.notification-news-change { position: relative; min-width: 0; margin: 0; padding: 17px 18px 17px 54px; border: 1px solid #ece8f4; border-radius: 14px; background: linear-gradient(110deg, #faf9ff, #fff); counter-increment: news-change; }
.notification-news-change::before { content: counter(news-change, decimal-leading-zero); position: absolute; top: 17px; left: 15px; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #e7e0f8; border-radius: 8px; background: #f1ecff; color: var(--outlo-brand-text, #4338ca); font-size: 10px; font-weight: 500; font-variant-numeric: tabular-nums; }
.notification-news-dialog .notification-news-change-title { margin: 0; color: #363047; font-size: 16px; font-weight: 550; line-height: 1.5; overflow-wrap: anywhere; }
.notification-news-change-body { margin: 6px 0 0; color: #71697c; font-size: 14px; font-weight: 400; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .notification-news-layout--split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; }
  .notification-news-layout--split .notification-news-media { position: sticky; top: 0; }
  .notification-news-layout--split .notification-news-image img { max-height: min(38dvh, 300px); }
}
.notification-image-expand { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #e4e2ed; border-radius: 8px; background: #fff; color: var(--outlo-brand-accent, #4f46e5); }
.notification-news-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; margin: 0; padding: 16px var(--news-inset); border: 0; border-top: 1px solid #ece8f4; background: #fcfbff; }
.notification-news-footer a { display: inline-flex; align-items: center; justify-content: center; gap: 12px; max-width: 100%; min-height: 44px; padding: 11px 16px; border: 1px solid #4f46e5; border-radius: 12px; background: #4f46e5; color: #fff; font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; box-shadow: none; transform: none; transition: background-color .15s ease, border-color .15s ease; }
.notification-news-dialog .notification-news-back { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border: 1px solid #e4deef; border-radius: 12px; background: #fff; color: #716780; font-size: 13px; font-weight: 400; line-height: 1.5; box-shadow: none; transform: none; cursor: pointer; }
.notification-news-dialog .notification-news-back:hover { border-color: var(--outlo-brand-border, #c7d2fe); background: var(--outlo-brand-soft, #eef2ff); color: var(--outlo-brand-text-hover, #3730a3); box-shadow: none; transform: none; }
.notification-news-footer a svg { flex: 0 0 16px; }
.notification-news-footer a:hover { border-color: #4338ca; background: #4338ca; color: #fff; text-decoration: none; box-shadow: none; transform: none; }
.notification-news-dialog .notification-image-error { margin: 0; padding: 14px 16px; border: 1px solid #e8e5ef; border-radius: 10px; background: #f7f6fa; color: #575466; }
.notification-image-error{color:#657086;font-size:13px;line-height:1.5;padding:16px 0}
body dialog.notification-lightbox{box-sizing:border-box;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:64px 24px 24px;border:0;border-radius:0;background:transparent;color:#fff;box-shadow:none;overflow:hidden;animation:notification-enter .16s ease-out}
.notification-lightbox[open]{display:flex;align-items:center;justify-content:center}
body dialog.notification-lightbox::backdrop{background:rgb(12 16 27 / 92%);backdrop-filter:none}
.notification-lightbox .notification-dialog-close{position:absolute;top:16px;right:16px;background:#fff;color:#303951}
.notification-lightbox-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.notification-lightbox-step{position:absolute;top:50%;display:grid;place-items:center;width:var(--outlo-control-height,44px);height:var(--outlo-control-height,44px);padding:0;border:1px solid #d6d3e8;border-radius:var(--outlo-control-radius,12px);background:#fff;color:var(--outlo-brand-accent,#4f46e5);font-size:30px;line-height:1;cursor:pointer;transform:translateY(-50%)}
.notification-lightbox .notification-lightbox-step { border-radius:var(--outlo-control-radius,12px); }
.notification-lightbox-previous{left:16px}.notification-lightbox-next{right:16px}
.notification-lightbox-position{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);color:#fff;font-size:13px;font-variant-numeric:tabular-nums}
.notification-lightbox .notification-image-error{color:#fff}
.notification-news-dialog :focus-visible,.notification-lightbox :focus-visible { outline: 2px solid #4f46e5; outline-offset: 3px; }
@media (max-width: 640px) {
  body dialog.notification-news-dialog { --news-inset: 18px; width: calc(100vw - 24px); max-height: calc(100dvh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); border-radius: 20px; }
  .notification-news-header { padding-block: 13px; gap: 10px; }
  .notification-news-content { padding-top: 22px; padding-bottom: 24px; }
  .notification-news-dialog .notification-news-content h2 { font-size: 24px; line-height: 1.3; }
  .notification-news-layout { gap: 22px; margin-top: 20px; }
  .notification-news-image img { max-height: min(26dvh, 180px); }
  .notification-news-media--gallery .notification-news-image img { height:100px;max-height:none; }
  .notification-lightbox-previous{left:8px}.notification-lightbox-next{right:8px}
  .notification-news-footer { flex-wrap: wrap; padding-block: 12px; gap: 8px; }
  .notification-news-footer > :is(a,button) { flex: 1 1 125px; padding-inline: 10px; font-size: 12px; }
  .notification-news-change { padding: 15px 14px 15px 48px; }
  .notification-news-change::before { left: 12px; top: 15px; }
  body dialog.notification-lightbox { padding: 68px 12px 24px; }
}
@media (prefers-reduced-motion: reduce) { body dialog.notification-news-dialog,body dialog.notification-lightbox { animation: none; } .notification-news-dialog :is(button,a),.notification-lightbox button { transition: none; } }
.event-cancellation-dialog{width:min(440px,calc(100vw - 28px));border:1px solid #e2e5ee;border-radius:8px;padding:22px;color:#202842;box-shadow:0 25px 60px rgba(20,27,51,.22)}
.event-cancellation-dialog::backdrop{background:rgba(21,27,48,.48)}
.event-cancellation-dialog h2{font-size:19px;margin:0 0 10px}.event-cancellation-dialog p{font-size:13px;line-height:1.5;color:#4e586d}
.event-cancellation-dialog label{display:grid;gap:6px;font-size:13px;font-weight:650}.event-cancellation-dialog textarea{min-height:86px;padding:9px;border:1px solid #cbd1de;border-radius:6px;font:inherit;resize:vertical}
.event-cancellation-dialog textarea:focus-visible{outline:2px solid #4f46e5;outline-offset:1px;box-shadow:none}
.detail-cancellation-notice{margin:8px 0 14px;padding:10px 12px;background:#fff1f2;border-left:3px solid #be123c;color:#842142;font-size:13px;font-weight:650;line-height:1.45}
.detail-cancellation-notice[hidden]{display:none}
.event-cancellation-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:17px}.event-cancellation-actions button{min-height:var(--outlo-control-height,44px);padding:10px 14px;border-radius:var(--outlo-control-radius,12px);border:1px solid #cbd1de;background:#fff;color:#28324b;font-weight:650;cursor:pointer}.event-cancellation-actions [data-confirm]{background:#b91c1c;border-color:#b91c1c;color:#fff}

/* Applicant request updates share the Studio status language with My requests. */
#notificationPanel .notification-item--profile-request,
.notification-item--profile-request.is-preview {
  --notice-request-ink:#5443ba;--notice-request-wash:#f0edff;--notice-request-edge:#d9d1f8;
  --notification-visual-size:38px;--notification-row-gap:11px;
  gap:var(--notification-row-gap);padding:16px 18px;border:1px solid #e2e4ef;border-radius:13px;background:#fff;
  margin:7px 0;box-sizing:border-box;color:#303b55;
}
#notificationPanel .notification-item--profile-request[data-request-status=approved],
.notification-item--profile-request.is-preview[data-request-status=approved] { --notice-request-ink:#2e684b;--notice-request-wash:#edf7ef;--notice-request-edge:#cfe3d4; }
#notificationPanel .notification-item--profile-request[data-request-status=changes_requested],
.notification-item--profile-request.is-preview[data-request-status=changes_requested] { --notice-request-ink:#845c19;--notice-request-wash:#fff5df;--notice-request-edge:#ead7ac; }
#notificationPanel .notification-item--profile-request[data-request-status=rejected],
.notification-item--profile-request.is-preview[data-request-status=rejected] { --notice-request-ink:#953d50;--notice-request-wash:#fff0f3;--notice-request-edge:#efd0d9; }
#notificationPanel .notification-item--profile-request.is-unread { border-color:var(--notice-request-edge);background:#fff;box-shadow:inset 3px 0 var(--notice-request-ink); }
#notificationPanel .notification-item--profile-request:is(:hover,:focus-visible) { background:#fcfbff;border-color:#c6b9e7; }
#notificationPanel .notification-item--profile-request.is-unread:is(:hover,:focus-visible) { background:#fcfbff; }
#notificationPanel .notification-item--profile-request::after,
#notificationPanel .notification-item--profile-request::before { display:none; }
#notificationPanel .notification-item--profile-request .notification-item-visual,
.notification-item--profile-request.is-preview .notification-item-visual { width:38px;height:38px;border-radius:11px;background:var(--notice-request-wash);color:var(--notice-request-ink);box-shadow:none; }
#notificationPanel .notification-item--profile-request .notification-item-visual svg { width:19px;height:19px; }
#notificationPanel .notification-item--profile-request .notification-item-content,
.notification-item--profile-request.is-preview .notification-item-content { gap:7px;min-width:0; }
#notificationPanel .notification-item--profile-request .notification-item-content > *,
.notification-item--profile-request.is-preview .notification-item-content > * { order:0; }
#notificationPanel .notification-item--profile-request .notification-item-meta { gap:3px 8px; }
#notificationPanel .notification-item--profile-request .notification-item-kind { color:#68758b;font-size:11px;font-weight:500;line-height:1.5; }
#notificationPanel .notification-item--profile-request .notification-item-time { color:#6f7d94;font-size:11px;line-height:1.5; }
.notification-request-status { display:inline-flex;align-items:center;gap:5px;width:fit-content;max-width:100%;box-sizing:border-box;padding:4px 7px;border:1px solid var(--notice-request-edge);border-radius:99px;background:var(--notice-request-wash);color:var(--notice-request-ink);font-size:11px;font-weight:600;line-height:1.4;overflow-wrap:anywhere; }
.notification-request-status svg { display:block;flex:none;width:13px;height:13px; }
#notificationPanel .notification-item--profile-request .notification-item-title,
.notification-item--profile-request.is-preview .notification-item-title { display:block;overflow:visible;-webkit-line-clamp:unset;font-size:14px;font-weight:650;line-height:1.45;letter-spacing:-.01em; }
#notificationPanel .notification-item--profile-request .notification-item-body,
.notification-item--profile-request.is-preview .notification-item-body { -webkit-line-clamp:2;color:#5f6d85;font-size:13px;line-height:1.55; }
.notification-request-hint { display:block;color:#68768e;font-size:12px;font-weight:400;line-height:1.6;overflow-wrap:anywhere; }
.notification-request-action { display:inline-flex;align-items:center;gap:6px;color:var(--outlo-brand-text,#6542c6);font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere; }
.notification-request-action svg { display:block;flex:none;width:15px;height:15px; }
#notificationPanel .notification-item--profile-request .notification-item-new { top:18px;left:5px;transform:none;width:4px;height:4px;background:var(--notice-request-ink); }
@media(max-width:360px) {
  #notificationPanel .notification-item--profile-request { --notification-visual-size:31px;--notification-row-gap:9px;padding:14px 12px; }
  #notificationPanel .notification-item--profile-request .notification-item-visual { width:31px;height:31px;border-radius:9px; }
  #notificationPanel .notification-item--profile-request .notification-item-meta { align-items:flex-start; }
  #notificationPanel .notification-item--profile-request .notification-item-time { margin-left:0; }
}

#notificationPanel .notification-item--compact-change {
  --notification-visual-size: 29px;
  --notification-row-gap: 8px;
  --notification-row-padding: 10px;
  row-gap: 7px;
  border-radius: 9px;
}
#notificationPanel .notification-item--compact-change .notification-item-visual {
  margin-top: 1px;
  border-radius: 7px;
}
#notificationPanel .notification-item--compact-change .notification-item-visual svg {
  width: 17px;
  height: 17px;
}
#notificationPanel .notification-item--compact-change .notification-item-content { gap: 1px; }
#notificationPanel .notification-item--compact-change .notification-item-meta { margin-top: 0; font-size: 11px; }
#notificationPanel .notification-item--compact-change .notification-item-time::before { display: none; }
#notificationPanel .notification-item--compact-change::after {
  top: calc(var(--notification-row-padding) + var(--notification-visual-size) / 2);
}
.notification-item-changes {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  min-width: 0;
}
.notification-change {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  color: #655f73;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.notification-change-label { font-weight: 500; }
.notification-change-date { white-space: nowrap; }
.notification-change-after { color: #241b3e; font-weight: 650; }
.notification-change-pair { display: flex; flex-wrap: wrap; gap: 2px 10px; min-width: 0; }
.notification-change-pair--date,
:is(.notification-item--place-change, .notification-item--time-change) .notification-change-pair { display: grid; }
.notification-change-pair-value {
  display: grid;
  grid-template-columns: 47px minmax(0, 1fr);
  gap: 4px;
  align-items: baseline;
  min-width: 0;
  max-width: 100%;
}
.notification-change-pair-label { font-size: 11px; }

/* Compact inbox only: administration previews keep their existing presentation. */
#notificationBell,
#notificationMobileSheet {
  --notification-panel-paper: #f0f2f8;
  --notification-panel-glow: transparent;
  --notification-panel-muted: #606b82;
}
#notificationPanel { background: var(--notification-panel-paper); border-color: #e4e7ef; }
#notificationBell.is-open::after { background-color: #fff; }
#notificationPanel .notification-panel-header { min-height: 56px; background: #fff; box-shadow: inset 0 -1px 0 #e8eaf1; }
#notificationPanel .notification-panel-header::before,
#notificationPanel .notification-panel-header::after { display: none; }
#notificationPanel .notification-panel-heading h2 { color: #222a3d; font-size: 20px; font-weight: 700; }
#notificationPanel .notification-panel-items { padding: 0 0 8px; }
#notificationPanel .notification-group-title {
  gap: 0;
  padding: 15px 18px 6px;
  color: #606b82;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
#notificationPanel .notification-group-title::after { display: none; }
#notificationPanel .notification-group-title:not(:first-child) { border: 0; padding-top: 15px; }
#notificationPanel .notification-item.is-compact,
#notificationPanel .notification-skeleton-row {
  --notification-visual-size: 34px;
  --notification-row-gap: 11px;
  --notification-row-inset: 18px;
  --notification-row-padding: 11px;
}
#notificationPanel .notification-item.is-compact {
  min-height: 72px;
  gap: var(--notification-row-gap);
  margin: 0;
  padding: var(--notification-row-padding) 26px var(--notification-row-padding) var(--notification-row-inset);
  border: 0;
  border-radius: 0;
  background: var(--notification-panel-paper);
  color: #222a3d;
  box-shadow: none;
}
#notificationPanel .notification-item.is-compact.is-unread {
  --notification-unread-ink: #28324b;
  --notification-unread-accent: #24186e;
  --notification-unread-danger: #65152b;
  --notification-unread-warning: #463008;
  --notification-unread-success: #193c2b;
  --notice-request-ink: var(--notification-unread-accent);
  background: #e2daf6 linear-gradient(105deg, #d1c5f1 0%, #e2daf6 58%, #f0edf9 100%);
}
#notificationPanel .notification-item.is-compact:is(:hover, :focus-visible) { background: #eceff7; box-shadow: none; }
#notificationPanel .notification-item.is-compact.is-unread:is(:hover, :focus-visible) { background: #ddd3f3 linear-gradient(105deg, #c8bcec 0%, #ddd3f3 58%, #eae5f8 100%); }
#notificationPanel .notification-item.is-compact::after { display: none; }
#notificationPanel .notification-item.is-compact + .notification-item.is-compact::before {
  display: block;
  left: calc(var(--notification-row-inset) + var(--notification-visual-size) + var(--notification-row-gap));
  right: 18px;
  border-top-color: #e8eaf1;
}
#notificationPanel .notification-item.is-compact .notification-item-new {
  top: 18px;
  right: 12px;
  left: auto;
  width: 5px;
  height: 5px;
  transform: none;
  background: var(--outlo-brand-accent, #4f46e5);
}
#notificationPanel .notification-item.is-compact .notification-item-visual {
  width: var(--notification-visual-size);
  height: var(--notification-visual-size);
  margin-top: 1px;
  border-radius: 10px;
  background: #f1f0ff;
  color: var(--outlo-brand-accent, #4f46e5);
  box-shadow: none;
}
#notificationPanel .notification-item.is-compact .notification-item-visual svg { width: 18px; height: 18px; }
#notificationPanel .notification-item.is-compact .notification-item-content { gap: 3px; min-width: 0; }
#notificationPanel .notification-item.is-compact .notification-item-content > * { order: 0; }
#notificationPanel .notification-item.is-compact .notification-item-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #222a3d;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0;
}
#notificationPanel .notification-item.is-compact .notification-item-body {
  color: #505b71;
  font-size: 13px;
  line-height: 1.45;
  -webkit-line-clamp: 1;
}
#notificationPanel .notification-item.is-compact.notification-item--profile-request .notification-item-body { -webkit-line-clamp: 2; }
#notificationPanel .notification-item.is-compact .notification-item-meta {
  gap: 2px 6px;
  margin-top: 0;
  color: #606b82;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.5;
}
#notificationPanel .notification-item.is-compact :is(.notification-item-kind, .notification-item-reason, .notification-item-time) {
  order: 0;
  flex: initial;
  min-width: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  white-space: normal;
  overflow-wrap: anywhere;
}
#notificationPanel .notification-item.is-compact .notification-item-time { white-space: nowrap; }
#notificationPanel .notification-item.is-compact .notification-item-reason { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
#notificationPanel .notification-item.is-compact .notification-item-time::before {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 6px;
  border-radius: 50%;
  background: #929aab;
}
#notificationPanel .notification-item.is-compact.notification-item--saved_event_cancelled .notification-item-visual { background: #fff1f4; color: #ad3851; }
#notificationPanel .notification-item.is-compact.notification-item--saved_event_cancelled :is(.notification-item-title, .notification-item-body, .notification-item-kind) { color: #ad3851; }
#notificationPanel .notification-item.is-compact[data-request-status=changes_requested] .notification-item-visual { background: #fff6e6; color: #8c651c; }
#notificationPanel .notification-item.is-compact[data-request-status=changes_requested] .notification-item-title { color: #845c19; }
#notificationPanel .notification-item.is-compact .notification-request-status {
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--notice-request-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
#notificationPanel .notification-item.is-compact .notification-request-hint {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#notificationPanel .notification-item.is-compact .notification-request-action { gap: 5px; font-size: 12px; line-height: 1.5; }
#notificationPanel .notification-item.is-compact .notification-request-action svg { width: 13px; height: 13px; }
#notificationPanel .notification-item.is-compact .notification-item-changes { gap: 5px; }
#notificationPanel .notification-item.is-compact .notification-change { grid-template-columns: auto minmax(0, 1fr); gap: 6px; font-size: 13px; line-height: 1.45; }
#notificationPanel .notification-item.is-compact .notification-change-after { color: var(--outlo-brand-text, #4338ca); }
#notificationPanel .notification-item.is-compact .notification-change-before { color: #606b82; }
#notificationPanel .notification-item.is-compact .notification-change-values { min-width: 0; }
/* New-item tint keeps its text readable without changing geometry. */
#notificationPanel .notification-item.is-compact.is-unread :is(.notification-item-body, .notification-item-meta, .notification-change, .notification-change-before) { color: var(--notification-unread-ink); }
#notificationPanel .notification-item.is-compact.is-unread :is(.notification-change-after, .notification-request-action) { color: var(--notification-unread-accent); }
#notificationPanel .notification-item.is-compact.is-unread .notification-item-new { background: var(--notification-unread-accent); }
#notificationPanel .notification-item.is-compact.is-unread .notification-item-time::before { background: var(--notification-unread-ink); }
#notificationPanel .notification-item.is-compact.is-unread:focus-visible { outline-color: var(--notification-unread-accent); }
#notificationPanel .notification-item.is-compact.is-unread.notification-item--saved_event_cancelled :is(.notification-item-title, .notification-item-body, .notification-item-kind) { color: var(--notification-unread-danger); }
#notificationPanel .notification-item.is-compact.is-unread[data-request-status=approved] { --notice-request-ink: var(--notification-unread-success); }
#notificationPanel .notification-item.is-compact.is-unread[data-request-status=rejected] { --notice-request-ink: var(--notification-unread-danger); }
#notificationPanel .notification-item.is-compact.is-unread[data-request-status=changes_requested] { --notice-request-ink: var(--notification-unread-warning); }
#notificationPanel .notification-item.is-compact.is-unread[data-request-status=changes_requested] .notification-item-title { color: var(--notification-unread-warning); }
#notificationPanel .notification-panel-footer { justify-content: stretch; padding: 5px 14px; background: #fff; border-top-color: #e8eaf1; }
#notificationPanelSettings { width: 100%; padding-inline: 4px; color: #68738a; font-weight: 500; text-decoration: none; }
#notificationPanel .notification-location-note { margin: 8px 0 -8px; padding: 10px 18px 4px; background: var(--notification-panel-paper); border-top-color: #e8eaf1; }
@media (max-width: 640px) {
  #notificationMobileSheet .mobile-menu-header { min-height: 64px; background: #fff; border-bottom-color: #e8eaf1; }
  #notificationMobileSheet .mobile-menu-title { color: #222a3d; font-size: 20px; font-weight: 700; }
  #notificationPanel .notification-empty { padding: 24px 18px; }
}
@media (forced-colors: active) {
  #notificationBell, #notificationMobileSheet { --notification-panel-paper: Canvas; }
  #notificationPanel, #notificationPanel .notification-panel-header,
  #notificationPanel .notification-panel-footer,
  #notificationPanel .notification-item.is-compact { background: Canvas; color: CanvasText; }
  #notificationPanel .notification-item.is-compact.is-unread {
    --notification-unread-ink: CanvasText;
    --notification-unread-accent: CanvasText;
    --notification-unread-danger: CanvasText;
    --notification-unread-warning: CanvasText;
    --notification-unread-success: CanvasText;
    background: Canvas; outline: 1px solid Highlight;
  }
  #notificationPanel .notification-item.is-compact.is-unread:is(:hover, :focus-visible) { background: Canvas; }
  #notificationPanel .notification-item.is-compact .notification-item-new { background: Highlight; }
  #notificationPanel .notification-item.is-compact.is-unread .notification-item-new { background: Highlight; }
}
