/* Same portal navigation surface on standalone reports and supplies. */
#sidebar .sb-logo-image{width:auto;height:25px;max-width:130px;object-fit:contain;opacity:0;transition:opacity .15s}
#sidebar.expanded .sb-logo-image,#sidebar.open .sb-logo-image{opacity:1}
#sidebar .sb-nav{padding:4px 6px;overflow-y:auto;overflow-x:hidden}
#sidebar .sb-link{min-height:44px;padding:9px 12px;gap:10px;font-size:13px;font-weight:500;position:relative}
#sidebar .sb-link.active{background:var(--blue-soft-strong);font-weight:600}
#sidebar .sb-link svg{width:18px;height:18px;min-width:18px;opacity:.7}
#sidebar .sb-link.active svg{opacity:1}
#sidebar button.sb-link{width:100%;text-align:left;font-family:inherit}
#sidebar .sb-link:focus-visible,#sidebar .sb-toggle:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
#sidebar .sb-section{padding:14px 0 6px 8px;font-size:10px}
@media(max-width:900px){#sidebar{padding-bottom:env(safe-area-inset-bottom)}#sidebar .sb-head{min-height:56px}#sidebar .sb-toggle{min-width:32px;min-height:32px}}
.hint-card[open] summary{margin-bottom:8px}
details.hint-card{display:block}
details.hint-card summary{cursor:pointer;font-weight:600}
.supply-load-problem{padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--card);margin-bottom:16px}
.supply-load-problem h2{font-size:17px;margin-bottom:8px}
.supply-load-problem p{color:var(--muted);margin-bottom:12px}

#sidebar .sb-user{display:flex;align-items:center;gap:10px;padding:10px 12px;border-top:1px solid var(--border);flex-shrink:0;overflow:hidden}
#sidebar .sb-user-avatar{width:32px;height:32px;min-width:32px;border-radius:50%;background:var(--blue);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:var(--text-on-accent,#fff)}
#sidebar .sb-user-info{overflow:hidden;opacity:0;white-space:nowrap}
#sidebar.expanded .sb-user-info,#sidebar.open .sb-user-info{opacity:1}
#sidebar .sb-user-name{font-size:13px;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis}
#sidebar .sb-user-role{font-size:11px;color:var(--muted)}
#sidebar .sb-logout{background:none;border:none;color:var(--muted);cursor:pointer;padding:6px;border-radius:6px;flex-shrink:0;margin-left:auto;min-width:32px;min-height:44px}
#sidebar .sb-logout svg{width:16px;height:16px}
#sidebar.expanded .sb-link-label,#sidebar.open .sb-link-label{white-space:normal;line-height:1.35;min-width:0}
#sidebar .sb-user-info{min-width:0}
@media(max-width:900px){
  .main-header .burger{width:44px;height:44px;min-width:44px;min-height:44px}
  .main-header .main-back{min-height:44px}
  #sidebar .sb-logout{min-width:44px}
}
