/* Header notifications share the dashboard's floating-surface scale. */
.dashboard-notifications-toggle,
.dashboard-notifications-close {
  display:grid;place-items:center;flex:none;width:40px;height:40px;min-height:40px;
  margin:0;padding:0;border:0;border-radius:var(--ui-button-radius,12px);
  background:transparent;color:var(--ui-text-secondary);cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:color 150ms ease,background-color 150ms ease;
}
.dashboard-notifications-toggle>.icon {width:21px;height:21px}
.dashboard-notifications-toggle:hover,
.dashboard-notifications-toggle[aria-expanded="true"] {background:var(--ui-accent-soft);color:var(--ui-accent)}
.dashboard-notifications-close>.icon {width:18px;height:18px}
.dashboard-notifications-close:hover {background:var(--ui-surface-floating-hover);color:var(--ui-text)}
:is(.dashboard-notifications-toggle,.dashboard-notifications-close):focus-visible {outline:2px solid var(--ui-accent);outline-offset:3px}
#campus-notifications {
  position:fixed;z-index:55;box-sizing:border-box;width:min(360px,calc(100vw - 32px));
  max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;
  border:1px solid var(--ui-border-floating);border-radius:20px;
  background:var(--ui-surface-floating);color:var(--ui-text);box-shadow:var(--ui-shadow-floating);
  scrollbar-width:thin;
}
#campus-notifications[hidden] {display:none}
#campus-notifications:not([hidden]) {animation:dashboard-notifications-enter 160ms ease-out}
.dashboard-notifications-panel {outline:none}
.dashboard-notifications-header {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 16px 0 24px}
.dashboard-notifications-header h2 {margin:0;font-size:17px;font-weight:650;line-height:1.4;letter-spacing:-.025em;outline:none}
.dashboard-notifications-empty {display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px 28px 36px;text-align:center}
.dashboard-notifications-symbol {display:grid;place-items:center;width:56px;height:56px;margin-bottom:6px;border-radius:16px;background:var(--ui-accent-soft);color:var(--ui-accent)}
.dashboard-notifications-symbol>.icon {width:25px;height:25px}
.dashboard-notifications-empty h3 {margin:0;font-size:15px;font-weight:600;line-height:1.5;letter-spacing:-.015em}
.dashboard-notifications-empty p {margin:0;max-width:260px;font-size:13px;line-height:1.65;color:var(--ui-text-secondary)}
@media(forced-colors:none) {html[data-theme="dark"] #campus-notifications {border-color:transparent;box-shadow:none}}
@keyframes dashboard-notifications-enter {from {opacity:0;transform:translateY(-6px)} to {opacity:1;transform:translateY(0)}}
@media(max-width:760px) {
  #campus-app .campus-sidebar {grid-template-columns:minmax(0,1fr) auto;column-gap:12px}
  #campus-app .campus-brand {width:100%;min-width:0;max-width:104px}
  #campus-app .campus-brand img {width:100%;max-width:104px}
}
@media(max-width:360px) {
  #campus-app .dashboard-header-controls {gap:6px}
  #campus-app .campus-sidebar {column-gap:8px}
}
@media(prefers-reduced-motion:reduce) {
  #campus-notifications:not([hidden]) {animation:none}
  .dashboard-notifications-toggle,.dashboard-notifications-close {transition:none}
}
@media(forced-colors:active) {
  #campus-notifications {background:Canvas;color:CanvasText;border-color:CanvasText;box-shadow:none}
  .dashboard-notifications-toggle[aria-expanded="true"] {outline:1px solid Highlight;color:Highlight}
}
