.notification-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0 20px;
}
.notification-heading h1 { font-size: 30px; line-height: 1.2; margin: 8px 0; }
.notification-heading p { margin: 8px 0; }
.notification-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 18px;
}
.notification-controls .filters { margin: 0; }
.notification-list { display: grid; gap: 22px; }
.notification-day h2 {
  margin: 0 0 8px;
  padding-inline: 3px;
  color: #465e72;
  font-size: 14px;
  line-height: 1.4;
}
.notification-day-items { display: grid; gap: 8px; }
.card.notification-item {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px;
  text-align: left;
  color: var(--ink, #162e42);
  font: inherit;
  cursor: pointer;
}
.card.notification-item.is-unread { border-color: #b6ccde; background: #f0f7fc; }
.notification-item:focus-visible { outline: 3px solid #e68b39; outline-offset: 3px; }
.notification-blue { --notice-accent: #245779; --notice-tint: #e9f2fa; }
.notification-alarm { --notice-accent: #873635; --notice-tint: #fbeae8; }
.notification-green { --notice-accent: #176048; --notice-tint: #e7f4ec; }
.notification-amber { --notice-accent: #85500b; --notice-tint: #fff1da; }
.notification-glyph {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--notice-tint);
  color: var(--notice-accent);
}
.notification-glyph .icon { width: 20px; height: 20px; }
.notification-copy { display: grid; gap: 4px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.notification-copy strong { font-size: 16px; line-height: 1.3; }
.notification-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  color: #4d6273;
  font-size: 12px;
  line-height: 1.4;
}
.notification-category { font-weight: 750; }
.notification-unread {
  border-radius: 10px;
  padding: 1px 6px;
  color: #214f70;
  background: #dcebf7;
  font-size: 11px;
  font-weight: 750;
}
.notification-preview {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #465e72;
  font-size: 14px;
  line-height: 1.4;
}
.notification-location {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 3px;
  color: #234f70;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.notification-location .icon { width: 14px; height: 14px; flex: 0 0 14px; }
.notification-chevron { align-self: center; color: #536e81; font-size: 23px; line-height: 1; }
.notification-detail { display: grid; gap: 16px; overflow-wrap: anywhere; }
.notification-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px;
  border-radius: 14px;
  background: var(--notice-tint);
  color: var(--notice-accent);
}
.notification-detail-header .notification-glyph { background: #fffc; }
.notification-detail .notification-category { margin: 0 0 4px; color: inherit; font-size: 12px; line-height: 1.3; }
.notification-detail h3 { margin: 0; color: var(--ink, #162e42); font-size: 20px; line-height: 1.25; }
.notification-detail .notification-detail-message { margin: 0; white-space: pre-line; line-height: 1.55; }
.notification-attendance-report {
  padding: 14px;
  border: 1px solid #d5e0e8;
  border-radius: 12px;
  background: #f7fafc;
}
.notification-attendance-report h4 {
  margin: 0 0 8px;
  color: #214f70;
  font-size: 14px;
  line-height: 1.35;
}
.notification-attendance-report .notification-detail-message { color: var(--ink, #162e42); }
.notification-attendance-report .notification-attendance-note { margin: 10px 0 0; font-size: 13px; }
.notification-detail-data {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr));
  gap: 10px;
  margin: 0;
}
.notification-detail-data > div { padding: 11px 12px; border: 1px solid #d5e0e8; border-radius: 11px; background: #f7fafc; }
.notification-detail-data dt { color: #4d6273; font-size: 12px; font-weight: 750; line-height: 1.35; }
.notification-detail-data dd { margin: 4px 0 0; color: var(--ink, #162e42); font-size: 14px; line-height: 1.4; }

.notification-bell{position:relative;flex-shrink:0}.notification-count{position:absolute;top:0;right:-2px;min-width:17px;height:17px;padding:0 4px;border-radius:10px;background:#b53131;color:#fff;font-size:10px;line-height:17px;text-align:center}.notification-count[hidden]{display:none}
.topbar .notification-bell{flex:0 0 44px;width:44px;height:44px;border:1px solid #ffffff36;border-radius:11px;color:var(--brand-on-primary,#fff);background:#ffffff09}.topbar .notification-bell:hover{background:#ffffff1a}.topbar .notification-bell:focus-visible{outline:3px solid #ffc879;outline-offset:2px}

.notification-preferences{display:grid;gap:14px;margin:18px 0}.notification-preferences fieldset{border:1px solid #d5e0e8;border-radius:12px;padding:14px;min-width:0}.notification-preferences legend{font-weight:700;padding:0 6px;max-width:100%}.notification-preferences label{display:flex;gap:10px;align-items:center;margin:12px 0;font-size:14px}.notification-preferences input{width:20px;height:20px;flex:none;accent-color:#173c5e}
