html{scrollbar-gutter:stable}
/* LKFS shared portal shell — single source of truth for dashboard/subpages */
.portal-subpage-shell{padding:0!important;overflow:visible!important;background:rgba(255,255,255,.985)!important}
.portal-subpage-content{padding:22px 30px 30px;min-width:0}
.portal-subpage-content>.card{margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;background:transparent!important}
.portal-shared-header{position:relative!important;overflow:visible!important;padding:28px 44px 28px 34px!important;border-top:6px solid #e2001a!important;border-radius:20px 20px 0 0!important;background:linear-gradient(100deg,#202020 0,#252525 58%,#2d2d2d 100%)!important;color:#fff!important;align-items:flex-start!important}
.portal-shared-header::before{display:none!important;content:none!important}
.portal-shared-header::after{content:"LKFS  /  S-TOG"!important;position:absolute!important;right:34px!important;bottom:17px!important;color:rgba(255,255,255,.13)!important;font-size:11px!important;font-weight:900!important;letter-spacing:.20em!important}
.portal-shared-header .dashboard-brand{display:flex!important;align-items:center!important;gap:22px!important;min-width:0!important}
.portal-shared-header .dashboard-brand-train{display:block!important;width:96px!important;height:110px!important;max-width:none!important;object-fit:contain!important;flex:0 0 96px!important;filter:drop-shadow(0 8px 14px rgba(0,0,0,.28))!important}
.portal-shared-header .dashboard-brand-copy h1{font-size:36px!important;line-height:1!important;letter-spacing:-.045em!important;margin:0 0 13px!important;color:#fff!important}
.portal-shared-header .dashboard-brand-copy strong{font-size:17px!important;font-weight:750!important;color:#fff!important}
.portal-shared-header .roles{color:#cbc7c2!important;font-size:13px!important;margin-top:5px!important;text-transform:uppercase!important;letter-spacing:.08em!important}
.portal-shared-header .dashboard-mobile-menu{display:block!important;position:relative!important;margin-left:auto!important;flex:0 0 auto!important;z-index:80!important}
.portal-shared-header .dashboard-mobile-menu summary{list-style:none!important;width:52px!important;height:52px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid #575757!important;border-radius:12px!important;background:#353535!important;color:#fff!important;cursor:pointer!important;font-size:0!important;box-shadow:0 4px 12px rgba(0,0,0,.18)!important}
.portal-shared-header .dashboard-mobile-menu summary::-webkit-details-marker{display:none!important}
.portal-shared-header .dashboard-mobile-menu summary::before{content:'☰'!important;font-size:27px!important;line-height:1!important;font-weight:700!important}
.portal-shared-header .dashboard-mobile-menu[open] summary{background:#e2001a!important;border-color:#e2001a!important}
.portal-shared-header .dashboard-mobile-menu[open] summary::before{content:'×'!important;font-size:31px!important}
.portal-shared-header .dashboard-mobile-menu-panel{position:absolute!important;right:0!important;top:62px!important;width:190px!important;padding:8px!important;border:1px solid #4b4b4b!important;border-radius:14px!important;background:#242424!important;box-shadow:0 16px 34px rgba(0,0,0,.28)!important;z-index:90!important}
.portal-shared-header .dashboard-mobile-menu-panel .button,.portal-shared-header .dashboard-mobile-menu-panel button{display:block!important;width:100%!important;box-sizing:border-box!important;margin:0!important;padding:12px 13px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#fff!important;text-align:left!important;font-size:15px!important;font-weight:750!important;box-shadow:none!important;text-decoration:none!important}
.portal-shared-header .dashboard-mobile-menu-panel .button:hover,.portal-shared-header .dashboard-mobile-menu-panel button:hover{background:#3a3a3a!important;transform:none!important;box-shadow:none!important}
.portal-shared-header .dashboard-mobile-menu-panel form{margin:0!important}
.portal-subpage-content .top>.button[href="/dashboard"],.portal-subpage-content .top>a.button[href="/dashboard"]{display:none!important}
@media(max-width:700px){
  .portal-subpage-content{padding:16px 16px 20px}
  .portal-shared-header{padding:22px 18px 24px!important;flex-direction:row!important;align-items:flex-start!important}
  .portal-shared-header::after{right:18px!important;bottom:14px!important;font-size:9px!important}
  .portal-shared-header .dashboard-brand{gap:14px!important;flex:1 1 auto!important}
  .portal-shared-header .dashboard-brand-train{width:64px!important;height:73px!important;flex-basis:64px!important}
  .portal-shared-header .dashboard-brand-copy h1{font-size:30px!important;margin-bottom:10px!important}
}

/* Keep wide subpage content inside the shared portal shell. */
.portal-subpage-shell{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.portal-subpage-content{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:hidden;
}
.portal-subpage-content > *,
.portal-subpage-content > .card,
.portal-subpage-content .top{
  max-width:100%;
  min-width:0;
}
.portal-subpage-content .service-graph,
.portal-subpage-content .tour-table-wrap{
  max-width:100%;
  min-width:0;
  overflow-x:auto;
  overscroll-behavior-x:contain;
}

.portal-shared-header .dashboard-brand-home{display:block!important;flex:0 0 auto!important;text-decoration:none!important}
.portal-shared-header .dashboard-brand-copy h1{font-size:30px!important}
@media(max-width:700px){.portal-shared-header .dashboard-brand-copy h1{font-size:24px!important}}




