/* Shared employee and management navigation; page content keeps its existing logic. */
:root { --joy-ink: #1a1b23; --joy-muted: #6d6f78; --joy-blue: #0d548d; --joy-red: #ef3e35; --joy-yellow: #ffd34f; --joy-violet: #8176ed; --joy-green: #5ccf99; --joy-page: linear-gradient(135deg, #f7f3f4 0%, #edf6ff 54%, #d7edff 100%); }
html { scroll-padding-top: 100px; }
html body { min-width: 0; background: var(--joy-page); }
.global-topbar { position: sticky; top: 0; z-index: 100; display: flex; flex-direction: column; align-items: stretch; gap: 12px; max-width: 1180px; margin: 0 auto; padding: 14px 0 10px; background: linear-gradient(180deg, #f8f9fce6, #f8f9fc40); backdrop-filter: blur(16px); font: 14px/1.5 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
.global-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.global-progress-slot { color: var(--joy-red); font-size: 12px; font-weight: 800; }
.global-progress-slot { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.global-ui-label { color: #4c6477; font-size: 11px; font-weight: 750; white-space: nowrap; }
.global-brand { display: flex; align-items: center; gap: 9px; color: #202b40; text-decoration: none; flex: none; white-space: nowrap; }
.global-brand img { width: 36px; height: 30px; object-fit: contain; }
.global-brand strong { font-size: 17px; }
.global-nav-scroll { display: flex; align-items: center; gap: 7px; min-width: 0; max-width: 100%; flex: 1; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; padding: 2px; }
.global-nav-scroll > a, .global-nav-scroll > button { display: flex; align-items: center; gap: 8px; flex: none; width: auto; margin: 0; padding: 11px 14px; border: 1px solid #ffffff7a; border-radius: 14px; color: #16384d; background: #f6f5f22e; font: inherit; font-weight: 800; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: 0 10px 25px #1e3f5d14; backdrop-filter: blur(18px) saturate(120%); transition: background .18s, border-color .18s; }
.global-nav-scroll i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #0d609ac7; color: #fff; font-style: normal; font-size: 13px; }
.global-nav-scroll [data-screen="home"] i { background: #ef3e35c7; }
.global-nav-scroll [data-screen="library"] i { background: #8176edc7; }
.global-nav-scroll [data-screen="banks"] i { background: #167aafc7; }
.global-nav-scroll [data-screen="results"] i { background: #e76848d1; }
.global-management-toggle i { background: #3a3d4dcc; }
.global-nav-scroll > [hidden], .global-management-panel[hidden] { display: none !important; }
.global-nav-scroll > a:hover, .global-nav-scroll > button:hover, .global-nav-scroll > .is-current { color: var(--joy-blue); background: #eff8ff73; border-color: #166ca380; }
.global-nav-scroll > :focus-visible { outline: 2px solid #2859b8; outline-offset: -2px; }
.global-management-panel { position: absolute; top: calc(100% + 8px); left: 0; right: auto; display: grid; min-width: 170px; max-width: calc(100vw - 16px); padding: 7px; border: 1px solid #ffffff94; border-radius: 14px; background: #f6f5f2e6; backdrop-filter: blur(18px); box-shadow: 0 12px 30px #20252c24; }
.global-management-panel a { padding: 10px 12px; border-radius: 8px; color: #33435e; text-decoration: none; }
.global-management-panel a:hover, .global-management-panel [aria-current] { background: #edf3ff; color: #2859b8; }
html body .shell { display: block !important; min-width: 0 !important; }
html body .shell > .side, html body .sidebar, html body .site-head, html body .app-shell > .topbar { display: none !important; }
html body .shell > .main { min-width: 0 !important; width: 100% !important; padding: 24px clamp(14px, 2.8vw, 34px) 50px !important; }
html body .workspace { display: block; }
html:root body .newbie-layout, html:root body .detail-grid, html:root body .question-manager-layout { grid-template-columns: minmax(0, 1fr) !important; }
.days { display: flex; gap: 8px; max-width: 100%; max-height: none; overflow-x: auto; }
.days .day { flex: 0 0 180px; border-left: 0; border-bottom: 3px solid #dce5f2; }
.days .day.active { border-bottom-color: #185fa5; border-radius: 9px; }
.question-side-panel { min-width: 0; }
html body .question-list { display: flex; max-width: 100%; max-height: 220px; overflow-x: auto; }
html body .question-list-item { flex: 0 0 220px; width: 220px; margin: 0; }
html:root body .bot-template-layout, html:root body .doc-import-layout { grid-template-columns: minmax(0, 1fr) !important; }
.global-topbar ~ .atlas-shell { padding-top: 0; }
.embedded-app .global-topbar { display: none; }
@media (max-width: 1480px) { .global-topbar { margin-left: 14px; margin-right: 14px; } }
@media (max-width: 760px) {
  html { scroll-padding-top: 125px; }
  .global-topbar { top: 0; gap: 6px; margin: 0 8px; padding: 8px 0; }
  .global-brand { padding: 0 6px; }
  .global-brand img { width: 27px; height: 23px; }
  .global-brand strong { font-size: 15px; }
  .global-nav-scroll { flex-basis: 100%; }
  .global-nav-scroll > a, .global-nav-scroll > button { padding: 9px 11px; font-size: 13px; }
}
