/*
 * Waarning — the warning centre (SPEC-CENTER, section 1).
 *
 * Scope: every rule is under .notice. Loaded after site.css, so it inherits the
 * parchment/ink/rust tokens and the Bricolage / Manrope / IBM Plex Mono stack.
 * It is deliberately self-sufficient for layout: the view may be included
 * directly inside .feed-detail-page or own the page column itself.
 *
 * No fixed widths in the content. 390 px is the test width: every grid falls
 * back to one column, every long id wraps, and no element is wider than its
 * container. Print rules at the end drop the map, controls and site chrome.
 */

.notice {
  --nt-paper: var(--paper, #efe6d4);
  --nt-paper-2: var(--paper-2, #f8f2e3);
  --nt-ink: var(--ink, #17231d);
  --nt-ink-2: var(--ink-2, #2b3a31);
  --nt-muted: var(--muted, #657064);
  --nt-soft: var(--soft, #8b9182);
  --nt-rust: var(--rust, #b7472a);
  --nt-rust-dark: var(--rust-dark, #8e321d);
  --nt-teal: var(--teal, #2f6f68);
  --nt-amber: var(--amber, #c27a1e);
  --nt-line: var(--line, rgba(23, 35, 29, .18));
  --nt-line-strong: var(--line-strong, rgba(23, 35, 29, .38));
  --nt-display: var(--display, "Bricolage Grotesque", "Trebuchet MS", sans-serif);
  --nt-sans: var(--sans, "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif);
  --nt-mono: var(--mono, "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace);
  --nt-shadow: 0 24px 70px rgba(49, 38, 20, .18), 0 1px 0 rgba(255, 255, 255, .7) inset;
  --nt-radius: 20px;
  --p: var(--p4, #6e7163);

  width: 100%;
  max-width: 1120px;
  min-width: 0;
  margin: 0 auto clamp(28px, 5vw, 54px);
  color: var(--nt-ink);
  font-family: var(--nt-sans);
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}

.notice *,
.notice *::before,
.notice *::after {
  box-sizing: border-box;
}

/* The feed wrapper uses the same contract; keep it inside this view too. */
.notice [hidden] {
  display: none !important;
}

.notice[data-priority="P0"] { --p: var(--p0, #b23a2b); }
.notice[data-priority="P1"] { --p: var(--p1, #c27a1e); }
.notice[data-priority="P2"] { --p: var(--p2, #2f6f68); }
.notice[data-priority="P3"] { --p: var(--p3, #3d5d8a); }
.notice[data-priority="P4"] { --p: var(--p4, #6e7163); }

.notice a:focus-visible,
.notice button:focus-visible,
.notice input:focus-visible {
  outline: 2px solid var(--nt-rust);
  outline-offset: 3px;
}

.notice p {
  margin: 0;
}

.notice b,
.notice strong {
  font-weight: 700;
}

/* ---------- sheet ---------- */

.notice-sheet {
  position: relative;
  width: 100%;
  min-width: 0;
  background: var(--nt-paper-2);
  border: 1px solid var(--nt-line-strong);
  border-top: 6px solid var(--p);
  border-radius: var(--nt-radius);
  box-shadow: var(--nt-shadow);
}

/* ---------- shared type ---------- */

.notice-mono {
  font-family: var(--nt-mono);
  font-size: 11px;
  letter-spacing: .01em;
  color: var(--nt-ink-2);
}

.notice-break {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.notice .is-missing {
  color: var(--nt-soft);
  font-style: italic;
}

.notice-link {
  color: var(--nt-rust);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.notice-link:hover {
  color: var(--nt-rust-dark);
}

.notice .pri {
  min-width: 32px;
  height: 22px;
  padding: 0 7px;
  border-radius: 4px;
  font: 800 10px/1 var(--nt-mono);
  letter-spacing: .04em;
}

/* ---------- buttons ---------- */

.notice-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid var(--nt-line-strong);
  border-radius: 9px;
  background: transparent;
  color: var(--nt-ink);
  font: 700 9px/1.1 var(--nt-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.notice-btn:hover {
  background: rgba(23, 35, 29, .06);
  border-color: var(--nt-ink);
}

.notice-btn--rust {
  background: var(--nt-rust);
  border-color: var(--nt-rust);
  color: #fff8ec;
}

.notice-btn--rust:hover {
  background: var(--nt-rust-dark);
  border-color: var(--nt-rust-dark);
  color: #fff8ec;
}

.notice-btn--ghost {
  border-style: dashed;
}

[data-notice-copy][hidden],
[data-notice-share][hidden],
[data-notice-print][hidden] {
  display: none !important;
}

/* ---------- 01 · header ---------- */

.notice-head {
  position: relative;
  padding: clamp(18px, 3.4vw, 32px) clamp(16px, 3.8vw, 38px) clamp(20px, 3.2vw, 30px);
  border-bottom: 1px solid var(--nt-line);
  border-radius: calc(var(--nt-radius) - 2px) calc(var(--nt-radius) - 2px) 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .48), rgba(255, 255, 255, 0) 62%),
    linear-gradient(90deg, rgba(0, 0, 0, 0) 92%, rgba(0, 0, 0, .012));
  background-color: var(--nt-paper-2);
  min-width: 0;
}

.notice-head__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-width: 0;
}

.notice-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  font: 600 8px/1.4 var(--nt-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--nt-muted);
}

.notice-crumb a {
  color: var(--nt-ink-2);
  text-decoration: none;
}

.notice-crumb a:hover {
  color: var(--nt-rust);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.notice-crumb span[aria-current] {
  color: var(--nt-ink);
  overflow-wrap: anywhere;
}

.notice-back {
  color: var(--nt-rust);
  font: 700 8.5px/1.4 var(--nt-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.notice-back:hover {
  color: var(--nt-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: clamp(14px, 2.4vw, 20px);
  color: var(--nt-rust);
  font: 600 8.5px/1 var(--nt-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.notice-eyebrow__no {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 18px;
  padding: 0 4px;
  border: 1px solid rgba(183, 71, 42, .34);
  border-radius: 4px;
  color: var(--nt-rust);
  letter-spacing: .04em;
}

.notice-head__chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.notice-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  color: var(--nt-ink-2);
  font: 700 8px/1 var(--nt-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.notice-chip--cat {
  border-color: var(--nt-line-strong);
  color: var(--nt-ink);
}

.notice-chip--quiet {
  border-style: dashed;
  color: var(--nt-muted);
  font-weight: 600;
}

.notice-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 3px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font: 700 8px/1 var(--nt-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.notice-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.notice-status--live {
  color: var(--nt-teal);
  background: rgba(47, 111, 104, .07);
}

.notice-status--live i {
  animation: notice-breathe 2.8s ease-in-out infinite;
}

.notice-status--expiring {
  color: var(--nt-amber);
  background: rgba(194, 122, 30, .08);
}

.notice-status--expired {
  color: var(--nt-soft);
  background: rgba(139, 145, 130, .09);
}

.notice-status--upcoming {
  color: var(--p3, #3d5d8a);
  background: rgba(61, 93, 138, .07);
}

.notice-status--open {
  color: var(--nt-muted);
  border-style: dashed;
  background: transparent;
}

@keyframes notice-breathe {
  50% { opacity: .35; }
}

.notice-title {
  margin: clamp(12px, 2vw, 16px) 0 0;
  color: var(--nt-ink);
  font: 600 clamp(30px, 5.4vw, 54px)/1.02 var(--nt-display);
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.notice-byline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 7px;
  margin-top: 12px;
  color: var(--nt-muted);
  font: 600 8.5px/1.5 var(--nt-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.notice-byline b {
  color: var(--nt-ink);
  font-weight: 700;
}

.notice-byline__sep {
  color: var(--nt-soft);
}

.notice-status-note {
  margin-top: 8px;
  max-width: 74ch;
  color: var(--nt-muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.notice-when {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 1px;
  margin: clamp(16px, 2.6vw, 22px) 0 0;
  border: 1px solid var(--nt-line);
  border-radius: 12px;
  background: var(--nt-line);
  overflow: hidden;
}

.notice-when > div {
  min-width: 0;
  padding: 10px 12px 11px;
  background: var(--nt-paper-2);
}

.notice-when dt {
  margin: 0;
  color: var(--nt-muted);
  font: 700 7px/1.3 var(--nt-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.notice-when dd {
  margin: 4px 0 0;
  min-width: 0;
}

.notice-when time {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.notice-when time b {
  color: var(--nt-ink);
  font: 600 13px/1.35 var(--nt-sans);
}

.notice-when time span {
  color: var(--nt-muted);
  font: 600 8px/1.5 var(--nt-mono);
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}

.notice-when .is-missing {
  font-size: 12px;
}

.notice-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: clamp(16px, 2.6vw, 20px);
}

.notice-action-status {
  margin: 8px 0 0;
  color: var(--nt-teal);
  font: 700 8.5px/1.5 var(--nt-mono);
  letter-spacing: .04em;
}

.notice-action-status:empty {
  margin: 0;
  min-height: 0;
}

/* ---------- sections ---------- */

.notice-sec {
  padding: clamp(20px, 3.4vw, 32px) clamp(16px, 3.8vw, 38px);
  border-bottom: 1px solid var(--nt-line);
  min-width: 0;
}

.notice-sec__head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: clamp(13px, 2.2vw, 18px);
  min-width: 0;
}

.notice-sec__no {
  display: grid;
  place-items: center;
  width: 32px;
  height: 26px;
  margin: 2px 0 0;
  border: 1px solid rgba(183, 71, 42, .32);
  border-radius: 5px;
  color: var(--nt-rust);
  font: 700 9px/1 var(--nt-mono);
  letter-spacing: .07em;
}

.notice-sec h2 {
  margin: 0;
  color: var(--nt-ink);
  font: 600 clamp(22px, 2.9vw, 30px)/1.05 var(--nt-display);
  letter-spacing: -.035em;
}

.notice-sec__sub {
  margin-top: 5px;
  max-width: 76ch;
  color: var(--nt-muted);
  font-size: 12px;
  line-height: 1.58;
}

/* ---------- 02 · action ---------- */

.notice-action {
  background: linear-gradient(180deg, rgba(183, 71, 42, .045), rgba(183, 71, 42, 0) 58%);
}

.notice-action__lead {
  max-width: 62ch;
  margin-bottom: 14px;
  color: var(--nt-ink);
  font: 600 clamp(17px, 2.3vw, 21px)/1.45 var(--nt-display);
  letter-spacing: -.015em;
}

.notice-action__lead b {
  color: var(--nt-rust);
  font-weight: 700;
}

.notice-steps {
  display: grid;
  gap: 9px;
  max-width: 72ch;
  margin: 0 0 13px;
  padding: 0;
  list-style: none;
  counter-reset: notice-step;
}

.notice-steps li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  color: var(--nt-ink-2);
  font-size: 14px;
  line-height: 1.55;
  counter-increment: notice-step;
}

.notice-steps li::before {
  content: counter(notice-step, decimal-leading-zero);
  padding-top: 3px;
  color: var(--nt-rust);
  font: 700 9px/1.5 var(--nt-mono);
  letter-spacing: .04em;
}

.notice-quote {
  max-width: 74ch;
  margin: 0 0 13px;
  padding: 14px 16px 13px;
  border-left: 3px solid var(--nt-rust);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, .46);
}

.notice-quote blockquote {
  margin: 0;
  color: var(--nt-ink);
  font-size: 14.5px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.notice-quote figcaption {
  margin-top: 10px;
  color: var(--nt-muted);
  font: 600 8px/1.6 var(--nt-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.notice-action__note {
  max-width: 74ch;
  color: var(--nt-muted);
  font-size: 11.5px;
  line-height: 1.62;
}

.notice-action__note b {
  color: var(--nt-ink-2);
}

.notice-action__emergency {
  max-width: 74ch;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px dashed var(--nt-line);
  color: var(--nt-ink-2);
  font-size: 12px;
  line-height: 1.6;
}

.notice-action__links {
  margin-top: 12px;
  font-size: 12.5px;
  overflow-wrap: anywhere;
}

/* ---------- 03 · facts ---------- */

.notice-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--nt-line);
  border-radius: 12px;
  background: var(--nt-line);
  overflow: hidden;
}

.notice-facts > div {
  min-width: 0;
  padding: 10px 12px;
  background: var(--nt-paper-2);
}

.notice-facts__wide {
  grid-column: 1 / -1;
}

.notice-facts dt {
  margin: 0;
  color: var(--nt-muted);
  font: 700 7px/1.3 var(--nt-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.notice-facts dd {
  margin: 4px 0 0;
  min-width: 0;
  color: var(--nt-ink);
  font: 600 12.5px/1.45 var(--nt-sans);
  overflow-wrap: anywhere;
}

.notice-facts dd time {
  font-variant-numeric: tabular-nums;
}

.notice-facts .pri {
  vertical-align: -2px;
  margin-right: 5px;
}

.notice-facts__note {
  margin-top: 11px;
  max-width: 78ch;
  color: var(--nt-muted);
  font-size: 10.5px;
  line-height: 1.6;
}

/* ---------- 04 · statement ---------- */

.notice-statement {
  background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 40%);
}

.notice-statement__body {
  position: relative;
  max-width: 68ch;
  color: var(--nt-ink-2);
  font-size: clamp(14.5px, 1.6vw, 16px);
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.notice-statement__body p {
  margin: 0 0 1em;
}

.notice-statement__body p:last-child {
  margin-bottom: 0;
}

.notice-statement.is-clamped .notice-statement__body {
  max-height: 26rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, rgba(0, 0, 0, .05) 100%);
  mask-image: linear-gradient(180deg, #000 72%, rgba(0, 0, 0, .05) 100%);
}

.notice-statement__toggle {
  margin-top: 12px;
}

.notice-statement__note {
  margin-top: 12px;
  color: var(--nt-soft);
  font: 600 8px/1.5 var(--nt-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.notice-empty {
  max-width: 76ch;
  padding: 15px 17px;
  border: 1px dashed var(--nt-line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, .32);
}

.notice-empty b {
  display: block;
  color: var(--nt-ink);
  font: 600 16px/1.3 var(--nt-display);
  letter-spacing: -.02em;
}

.notice-empty p {
  margin-top: 7px;
  color: var(--nt-muted);
  font-size: 12.5px;
  line-height: 1.62;
  max-width: 72ch;
}

/* ---------- 05 · map ---------- */

.notice-map {
  position: relative;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--nt-line-strong);
  border-radius: 14px;
  overflow: hidden;
  background: #e9e1cf;
}

.notice-map__canvas {
  width: 100%;
  height: clamp(220px, 36vw, 330px);
  background: #e9e1cf;
}

.notice-map__static {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: clamp(150px, 24vw, 210px);
  padding: 22px 20px;
  background:
    radial-gradient(ellipse at 22% 40%, rgba(183, 71, 42, .1), transparent 58%),
    repeating-linear-gradient(0deg, rgba(23, 35, 29, .05) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(23, 35, 29, .05) 0 1px, transparent 1px 26px),
    var(--nt-paper);
}

.notice-map__pin {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border: 2px solid var(--nt-paper-2);
  border-radius: 50%;
  background: var(--p);
  color: #fff8ec;
  font: 800 13px/1 var(--nt-mono);
  letter-spacing: .02em;
  box-shadow: 0 8px 22px rgba(49, 38, 20, .3), 0 0 0 1px rgba(23, 35, 29, .18);
}

.notice-map__coords {
  margin: 0 0 4px;
  color: var(--nt-ink);
  font: 700 clamp(14px, 2vw, 17px)/1.25 var(--nt-mono);
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}

.notice-map__hint {
  margin: 0;
  max-width: 56ch;
  color: var(--nt-muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.notice-map__static[hidden] {
  display: none !important;
}

.notice-map__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 9px;
  color: var(--nt-muted);
  font: 600 8.5px/1.5 var(--nt-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.notice-map__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.notice-map__links a {
  color: var(--nt-rust);
  font-weight: 700;
  text-decoration: none;
}

.notice-map__links a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.notice-empty--map {
  max-width: 100%;
}

/* MapLibre controls, kept in the site's paper language. */
.notice-map .maplibregl-map {
  font-family: var(--nt-sans);
}

.notice-map .maplibregl-canvas:focus {
  outline: none;
}

.notice-map .maplibregl-ctrl-group {
  background: var(--nt-paper-2);
  border: 1px solid var(--nt-line-strong);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(49, 38, 20, .16);
  overflow: hidden;
}

.notice-map .maplibregl-ctrl-group button {
  width: 26px;
  height: 26px;
}

.notice-map .maplibregl-ctrl-scale {
  border: 1px solid var(--nt-line-strong);
  border-top: 0;
  background: rgba(248, 242, 227, .88);
  color: var(--nt-ink-2);
  font: 8px var(--nt-mono);
  padding: 1px 4px;
}

.notice-map .maplibregl-ctrl-attrib {
  background: rgba(248, 242, 227, .88) !important;
  color: var(--nt-muted) !important;
  font: 8px var(--nt-mono) !important;
}

.notice-map .maplibregl-ctrl-attrib a {
  color: var(--nt-teal) !important;
}

/* Single marker for this warning, drawn from the priority colour. */
.notice-pin {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--nt-paper-2);
  border-radius: 50%;
  background: var(--p);
  box-shadow: 0 0 0 1px rgba(23, 35, 29, .25), 0 6px 16px rgba(49, 38, 20, .34);
}

.notice-pin b {
  color: #fff8ec;
  font: 800 9px/1 var(--nt-mono);
  letter-spacing: .02em;
}

/* ---------- 06 · nearby ---------- */

.notice-nearby__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--nt-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--nt-paper-2);
}

.notice-near__item + .notice-near__item {
  border-top: 1px solid var(--nt-line);
}

.notice-near__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 13px;
  color: inherit;
  text-decoration: none;
  transition: background-color .15s ease;
}

.notice-near__link:hover {
  background: rgba(23, 35, 29, .045);
}

.notice-near__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.notice-near__title {
  color: var(--nt-ink);
  font: 600 13.5px/1.34 var(--nt-sans);
  overflow-wrap: anywhere;
}

.notice-near__meta {
  color: var(--nt-muted);
  font: 600 8px/1.5 var(--nt-mono);
  letter-spacing: .03em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.notice-near__dist {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  color: var(--nt-ink);
  font: 700 11px/1.2 var(--nt-mono);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.notice-near__dist small {
  color: var(--nt-soft);
  font: 600 7px/1 var(--nt-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.notice-nearby__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 10px;
  color: var(--nt-muted);
  font: 600 8.5px/1.5 var(--nt-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.notice-nearby__foot a {
  color: var(--nt-rust);
  font-weight: 700;
  text-decoration: none;
}

.notice-nearby__foot a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- 07 · timeline ---------- */

.notice-timeline {
  position: relative;
  margin: 0;
  padding: 2px 0 0 6px;
  list-style: none;
}

.notice-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 14px;
  left: 11px;
  width: 1px;
  background: var(--nt-line-strong);
}

.notice-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 11px minmax(0, 1fr);
  gap: 14px;
  padding: 0 0 18px 0;
  min-width: 0;
}

.notice-timeline__item:last-child {
  padding-bottom: 0;
}

.notice-timeline__dot {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  margin-top: 4px;
  border: 1px solid var(--nt-ink);
  border-radius: 50%;
  background: var(--nt-paper-2);
  box-shadow: 0 0 0 4px var(--nt-paper-2);
}

.notice-timeline__item--start .notice-timeline__dot {
  background: var(--nt-paper-2);
  border-color: var(--nt-rust);
  box-shadow: 0 0 0 4px var(--nt-paper-2), inset 0 0 0 2px var(--nt-rust);
}

.notice-timeline__item--end .notice-timeline__dot {
  background: var(--nt-ink);
  border-color: var(--nt-ink);
}

.notice-timeline__item--now .notice-timeline__dot {
  background: var(--nt-rust);
  border-color: var(--nt-rust);
  box-shadow: 0 0 0 4px var(--nt-paper-2), 0 0 0 6px rgba(183, 71, 42, .18);
}

.notice-timeline__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.notice-timeline__label {
  color: var(--nt-muted);
  font: 700 8px/1.4 var(--nt-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.notice-timeline__item--now .notice-timeline__label {
  color: var(--nt-rust);
}

.notice-timeline__time {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 10px;
  min-width: 0;
}

.notice-timeline__time b {
  color: var(--nt-ink);
  font: 600 11px/1.5 var(--nt-mono);
  letter-spacing: .01em;
  overflow-wrap: anywhere;
}

.notice-timeline__time span {
  color: var(--nt-muted);
  font: 600 9px/1.5 var(--nt-mono);
  letter-spacing: .02em;
}

.notice-timeline__note {
  margin-top: 14px;
  max-width: 72ch;
  color: var(--nt-muted);
  font-size: 11px;
  line-height: 1.6;
}

/* ---------- 08 · source & trust ---------- */

.notice-source__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.notice-source__card {
  min-width: 0;
  padding: 13px 15px 14px;
  border: 1px solid var(--nt-line);
  border-left: 3px solid var(--nt-teal);
  border-radius: 10px;
  background: rgba(47, 111, 104, .05);
}

.notice-source__kicker {
  color: var(--nt-muted);
  font: 700 7px/1.4 var(--nt-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.notice-source__name {
  margin: 4px 0 8px;
  color: var(--nt-ink);
  font: 600 clamp(16px, 2.2vw, 19px)/1.25 var(--nt-display);
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.notice-source__tier {
  color: var(--nt-ink-2);
  font-size: 12px;
  line-height: 1.6;
}

.notice-source__tier b {
  color: var(--nt-ink);
}

.notice-source__links {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.notice-source__links a {
  color: var(--nt-rust);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.notice-source__url {
  display: block;
  margin-top: 5px;
  color: var(--nt-soft);
  font: 600 8.5px/1.55 var(--nt-mono);
  letter-spacing: .01em;
}

.notice-source__note {
  min-width: 0;
}

.notice-source__note p {
  max-width: 72ch;
  margin: 0 0 9px;
  color: var(--nt-ink-2);
  font-size: 11.5px;
  line-height: 1.66;
}

.notice-source__note p:last-child {
  margin-bottom: 0;
}

.notice-source__meta {
  color: var(--nt-soft) !important;
  font: 600 8px/1.6 var(--nt-mono) !important;
  letter-spacing: .03em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

/* ---------- 09 · related ---------- */

.notice-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.notice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 13px 14px 13px 16px;
  border: 1px solid var(--nt-line);
  border-radius: 12px;
  background: var(--nt-paper-2);
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}

.notice-card::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--p);
}

.notice-card:hover {
  border-color: var(--nt-line-strong);
  background: rgba(255, 255, 255, .5);
}

.notice-card__top {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.notice-card__cat {
  color: var(--nt-muted);
  font: 700 8px/1.4 var(--nt-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.notice-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--nt-ink);
  font: 600 15px/1.3 var(--nt-display);
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}

.notice-card__meta {
  color: var(--nt-muted);
  font: 600 8px/1.5 var(--nt-mono);
  letter-spacing: .03em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.notice-related__links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  margin-top: 13px;
  font: 700 8.5px/1.5 var(--nt-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.notice-related__links a {
  color: var(--nt-rust);
  text-decoration: none;
}

.notice-related__links a:hover {
  color: var(--nt-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- 10 · watch / share ---------- */

.notice-watch {
  background: linear-gradient(180deg, rgba(255, 255, 255, .36), rgba(255, 255, 255, 0) 55%);
}

.notice-watch__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.notice-watch__label {
  display: block;
  margin-bottom: 6px;
  color: var(--nt-muted);
  font: 700 7px/1.4 var(--nt-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.notice-watch__row {
  display: flex;
  gap: 8px;
  min-width: 0;
}

.notice-watch__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--nt-line-strong);
  border-radius: 9px;
  background: rgba(255, 255, 255, .62);
  color: var(--nt-ink-2);
  font: 500 10.5px/1.4 var(--nt-mono);
  letter-spacing: .01em;
}

.notice-watch__row .notice-btn {
  flex: 0 0 auto;
}

.notice-watch__hint {
  margin-top: 7px;
  max-width: 60ch;
  color: var(--nt-muted);
  font-size: 10.5px;
  line-height: 1.6;
}

.notice-watch__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.notice-watch__actions .notice-btn {
  min-width: 180px;
}

.notice-watch__feeds {
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px dashed var(--nt-line);
}

.notice-watch__feeds p {
  max-width: 82ch;
  margin: 0 0 11px;
  color: var(--nt-ink-2);
  font-size: 11.5px;
  line-height: 1.6;
}

.notice-watch__feeds p:last-child {
  margin-bottom: 0;
}

.notice-watch__feeds b {
  display: block;
  margin-bottom: 2px;
  color: var(--nt-muted);
  font: 700 8px/1.5 var(--nt-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.notice-watch__feeds a {
  color: var(--nt-rust);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.notice-watch__feeds a + a::before {
  content: " · ";
  color: var(--nt-soft);
  font-weight: 400;
}

.notice-watch__feeds span {
  display: block;
  margin-top: 2px;
  color: var(--nt-muted);
  font-size: 10.5px;
}

.notice-watch__note {
  margin-top: 14px;
  color: var(--nt-soft);
  font: 600 8px/1.6 var(--nt-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- footnote ---------- */

.notice-footnote {
  padding: 16px clamp(16px, 3.8vw, 38px) 20px;
  color: var(--nt-muted);
  font-size: 10px;
  line-height: 1.7;
}

.notice-footnote a {
  color: var(--nt-rust);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- narrow screens ---------- */

@media (max-width: 860px) {
  .notice-source__grid,
  .notice-watch__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .notice-watch__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .notice-watch__actions .notice-btn {
    flex: 1 1 180px;
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .notice {
    font-size: 14.5px;
    margin-bottom: 26px;
  }

  .notice-sheet {
    border-radius: 16px;
    border-top-width: 4px;
  }

  .notice-head {
    border-radius: 14px 14px 0 0;
  }

  .notice-sec__head {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
  }

  .notice-sec__no {
    width: 26px;
    height: 23px;
    font-size: 8px;
  }

  .notice-title {
    letter-spacing: -.04em;
  }

  .notice-when {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .notice-map__static {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .notice-near__link {
    gap: 8px;
    padding: 10px 11px;
  }

  .notice-watch__row {
    flex-wrap: wrap;
  }

  .notice-watch__row .notice-btn {
    flex: 1 1 100%;
  }

  .notice-head__actions .notice-btn,
  .notice-head__actions .notice-btn--ghost {
    flex: 1 1 auto;
  }
}

@media (max-width: 430px) {
  .notice-when {
    grid-template-columns: minmax(0, 1fr);
  }

  .notice-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .notice-facts__wide {
    grid-column: auto;
  }

  .notice-related__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .notice-near__dist {
    font-size: 10px;
  }

  .notice-btn {
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .notice-sec__head {
    grid-template-columns: minmax(0, 1fr);
  }

  .notice-sec__no {
    margin-bottom: 4px;
  }
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .notice *,
  .notice *::before,
  .notice *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .notice-status--live i {
    animation: none;
    opacity: .9;
  }
}

/* ---------- print ---------- */

@media print {
  @page {
    margin: 14mm;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .grain,
  .skip,
  .topbar,
  .menu-btn,
  .site-foot,
  .site-nav,
  .nav,
  .top-actions,
  .feed-back,
  .feed-note,
  .feed-method {
    display: none !important;
  }

  main {
    padding: 0 !important;
  }

  .notice {
    max-width: none;
    margin: 0;
    font-size: 10.5pt;
    line-height: 1.5;
  }

  .notice-sheet {
    border: 0;
    border-top: 4pt solid var(--p);
    border-radius: 0;
    box-shadow: none;
    background: #fff;
  }

  .notice-head,
  .notice-sec {
    padding: 8pt 0;
    border-color: #bbb;
    background: none;
  }

  .notice-head__actions,
  .notice-action-status,
  .notice-watch,
  .notice-related,
  .notice-back,
  .notice-crumb,
  .notice-eyebrow,
  .notice-status,
  #noticeMap,
  .notice-map__foot .notice-map__links,
  .notice-statement__toggle,
  .notice-statement__note,
  .notice-footnote a {
    display: none !important;
  }

  /* Keep the coordinate block when the interactive map would have replaced it. */
  .notice-map__static,
  .notice-map__static[hidden] {
    display: flex !important;
    min-height: 0;
    padding: 10pt;
    background: #f4f1e8;
  }

  .notice-map {
    page-break-inside: avoid;
    border-color: #999;
  }

  .notice-map__pin {
    width: 34pt;
    height: 34pt;
    font-size: 10pt;
    color: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .notice-title {
    font-size: 20pt;
    line-height: 1.05;
    color: #000;
  }

  .notice-sec h2 {
    font-size: 13pt;
  }

  .notice-sec__no {
    border-color: #999;
    color: #333;
  }

  .notice-statement__body,
  .notice-action__lead,
  .notice-steps li,
  .notice-quote blockquote {
    font-size: 10.5pt;
    color: #111;
  }

  .notice-statement.is-clamped .notice-statement__body {
    max-height: none !important;
    overflow: visible !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .notice-facts {
    border-color: #999;
    background: #999;
  }

  .notice-facts > div {
    background: #fff;
    border: 1px solid #ddd;
  }

  .notice-facts dt,
  .notice-when dt,
  .notice-timeline__label {
    color: #444;
  }

  .notice-when {
    background: #999;
    border-color: #999;
  }

  .notice-when > div {
    background: #fff;
  }

  .notice-timeline__item,
  .notice-near__item,
  .notice-source__card {
    page-break-inside: avoid;
  }

  .notice-timeline__dot {
    box-shadow: none;
    background: #fff;
    border-color: #333;
  }

  .notice-source__card {
    background: #fff;
    border-color: #999;
    border-left-color: #333;
  }

  .notice-quote {
    background: #f6f3ea;
    border-left-color: #333;
  }

  .notice-near__link {
    background: none;
  }

  .notice a {
    color: #000;
    text-decoration: underline;
  }

  .notice-source__links a[href^="http"]::after,
  .notice-watch__feeds a[href^="http"]::after {
    content: " (" attr(href) ")";
    font: 8pt var(--nt-mono);
    font-weight: 400;
    word-break: break-all;
  }

  .notice-footnote {
    padding: 8pt 0;
    color: #444;
    font-size: 8pt;
  }
}
