/* District notices: the notice cards (home page, school pages, school forecast pages), the District Notices page and the
   admin review screen. Uses the site's colours; everything is prefixed nt-. Severity sets the left edge and tint:
   critical red (closures, safety), significant amber (delays, early dismissals, buses), advisory blue, routine neutral. */
.nt-block { margin: 16px 0 18px; }
.nt-block-none { margin: 12px 0 4px; }
.nt-title { font-size: 1.15rem; margin: 0 0 8px; color: var(--navy); }
.nt { background: var(--surface); border: 1px solid var(--card-line, var(--tan-line)); border-left: 6px solid var(--muted); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 18px; margin: 0 0 12px; }
.nt > :last-child { margin-bottom: 0; }
.nt-critical { border-left-color: var(--red); background: #fff8f7; border-color: #f1c2bd; }
.nt-significant { border-left-color: #d97706; background: #fffaf2; border-color: #f3d9b1; }
.nt-advisory { border-left-color: #2f7cf6; background: #f6f9ff; border-color: #c9daf8; }
.nt-routine { border-left-color: var(--tan); }
.nt-pointer { border-left-color: #d97706; border-style: dashed; border-left-style: solid; background: #fffdf6; }
.nt-kicker { margin: 0 0 4px; font-size: .8rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.nt-critical .nt-kicker { color: var(--err-ink); }
.nt-significant .nt-kicker, .nt-pointer .nt-kicker { color: var(--warn-ink); }
.nt-badge { background: var(--surface); border: 1px solid var(--card-line, var(--line)); color: var(--ink-2); text-transform: none; letter-spacing: 0; font-weight: 600; white-space: normal; }
.nt-head { font-size: 1.25rem; margin: 0 0 6px; color: var(--ink); line-height: 1.25; }
.nt-when { margin: 0 0 6px; font-weight: 600; }
.nt-who { margin: 0 0 8px; padding: 0; list-style: none; }
.nt-who li { margin: 2px 0; }
.nt-eff { font-weight: 800; letter-spacing: .02em; }
.nt-eff-closed { color: var(--err-ink); }
.nt-eff-delayed, .nt-eff-early_dismissal { color: var(--warn-ink); }
.nt-sum { margin: 0 0 8px; }
.nt-src { margin: 0 0 8px; }
.nt-links { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.nt-status { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0; font-size: .92rem; color: var(--ink-2); }
.nt-status-warn { background: var(--warn-bg); border: 1px solid #f3d9b1; border-radius: 8px; padding: 8px 12px; color: var(--warn-ink); }
.nt-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; align-self: center; }
.nt-dot-ok { background: #16a34a; }
.nt-dot-warn { background: #d97706; }
.nt-original { margin: 0 0 10px; padding: 10px 14px; border-left: 4px solid var(--tan); background: var(--card-head, var(--cream)); border-radius: 0 8px 8px 0; white-space: normal; overflow-wrap: anywhere; }
.nt-facts { display: grid; grid-template-columns: 1fr; gap: 2px 16px; margin: 0 0 10px; }
.nt-facts dt { font-weight: 700; color: var(--ink-2); font-size: .88rem; margin-top: 6px; }
.nt-facts dd { margin: 0; }
@media (min-width: 700px) { .nt-facts { grid-template-columns: 240px 1fr; } .nt-facts dt { margin-top: 0; } }
.nt-history summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.nt-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; background: var(--card-head, var(--cream)); border-radius: 12px; padding: 10px 14px; margin: 0 0 14px; }
.nt-filter label { display: flex; flex-direction: column; font-size: .85rem; font-weight: 600; gap: 2px; }
.nt-filter select, .nt-filter input { font: inherit; font-weight: 400; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; max-width: 100%; }
.nt-list { list-style: none; margin: 0 0 12px; padding: 0; }
.nt-row { display: flex; gap: 14px; padding: 10px 12px; border: 1px solid var(--card-line, var(--line)); border-left: 5px solid var(--tan); border-radius: 10px; background: var(--surface); margin: 0 0 8px; }
.nt-row-critical { border-left-color: var(--red); }
.nt-row-significant { border-left-color: #d97706; }
.nt-row-advisory { border-left-color: #2f7cf6; }
.nt-row-date { flex: 0 0 92px; font-weight: 700; font-size: .92rem; display: flex; flex-direction: column; }
.nt-row-date small { font-weight: 400; color: var(--muted); }
.nt-row-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nt-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.nt-state-active { background: var(--ok-bg); color: var(--ok-ink); }
.nt-state-upcoming { background: var(--gold-soft); color: #7a5a00; }
.nt-state-unreviewed { background: var(--warn-bg); color: var(--warn-ink); }
@media (max-width: 520px) { .nt-row { flex-direction: column; gap: 4px; } .nt-row-date { flex: none; flex-direction: row; gap: 8px; align-items: baseline; } .nt { padding: 12px 14px; } .nt-head { font-size: 1.12rem; } }
.school-head + .nt-block, .crumbs + .nt-block { margin-top: 12px; }
.nt-school { margin-bottom: 18px; }
@media (min-width: 521px) { .nt-school .nt-row-date { flex-basis: 150px; } }
.nt-own { background: var(--brand); color: var(--on-brand); }
