/* One visual shell for Northeum's seven primary member screens. */
body { background: #f4f7fb !important; font-family: Inter, Arial, sans-serif !important; }
.beta-banner { position: relative; z-index: 31; padding: 7px 16px; background: #163f74; color: #fff; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.topbar.northeum-shell-header {
  position: sticky !important; top: 0 !important; z-index: 30 !important;
  display: flex !important; align-items: center !important; justify-content: space-between !important;
  gap: 20px !important; min-height: 76px !important; padding: 10px 28px !important;
  border: 0 !important; border-bottom: 1px solid #dce5ef !important;
  background: rgba(255,255,255,.97) !important; color: #102844 !important;
  box-shadow: 0 3px 18px rgba(16,40,68,.04) !important; backdrop-filter: blur(14px);
}
.northeum-shell-header .brand { display: inline-flex !important; align-items: center !important; gap: 10px !important; flex: 0 0 auto; color: #102844 !important; background: transparent !important; text-decoration: none !important; }
.northeum-shell-header .brand-name { display: inline !important; color: #102844 !important; font-size: 19px !important; font-weight: 800 !important; line-height: 1.2; letter-spacing: -.04em; }
.northeum-shell-header .desktop-nav { display: flex !important; align-items: center !important; justify-content: center !important; gap: 2px !important; min-width: 0; }
.northeum-shell-header .desktop-nav .nav-link { display: inline-flex !important; align-items: center; min-height: 40px; padding: 8px 11px !important; border: 0 !important; border-radius: 10px !important; color: #49627d !important; background: transparent !important; font-size: 13px !important; font-weight: 750 !important; text-decoration: none !important; white-space: nowrap; }
.northeum-shell-header .desktop-nav .nav-link:hover,
.northeum-shell-header .desktop-nav .nav-link.active { color: #1f63c7 !important; background: #eef5ff !important; }
.northeum-shell-header .account-area { display: flex !important; align-items: center !important; gap: 10px !important; flex: 0 0 auto; margin-left: auto; }
.northeum-shell-header .notification-button { display: grid !important; place-items: center !important; width: 40px !important; height: 40px !important; padding: 0 !important; border: 1px solid #dce5ef !important; border-radius: 11px !important; color: #102844 !important; background: #fff !important; font-size: 17px; text-decoration: none !important; cursor: pointer; }
.northeum-shell-header .member-chip { display: flex !important; align-items: center !important; gap: 8px !important; color: #49627d !important; font-size: 13px !important; font-weight: 700 !important; }
.northeum-shell-header .member-avatar { display: grid !important; place-items: center !important; overflow: hidden; flex: 0 0 36px; width: 36px !important; height: 36px !important; border: 0 !important; border-radius: 50% !important; color: #fff !important; background: #102844 !important; font-size: 14px !important; font-weight: 800 !important; }
.northeum-shell-header .member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.northeum-shell-header .logout-button { display: inline-flex !important; align-items: center; justify-content: center; min-height: 40px !important; padding: 8px 12px !important; border: 1px solid #dce5ef !important; border-radius: 10px !important; color: #102844 !important; background: #fff !important; font-size: 13px !important; font-weight: 700 !important; white-space: nowrap; cursor: pointer; }
.northeum-shell-header .logout-button:hover,
.northeum-shell-header .notification-button:hover { background: #eef5ff !important; }
@media (max-width: 1120px) { .northeum-shell-header .desktop-nav { display: none !important; } }
@media (max-width: 640px) {
  .topbar.northeum-shell-header { min-height: 68px !important; padding: 9px 12px !important; gap: 10px !important; }
  .northeum-shell-header .brand-name { font-size: 16px !important; }
  .northeum-shell-header .account-area { gap: 7px !important; }
  .northeum-shell-header #memberName { display: none !important; }
  .northeum-shell-header .member-avatar { flex-basis: 32px; width: 32px !important; height: 32px !important; }
  .northeum-shell-header .notification-button { width: 36px !important; height: 36px !important; }
  .northeum-shell-header .logout-button { min-height: 36px !important; padding: 6px 9px !important; font-size: 12px !important; }
}

/* Shared introductory card: the same Northeum palette across all main tabs. */
section.hero {
  width: 100% !important;
  max-width: none !important;
  min-height: 180px;
  margin-bottom: 24px !important;
  padding: 32px !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 24px !important;
  color: #fff !important;
  background: radial-gradient(circle at 95% 4%, rgba(55,125,255,.36), transparent 36%),
    linear-gradient(120deg, #102844 0%, #1c426e 56%, #2869c7 100%) !important;
  box-shadow: 0 16px 38px rgba(16,40,68,.13) !important;
}
section.hero::before, section.hero::after { content: none !important; display: none !important; }
section.hero .eyebrow { color: #a9caff !important; }
section.hero h1 { color: #fff !important; font-size: clamp(30px, 4vw, 42px) !important; line-height: 1.12 !important; letter-spacing: -.035em !important; }
section.hero p:not(.eyebrow):not(.coach-actions) { color: #eaf2ff !important; line-height: 1.55 !important; }
section.hero .primary-button:not(.secondary), section.hero .primary, section.hero .primary-action {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 11px 16px !important; border: 1px solid #fff !important;
  border-radius: 11px !important; background: #fff !important; color: #102844 !important;
  font-weight: 800 !important; text-decoration: none !important;
}
section.hero .primary-button.secondary, section.hero .hero-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 11px 16px !important; border: 1px solid rgba(255,255,255,.5) !important;
  border-radius: 11px !important; background: transparent !important; color: #fff !important;
  font-weight: 800 !important; text-decoration: none !important;
}
@media (max-width: 640px) {
  section.hero { min-height: 0; padding: 24px 22px !important; border-radius: 22px !important; }
}

/* The notification tray is moved to body so the sticky, blurred header cannot clip it. */
.northeum-shell-header .notification-button { position: relative !important; }
.notification-tray {
  z-index: 100; overflow: auto; box-sizing: border-box;
  border: 1px solid #dce5ef; border-radius: 16px;
  background: #fff; color: #102844; box-shadow: 0 20px 50px rgba(16,40,68,.23);
}
.notification-tray[hidden], .notification-badge[hidden] { display: none !important; }
.notification-tray-head {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; padding: 15px 16px;
  border-bottom: 1px solid #dce5ef; background: #fff;
}
.notification-tray-head a, .home-notification a { color: #1f63c7; font-size: 12px; font-weight: 800; }
.home-notification-list { display: grid; }
.home-notification { padding: 15px 16px; border-bottom: 1px solid #e8eef5; }
.home-notification:last-child { border-bottom: 0; }
.home-notification strong { display: block; margin-bottom: 5px; }
.home-notification p { margin: 0 0 8px; color: #49627d; font-size: 13px; line-height: 1.45; }
.notification-empty { margin: 0; padding: 20px 16px; color: #49627d; text-align: center; font-size: 13px; }
.northeum-shell-header .notification-badge {
  position: absolute; top: -6px; right: -6px; display: grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 4px; border: 2px solid #fff;
  border-radius: 999px; background: #e5484d; color: #fff; font-size: 10px; font-weight: 900;
}

/* Beta feedback shortcut stays beside notifications on every main screen. */
.northeum-shell-header .notification-center { display: flex; align-items: center; gap: 8px; }
.northeum-shell-header .beta-feedback-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 11px; border: 1px solid #dce5ef; border-radius: 11px; background: #fff; color: #102844; text-decoration: none; font-size: 13px; font-weight: 800; white-space: nowrap; }
.northeum-shell-header .beta-feedback-link:hover, .northeum-shell-header .beta-feedback-link:focus-visible { background: #eef5ff; color: #1f63c7; }
.northeum-shell-header .beta-feedback-link svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 640px) {
  .northeum-shell-header .notification-center { gap: 6px; }
  .northeum-shell-header .beta-feedback-link { width: 36px; min-height: 36px; padding: 0; }
  .northeum-shell-header .beta-feedback-link span { display: none; }
}

@media (max-width: 400px) { .northeum-shell-header .brand-name { display: none !important; } }
