/* CAMPUS NABZ V0.23.6: screen layout only. Print/PDF rules remain untouched. */
@media screen {
  body.cn236-en {direction:ltr!important;text-align:left;font-family:system-ui,'Segoe UI',Arial,sans-serif;}
  body.cn236-ur {direction:rtl!important;}
  .shell{width:min(100%,1510px);max-width:1510px;margin-inline:auto;}
  #tabs.nav {
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    align-items:stretch;overflow:visible!important;
    gap:10px!important;padding:7px 0 15px!important;margin:8px 0 14px!important;
    scrollbar-width:auto;
  }
  #tabs.nav button {
    display:flex!important;flex-direction:row!important;justify-content:flex-start!important;
    width:100%!important;min-width:0!important;min-height:62px!important;
    height:auto!important;padding:10px 12px!important;white-space:normal!important;
    overflow-wrap:anywhere;text-align:start;font-size:12.5px!important;line-height:1.35!important;
    gap:8px!important;border-radius:14px!important;
  }
  #tabs.nav button span{font-size:21px!important;line-height:1;flex:none;}
  #tabs.nav button:focus-visible, .topbar button:focus-visible{outline:3px solid #e3ab43;outline-offset:2px;}
  #toolbar.topbar {display:flex!important;flex-wrap:wrap!important;align-items:center;gap:8px!important;
    position:relative!important;top:auto!important;padding:9px!important;margin-top:12px;
    background:#f2f8f9!important;border:1px solid #d5e6e9;border-radius:16px;backdrop-filter:none!important;}
  #toolbar.topbar button {font:700 13px system-ui,'Segoe UI',sans-serif!important;min-width:0!important;
    width:auto!important;height:auto!important;min-height:42px!important;padding:9px 12px!important;
    white-space:normal!important;line-height:1.25!important;flex:0 0 auto;}
  #toolbar .toolbar-status{margin-inline-start:auto;margin-inline-end:0;white-space:nowrap;}
  #toolbar button.cn236-logout {color:#9b283d!important;background:#fff3f2!important;border:1px solid #edc2c5!important;
    margin-inline-start:auto;box-shadow:none!important;font-weight:800!important;}
  .dash-hero{min-height:235px!important;padding:25px 32px!important;}
  .dash-intro h2{font-size:clamp(27px,3vw,41px)!important;line-height:1.22!important;max-width:740px;}
  .dash-intro p{line-height:1.65!important;max-width:650px;}
  .dash-hero .orbit-scene{transform:scale(.82);transform-origin:center right;}
  .hero .brand-copy h1 {overflow-wrap:anywhere;}
  .glass-pane,.metric,.dash-hero{max-width:100%;}
  #login-form label{min-width:0;}
  body.cn236-en .brand-copy,body.cn236-en .dash-intro,body.cn236-en .pane-head{direction:ltr!important;text-align:left!important;}
  body.cn236-en #tabs.nav button{text-align:left;}
}
@media screen and (max-width:900px){
  #tabs.nav{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;}
  #toolbar.topbar button{padding:8px 10px!important;}
  .dash-hero .orbit-scene{transform:scale(.7);}
}
@media screen and (max-width:600px){
  .shell{padding:9px!important;}
  #tabs.nav{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;}
  #tabs.nav button{min-height:58px!important;font-size:11.5px!important;padding:8px!important;}
  #tabs.nav button span{font-size:19px!important;}
  #toolbar.topbar button{flex:1 1 auto!important;font-size:12px!important;min-height:43px!important;}
  #toolbar button.cn236-logout{flex:1 1 100%!important;}
  #toolbar .toolbar-status{display:none!important;}
  .dash-hero{min-height:220px!important;padding:18px!important;}
  .dash-intro h2{font-size:27px!important;}
  .dash-hero .orbit-scene{opacity:.12!important;transform:scale(.65);}
}
