.feat-topbar-panel-notifications {
    width: min(92vw, 380px);
    min-width: 320px;
    padding: 0 !important;
    overflow: hidden;
  }

  body.feat-shell #featTopbarNotifications[hidden],
  body.feat-shell #featTopbarNotifications:not([data-feat-topbar-panel-open="1"]):not(.is-open) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .feat-topbar-panel-notifications--viewport {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 72px) !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: min(72vh, 560px) !important;
    overflow-y: auto !important;
    z-index: 2147483000 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  body.feat-shell.feat-app-shell .feat-topbar-panel-notifications[data-feat-topbar-panel-open="1"],
  body.feat-shell[data-feat-native-app="1"] .feat-topbar-panel-notifications[data-feat-topbar-panel-open="1"],
  body.feat-shell.feat-notifications-panel-open .feat-topbar-panel-notifications.is-open,
  body.feat-shell.feat-notifications-panel-open #featTopbarNotifications,
  body.feat-shell #featTopbarNotifications[data-feat-topbar-panel-open="1"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 72px) !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: min(74vh, 580px) !important;
    overflow: hidden !important;
    z-index: 2147483000 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  body.feat-shell #featTopbarNotifications[hidden],
  body.feat-shell #featTopbarNotifications[hidden].feat-topbar-panel-notifications--viewport {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.feat-shell.feat-app-shell .feat-topbar-panel-notifications[data-feat-topbar-panel-open="1"] .feat-notification-panel-chrome,
  body.feat-shell[data-feat-native-app="1"] .feat-topbar-panel-notifications[data-feat-topbar-panel-open="1"] .feat-notification-panel-chrome,
  body.feat-shell.feat-notifications-panel-open .feat-topbar-panel-notifications.is-open .feat-notification-panel-chrome,
  body.feat-shell.feat-notifications-panel-open #featTopbarNotifications .feat-notification-panel-chrome,
  body.feat-shell #featTopbarNotifications[data-feat-topbar-panel-open="1"] .feat-notification-panel-chrome {
    width: 100% !important;
    max-width: none !important;
    max-height: min(74vh, 580px) !important;
    overflow-y: auto !important;
  }

  body.feat-shell.feat-app-shell .feat-pwa-install-button,
  body.feat-shell.feat-app-shell [data-pwa-install-button],
  body.feat-shell[data-feat-native-app="1"] .feat-pwa-install-button,
  body.feat-shell[data-feat-native-app="1"] [data-pwa-install-button],
  .feat-native-app-runtime .feat-pwa-install-button,
  .feat-native-app-runtime [data-pwa-install-button] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .feat-notification-panel-chrome {
    width: min(420px, calc(100vw - 32px));
    max-height: min(70vh, 560px);
    overflow-y: auto;
  }

  .feat-notification-panel-content {
    padding: 16px;
  }

  .feat-primary-nav-cols-1 { --feat-primary-nav-columns: 1; }
  .feat-primary-nav-cols-2 { --feat-primary-nav-columns: 2; }
  .feat-primary-nav-cols-3 { --feat-primary-nav-columns: 3; }
  .feat-primary-nav-cols-4 { --feat-primary-nav-columns: 4; }
  .feat-primary-nav-cols-5 { --feat-primary-nav-columns: 5; }
  .feat-shell-account-context { text-transform: none; }

  @media (min-width: 768px) and (max-width: 1199.98px) {
    body.feat-shell.feat-shell-role-6 .main-header.feat-header.topbar {
      height: auto !important;
      min-height: 8.75rem !important;
    }

    body.feat-shell.feat-shell-role-6 .feat-header-row {
      display: grid !important;
      grid-template-areas:
        "brand actions"
        "nav nav";
      grid-template-columns: auto minmax(0, 1fr);
      grid-template-rows: minmax(4.6rem, auto) minmax(3.2rem, auto);
      align-items: center;
      row-gap: 0;
      min-height: 8.75rem !important;
      overflow: visible;
    }

    body.feat-shell.feat-shell-role-6 .feat-header-brand {
      grid-area: brand;
      min-width: 0;
      width: auto;
    }

    body.feat-shell.feat-shell-role-6 .feat-header-actions {
      grid-area: actions;
      justify-self: end;
      min-width: 0;
      max-width: 100%;
    }

    body.feat-shell.feat-shell-role-6 .feat-primary-nav-region {
      grid-area: nav;
      align-self: stretch;
      min-width: 0;
      width: 100%;
      max-width: 100%;
      margin-left: 0;
      overflow: hidden !important;
    }

    body.feat-shell.feat-shell-role-6 .feat-primary-nav {
      width: 100%;
      max-width: 100%;
      flex-wrap: nowrap;
      justify-content: flex-start;
      overflow-x: auto !important;
      overflow-y: visible !important;
      scrollbar-width: thin;
      scroll-padding-inline: .5rem;
    }

    body.feat-shell.feat-shell-role-6 .feat-primary-nav-group {
      flex: 0 0 auto;
    }
  }

  @media (max-width: 767.98px) {
    body.feat-shell.feat-shell-role-6 .main-header.feat-header.topbar {
      height: auto !important;
      min-height: 6.75rem !important;
    }

    body.feat-shell.feat-shell-role-6 .feat-header-row {
      display: grid !important;
      grid-template-areas:
        "brand"
        "actions";
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: minmax(3.05rem, auto) minmax(2.6rem, auto);
      align-items: center;
      row-gap: .25rem;
      min-height: 6.75rem !important;
      overflow: visible !important;
    }

    body.feat-shell.feat-shell-role-6 .feat-header-brand {
      grid-area: brand;
      width: 100%;
      min-width: 0;
      justify-content: space-between;
    }

    body.feat-shell.feat-shell-role-6 .feat-header-actions {
      grid-area: actions;
      justify-self: stretch;
      width: 100%;
      min-width: 0;
      max-width: 100%;
      justify-content: flex-end;
      overflow-x: auto;
      overflow-y: visible;
      scrollbar-width: thin;
    }

    body.feat-shell.feat-shell-role-6 .feat-header-actions > * {
      flex: 0 0 auto;
    }

    body.feat-shell.feat-shell-role-6 .feat-module-switcher-cta {
      flex: 0 0 auto;
      min-width: 2.18rem;
    }
  }

  .feat-notification-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(239, 68, 68, .35);
  }

  .feat-notification-badge[hidden] {
    display: none !important;
  }

  .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: none !important;
    color: #fff;
    content: "\\2713";
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2rem;
    text-align: center;
  }

  .feat-notification-panel-head,
  .feat-notification-panel-state,
  .feat-notification-list,
  .feat-notification-panel-foot {
    padding-left: 16px;
    padding-right: 16px;
  }

  .feat-notification-panel-head {
    padding-top: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(226, 232, 240, .9);
  }

  .feat-notification-panel-titlebar,
  .feat-notification-panel-meta,
  .feat-notification-item-head,
  .feat-notification-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .feat-notification-panel-titlebar {
    align-items: flex-start;
    margin-bottom: 8px;
  }

  .feat-notification-item-head {
    align-items: flex-start;
  }

  .feat-notification-item-copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .feat-notification-item-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
  }

  .feat-notification-panel-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }

  .feat-notification-panel-titlebar strong,
  .feat-notification-item-title {
    margin: 0;
  }

  .feat-notification-panel-meta {
    align-items: flex-start;
    justify-content: flex-end;
    margin-top: 8px;
  }

  .feat-notification-panel-kicker {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    margin-top: 2px;
  }

  .feat-notification-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
  }

  .feat-notification-action {
    min-height: 44px;
    min-width: 44px;
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 10px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    padding: 0 14px;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
  }

  .feat-notification-action:hover,
  .feat-notification-action:focus-visible {
    border-color: rgba(37, 99, 235, .42);
    color: #1d4ed8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
  }

  .feat-notification-action--primary {
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: #ffffff;
  }

  .feat-notification-action--primary:hover,
  .feat-notification-action--primary:focus-visible {
    background: #1e40af;
    border-color: #1e40af;
    color: #ffffff;
  }

  .feat-notification-action--ghost {
    background: #ffffff;
  }

  .feat-notification-action[disabled] {
    color: #94a3b8;
    cursor: default;
  }

  [data-feat-notification-open],
  [data-feat-notification-mark-one] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
  }

  .feat-notification-panel-state {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .feat-notification-panel-state p,
  .feat-notification-item-body,
  .feat-notification-item-meta {
    margin: 0;
  }

  .feat-notification-list {
    list-style: none;
    margin: 0;
    padding: 10px 16px 12px;
    max-height: min(420px, 56vh);
    overflow-y: auto;
    display: grid;
    gap: 10px;
  }

  .feat-notification-item + .feat-notification-item {
    border-top: 0;
  }

  .feat-notification-item {
    border: 1px solid rgba(226, 232, 240, .92);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
  }

  .feat-notification-item.is-unread {
    border-color: rgba(37, 99, 235, .28);
    background: #f8fbff;
  }

  .feat-notification-item-link {
    display: block;
    padding: 14px 0 10px;
    color: inherit;
    text-decoration: none;
  }

  .feat-notification-item-link:hover .feat-notification-item-title {
    color: #1d4ed8;
  }

  .feat-notification-item-title {
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .feat-notification-item-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    flex: 0 0 9px;
    background: #2563eb;
  }

  .feat-notification-item-body {
    color: #475569;
    font-size: 13px;
    line-height: 1.45;
    margin-top: 4px;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .feat-notification-item-meta {
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
  }

  .feat-notification-status-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    margin-top: 10px;
  }

  .feat-notification-item-actions {
    align-items: stretch;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 128px;
  }

  .feat-notification-item-actions .feat-notification-item-meta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .feat-notification-panel-foot {
    padding-top: 12px;
    padding-bottom: 14px;
    border-top: 1px solid rgba(226, 232, 240, .9);
    background: #f8fafc;
  }

  .feat-notification-panel-foot p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
  }

  @media (max-width: 560px) {
    .feat-topbar-panel-notifications {
      min-width: 0;
      width: min(94vw, 360px);
      right: -8px;
    }

    .feat-topbar-panel-notifications--viewport {
      top: calc(env(safe-area-inset-top, 0px) + 70px) !important;
      right: 10px !important;
      left: 10px !important;
      width: auto !important;
      max-height: min(74vh, 580px) !important;
    }

    body.feat-shell.feat-app-shell .feat-topbar-panel-notifications[data-feat-topbar-panel-open="1"],
    body.feat-shell[data-feat-native-app="1"] .feat-topbar-panel-notifications[data-feat-topbar-panel-open="1"],
    body.feat-shell.feat-notifications-panel-open .feat-topbar-panel-notifications.is-open,
    body.feat-shell.feat-notifications-panel-open #featTopbarNotifications,
    body.feat-shell #featTopbarNotifications[data-feat-topbar-panel-open="1"] {
      top: calc(env(safe-area-inset-top, 0px) + 70px) !important;
      right: 10px !important;
      left: 10px !important;
      width: auto !important;
      max-height: min(76vh, 590px) !important;
    }

    .feat-notification-panel-titlebar,
    .feat-notification-panel-meta,
    .feat-notification-item-head,
    .feat-notification-item-actions {
      align-items: stretch;
      flex-direction: column;
    }

    .feat-notification-panel-content {
      padding: 14px !important;
    }

    .feat-notification-action {
      width: 100%;
      white-space: normal;
    }

    body.feat-shell #featTopbarNotifications[data-feat-topbar-panel-open="1"] {
      border: 1px solid rgba(219, 228, 240, 0.95) !important;
      border-radius: 18px !important;
      background: #ffffff !important;
      box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22) !important;
      overflow: hidden !important;
    }

    body.feat-shell #featTopbarNotifications[data-feat-topbar-panel-open="1"] [data-feat-notifications-root] {
      padding: 0.85rem !important;
    }

    body.feat-shell #featTopbarNotifications[data-feat-topbar-panel-open="1"] [data-feat-notifications-body] {
      max-height: calc(76vh - 126px);
      overflow-y: auto;
    }

    body.feat-shell #featTopbarNotifications[hidden],
    body.feat-shell #featTopbarNotifications[hidden].feat-topbar-panel-notifications--viewport {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }
  }
