.app-page { min-width: 0; margin-left: 224px; }
.app-sidebar { position: fixed; z-index: 80; inset: 0 auto 0 0; display: flex; flex-direction: column; width: 224px; overflow: hidden; border-right: 1px solid #294d3a; background: #143a29; color: #dceae1; box-shadow: 8px 0 26px rgba(17, 48, 33, .08); }
.app-sidebar-head { display: flex; align-items: flex-start; justify-content: space-between; min-height: 88px; padding: 19px 16px; border-bottom: 1px solid rgba(220, 234, 225, .14); }
.app-sidebar-head a { display: grid; gap: 4px; color: white; text-decoration: none; }
.app-sidebar-head strong { font-size: 18px; letter-spacing: .09em; }
.app-sidebar-head span { color: #9fc4ad; font-size: 12px; font-weight: 700; }
.app-sidebar-close { display: none; border: 0; padding: 0 4px; background: transparent; color: white; font-size: 28px; line-height: 1; cursor: pointer; }
.app-sidebar-nav { flex: 1; overflow-y: auto; padding: 12px 10px; }
.app-sidebar-nav p { margin: 17px 10px 6px; color: #87aa95; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.app-sidebar-nav p:first-of-type { margin-top: 11px; }
.app-sidebar-nav a { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 43px; margin: 3px 0; border: 1px solid transparent; border-radius: 9px; padding: 7px 9px; color: #dceae1; text-decoration: none; }
.app-sidebar-nav a:hover, .app-sidebar-nav a:focus-visible { border-color: rgba(220, 234, 225, .24); background: rgba(255, 255, 255, .07); color: white; outline: none; }
.app-sidebar-nav a.active { border-color: #80ae91; background: #f0f7f3; color: #173d2b; box-shadow: 0 5px 14px rgba(5, 25, 15, .16); }
.app-sidebar-nav a strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.app-nav-mark { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 7px; background: rgba(255, 255, 255, .09); color: #b9d3c3; font-size: 12px; font-weight: 900; }
.app-sidebar-nav a.active .app-nav-mark { background: #dcece3; color: #176642; }
.app-sidebar-user { display: grid; gap: 8px; padding: 13px 14px 15px; border-top: 1px solid rgba(220, 234, 225, .14); background: rgba(0, 0, 0, .08); }
.app-sidebar-user > a { display: grid; gap: 3px; padding: 3px 2px; color: white; text-decoration: none; }
.app-sidebar-user > a strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.app-sidebar-user > a span { color: #9fc4ad; font-size: 11px; }
.app-sidebar-user form { margin: 0; }
.app-sidebar-user button { width: 100%; border: 1px solid rgba(220, 234, 225, .22); border-radius: 8px; padding: 8px 10px; background: rgba(255, 255, 255, .06); color: #dceae1; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.app-sidebar-user button:hover { background: rgba(255, 255, 255, .12); color: white; }
.app-menu-toggle { display: none; }
.app-sidebar-scrim { display: none; }
.dashboard-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: calc(100% - 40px); margin: 0 auto; padding: 25px 0 0; }
.dashboard-header h1 { margin: 2px 0 0; font-size: 28px; }
.dashboard-header .today { color: #667085; }

@media (max-width: 900px) {
  .app-page { margin-left: 0; padding-top: 54px; }
  .app-sidebar { width: min(280px, calc(100vw - 44px)); transform: translateX(-102%); transition: transform .2s ease; }
  .app-sidebar-close { display: block; }
  .app-menu-toggle { position: fixed; z-index: 70; top: 10px; left: 12px; display: flex; align-items: center; gap: 7px; min-height: 36px; border: 1px solid #cbd8d0; border-radius: 9px; padding: 7px 11px; background: white; color: #173d2b; font: inherit; font-size: 13px; font-weight: 850; box-shadow: 0 5px 16px rgba(17, 48, 33, .12); cursor: pointer; }
  .app-sidebar-scrim { position: fixed; z-index: 75; inset: 0; width: 100%; border: 0; background: rgba(10, 27, 18, .45); cursor: default; }
  .app-sidebar-open { overflow: hidden; }
  .app-sidebar-open .app-sidebar { transform: translateX(0); }
  .app-sidebar-open .app-sidebar-scrim { display: block; }
  .dashboard-header { width: calc(100% - 28px); padding-top: 14px; }
}

@media print {
  .app-sidebar, .app-menu-toggle, .app-sidebar-scrim { display: none !important; }
  .app-page { margin-left: 0 !important; padding-top: 0 !important; }
}
