/* Hauptnavigation mit etwa 15 % mehr Zeilenhöhe; geringe Höhen bleiben kompakt. */
@media (min-width:1025px) {
  html body aside.sidebar .brand {padding:10px 12px 7px;gap:9px;}
  html body aside.sidebar nav.sidebar-nav {padding:5px;min-height:0;flex:1;}
  html body aside.sidebar .nav-section {margin-top:4px;}
  html body aside.sidebar .nav-section-title {padding:5px 9px;margin:1px 0;font-size:11px;}
  html body aside.sidebar .nav-section .nav-list {padding:0 4px 4px;}
  html body aside.sidebar .nav-item a {min-height:36px;padding:6px 8px;gap:8px;border-radius:9px;}
  html body aside.sidebar .nav-label {font-size:13px;line-height:1.3;letter-spacing:0;}
  html body aside.sidebar .nav-icon {width:19px;height:19px;flex-basis:19px;}
  html body aside.sidebar .sidebar-footer {padding:8px;}
  html body aside.sidebar .user-card {gap:7px;padding:7px;}
  html body aside.sidebar .user-meta strong {font-size:12px;line-height:1.25;}
  html body aside.sidebar .user-meta small {font-size:10px;line-height:1.2;}
  html body aside.sidebar .logout-btn {padding:5px 8px;font-size:11px;}
  html.fp-dense-desktop body aside.sidebar .brand {padding:7px 10px 5px;}
  html.fp-dense-desktop body aside.sidebar .nav-item a {min-height:31px;padding:5px 7px;}
  html.fp-dense-desktop body aside.sidebar .nav-label {font-size:12px;}
  html.fp-dense-desktop body aside.sidebar .nav-section-title {font-size:10px;padding:4px 7px;}
  html.fp-compact-desktop body.fp-weekly-view .app {
    grid-template-columns:var(--sidebar-w) minmax(0,1fr);
    grid-template-areas:"sidebar header" "sidebar main";
  }
  html.fp-compact-desktop body.fp-weekly-view aside.sidebar {
    position:sticky;left:auto;top:0;bottom:auto;width:var(--sidebar-w);height:100dvh;
    transform:none;transition:none;box-shadow:var(--shadow-sm);
  }
  html.fp-compact-desktop body.fp-weekly-view .burger {display:none;}
}
@media (min-width:1025px) and (max-height:740px) {
  html.fp-dense-desktop body aside.sidebar .nav-section {margin-top:3px;}
  html.fp-dense-desktop body aside.sidebar .nav-section .nav-list {padding-bottom:3px;}
  html.fp-dense-desktop body aside.sidebar .nav-item a {min-height:27px;padding:4px 7px;}
  html.fp-dense-desktop body aside.sidebar .nav-label {font-size:11.5px;}
  html.fp-dense-desktop body aside.sidebar .nav-icon {width:17px;height:17px;flex-basis:17px;}
  html.fp-dense-desktop body aside.sidebar .nav-section-title {font-size:9px;padding:3px 7px;}
}
body.fp-weekly-view main#hauptinhalt {
  min-width:0;min-height:0;max-width:none;width:100%;padding:0;
  height:var(--fp-weekly-height,calc(100dvh - 60px));overflow:hidden;
}
body.fp-weekly-view .fp-weekly-frame {display:block;width:100%;height:100%;border:0;}
