/* =========================================================================
   Notices — The Dispatch (student app.html #section-notices).
   From 1024px a list beside a reading pane that starts empty; below that the
   reader replaces the list. Tokens are the approved B3.2 record's. The
   prefix out-weighs the legacy notice rules in student-redesign.css, which
   still style the bin, inbox and reply-thread classes with !important.
   ========================================================================= */


html body.app-dashboard #section-notices.student-notices {
  --nd-ink: #16233f;
  --nd-ink-soft: #34425c;
  --nd-slate: #5d6b84;
  --nd-mist: #8a97ad;
  --nd-rule: #dfe4ec;
  --nd-soft: #f1f4f9;
  --nd-open: #f6f8fb;
  --nd-brand: #1f6fd6;
  --nd-brand-deep: #1559b0;
  --nd-tint: #eaf2fd;
  --nd-navy: #081f47;
  --nd-navy-mid: #12489e;
  --nd-amber-ink: #8a5208;
  --nd-amber-tint: #fdf1df;
  --nd-green-ink: #137a40;
  --nd-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nd-measure: 920px;
  --nd-date-col: 96px;
  --nd-date-gap: 20px;
  color: var(--nd-ink);
  font-variant-numeric: tabular-nums;
}

/* The shipped masthead, chips and pinned band give way to N1's. */




html body.app-dashboard #section-notices.student-notices ::selection { background: var(--nd-tint); color: var(--nd-ink); }



/* ------------------------------------------------------------- summary */
html body.app-dashboard #section-notices.student-notices .nd-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
html body.app-dashboard #section-notices.student-notices .nd-summary { min-width: 0; }
html body.app-dashboard #section-notices.student-notices .nd-summary-line {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 6px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--nd-slate);
}
html body.app-dashboard #section-notices.student-notices .nd-summary-line b {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--nd-ink);
}
html body.app-dashboard #section-notices.student-notices.nd-loading .nd-summary-line { color: var(--nd-slate); }
html body.app-dashboard #section-notices.student-notices .nd-scope {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--nd-slate);
}
html body.app-dashboard #section-notices.student-notices .nd-scope:empty { display: none; }
html body.app-dashboard #section-notices.student-notices .nd-ico { display: inline-flex; width: 18px; height: 18px; flex: none; }
html body.app-dashboard #section-notices.student-notices .nd-ico svg { width: 100%; height: 100%; }
html body.app-dashboard #section-notices.student-notices .nd-ico--offline { color: var(--nd-amber-ink); margin-right: 2px; }

/* ------------------------------------------------------------- buttons */
html body.app-dashboard #section-notices.student-notices .nd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--nd-rule);
  background: #fff;
  color: var(--nd-ink);
  font: 500 14.5px/1.2 inherit;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 80ms ease;
}
html body.app-dashboard #section-notices.student-notices .nd-btn:hover { background: var(--nd-tint); border-color: #c9daf3; }
html body.app-dashboard #section-notices.student-notices .nd-btn:active { transform: scale(0.98); }
html body.app-dashboard #section-notices.student-notices .nd-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
html body.app-dashboard #section-notices.student-notices .nd-btn--primary {
  min-height: 44px;
  padding: 0 18px;
  border-color: var(--nd-navy);
  background: var(--nd-navy);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
html body.app-dashboard #section-notices.student-notices .nd-btn--primary:hover { background: var(--nd-navy-mid); border-color: var(--nd-navy-mid); color: #fff; }
html body.app-dashboard #section-notices.student-notices .nd-btn--primary .nd-ico { width: 16px; height: 16px; transition: transform 150ms var(--nd-ease); }
html body.app-dashboard #section-notices.student-notices .nd-btn--primary:hover .nd-ico { transform: translateX(2px); }
html body.app-dashboard #section-notices.student-notices .nd-markall {
  min-height: 40px;
  padding: 0 10px;
  margin-right: -10px;
  border-color: transparent;
  background: none;
  color: var(--nd-brand-deep);
  font-weight: 600;
}
html body.app-dashboard #section-notices.student-notices .nd-markall:hover { background: var(--nd-tint); border-color: transparent; }
html body.app-dashboard #section-notices.student-notices .nd-markall[hidden] { display: none; }

html body.app-dashboard #section-notices.student-notices :is(a, button, input):focus-visible {
  outline: 2px solid var(--nd-brand);
  outline-offset: 2px;
}

/* ------------------------------------------------------------- filters */
html body.app-dashboard #section-notices.student-notices .nd-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 26px;
}
html body.app-dashboard #section-notices.student-notices .nd-filters[hidden] { display: none; }
html body.app-dashboard #section-notices.student-notices .nd-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--nd-rule);
  border-radius: 8px;
  background: #fff;
  color: var(--nd-slate);
  font: 500 14px/1 inherit;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
html body.app-dashboard #section-notices.student-notices .nd-filter:hover { background: var(--nd-soft); color: var(--nd-ink); }
html body.app-dashboard #section-notices.student-notices .nd-filter[aria-pressed="true"] {
  background: var(--nd-tint);
  border-color: #b9cdf0;
  color: var(--nd-brand-deep);
  font-weight: 600;
}
html body.app-dashboard #section-notices.student-notices .nd-filter-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--nd-brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}
html body.app-dashboard #section-notices.student-notices .nd-filter-count:empty { display: none; }

/* -------------------------------------------------------------- groups */
html body.app-dashboard #section-notices.student-notices .nd-group + .nd-group { margin-top: 26px; }
html body.app-dashboard #section-notices.student-notices .nd-group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  flex-wrap: wrap;
  padding: 12px 0 4px;
  border-top: 1px solid var(--nd-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nd-ink);
}
html body.app-dashboard #section-notices.student-notices .nd-ico--pin { width: 14px; height: 14px; color: var(--nd-slate); }
html body.app-dashboard #section-notices.student-notices .nd-group-count {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--nd-slate);
}
html body.app-dashboard #section-notices.student-notices .nd-list { list-style: none; margin: 0; padding: 0; }
html body.app-dashboard #section-notices.student-notices .nd-item + .nd-item { border-top: 1px solid var(--nd-rule); }

/* ----------------------------------------------------------------- rows */
html body.app-dashboard #section-notices.student-notices .nd-row {
  display: grid;
  grid-template-columns: var(--nd-date-col) minmax(0, 1fr) 18px;
  column-gap: var(--nd-date-gap);
  align-items: start;
  margin: 0 -14px;
  padding: 14px 14px 15px;
  border-radius: 10px;
  color: var(--nd-ink);
  text-decoration: none;
  transition: background-color 150ms ease, transform 80ms ease;
}
html body.app-dashboard #section-notices.student-notices .nd-row:hover { background: var(--nd-open); }
html body.app-dashboard #section-notices.student-notices .nd-row:active { transform: scale(0.995); }
html body.app-dashboard #section-notices.student-notices .nd-row:focus-visible { outline-offset: -2px; }

html body.app-dashboard #section-notices.student-notices .nd-when { display: grid; gap: 2px; padding-top: 1px; }
html body.app-dashboard #section-notices.student-notices .nd-when b { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--nd-ink-soft); }
html body.app-dashboard #section-notices.student-notices .nd-when span { font-size: 12.5px; line-height: 1.3; color: var(--nd-slate); }
html body.app-dashboard #section-notices.student-notices .nd-row.is-unread .nd-when b { color: var(--nd-ink); }

html body.app-dashboard #section-notices.student-notices .nd-main { position: relative; min-width: 0; }
html body.app-dashboard #section-notices.student-notices .nd-title {
  display: block;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--nd-ink-soft);
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
html body.app-dashboard #section-notices.student-notices .nd-row.is-unread .nd-title { font-weight: 600; color: var(--nd-ink); }
html body.app-dashboard #section-notices.student-notices .nd-dot {
  display: none;
  position: absolute;
  left: -14px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nd-brand);
}
html body.app-dashboard #section-notices.student-notices .nd-row.is-unread .nd-dot,
html body.app-dashboard #section-notices.student-notices .nd-row.is-just-read .nd-dot { display: block; }
html body.app-dashboard #section-notices.student-notices .nd-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Every meta item carries its own leading dot. The inner line is pulled left
   by one dot's width inside a clipping outer box, so the dot that would start
   a wrapped line is cut off and a line never begins with a separator. */
html body.app-dashboard #section-notices.student-notices .nd-meta,
html body.app-dashboard #section-notices.student-notices .nd-byline,
html body.app-dashboard #section-notices.student-notices .nd-dates { display: block; overflow: hidden; }
html body.app-dashboard #section-notices.student-notices .nd-meta { margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--nd-slate); }
html body.app-dashboard #section-notices.student-notices :is(.nd-meta-in, .nd-line-in) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-left: -18px;
}
/* the dot sits in each item's own left padding, so an item that wraps (a
   long publisher name) keeps its continuation lines clear of the clip */
html body.app-dashboard #section-notices.student-notices :is(.nd-meta-in, .nd-line-in) > * { position: relative; padding-left: 18px; min-width: 0; }
html body.app-dashboard #section-notices.student-notices :is(.nd-meta-in, .nd-line-in) > *::before {
  content: "\00b7";
  position: absolute;
  left: 0;
  width: 18px;
  text-align: center;
  color: var(--nd-mist);
}
html body.app-dashboard #section-notices.student-notices .nd-meta-in > .nd-when-inline { display: none; }
html body.app-dashboard #section-notices.student-notices .nd-src { color: var(--nd-ink-soft); font-weight: 500; overflow-wrap: anywhere; }
html body.app-dashboard #section-notices.student-notices .nd-status { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
html body.app-dashboard #section-notices.student-notices .nd-status--amber { color: var(--nd-amber-ink); }
html body.app-dashboard #section-notices.student-notices .nd-status--green { color: var(--nd-green-ink); }
html body.app-dashboard #section-notices.student-notices .nd-status .nd-ico--tick { width: 15px; height: 15px; }

html body.app-dashboard #section-notices.student-notices .nd-preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  margin-top: 2px;
  max-width: 72ch;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--nd-slate);
}
html body.app-dashboard #section-notices.student-notices .nd-chev {
  align-self: center;
  width: 18px;
  height: 18px;
  color: var(--nd-mist);
  transition: transform 150ms var(--nd-ease), color 150ms ease;
}
html body.app-dashboard #section-notices.student-notices .nd-row:hover .nd-chev { color: var(--nd-brand-deep); transform: translateX(2px); }

/* Returning from a notice: the row it came from is marked once, and its
   unread dot leaves as the read state lands. */
html body.app-dashboard #section-notices.student-notices .nd-row.is-just-read { animation: nd-arrive 1100ms ease-out both; }
html body.app-dashboard #section-notices.student-notices .nd-row.is-just-read .nd-dot { animation: nd-dot-out 420ms 160ms var(--nd-ease) forwards; }
@keyframes nd-arrive { from { background-color: var(--nd-tint); } to { background-color: transparent; } }
@keyframes nd-dot-out { to { transform: scale(0); opacity: 0; } }

html body.app-dashboard #section-notices.student-notices .nd-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--nd-brand-deep);
  font: 600 14.5px/1.2 inherit;
  font-family: inherit;
  cursor: pointer;
  text-underline-offset: 4px;
}
html body.app-dashboard #section-notices.student-notices .nd-more:hover { text-decoration: underline; }

/* ---------------------------------------- empty, failed and loading */
html body.app-dashboard #section-notices.student-notices .nd-empty,
html body.app-dashboard #section-notices.student-notices #notice-inbox-empty {
  padding: 22px 0 8px;
  border: 0 !important;
  border-top: 1px solid var(--nd-ink) !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  text-align: left;
}
html body.app-dashboard #section-notices.student-notices.nd-no-bin .nd-endcap { display: none; }
html body.app-dashboard #section-notices.student-notices #notice-inbox-empty.is-hidden { display: none; }
html body.app-dashboard #section-notices.student-notices .nd-empty-title { margin: 0; font-size: 17px; font-weight: 600; color: var(--nd-ink); }
html body.app-dashboard #section-notices.student-notices .nd-empty-text { margin: 6px 0 0; max-width: 56ch; font-size: 15px; line-height: 1.5; color: var(--nd-slate); }
html body.app-dashboard #section-notices.student-notices #notice-inbox-empty .ntb-retry {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 16px 0 0 !important;
  padding: 0 18px;
  border: 1px solid var(--nd-navy);
  border-radius: 8px;
  background: var(--nd-navy);
  color: #fff;
  font: 600 15px/1 inherit;
  font-family: inherit;
  cursor: pointer;
}
html body.app-dashboard #section-notices.student-notices #notice-inbox-empty .ntb-retry:hover { background: var(--nd-navy-mid); }
html body.app-dashboard #section-notices.student-notices.nd-failed #student-notice-list { display: none; }

/* the loader's own skeleton, set in N1's row grammar */
html body.app-dashboard #section-notices.student-notices .ntb-skel {
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--nd-ink);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
html body.app-dashboard #section-notices.student-notices .ntb-skel .ntb-skel-row {
  position: relative;
  height: 76px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
html body.app-dashboard #section-notices.student-notices .ntb-skel .ntb-skel-row + .ntb-skel-row { border-top: 1px solid var(--nd-rule); }
html body.app-dashboard #section-notices.student-notices .ntb-skel .ntb-skel-row::before,
html body.app-dashboard #section-notices.student-notices .ntb-skel .ntb-skel-row::after {
  content: "";
  position: absolute;
  left: calc(var(--nd-date-col) + var(--nd-date-gap));
  height: 12px;
  border-radius: 6px;
  background: var(--nd-soft);
}
html body.app-dashboard #section-notices.student-notices .ntb-skel .ntb-skel-row::before { top: 20px; width: min(52%, 420px); }
html body.app-dashboard #section-notices.student-notices .ntb-skel .ntb-skel-row::after { top: 44px; width: min(74%, 600px); height: 10px; }
html body.app-dashboard #section-notices.student-notices #student-notice-list[aria-busy="true"] { opacity: 0.72; transition: opacity 150ms ease; }

/* ------------------------------------------------------------------ bin */
html body.app-dashboard #section-notices.student-notices .nd-endcap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 34px;
  padding-top: 6px;
  border-top: 1px solid var(--nd-rule);
}
html body.app-dashboard #section-notices.student-notices.nd-loading .nd-endcap,
html body.app-dashboard #section-notices.student-notices.nd-failed .nd-endcap { display: none; }
html body.app-dashboard #section-notices.student-notices .nd-bin-toggle {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--nd-slate);
  font: 500 14px/1 inherit;
  font-family: inherit;
}
html body.app-dashboard #section-notices.student-notices .nd-bin-toggle:hover { color: var(--nd-ink); }
html body.app-dashboard #section-notices.student-notices .nd-endcap-note { font-size: 13px; color: var(--nd-slate); }

html body.app-dashboard #section-notices.student-notices .notice-bin-panel { margin-top: 4px; padding: 0; border: 0 !important; background: none !important; box-shadow: none !important; }
html body.app-dashboard #section-notices.student-notices .notice-bin-list { margin: 0; padding: 0; }
html body.app-dashboard #section-notices.student-notices .notice-bin-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 10px 0;
  border: 0 !important;
  border-top: 1px solid var(--nd-rule) !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
html body.app-dashboard #section-notices.student-notices .notice-bin-item + .notice-bin-item::before { display: none; }
html body.app-dashboard #section-notices.student-notices .notice-bin-item-title { flex: 1 1 260px; font-size: 15px; font-weight: 500; color: var(--nd-ink-soft); }
html body.app-dashboard #section-notices.student-notices .notice-bin-item-meta { order: 3; flex-basis: 100%; margin-top: -4px; font-size: 13px; color: var(--nd-slate); }
html body.app-dashboard #section-notices.student-notices .notice-bin-actions { display: flex; gap: 4px; }
html body.app-dashboard #section-notices.student-notices .notice-bin-actions .ntb-bin-act { min-height: 40px; padding: 0 10px; border-radius: 8px; font-size: 14px; font-weight: 600; }
html body.app-dashboard #section-notices.student-notices .notice-bin-actions .ntb-bin-act:hover { background: var(--nd-soft); }
html body.app-dashboard #section-notices.student-notices .notice-bin-empty { padding: 14px 0; border-top: 1px solid var(--nd-rule); background: none; text-align: left; }

/* --------------------------------------------------------------- reader */
html body.app-dashboard #section-notices.student-notices .nd-reader { max-width: 720px; }
html body.app-dashboard #section-notices.student-notices .nd-reader:not([hidden]) { animation: nd-enter 220ms var(--nd-ease) both; }
@keyframes nd-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

html body.app-dashboard #section-notices.student-notices .nd-reader-top { margin: -6px 0 14px; }
html body.app-dashboard #section-notices.student-notices .nd-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin-left: -4px;
  padding-right: 8px;
  color: var(--nd-brand-deep);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 4px;
}
html body.app-dashboard #section-notices.student-notices .nd-back .nd-ico { transition: transform 150ms var(--nd-ease); }
html body.app-dashboard #section-notices.student-notices .nd-back:hover { text-decoration: underline; }
html body.app-dashboard #section-notices.student-notices .nd-back:hover .nd-ico { transform: translateX(-2px); }

html body.app-dashboard #section-notices.student-notices .nd-reader-head { padding-bottom: 20px; border-bottom: 1px solid var(--nd-rule); }
html body.app-dashboard #section-notices.student-notices .nd-reader-title {
  margin: 0;
  max-width: 32ch;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--nd-ink);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
html body.app-dashboard #section-notices.student-notices .nd-reader-title.is-long { font-size: 24px; line-height: 1.22; max-width: 40ch; }
html body.app-dashboard #section-notices.student-notices .nd-reader-title:focus { outline: none; }
html body.app-dashboard #section-notices.student-notices .nd-summary-note { flex-basis: 100%; font-size: 14.5px; }
html body.app-dashboard #section-notices.student-notices .nd-byline {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--nd-slate);
}
html body.app-dashboard #section-notices.student-notices .nd-byline .nd-src { color: var(--nd-ink); font-weight: 600; }
html body.app-dashboard #section-notices.student-notices .nd-dates { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--nd-slate); }

html body.app-dashboard #section-notices.student-notices .nd-ack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 22px;
  padding: 14px 16px 14px 18px;
  border-radius: 10px;
  background: var(--nd-amber-tint);
}
html body.app-dashboard #section-notices.student-notices .nd-ack-text { flex: 1 1 260px; margin: 0; font-size: 15px; line-height: 1.5; color: var(--nd-amber-ink); }
html body.app-dashboard #section-notices.student-notices .nd-ack.is-done { padding: 0; background: none; }
html body.app-dashboard #section-notices.student-notices .nd-ack-done { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 15px; font-weight: 600; color: var(--nd-green-ink); }

html body.app-dashboard #section-notices.student-notices .nd-body {
  margin-top: 24px;
  max-width: 64ch;
  font-size: 17px;
  line-height: 1.62;
  color: #1d2a44;
  overflow-wrap: break-word;
}
html body.app-dashboard #section-notices.student-notices .nd-body > * { margin: 0; }
html body.app-dashboard #section-notices.student-notices .nd-body > * + * { margin-top: 14px; }
html body.app-dashboard #section-notices.student-notices .nd-body :is(ul, ol) { padding-left: 1.25em; }
html body.app-dashboard #section-notices.student-notices .nd-body p + :is(ul, ol) { margin-top: 6px; }
html body.app-dashboard #section-notices.student-notices .nd-body li + li { margin-top: 4px; }
html body.app-dashboard #section-notices.student-notices .nd-body li::marker { color: var(--nd-slate); }
html body.app-dashboard #section-notices.student-notices .nd-body-none { color: var(--nd-slate); }
html body.app-dashboard #section-notices.student-notices .nd-action { margin-top: 26px; }

html body.app-dashboard #section-notices.student-notices .nd-replies { margin-top: 40px; }
html body.app-dashboard #section-notices.student-notices .nd-section-head {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--nd-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nd-ink);
}
html body.app-dashboard #section-notices.student-notices .nd-replies-note { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--nd-slate); }
/* student-redesign.css boxes the legacy thread with !important */
html body.app-dashboard #section-notices.student-notices .nd-thread-slot .notice-thread { margin: 0; padding: 0; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none; }
html body.app-dashboard #section-notices.student-notices .nd-thread-slot .notice-replies { list-style: none; margin: 10px 0 0; padding: 0; }
html body.app-dashboard #section-notices.student-notices .nd-thread-slot .notice-reply {
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--nd-rule);
  border-radius: 0;
  background: none;
  font-size: 15px;
  line-height: 1.5;
  color: var(--nd-ink);
}
html body.app-dashboard #section-notices.student-notices .nd-thread-slot .notice-reply:only-child:not(:has(.notice-reply-meta)) { color: var(--nd-slate); border-bottom: 0; padding-bottom: 0; }
html body.app-dashboard #section-notices.student-notices .nd-thread-slot .notice-reply-meta { margin-top: 2px; font-size: 13px; color: var(--nd-slate); }
html body.app-dashboard #section-notices.student-notices .nd-thread-slot .notice-reply-form { display: flex; gap: 8px; margin: 14px 0 0; padding: 0; border: 0; background: none; }
html body.app-dashboard #section-notices.student-notices .nd-thread-slot .notice-reply-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #cfd6e2 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--nd-ink);
  font: 400 15px/1.2 inherit;
  font-family: inherit;
  box-shadow: none;
}
html body.app-dashboard #section-notices.student-notices .nd-thread-slot .notice-reply-form input::placeholder { color: #6b788f; }
html body.app-dashboard #section-notices.student-notices .nd-thread-slot .notice-reply-form input:focus { outline: none; border-color: var(--nd-brand) !important; box-shadow: 0 0 0 3px var(--nd-tint); }
html body.app-dashboard #section-notices.student-notices .nd-thread-slot .notice-reply-form button {
  flex: none;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--nd-navy) !important;
  border-radius: 8px !important;
  background: var(--nd-navy) !important;
  color: #fff !important;
  font: 600 15px/1 inherit;
  font-family: inherit;
  cursor: pointer;
}
html body.app-dashboard #section-notices.student-notices .nd-thread-slot .notice-reply-form button:hover { background: var(--nd-navy-mid) !important; }

html body.app-dashboard #section-notices.student-notices .nd-reader-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--nd-rule);
}
html body.app-dashboard #section-notices.student-notices .nd-reader-foot:empty { display: none; }
html body.app-dashboard #section-notices.student-notices .nd-foot-note { font-size: 13px; color: var(--nd-slate); }

html body.app-dashboard #section-notices.student-notices .nd-adjacent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
html body.app-dashboard #section-notices.student-notices .nd-adj {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-height: 44px;
  padding: 12px 0;
  border-top: 1px solid var(--nd-rule);
  color: var(--nd-ink);
  text-decoration: none;
}
html body.app-dashboard #section-notices.student-notices .nd-adj .nd-ico { margin-top: 2px; color: var(--nd-mist); transition: color 150ms ease; }
html body.app-dashboard #section-notices.student-notices .nd-adj--next { grid-column: 2; justify-content: flex-end; text-align: right; }
html body.app-dashboard #section-notices.student-notices .nd-adj-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.4;
}
/* one line of prose: "Next  <title>" — the direction reads as a word, not a label */
html body.app-dashboard #section-notices.student-notices .nd-adj-label { margin-right: 6px; font-weight: 500; color: var(--nd-slate); }
html body.app-dashboard #section-notices.student-notices .nd-adj-title { font-weight: 600; transition: color 150ms ease; }
html body.app-dashboard #section-notices.student-notices .nd-adj:hover .nd-ico { color: var(--nd-brand-deep); }
html body.app-dashboard #section-notices.student-notices .nd-adj:hover .nd-adj-title { color: var(--nd-brand-deep); }

/* --------------------------------------------------------------- phones */
@media (max-width: 768px) {
  html body.app-dashboard #section-notices.student-notices .nd-head { align-items: flex-start; margin-bottom: 14px; }
  html body.app-dashboard #section-notices.student-notices .nd-summary-line b { font-size: 18px; }
  html body.app-dashboard #section-notices.student-notices .nd-head-actions { width: 100%; margin-top: -6px; }
  html body.app-dashboard #section-notices.student-notices .nd-markall { min-height: 44px; margin: 0 0 0 -10px; }
  html body.app-dashboard #section-notices.student-notices .nd-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -16px 22px;
    padding: 0 16px 2px;
    scrollbar-width: none;
  }
  html body.app-dashboard #section-notices.student-notices .nd-filters::-webkit-scrollbar { display: none; }
  html body.app-dashboard #section-notices.student-notices .nd-filter { flex: none; min-height: 40px; }

  html body.app-dashboard #section-notices.student-notices .nd-row {
    grid-template-columns: minmax(0, 1fr) 16px;
    column-gap: 10px;
    margin: 0 -12px;
    padding: 14px 12px 14px 26px;
  }
  html body.app-dashboard #section-notices.student-notices .nd-when { display: none; }
  html body.app-dashboard #section-notices.student-notices .nd-meta-in > .nd-when-inline { display: inline; }
  html body.app-dashboard #section-notices.student-notices .nd-dot { left: -15px; }
  html body.app-dashboard #section-notices.student-notices .nd-title { font-size: 16.5px; }
  html body.app-dashboard #section-notices.student-notices .nd-preview { -webkit-line-clamp: 2; font-size: 14px; }
  html body.app-dashboard #section-notices.student-notices .ntb-skel .ntb-skel-row::before,
  html body.app-dashboard #section-notices.student-notices .ntb-skel .ntb-skel-row::after { left: 14px; }

  html body.app-dashboard #section-notices.student-notices .nd-reader-top { margin-top: -10px; }
  html body.app-dashboard #section-notices.student-notices .nd-reader-title { font-size: 24px; line-height: 1.2; }
  html body.app-dashboard #section-notices.student-notices .nd-reader-title.is-long { font-size: 19px; line-height: 1.3; }
  html body.app-dashboard #section-notices.student-notices .nd-body { font-size: 16.5px; line-height: 1.6; }
  html body.app-dashboard #section-notices.student-notices .nd-ack { padding: 14px; }
  html body.app-dashboard #section-notices.student-notices .nd-ack .nd-btn--primary { width: 100%; }
  html body.app-dashboard #section-notices.student-notices .nd-action { width: 100%; }
  html body.app-dashboard #section-notices.student-notices .nd-adjacent { grid-template-columns: 1fr; gap: 0; }
  html body.app-dashboard #section-notices.student-notices .nd-adj--next { grid-column: auto; justify-content: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html body.app-dashboard #section-notices.student-notices .nd-reader:not([hidden]) { animation: none; }
  html body.app-dashboard #section-notices.student-notices .nd-row.is-just-read { animation-duration: 600ms; }
  html body.app-dashboard #section-notices.student-notices .nd-row.is-just-read .nd-dot { animation: nd-dot-fade 200ms forwards; }
  html body.app-dashboard #section-notices.student-notices .nd-row,
  html body.app-dashboard #section-notices.student-notices .nd-btn,
  html body.app-dashboard #section-notices.student-notices .nd-chev,
  html body.app-dashboard #section-notices.student-notices .nd-back .nd-ico,
  html body.app-dashboard #section-notices.student-notices .nd-btn--primary .nd-ico { transition: background-color 150ms ease, color 150ms ease; transform: none !important; }
  @keyframes nd-dot-fade { to { opacity: 0; } }
}

/* ------------------------------------------- shared additions (Fable) */
html body.app-dashboard #section-notices.student-notices .nd-status--blue { color: var(--nd-brand-deep); }
html body.app-dashboard #section-notices.student-notices .nd-updated.is-fresh { display: inline-flex; align-items: center; gap: 5px; color: var(--nd-brand-deep); font-weight: 600; }
html body.app-dashboard #section-notices.student-notices .nd-updated.is-fresh .nd-ico { width: 15px; height: 15px; }
html body.app-dashboard #section-notices.student-notices .nd-group-sub { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--nd-slate); }
html body.app-dashboard #section-notices.student-notices .nd-filter-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  background: var(--nd-brand); color: #fff; font-size: 12px; font-weight: 600; line-height: 20px; text-align: center;
}
html body.app-dashboard #section-notices.student-notices .nd-filter-count:empty { display: none; }
html body.app-dashboard #section-notices.student-notices .nd-row.is-selected { background: var(--nd-tint); }
html body.app-dashboard #section-notices.student-notices .nd-row.is-selected .nd-title { color: var(--nd-brand-deep); }

/* ------------------------------------------------------- page structure */
html body.app-dashboard #section-notices.student-notices .is-hidden { display: none !important; }
html body.app-dashboard #section-notices.student-notices .nd-pane--list > * { max-width: var(--nd-measure); }
html body.app-dashboard #section-notices.student-notices .nd-filters[hidden] { display: none; }
html body.app-dashboard #section-notices.student-notices .nd-ico--sm { width: 15px; height: 15px; }
html body.app-dashboard #section-notices.student-notices .nd-reader[hidden] { display: none; }
html body.app-dashboard #section-notices.student-notices .nd-pane-empty[hidden] { display: none; }
html body.app-dashboard #section-notices.student-notices.is-bin-open .notice-bin-panel { display: block; }
html body.app-dashboard #section-notices.student-notices .notice-bin-panel { display: none; }
html body.app-dashboard #section-notices.student-notices .nd-bin-chev { width: 14px; height: 14px; margin-left: 2px; vertical-align: -2px; transition: transform 150ms ease; }
html body.app-dashboard #section-notices.student-notices.is-bin-open .nd-bin-chev { transform: rotate(180deg); }
html body.app-dashboard #section-notices.student-notices .nd-retry { margin-top: 16px; }

html body.app-dashboard #section-notices.student-notices.nd-board-empty .nd-pane-empty,
html body.app-dashboard #section-notices.student-notices.nd-failed .nd-pane-empty { display: none; }

/* below 1024px: the list, then the reader on its own; no empty pane */
@media (max-width: 1023.98px) {
  html body.app-dashboard #section-notices.student-notices .nd-pane-empty { display: none !important; }
  html body.app-dashboard #section-notices.student-notices.nd-reading .nd-pane--list { display: none; }
}


/* rows: title, context line, time on the right */
html body.app-dashboard #section-notices.student-notices .nd-row {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 16px;
  padding: 12px 14px 13px;
}
html body.app-dashboard #section-notices.student-notices .nd-title { font-size: 16.5px; }
html body.app-dashboard #section-notices.student-notices .nd-meta { margin-top: 3px; font-size: 13.5px; }
html body.app-dashboard #section-notices.student-notices .nd-meta-in > .nd-when-inline { display: none; }
html body.app-dashboard #section-notices.student-notices .nd-time { padding-top: 2px; font-size: 13px; line-height: 1.4; color: var(--nd-slate); white-space: nowrap; }
html body.app-dashboard #section-notices.student-notices .nd-row.is-unread .nd-time { color: var(--nd-ink-soft); font-weight: 500; }
html body.app-dashboard #section-notices.student-notices .nd-group + .nd-group { margin-top: 22px; }

/* reader: publisher first, then the title, then the context strip */
html body.app-dashboard #section-notices.student-notices .nd-who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
html body.app-dashboard #section-notices.student-notices .nd-mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: #0b2a5e;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
html body.app-dashboard #section-notices.student-notices .nd-who-lines { display: grid; gap: 1px; min-width: 0; }
html body.app-dashboard #section-notices.student-notices .nd-who-name { font-size: 15px; font-weight: 600; color: var(--nd-ink); }
html body.app-dashboard #section-notices.student-notices .nd-who-role { font-size: 13.5px; line-height: 1.4; color: var(--nd-slate); }
html body.app-dashboard #section-notices.student-notices .nd-reader-title { font-size: 28px; }
html body.app-dashboard #section-notices.student-notices .nd-reader-head { padding-bottom: 0; border-bottom: 0; }
html body.app-dashboard #section-notices.student-notices .nd-dates { margin-top: 8px; }

html body.app-dashboard #section-notices.student-notices .nd-context { margin: 18px 0 0; border-top: 1px solid var(--nd-ink); }
html body.app-dashboard #section-notices.student-notices .nd-context-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  column-gap: 20px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--nd-rule);
}
html body.app-dashboard #section-notices.student-notices .nd-context-row dt { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nd-slate); }
html body.app-dashboard #section-notices.student-notices .nd-context-row dd { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--nd-ink); overflow-wrap: anywhere; }
html body.app-dashboard #section-notices.student-notices .nd-context-row--act { align-items: center; padding: 12px 0; }
html body.app-dashboard #section-notices.student-notices .nd-context-row--act .nd-action { margin: 0; }
html body.app-dashboard #section-notices.student-notices .nd-ack { margin-top: 20px; }
html body.app-dashboard #section-notices.student-notices .nd-body { margin-top: 22px; }

/* from 1024px: two panes; the reading pane keeps its place while the list scrolls */
@media (min-width: 1024px) {
  html body.app-dashboard #section-notices.student-notices { --nd-measure: none; }
  html body.app-dashboard #section-notices.student-notices > .nd-split,
  html body.app-dashboard #section-notices.student-notices.nd-reading > .nd-split {
    display: grid !important;
    grid-template-columns: minmax(340px, 5fr) minmax(0, 7fr);
    column-gap: 40px;
    align-items: start;
  }
  html body.app-dashboard #section-notices.student-notices .nd-pane--list { min-width: 0; }
  html body.app-dashboard #section-notices.student-notices .nd-pane--read {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 96px);
    overflow: auto;
    overscroll-behavior: contain;
    min-width: 0;
    padding: 0 4px 24px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--nd-rule) transparent;
  }
  html body.app-dashboard #section-notices.student-notices .nd-reader { max-width: 640px; }
  html body.app-dashboard #section-notices.student-notices .nd-reader-top { margin-top: 0; }
  html body.app-dashboard #section-notices.student-notices .nd-pane-empty { padding: 20px 0 8px; border-top: 1px solid var(--nd-ink); }
  html body.app-dashboard #section-notices.student-notices .nd-pane-empty[hidden] { display: none; }
  html body.app-dashboard #section-notices.student-notices .nd-pane-empty-title { margin: 0; font-size: 17px; font-weight: 600; color: var(--nd-ink); }
  html body.app-dashboard #section-notices.student-notices .nd-pane-empty-text { margin: 6px 0 0; max-width: 44ch; font-size: 15px; line-height: 1.5; color: var(--nd-slate); }
  html body.app-dashboard #section-notices.student-notices .nd-row { padding: 11px 12px 12px; margin: 0 -12px; }
  html body.app-dashboard #section-notices.student-notices .nd-title { font-size: 15.5px; }
  html body.app-dashboard #section-notices.student-notices .nd-reader:not([hidden]) { animation-duration: 160ms; }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
  /* the narrower list pane keeps its four filters on one line */
  html body.app-dashboard #section-notices.student-notices .nd-filters { gap: 4px; }
  html body.app-dashboard #section-notices.student-notices .nd-filter { padding: 0 9px; font-size: 13.5px; }
  html body.app-dashboard #section-notices.student-notices .nd-head { gap: 6px 12px; }
}
@media (min-width: 1280px) {
  html body.app-dashboard #section-notices.student-notices .nd-split { grid-template-columns: minmax(380px, 2fr) minmax(0, 3fr); column-gap: 48px; }
}

@media (max-width: 768px) {
  html body.app-dashboard #section-notices.student-notices .nd-row { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 13px 12px 13px 26px; }
  html body.app-dashboard #section-notices.student-notices .nd-context-row { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
  html body.app-dashboard #section-notices.student-notices .nd-context-row--act .nd-action { width: 100%; }
  html body.app-dashboard #section-notices.student-notices .nd-reader-title { font-size: 24px; }
}
