/* Enforcement Weekly: the newsletter's page, its issues and its archive
   (scripts/newsletter-pages.cjs, src/pages/newsletter*.html). The site stays
   dark; an issue is read on a light surface, as the approved mockup has it,
   because long summaries and tables read better there. Every pair below was
   chosen for 4.5:1 or more. */

.nl-hero h1 span { color: var(--muted); }
.nl-dates { color: var(--muted); font-size: 14px; margin: 6px 0 14px; }
.nl-standfirst { max-width: 760px; }
.nl-sample { display: inline-block; max-width: 760px; margin: 6px 0 0; padding: 10px 14px; border: 1px solid #e3b26b; border-radius: 8px; color: #ffe1b8; background: #2a2316; font-size: 14px; line-height: 1.55; }

.nl-paper { background: #f4f6fb; color: #0f1a33; color-scheme: light; padding: 40px 0 56px; }
.nl-paper a { color: #2f44c2; }
.nl-paper a:hover { color: #1c2c8f; }
.nl-body { display: flex; flex-direction: column; gap: 32px; max-width: 980px; }
.nl-muted { color: #4a5675; font-size: 14px; line-height: 1.6; }

.nl-lead { background: #ffffff; border: 1px solid #dfe4ef; border-radius: 12px; padding: 24px 28px; }
.nl-lead::before { content: 'What stood out'; display: block; font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: #2f44c2; margin-bottom: 10px; }
.nl-lead p { margin: 0; font-size: 18px; line-height: 1.65; }

.nl-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.nl-tile { background: #ffffff; border: 1px solid #dfe4ef; border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #33405e; line-height: 1.45; }
.nl-num { font-size: 34px; font-weight: 600; line-height: 1; color: #0f1a33; }

.nl-section h2 { font-size: 24px; margin: 0 0 6px; color: #0f1a33; }
.nl-section > .nl-muted { margin: 0 0 16px; max-width: 720px; }

.nl-notes { list-style: none; margin: 0; padding: 0; background: #ffffff; border: 1px solid #dfe4ef; border-radius: 12px; }
.nl-notes li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 14px 20px; border-top: 1px solid #e6eaf3; }
.nl-notes li:first-child { border-top: 0; }
.nl-notes li > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.nl-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.nl-chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #eef1f8; color: #33405e; line-height: 16px; }

.nl-regs { width: 100%; border-collapse: collapse; background: #ffffff; border: 1px solid #dfe4ef; border-radius: 12px; overflow: hidden; font-size: 14px; }
.nl-regs th, .nl-regs td { padding: 10px 14px; border-top: 1px solid #e6eaf3; text-align: left; vertical-align: middle; }
.nl-regs thead th { border-top: 0; font-size: 12px; color: #4a5675; font-weight: 600; }
.nl-regs th[scope=row] { font-weight: 400; color: #1d2944; }
.nl-regs td { width: 22%; white-space: nowrap; }
.nl-bar { display: inline-block; height: 8px; border-radius: 4px; background: #2f44c2; margin-right: 8px; vertical-align: middle; max-width: 70%; }
.nl-bar-prior { background: #8e9cc8; }
.nl-w0 { width: 0; } .nl-w5 { width: 5%; } .nl-w10 { width: 10%; } .nl-w15 { width: 15%; } .nl-w20 { width: 20%; }
.nl-w25 { width: 25%; } .nl-w30 { width: 30%; } .nl-w35 { width: 35%; } .nl-w40 { width: 40%; } .nl-w45 { width: 45%; }
.nl-w50 { width: 50%; } .nl-w55 { width: 55%; } .nl-w60 { width: 60%; } .nl-w65 { width: 65%; } .nl-w70 { width: 70%; }
.nl-w75 { width: 70%; } .nl-w80 { width: 70%; } .nl-w85 { width: 70%; } .nl-w90 { width: 70%; } .nl-w95 { width: 70%; } .nl-w100 { width: 70%; }

.nl-cards { display: flex; flex-direction: column; gap: 14px; }
.nl-card { background: #ffffff; border: 1px solid #dfe4ef; border-radius: 12px; padding: 22px 24px; }
.nl-card h3 { font-size: 20px; margin: 10px 0 0; color: #0f1a33; }
.nl-card > p { font-size: 16px; line-height: 1.65; color: #1d2944; margin: 10px 0 0; }
.nl-card > p.nl-muted { font-size: 14px; }
.nl-badge { display: inline-block; margin: 0; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; line-height: 16px; }
.nl-badge span { font-weight: 400; }
.nl-wl { background: #fdecdc; color: #8a3b06; }
.nl-insp { background: #e3ecff; color: #1f3a8a; }
.nl-eu { background: #dcf3ee; color: #0b5c4c; }
.nl-other { background: #eef1f8; color: #33405e; }
.nl-record { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #eef1f6; }
.nl-meta { margin: 0; flex: 1 1 100%; font-size: 13px; color: #4a5675; }
.nl-cites { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; }
.nl-cite { font-size: 12px; font-family: ui-monospace, Consolas, monospace; padding: 3px 8px; border-radius: 6px; background: #f1f3f9; color: #33405e; border: 1px solid #e1e6f0; }
.nl-paper .nl-read { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; margin-left: auto; }
.nl-compact { background: #ffffff; border: 1px solid #dfe4ef; border-radius: 12px; padding: 16px 20px; font-size: 14px; line-height: 1.9; margin: 0; }
.nl-list { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.8; }

.nl-tail { border-top: 1px solid #dfe4ef; padding-top: 22px; font-size: 13px; line-height: 1.65; color: #33405e; }
.nl-tail p { margin: 0 0 12px; max-width: 820px; }

.nl-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 48px; }
.nl-band h2 { margin: 0 0 8px; }
.nl-band p { margin: 0; color: var(--muted); max-width: 620px; line-height: 1.6; }
.nl-band .button { width: auto; }

.nl-issues { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.nl-issues a { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; background: #ffffff; border: 1px solid #dfe4ef; border-radius: 12px; text-decoration: none; min-height: 44px; }
.nl-issues strong { color: #0f1a33; font-size: 17px; }

/* The newsletter's own page (src/pages/newsletter.html), on the dark site. */
.nl-landing { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.nl-points { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.nl-points li { display: flex; gap: 14px; line-height: 1.6; color: var(--text); }
.nl-points b { color: var(--accent); min-width: 22px; }
.nl-latest { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); text-decoration: none; color: var(--text); }
.nl-latest .eyebrow { margin: 0; }
.nl-latest strong { font-size: 18px; line-height: 1.35; }
.nl-form h2 { margin: 0 0 6px; font-size: 22px; color: #0f1a33; }
.nl-form p.nl-help { font-size: 13px; color: #4a5675; margin: 0 0 16px; line-height: 1.6; }
.nl-form label { display: block; font-size: 13px; color: #243453; margin: 14px 0 6px; }
.nl-form input[type=email], .nl-form input[type=text] { width: 100%; box-sizing: border-box; min-height: 44px; border: 1px solid #6b7894; border-radius: 6px; padding: 0 12px; font-size: 15px; color: #0f1a33; background: #ffffff; }
.nl-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13px; line-height: 1.55; color: #243453; }
.nl-consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; }
.nl-consent label { margin: 0; }
.nl-form .button { width: 100%; margin-top: 18px; }
.nl-form [role=alert] { margin: 12px 0 0; color: #a1260d; font-size: 14px; }
.nl-done { color: #0f1a33; }
.nl-done h2 { margin: 0 0 8px; }
.nl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nl-faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px 36px; padding-block: 40px 56px; }
.nl-faq h3 { font-size: 16px; margin: 0 0 6px; }
.nl-faq p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }

@media (max-width: 860px) {
  .nl-landing { grid-template-columns: 1fr; }
  .nl-regs td { width: auto; }
  .nl-bar { display: none; }
}
.nl-gate { margin: 0 0 14px; padding: 10px 12px; border-radius: 6px; background: #e3ecff; color: #1f3a8a; font-size: 14px; line-height: 1.5; }
