/* Core dark visual system transplanted from frontnext. This stylesheet loads last
   so semantic Tailwind classes in the existing Django templates inherit it. */
:root {
  --surface: rgba(15, 10, 25, .68);
  --surface-solid: #0f0a19;
  --surface-input: rgba(0, 0, 0, .4);
  --line: rgba(255, 255, 255, .08);
  --text: #f3f4f6;
  --muted: #9ca3af;
  --accent: #a5b4fc;
  --highlight: rgba(129, 140, 248, .15);
}

html, body { background: #05010d; color: var(--text); font-family: Inter, system-ui, sans-serif; }
body {
  background-color: #05010d;
  background-image: radial-gradient(circle at 15% 25%, rgba(79,70,229,.4), transparent 50%), radial-gradient(circle at 80% 10%, rgba(99,102,241,.3), transparent 40%), linear-gradient(to bottom, #0f0518 0%, #000 100%);
  background-attachment: fixed;
}

/* App frame */
.app-sidebar { width: 20rem; border-right: 1px solid rgba(165,180,252,.1); background: linear-gradient(180deg, #101022 0%, #0c0b19 58%, #090912 100%); box-shadow: 12px 0 40px rgba(0,0,0,.16); overflow-y: auto; }
.app-sidebar::after { display: none; }
@media (min-width:1280px) { .app-content { margin-left: 20rem; } }
.app-content, .app-content main, .start-dashboard { background: transparent !important; }
.app-topbar { border-color: var(--line); background: rgba(15, 10, 25, .8); box-shadow: none; }
.app-menu-trigger { background: var(--surface); border-color: var(--line); color: var(--text); }
.app-menu-trigger:hover { background: var(--highlight); }

/* Controls placed directly over the start-hero image need their own opaque,
   high-contrast treatment; they do not inherit the normal app topbar. */
.app-topbar-actions { background: rgba(2, 2, 3, .78); border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.topbar-icon-btn { color: #d1d5db; }
.topbar-icon-btn:hover { background: var(--highlight); color: #fff; }
.app-access-link { border-color: rgba(165,180,252,.28); background: rgba(15,10,25,.9); color: #f9fafb; box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.app-access-link:hover { background: rgba(129,140,248,.24); color: #fff; }
.app-user-menu__trigger { border: 1px solid var(--line); background: rgba(2,2,3,.82); box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.app-user-menu__trigger:hover { background: rgba(15,10,25,.98); box-shadow: 0 0 0 2px rgba(165,180,252,.2); }
.app-user-menu__name, .app-user-menu__chevron { color: #f3f4f6; }
.app-user-menu__panel { border: 1px solid var(--line); background: #0f0a19; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.app-user-menu__panel .border-b { border-color: var(--line); }
.app-user-menu__panel .text-ink { color: var(--text) !important; }
.app-user-menu__panel .text-muted { color: var(--muted) !important; }

/* Sidebar: the existing white logo remains direct on the black surface. */
.sidebar-brand { min-height: 6rem; margin: 0 -1.5rem 1rem; padding: 0 1.5rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.sidebar-brand:hover { transform: none; box-shadow: none; }
.sidebar-brand__logo { width: 11.5rem; max-width: 100%; filter: none; }
.sidebar-brand__caption { display: none; }
.sidebar-section-label { margin: .25rem .75rem .65rem; color: #6b7280; font-size: .68rem; letter-spacing: .14em; }
.sidebar-nav { gap: .375rem; }
.nav-link { min-height: 3.1rem; gap: 1rem; padding: .68rem 1rem; border: 1px solid transparent; border-radius: .75rem; color: var(--muted); font-size: .94rem; font-weight: 500; letter-spacing: .01em; }
.nav-link:hover { background: rgba(129,140,248,.08); border-color: transparent; color: var(--text); transform: none; }
.nav-link.is-active { background: var(--highlight); border-color: transparent; color: #a5b4fc; font-weight: 600; box-shadow: none; }
.nav-link.is-active::after { display: none; }
.nav-link__icon { width: 1.4rem; height: 1.4rem; border-radius: 0; background: transparent !important; }
.nav-link__icon .nav-icon { width: 1.35rem; height: 1.35rem; }
.nav-link__icon--green { color: #5eead4 !important; }.nav-link__icon--sky { color: #7dd3fc !important; }.nav-link__icon--amber { color: #fbbf24 !important; }.nav-link__icon--pink { color: #f472b6 !important; }.nav-link__icon--violet { color: #a78bfa !important; }.nav-link__icon--rose { color: #fb7185 !important; }.nav-link__icon--yellow { color: #fde68a !important; }
.nav-link:hover .nav-link__icon, .nav-link.is-active .nav-link__icon { filter: brightness(1.18) saturate(1.1); }
.sidebar-divider { background: var(--line); }
.sidebar-utility { display: flex; align-items: center; justify-content: space-around; gap: 0; margin: 1rem 0 0; padding: .75rem .5rem; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.sidebar-utility__link { min-height: 2.5rem; min-width: 2.5rem; justify-content: center; padding: .5rem; border-radius: .65rem; color: var(--muted); }
.sidebar-utility__link:hover, .sidebar-utility__link.is-active { background: var(--highlight); color: var(--text); }
.sidebar-utility__link .nav-icon { width: 1.25rem; height: 1.25rem; color: currentColor; }
.sidebar-utility__link span { display: none; }

/* Dark panels and formerly white surface utilities in application views. */
.app-content .bg-white, .app-content [class*="bg-white/"] { background-color: var(--surface) !important; }
.app-content .border-black\/5, .app-content .border-black\/10, .app-content .border-sand { border-color: var(--line) !important; }
.app-content .shadow-sm, .app-content .shadow-md { box-shadow: none !important; }
.app-content .text-ink, .app-content .text-greenDeep, .app-content .text-cardTitle { color: var(--text) !important; }
.app-content .text-muted { color: var(--muted) !important; }
.app-content .text-green { color: var(--accent) !important; }
.app-content .bg-greenSoft { background-color: var(--highlight) !important; }
.app-content .bg-blueSoft { background-color: rgba(59,130,246,.13) !important; }
.app-content [class*="hover:bg-white"]:hover { background-color: rgba(255,255,255,.1) !important; }
.app-content [class*="hover:text-green"]:hover, .app-content [class*="hover:text-ink"]:hover { color: var(--accent) !important; }

/* Authentication retains the same compact form flow as frontnext, without the
   old cream split-screen treatment. */
.auth-page { background: #05010d !important; }
.auth-page main { background: transparent; }
.auth-page .auth-grid > section:first-child { display: none; }
.auth-page .auth-grid { display: block; }
.auth-page .auth-grid > section:last-child { min-height: 100vh; }
.auth-page [class*="bg-white"], .auth-page input { background-color: var(--surface-solid) !important; }
.auth-page [class*="border-\[#"], .auth-page input { border-color: var(--line) !important; }
.auth-page [class*="text-\[#"] { color: var(--muted) !important; }
.auth-page h1, .auth-page h2, .auth-page label, .auth-page [class*="text-\[#273"] { color: var(--text) !important; }
.auth-page .bg-gradient-to-r { background-image: linear-gradient(135deg, #818cf8, #6366f1) !important; }

/* Never let individual application views pull the user back into a beige canvas. */
.article-view, .articles-view, .start-dashboard, .course-list-view, .practices-list-view { background: transparent !important; }
.start-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(5,1,13,.96) 0%, rgba(5,1,13,.72) 36%, rgba(5,1,13,.12) 100%); }
.start-hero__content, .start-hero__topbar { z-index: 2; }

/* Dashboard proportions and the continuous hero-to-content atmosphere from
   frontnext. The source templates used much larger editorial display sizes. */
.start-dashboard { background: linear-gradient(145deg, #130d35 0%, #090416 42%, #05010d 100%) !important; }
@media (min-width: 640px) {
  .start-hero { z-index: auto; margin-bottom: 0; }
}
.start-knowledge-section, .start-experience-section { position: relative; background: transparent !important; }
.start-knowledge-section h2, .start-experience-section h2 { font-family: Inter, system-ui, sans-serif !important; font-size: clamp(2rem, 2.5vw, 2.75rem) !important; font-weight: 600 !important; line-height: 1.08 !important; letter-spacing: -.035em; }
.start-knowledge-section header > div > p, .start-experience-section header > div > p { max-width: 45rem; font-size: .94rem !important; line-height: 1.55 !important; }
.start-knowledge-section header, .start-experience-section header { margin-bottom: 1.4rem; }
.start-experience-section { background: linear-gradient(180deg, #090416 0%, #05010d 100%) !important; }
@media (max-width: 639px) {
  .start-knowledge-section h2, .start-experience-section h2 { font-size: 2rem !important; }
}

/* Start dashboard rebuilt after the frontnext composition. */
.frontnext-home-main { overflow: visible !important; }
.frontnext-dashboard { position: relative; isolation: isolate; min-height: 100%; overflow: hidden; color: #f3f4f6; background: #06020f; }
.frontnext-dashboard__background, .frontnext-dashboard__shade { position: absolute; inset: 0; pointer-events: none; }
.frontnext-dashboard__background { z-index: -2; min-height: 54rem; background: url('https://zyjswiadomie.b-cdn.net/heronoc.jpeg') center top / cover no-repeat; opacity: .78; }
.frontnext-dashboard__shade { z-index: -1; min-height: 58rem; background: linear-gradient(180deg, rgba(4,2,15,.12) 0%, rgba(7,3,20,.2) 35%, #090416 70%, #05010d 100%); }
.frontnext-dashboard__content { width: min(100% - 4rem, 86rem); margin: 0 auto; padding: 4.75rem 0 2rem; }
.frontnext-dashboard__top-actions { position: absolute; z-index: 4; top: 1.35rem; right: 2rem; display: flex; align-items: center; gap: .7rem; }
.frontnext-welcome { max-width: 39rem; margin-bottom: 2.3rem; }
.frontnext-welcome > p:first-child { margin: 0 0 .3rem; color: #d1d5db; font-size: 1rem; font-weight: 600; }
.frontnext-welcome strong { color: #a5b4fc; }
.frontnext-welcome h1 { margin: 0; font: 600 clamp(2.25rem, 3.1vw, 3.45rem)/1.06 Inter, system-ui, sans-serif; letter-spacing: -.05em; }
.frontnext-welcome__lead { max-width: 34rem; margin: .7rem 0 0; color: #d1d5db; font-size: .95rem; line-height: 1.55; }
.frontnext-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.frontnext-bento__card { position: relative; display: flex; min-height: 12.5rem; flex-direction: column; justify-content: end; padding: 1.7rem; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 1.45rem; background: rgba(12,8,31,.62); box-shadow: inset 0 1px rgba(255,255,255,.04); backdrop-filter: blur(14px); transition: transform .25s ease, background .25s ease; }
.frontnext-bento__card:hover { transform: translateY(-4px); background: rgba(25,18,55,.78); }
.frontnext-bento__arrow { position: absolute; top: 1.35rem; right: 1.45rem; color: #d1d5db; font-size: 1.15rem; }
.frontnext-bento__icon { display: grid; width: 3.3rem; height: 3.3rem; place-items: center; margin-bottom: auto; border-radius: 1rem; }
.frontnext-bento__card--practice .frontnext-bento__icon { color: #a5b4fc; background: rgba(129,140,248,.17); }.frontnext-bento__card--courses .frontnext-bento__icon { color: #fbbf24; background: rgba(251,191,36,.16); }.frontnext-bento__card--inspiration .frontnext-bento__icon { color: #f472b6; background: rgba(244,114,182,.16); }
.frontnext-bento__card strong { font-size: 1.18rem; }.frontnext-bento__card small { margin-top: .35rem; color: #b5b6c4; font-size: .8rem; }
.frontnext-practices { margin-top: 4.5rem; }.frontnext-practices__heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.35rem; }.frontnext-practices h2 { display: flex; align-items: center; gap: .65rem; margin: 0; font: 600 1.25rem/1.2 Inter, system-ui, sans-serif; }.frontnext-practices h2 svg { color: #fbbf24; }.frontnext-practices__heading a { color: #d1d5db; font-size: .82rem; font-weight: 700; }.frontnext-practices__heading a span { margin-left: .35rem; color: #a5b4fc; }
.frontnext-practice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; max-width: 58rem; }.frontnext-practice-card { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 1.15rem; background: linear-gradient(145deg, #505a87, #19132d); }.frontnext-practice-card img { width: 100%; height: 100%; object-fit: cover; }.frontnext-practice-card__fallback { position: absolute; inset: 0; display: grid; place-items: center; color: #a5b4fc; }.frontnext-practice-card__overlay { position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0,0,0,.88)); }.frontnext-practice-card__copy { position: absolute; right: 1rem; bottom: .85rem; left: 1rem; display: grid; gap: .2rem; }.frontnext-practice-card__copy b { font-size: .78rem; line-height: 1.2; }.frontnext-practice-card__copy small { color: #d1d5db; font-size: .67rem; }.frontnext-practice-card__play { position: absolute; right: .85rem; bottom: .85rem; display: grid; width: 1.55rem; height: 1.55rem; place-items: center; border-radius: 50%; background: rgba(255,255,255,.24); }.frontnext-practice-card__copy:has(+ .frontnext-practice-card__play) { right: 3rem; }
.frontnext-footer { display: flex; justify-content: space-between; margin-top: 5rem; padding: 2rem 0; border-top: 1px solid rgba(255,255,255,.1); color: #a3a3b3; font-size: .75rem; }.frontnext-footer div { display: flex; gap: 1.6rem; }.frontnext-footer i { display: inline-block; width: .45rem; height: .45rem; margin-right: .4rem; border-radius: 50%; background: #818cf8; }
.frontnext-knowledge { margin-top: 4.5rem; }.frontnext-knowledge .frontnext-practices__heading h2 svg { color: #93c5fd; }.frontnext-knowledge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }.frontnext-knowledge-card { position: relative; display: grid; min-height: 10.5rem; align-content: end; gap: .45rem; padding: 1.35rem; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 1.15rem; background: linear-gradient(145deg, rgba(36,53,94,.58), rgba(13,8,31,.76)); }.frontnext-knowledge-card > span { position: absolute; top: 1.2rem; left: 1.2rem; display: grid; width: 2.45rem; height: 2.45rem; place-items: center; border-radius: .8rem; color: #93c5fd; background: rgba(147,197,253,.13); }.frontnext-knowledge-card b { max-width: 16rem; font-size: 1rem; line-height: 1.2; }.frontnext-knowledge-card small { max-width: 17rem; color: #b5b6c4; font-size: .72rem; }.frontnext-knowledge-card i { position: absolute; right: 1.2rem; bottom: 1.25rem; color: #a5b4fc; font-style: normal; }

/* Soft raised landing CTA: a tactile base, light top plane and a 3D press state. */
.app-access-link { position: relative; top: 0; min-height: 2.9rem; border: 1px solid rgba(224,231,255,.86); border-bottom: 4px solid #7c8bd7; border-radius: .9rem; background: linear-gradient(145deg, #eef1ff 0%, #b9c4ff 100%); color: #222544; text-shadow: 0 1px rgba(255,255,255,.7); box-shadow: 0 7px 0 #5967b2, 0 12px 24px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.9); }
.app-access-link:hover { top: 2px; border-bottom-width: 2px; background: linear-gradient(145deg, #fff 0%, #c8d1ff 100%); color: #1f2448; box-shadow: 0 5px 0 #5967b2, 0 9px 19px rgba(0,0,0,.26), inset 0 1px rgba(255,255,255,.9); }
.app-access-link:active { top: 6px; border-bottom-width: 0; box-shadow: 0 1px 0 #5967b2, inset 0 2px 5px rgba(58,67,132,.2); }
@media (max-width: 900px) { .frontnext-dashboard__content { width: min(100% - 2.5rem, 86rem); padding-top: 6.5rem; }.frontnext-bento, .frontnext-practice-grid, .frontnext-knowledge-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }.frontnext-dashboard__top-actions { right: 1.25rem; }.frontnext-practice-grid { max-width: none; } }
@media (max-width: 600px) { .frontnext-dashboard__content { width: min(100% - 2rem, 86rem); }.frontnext-dashboard__top-actions { left: 1rem; right: 1rem; justify-content: flex-end; }.frontnext-dashboard__top-actions .app-topbar-actions { display: none; }.frontnext-welcome h1 { font-size: 2.25rem; }.frontnext-bento, .frontnext-knowledge-grid { grid-template-columns: 1fr; }.frontnext-bento__card { min-height: 10rem; }.frontnext-practices { margin-top: 3rem; }.frontnext-practice-grid { gap: .85rem; }.frontnext-footer { flex-direction: column; gap: 1rem; } }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(165,180,252,.5); }

@media (max-width:1279px) {
  .global-mobile-nav { border-color: var(--line); background: rgba(2,2,3,.92); box-shadow: 0 14px 40px rgba(0,0,0,.45); }
  .global-mobile-nav>a { color: var(--muted); }
  .global-mobile-nav .is-active { background: var(--highlight); color: var(--accent); }
}

/* Dashboard lo-fi reference — shared Django/Alpine sidebar. */
:root { --sidebar-width: 252px; }
.app-sidebar {
  width: 252px;
  border-right: 1px solid rgba(255,255,255,.07);
  background: #0D1127E6;
  box-shadow: none;
  font-family: Manrope, system-ui, sans-serif;
  color: #F1EDF7;
}
.app-sidebar::after { display: none; }
@media (min-width:1280px) { .app-content { margin-left: 252px; } }

.sidebar-brand { min-height: 40px; margin: 0 0 1.75rem; padding: 0 10px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.sidebar-brand:hover { transform: none; box-shadow: none; }
.sidebar-brand__logo { width: auto; max-width: 100%; height: 40px; object-fit: contain; object-position: left center; }
.sidebar-brand__caption, .sidebar-section-label { display: none; }
.sidebar-nav { gap: 4px; }
.nav-link {
  min-height: 0;
  gap: 12px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  color: #BCC0DC;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0;
}
.nav-link:hover { border-color: transparent; background: rgba(255,255,255,.04); color: #F7F4EE; transform: none; }
.nav-link.is-active { border-color: transparent; background: rgba(109,94,246,.16); color: #F7F4EE; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(150,138,255,.22); }
.nav-link__icon { width: 20px; height: 20px; border-radius: 0; background: transparent !important; }
.nav-link__icon .nav-icon { width: 20px; height: 20px; }
.nav-link__icon--green { color: #A6DDBF !important; }.nav-link__icon--sky { color: #8FC6D8 !important; }.nav-link__icon--amber { color: #F3B35B !important; }.nav-link__icon--pink { color: #E9A3C4 !important; }.nav-link__icon--violet { color: #C9C2FF !important; }.nav-link__icon--muted { color: #BCC0DC !important; }
.nav-link.is-active .nav-link__icon--violet { color: #B3A9FF !important; }
.sidebar-divider { background: rgba(255,255,255,.06); }

.sidebar-access-card { overflow: hidden; padding: 18px; border: 1px solid rgba(150,138,255,.18); border-radius: 20px; background: linear-gradient(160deg,#232A5E 0%,#161C40 100%); }
.sidebar-access-card p { margin: 0; color: #F7F4EE; font: 400 24px/1.1 'Instrument Serif', Georgia, serif; }
.sidebar-access-card > span { display: block; margin-top: 6px; color: #BCC0DC; font-size: 13px; line-height: 1.5; }
.sidebar-access-card a { display: flex; height: 42px; align-items: center; justify-content: center; margin-top: 14px; border-radius: 12px; background: #6D5EF6; color: #F7F4EE; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; box-shadow: 0 4px 0 #4636C4, 0 10px 24px rgba(109,94,246,.35); transition: transform .12s, box-shadow .12s; }
.sidebar-access-card a:hover { color: #F7F4EE; transform: translateY(-1px); box-shadow: 0 5px 0 #4636C4, 0 14px 28px rgba(109,94,246,.45); }
.sidebar-access-card a:active { transform: translateY(3px); box-shadow: 0 1px 0 #4636C4, 0 4px 10px rgba(109,94,246,.3); }
.sidebar-profile { display: flex; align-items: center; gap: 12px; padding: 8px 6px; color: #9097BE; text-decoration: none; }
.sidebar-profile:hover { color: #F7F4EE; }
.sidebar-profile__avatar { display: flex; width: 38px; height: 38px; flex: 0 0 38px; align-items: center; justify-content: center; border-radius: 50%; background: #2A2F66; color: #C9C2FF; font-size: 14px; font-weight: 800; }
.sidebar-profile b, .sidebar-profile small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-profile b { color: #F1EDF7; font-size: 14px; font-weight: 700; }
.sidebar-profile small { margin-top: 1px; color: #9097BE; font-size: 12px; }
.sidebar-profile a, .sidebar-profile > svg { flex: 0 0 auto; color: #9097BE; }
.sidebar-profile a:hover { color: #F7F4EE; }

/* Account control: a single recognisable, glassy profile surface on desktop
   and mobile.  The coloured rim is deliberately subtle; it carries the
   palette of the navigation without competing with the access CTA. */
.app-user-menu__trigger,
.app-user-menu__login {
  position: relative;
  isolation: isolate;
  border: 1px solid transparent !important;
  background:
    linear-gradient(rgba(17,22,49,.82), rgba(17,22,49,.82)) padding-box,
    linear-gradient(135deg, rgba(201,194,255,.82), rgba(143,198,216,.64), rgba(243,179,91,.55)) border-box !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 10px 28px rgba(0,0,0,.26) !important;
  color: #F7F4EE !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.app-user-menu__trigger:hover,
.app-user-menu__login:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(rgba(29,37,82,.94), rgba(17,22,49,.94)) padding-box,
    linear-gradient(135deg, #C9C2FF, #8FC6D8, #F3B35B) border-box !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 14px 32px rgba(0,0,0,.34), 0 0 0 3px rgba(143,198,216,.08) !important;
}
.app-user-menu__trigger:focus-visible,
.app-user-menu__login:focus-visible { outline: 2px solid #F6D9A8; outline-offset: 3px; }
.app-user-menu__trigger .app-user-menu__name,
.app-user-menu__trigger .app-user-menu__chevron { color: #F7F4EE !important; }
.app-user-menu__trigger > :first-child { border: 1px solid rgba(255,255,255,.2); box-shadow: 0 2px 8px rgba(0,0,0,.28); }
.app-user-menu__login::before { content: ''; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: #A6DDBF; box-shadow: 0 0 0 4px rgba(166,221,191,.12); }
.app-user-menu__panel { border-color: rgba(201,194,255,.34) !important; background: rgba(13,17,39,.96) !important; box-shadow: 0 22px 50px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.08) !important; backdrop-filter: blur(20px); }
.app-user-menu__panel a:hover { background: rgba(143,198,216,.1) !important; }

/* On compact screens the profile chip remains visible and has a real tap
   target, while the long label yields space to the menu button. */
@media (max-width: 639px) {
  .app-user-menu__trigger { width: 44px; height: 44px; justify-content: center; padding: 4px !important; border-radius: 13px !important; }
  .app-user-menu__trigger .app-user-menu__name,
  .app-user-menu__trigger .app-user-menu__chevron { display: none !important; }
  .app-user-menu__login { width: 44px; min-width: 44px; height: 44px; padding: 0 !important; border-radius: 13px !important; font-size: 0 !important; }
  .app-user-menu__login::before { width: 18px; height: 18px; margin: 0; box-shadow: 0 0 0 5px rgba(166,221,191,.12); }
}

/* Mobile navigation keeps the sidebar's semantic icon palette. */
@media (max-width:1279px) {
  .global-mobile-nav>a:nth-child(1) { color:#B3A9FF; }
  .global-mobile-nav>a:nth-child(2) { color:#8FC6D8; }
  .global-mobile-nav>a:nth-child(3) { color:#F3B35B; }
  .global-mobile-nav>a:nth-child(4) { color:#BCC0DC; }
  .global-mobile-nav>a.is-active { background:rgba(255,255,255,.06); }
}
