/* Desktop roots stay visible together; nested categories retain their own scrolling. */
@media (min-width: 981px) {
  html body .ub-mega__panel { width:min(1320px,calc(100vw - 32px)); height:min(700px,calc(100dvh - var(--ub-header-h,96px) - 18px)); }
  html body .ub-mega__cols--premium { grid-template-columns:minmax(400px,1.45fr) minmax(250px,1fr) minmax(0,1fr); }
  html body #ubMegaLvl1 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-content:start; gap:8px; padding:10px; }
  html body #ubMegaLvl1 .ub-mega__item { min-width:0; min-height:58px; padding:8px; font-size:15px; line-height:1.35; }
  html body .ub-mega__col--l .ub-mega__panehead { padding:14px 12px; }
}
html body .ub-corp-nav__link { font-size:15px!important; line-height:1.45!important; min-height:46px; padding:9px 10px!important; }
html body .ub-corp-nav__title { font-size:16px!important; line-height:1.4; }
html body .ub-corp-nav__icon { width:28px; height:28px; flex:0 0 28px; font-size:14px; }
.ub-publisher-category-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:8px; max-height:360px; overflow:auto; padding:12px; border:1px solid var(--border,#dbe3ed); border-radius:12px; }
.ub-publisher-category-list label { display:flex; align-items:center; gap:8px; font-size:15px; padding:6px; }
.ub-publisher-card { margin:18px 0; padding:20px; }
.ub-publisher-card code { overflow-wrap:anywhere; }
.ub-publisher-card input[type=password],.ub-publisher-card input[type=text] { max-width:100%; }
