/* Shared by React pages and the archived research-page shell. Reserve the
   scrollbar before content/filter results arrive, including short pages. */
html{scrollbar-gutter:stable}
@supports not (scrollbar-gutter:stable){html{overflow-y:scroll}}

/* Native hidden prevents a desktop flash before CSS arrives. Use the same base
   layer as Tailwind: layered !important rules beat unlayered overrides. */
@layer base{
.mobile-visit-hint[hidden]{display:none!important}
@media screen and (max-width:767px),screen and (pointer:coarse) and (max-width:950px) and (max-height:500px){.mobile-visit-hint[hidden]{display:block!important}}
}

/* Shared navigation for React pages and independently served course and paper HTML. */
.mz-main-nav { position:sticky; top:0; z-index:100; background:#fff; border:0; border-bottom:1px solid #e4e8e5; color:#18241f; font:15px/1.5 Inter,'PingFang SC','Microsoft YaHei',sans-serif; }
.mz-main-nav .mz-nav-inner { box-sizing:border-box; width:min(100%,var(--product-frame,1480px)); min-height:54px; margin:auto; padding:0 var(--product-gutter,clamp(22px,2.5vw,40px)); display:flex; align-items:center; gap:clamp(22px,3vw,52px); }
.mz-main-nav a { display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0; border:0; border-radius:0; color:inherit; background:transparent; text-decoration:none; white-space:nowrap; box-shadow:none; }
.mz-main-nav a:hover { color:#196447; text-decoration:underline; text-underline-offset:4px; }
.mz-main-nav a:focus-visible { outline:2px solid #427054; outline-offset:2px; }
.mz-main-nav a[aria-current] { color:#234e43; box-shadow:inset 0 -2px #ab573c; }
.mz-main-nav .mz-nav-home { flex:none; gap:8px; color:#234e43; font-weight:650; }
.mz-main-nav .mz-nav-home img { width:33px; height:33px; margin:0; }
.mz-main-nav .mz-nav-sections,.mz-main-nav .mz-nav-tools { display:flex; align-items:center; margin:0; padding:0; border:0; background:none; position:static; }
.mz-main-nav .mz-nav-sections { gap:clamp(14px,2vw,36px); font-weight:550; }
.mz-main-nav .mz-nav-tools { gap:18px; margin-inline-start:auto; font-size:13px; color:#3e5147; }
.mz-main-nav .mz-nav-account { font-weight:600; }
.mz-main-nav .mz-nav-lens { display:inline-block; width:14px; height:14px; box-sizing:border-box; border:1.5px solid currentColor; border-radius:50%; position:relative; margin-right:3px; }
.mz-main-nav .mz-nav-lens::after { content:''; position:absolute; width:6px; height:1.5px; right:-4px; bottom:-2px; background:currentColor; transform:rotate(45deg); }
.mz-main-nav [data-inbox-count]:not([hidden]) { padding:0 5px; border-radius:12px; font:600 10px/17px sans-serif; color:#fff; background:#9b4936; }
@media(max-width:800px) {
  .mz-main-nav .mz-nav-inner { width:100%; display:grid; grid-template-columns:auto minmax(0,1fr); gap:0 12px; padding-inline:16px; }
  .mz-main-nav .mz-nav-home img { width:26px; height:26px; }
  .mz-main-nav .mz-nav-tools { grid-column:2; grid-row:1; gap:12px; }
  .mz-main-nav .mz-nav-sections { grid-column:1/-1; grid-row:2; justify-content:space-between; gap:12px; overflow-x:auto; }
  .mz-main-nav .mz-nav-sections a { font-size:13px; }
}
@media(max-width:370px) {
  .mz-main-nav .mz-nav-inner { padding-inline:10px; }
  .mz-main-nav .mz-nav-sections { gap:4px; }
}
@media print { .mz-main-nav {display:none;} }
