/* ==========================================================================
   The Primegraph Chronicle — Multi-Page Broadsheet Design System
   ========================================================================== */

:root {
  --paper-bg: #f6f3eb;
  --paper-surface: #fcfbf8;
  --paper-tint: #efeae0;
  --paper-hover: #f2ede2;

  --ink-primary: #171614;
  --ink-secondary: #423f39;
  --ink-muted: #6f6a60;
  --ink-faint: #969084;

  --rule-ink: #171614;
  --rule-strong: #c9c2b2;
  --rule-subtle: #e3ddd0;

  --vermilion: #b5381b;
  --vermilion-hover: #922b13;
  --vermilion-soft: rgba(181, 56, 27, 0.09);

  --forest: #166534;
  --forest-soft: #e9f5ee;
  --crimson: #991b1b;
  --crimson-soft: #fdecec;
  --amber: #9a5204;
  --amber-soft: #fef4e2;
  --slate-blue: #1e40af;
  --slate-blue-soft: #eaf0ff;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-editorial: "Newsreader", Georgia, serif;
  --font-ui: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --max-width: 1320px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.newspaper-body {
  margin: 0;
  background-color: var(--paper-bg);
  color: var(--ink-primary);
  font-family: var(--font-ui);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--vermilion);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--vermilion-hover);
}

.hidden {
  display: none !important;
}

.np-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ==========================================================================
   Top Utility / Edition Strip
   ========================================================================== */

.np-utility-bar {
  background: var(--paper-surface);
  border-bottom: 1px solid var(--rule-subtle);
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.np-utility-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.45rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.np-utility-left,
.np-utility-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.np-sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--paper-tint);
  color: var(--ink-secondary);
}

.np-sync-pill.is-live {
  background: var(--forest-soft);
  color: var(--forest);
}

.np-sync-pill.is-fallback {
  background: var(--amber-soft);
  color: var(--amber);
}

.np-sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.np-sync-pill.is-loading .np-sync-dot {
  animation: np-pulse 1.2s ease-in-out infinite;
}

@keyframes np-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.np-dateline-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.np-btn-subtle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-xs);
  background: var(--paper-surface);
  color: var(--ink-primary);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.np-btn-subtle:hover {
  background: var(--paper-tint);
  border-color: var(--ink-primary);
  color: var(--ink-primary);
}

.np-btn-subtle:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* ==========================================================================
   Newspaper Masthead
   ========================================================================== */

.np-masthead {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1.15rem;
}

.np-masthead-compact {
  padding: 1rem 1.5rem 0.85rem;
}

.np-masthead-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.np-ear {
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.np-ear strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-primary);
  margin-bottom: 0.1rem;
}

.np-ear-right {
  text-align: right;
}

.np-nameplate {
  text-align: center;
}

.np-nameplate a {
  text-decoration: none;
  color: var(--ink-primary);
}

.np-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink-primary);
}

.np-masthead-compact .np-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.np-motto {
  margin: 0.35rem 0 0;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
}

/* ==========================================================================
   Double-Rule Section Navigation
   ========================================================================== */

.np-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 243, 235, 0.96);
  backdrop-filter: blur(8px);
}

.np-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.np-nav {
  border-top: 2.5px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-ink);
  box-shadow: 0 3px 0 0 var(--paper-bg), 0 4px 0 0 var(--rule-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.np-nav::-webkit-scrollbar {
  display: none;
}

.np-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.72rem 1.05rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.np-nav-link:hover {
  color: var(--ink-primary);
  background: var(--paper-tint);
}

.np-nav-link.active {
  color: var(--vermilion);
}

.np-nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0;
  height: 2.5px;
  background: var(--vermilion);
}

.np-nav-sep {
  color: var(--rule-strong);
  font-size: 0.7rem;
  user-select: none;
}

/* ==========================================================================
   Main Container & Broadsheet Front Page
   ========================================================================== */

.np-main {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem 3.5rem;
  flex: 1;
}

.np-kicker {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vermilion);
  margin-bottom: 0.45rem;
}

.np-rule-double {
  border: 0;
  height: 4px;
  border-top: 2px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-strong);
  margin: 2.25rem 0;
}

.np-rule-single {
  border: 0;
  border-top: 1px solid var(--rule-strong);
  margin: 1.75rem 0;
}

/* Front Page Above-the-Fold Split */
.fp-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.fp-lead-primary {
  padding-right: 2.25rem;
  border-right: 1px solid var(--rule-strong);
}

.fp-lead-secondary {
  padding-left: 2.25rem;
}

.fp-headline-xl {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}

.fp-headline-xl a,
.fp-headline-lg a,
.fp-headline-md a {
  color: inherit;
  text-decoration: none;
}

.fp-headline-xl a:hover,
.fp-headline-lg a:hover,
.fp-headline-md a:hover {
  color: var(--vermilion);
}

.fp-headline-lg {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-primary);
}

.fp-headline-md {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.22;
  color: var(--ink-primary);
}

.fp-byline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.fp-standfirst {
  margin: 0 0 1.15rem;
  font-family: var(--font-editorial);
  font-size: 1.14rem;
  line-height: 1.62;
  color: var(--ink-secondary);
}

.fp-excerpt {
  margin: 0 0 1rem;
  font-family: var(--font-editorial);
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--ink-secondary);
}

.fp-highlights {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.fp-highlights li {
  position: relative;
  padding-left: 1rem;
  font-family: var(--font-editorial);
  font-size: 0.98rem;
  line-height: 1.52;
  color: var(--ink-secondary);
}

.fp-highlights li::before {
  content: "▪";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--vermilion);
  font-size: 0.8rem;
}

.fp-highlights strong {
  color: var(--ink-primary);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
}

.fp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vermilion);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s ease, gap 0.15s ease;
}

.fp-cta:hover {
  border-bottom-color: var(--vermilion);
  gap: 0.65rem;
}

.fp-weather-strip {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.7rem 0.95rem;
  margin-bottom: 1.2rem;
  background: var(--paper-surface);
  border: 1px solid var(--rule-subtle);
  border-left: 3px solid var(--rule-ink);
  font-size: 0.86rem;
  color: var(--ink-secondary);
}

.fp-weather-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-primary);
  white-space: nowrap;
}

/* Market Posture Box on Front Page */
.fp-market-box {
  background: var(--paper-surface);
  border: 1px solid var(--rule-subtle);
  padding: 0.9rem 1rem;
  margin-bottom: 1.15rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.fp-metric-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-muted);
}

.fp-metric-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-top: 0.15rem;
}

.fp-metric-value.is-up {
  color: var(--forest);
}

.fp-metric-value.is-hold {
  color: var(--amber);
}

/* Three-Column Desks Strip */
.fp-desks-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.35rem;
  gap: 1rem;
}

.fp-section-label {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-primary);
}

.fp-desks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.fp-desk-col {
  padding: 0 1.75rem;
  border-right: 1px solid var(--rule-strong);
  display: flex;
  flex-direction: column;
}

.fp-desk-col:first-child {
  padding-left: 0;
}

.fp-desk-col:last-child {
  padding-right: 0;
  border-right: none;
}

.fp-desk-footer {
  margin-top: auto;
  padding-top: 0.85rem;
}

.fp-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.fp-stat-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  background: var(--paper-tint);
  border: 1px solid var(--rule-subtle);
  color: var(--ink-secondary);
}

/* Directory Index Strip at bottom of Front Page */
.fp-directory {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--rule-ink);
}

.fp-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.fp-dir-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  background: var(--paper-surface);
  border: 1px solid var(--rule-subtle);
  text-decoration: none;
  color: var(--ink-primary);
  transition: border-color 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.fp-dir-card:hover {
  border-color: var(--ink-primary);
  background: #ffffff;
  transform: translateY(-2px);
  color: var(--ink-primary);
}

.fp-dir-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--vermilion);
  font-weight: 600;
}

.fp-dir-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.fp-dir-desc {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Section / Desk Pages (Biscope, Portfolio, AI Research, Health)
   ========================================================================== */

.desk-header {
  padding-bottom: 1.35rem;
  border-bottom: 2px solid var(--rule-ink);
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.desk-header-main {
  max-width: 780px;
}

.desk-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.desk-subtitle {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 1.08rem;
  color: var(--ink-secondary);
}

.desk-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

/* Desk Filter Toolbar (AI Research / Portfolio) */
.desk-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.75rem;
  background: var(--paper-surface);
  border: 1px solid var(--rule-subtle);
}

.desk-search {
  flex: 1 1 240px;
  max-width: 380px;
  padding: 0.48rem 0.8rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-xs);
  background: #ffffff;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  color: var(--ink-primary);
}

.desk-search:focus {
  outline: none;
  border-color: var(--vermilion);
}

.desk-pills {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.desk-pill {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-xs);
  background: var(--paper-surface);
  color: var(--ink-secondary);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.desk-pill:hover {
  border-color: var(--ink-primary);
  color: var(--ink-primary);
}

.desk-pill.active {
  background: var(--ink-primary);
  border-color: var(--ink-primary);
  color: #ffffff;
}

/* Two-Column Editorial Reading Layout */
.editorial-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 2.75rem;
  align-items: start;
}

.editorial-toc {
  position: sticky;
  top: 4.5rem;
  padding-right: 1.25rem;
  border-right: 1px solid var(--rule-subtle);
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
}

.editorial-toc-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.editorial-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.editorial-toc-list a {
  display: block;
  font-size: 0.82rem;
  line-height: 1.38;
  color: var(--ink-secondary);
  text-decoration: none;
  padding: 0.18rem 0 0.18rem 0.6rem;
  border-left: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.editorial-toc-list a:hover,
.editorial-toc-list a.active {
  color: var(--vermilion);
  border-left-color: var(--vermilion);
}

.editorial-toc-list .toc-sub a {
  padding-left: 1.15rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* Editorial Prose Styling */
.editorial-article {
  background: var(--paper-surface);
  border: 1px solid var(--rule-subtle);
  padding: clamp(1.5rem, 3.2vw, 2.85rem);
  font-family: var(--font-editorial);
  font-size: 1.07rem;
  line-height: 1.72;
  color: var(--ink-primary);
}

.editorial-article > *:first-child {
  margin-top: 0;
}

.editorial-article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 2.25rem 0 0.9rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--rule-ink);
  color: var(--ink-primary);
}

.editorial-article h1:first-child {
  margin-top: 0;
}

.editorial-article h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  font-weight: 700;
  line-height: 1.26;
  margin: 2rem 0 0.75rem;
  color: var(--ink-primary);
}

.editorial-article h3 {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vermilion);
  margin: 1.5rem 0 0.55rem;
}

.editorial-article h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.35rem 0 0.5rem;
  color: var(--ink-primary);
}

.editorial-article p {
  margin: 0 0 1.05rem;
  max-width: 74ch;
}

.editorial-article ul,
.editorial-article ol {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
  max-width: 74ch;
}

.editorial-article li {
  margin-bottom: 0.55rem;
}

.editorial-article li ul,
.editorial-article li ol {
  margin-top: 0.45rem;
  margin-bottom: 0.45rem;
}

.editorial-article hr {
  border: 0;
  border-top: 1px solid var(--rule-strong);
  margin: 2rem 0;
}

.editorial-article code {
  font-family: var(--font-mono);
  font-size: 0.84em;
  padding: 0.1rem 0.35rem;
  background: var(--paper-tint);
  border: 1px solid var(--rule-subtle);
  border-radius: 3px;
  color: var(--ink-primary);
}

.editorial-article strong {
  color: var(--ink-primary);
  font-weight: 700;
}

/* Editorial & Financial Tables */
.np-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.4rem 0 1.6rem;
  border: 1px solid var(--rule-strong);
  background: #ffffff;
}

.np-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  line-height: 1.45;
}

.np-table th {
  text-align: left;
  padding: 0.68rem 0.78rem;
  background: var(--paper-tint);
  border-bottom: 2px solid var(--rule-ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-primary);
  white-space: nowrap;
}

.np-table td {
  padding: 0.62rem 0.78rem;
  border-bottom: 1px solid var(--rule-subtle);
  color: var(--ink-secondary);
  vertical-align: top;
}

.np-table tbody tr:hover {
  background: var(--paper-hover);
}

.np-table td.num,
.np-table th.num {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  white-space: nowrap;
}

.np-table td.ticker-cell {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink-primary);
  white-space: nowrap;
}

.val-pos {
  color: var(--forest) !important;
  font-weight: 600;
}

.val-neg {
  color: var(--crimson) !important;
  font-weight: 600;
}

.action-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.14rem 0.5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.action-acc {
  background: var(--forest-soft);
  color: var(--forest);
}

.action-sl {
  background: var(--crimson-soft);
  color: var(--crimson);
}

.action-pb {
  background: var(--amber-soft);
  color: var(--amber);
}

.action-ok {
  background: var(--slate-blue-soft);
  color: var(--slate-blue);
}

/* Research Paper / Essay Item Wrappers (for filtering on AI Research) */
.research-entry {
  padding-bottom: 0.5rem;
}

.research-entry.is-filtered-out {
  display: none;
}

/* Loading Skeleton */
.np-loading-state {
  padding: 2.5rem 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Broadsheet Inner-Page Layout System (Biscope, Portfolio, AI, Health)
   ========================================================================== */

.bs-page {
  font-family: var(--font-editorial);
  color: var(--ink-primary);
}

.bs-index-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  padding: 0.65rem 0;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--rule-strong);
  font-family: var(--font-ui);
  font-size: 0.78rem;
}

.bs-index-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vermilion);
  margin-right: 0.25rem;
}

.bs-index-bar a {
  color: var(--ink-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.bs-index-bar a:hover {
  color: var(--vermilion);
}

.bs-index-sep {
  color: var(--rule-strong);
  user-select: none;
}

/* Broadsheet Banner / Briefing Strip */
.bs-banner-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  background: var(--paper-surface);
  border-top: 2px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-strong);
}

.bs-banner-cell {
  padding-right: 1.25rem;
  border-right: 1px solid var(--rule-subtle);
}

.bs-banner-cell:last-child {
  padding-right: 0;
  border-right: none;
}

.bs-banner-label {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--vermilion);
  margin-bottom: 0.25rem;
}

.bs-banner-value {
  font-family: var(--font-editorial);
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.bs-banner-value-mono {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-primary);
}

/* Multi-Column Broadsheet Splits */
.bs-split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.bs-split-left {
  padding-right: 2.25rem;
  border-right: 1px solid var(--rule-strong);
}

.bs-split-right {
  padding-left: 2.25rem;
}

.bs-split-even {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}

.bs-split-even > .bs-col:nth-child(odd) {
  padding-right: 2rem;
  border-right: 1px solid var(--rule-strong);
}

.bs-split-even > .bs-col:nth-child(even) {
  padding-left: 2rem;
}

.bs-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 2rem;
  align-items: start;
}

.bs-grid-2 > .bs-story {
  padding: 0 2rem 1.75rem 0;
  border-right: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-subtle);
}

.bs-grid-2 > .bs-story:nth-child(even) {
  padding: 0 0 1.75rem 2rem;
  border-right: none;
}

.bs-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 1.75rem;
  align-items: start;
}

.bs-grid-3 > .bs-brief {
  padding: 0 1.5rem 1.25rem;
  border-right: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-subtle);
}

.bs-grid-3 > .bs-brief:nth-child(3n + 1) {
  padding-left: 0;
}

.bs-grid-3 > .bs-brief:nth-child(3n) {
  padding-right: 0;
  border-right: none;
}

/* Section Divider Banner */
.bs-section-banner {
  margin: 2.25rem 0 1.5rem;
  padding-top: 0.75rem;
  border-top: 2.5px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 0.55rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.bs-section-banner:first-child {
  margin-top: 0;
}

.bs-section-title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-primary);
}

.bs-section-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
}

/* Editorial Typography & Drop Cap */
.bs-headline-xl {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}

.bs-headline-lg {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.1vw, 1.72rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-primary);
}

.bs-headline-md {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink-primary);
}

.bs-headline-xl a,
.bs-headline-lg a,
.bs-headline-md a {
  color: inherit;
  text-decoration: none;
}

.bs-headline-xl a:hover,
.bs-headline-lg a:hover,
.bs-headline-md a:hover {
  color: var(--vermilion);
}

.bs-meta-line {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rule-subtle);
}

.bs-meta-line a {
  color: var(--vermilion);
  font-weight: 500;
}

.bs-dropcap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.35rem;
  line-height: 0.84;
  font-weight: 800;
  padding: 0.15rem 0.55rem 0 0;
  color: var(--ink-primary);
}

.bs-prose p {
  margin: 0 0 1rem;
  font-family: var(--font-editorial);
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--ink-secondary);
}

.bs-prose h3,
.bs-subhead {
  margin: 1.35rem 0 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vermilion);
}

.bs-prose ul,
.bs-list {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bs-prose ul > li,
.bs-list > li {
  position: relative;
  padding-left: 1rem;
  font-family: var(--font-editorial);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.bs-prose ul > li::before,
.bs-list > li::before {
  content: "▪";
  position: absolute;
  left: 0;
  top: 0.02rem;
  color: var(--vermilion);
  font-size: 0.78rem;
}

.bs-prose ul ul {
  margin-top: 0.45rem;
  margin-bottom: 0.25rem;
  padding-left: 0.4rem;
}

.bs-prose ol {
  margin: 0 0 1.1rem;
  padding-left: 1.35rem;
}

.bs-prose ol li {
  font-family: var(--font-editorial);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 0.65rem;
}

.bs-prose strong {
  color: var(--ink-primary);
  font-weight: 700;
}

.bs-prose code {
  font-family: var(--font-mono);
  font-size: 0.83em;
  padding: 0.08rem 0.3rem;
  background: var(--paper-tint);
  border: 1px solid var(--rule-subtle);
  color: var(--ink-primary);
}

/* Sidebar Newsprint Box (Inbox Triage, Watchlist, Quick Summary) */
.bs-sidebar-box {
  background: var(--paper-surface);
  border-top: 2.5px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-ink);
  border-left: 1px solid var(--rule-subtle);
  border-right: 1px solid var(--rule-subtle);
  padding: 1.2rem 1.3rem;
  margin-bottom: 1.75rem;
}

.bs-sidebar-box:last-child {
  margin-bottom: 0;
}

/* Numbered Editorial Priority Action Items (Portfolio) */
.bs-action-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bs-action-item {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule-subtle);
}

.bs-action-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.bs-action-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--vermilion);
}

/* ==========================================================================
   Broadsheet Theme Overrides for Bengaluru Events (events.html)
   ========================================================================== */

.events-broadsheet .hero-header {
  padding: 0 0 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 2.5px solid var(--rule-ink);
  max-width: none;
}

.events-broadsheet .hero-header h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}

.events-broadsheet .hero-subtitle {
  font-family: var(--font-editorial);
  font-size: 1.08rem;
  color: var(--ink-secondary);
}

.events-broadsheet .main-content {
  padding: 0;
  max-width: none;
}

.events-broadsheet .btn-saved,
.events-broadsheet .view-switcher {
  border-radius: 2px;
  border-color: var(--rule-strong);
  background: var(--paper-surface);
  box-shadow: none;
}

.events-broadsheet .view-btn {
  border-radius: 0;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.events-broadsheet .view-btn.active {
  background: var(--ink-primary);
  color: #ffffff;
}

/* 4-Column Hairline KPI Index Strip */
.events-broadsheet .kpi-grid {
  gap: 0;
  background: var(--paper-surface);
  border-top: 2px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule-subtle);
  border-right: 1px solid var(--rule-subtle);
  margin-bottom: 1.5rem;
}

.events-broadsheet .kpi-card {
  border: none;
  border-right: 1px solid var(--rule-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 1rem 1.15rem;
  position: relative;
}

.events-broadsheet .kpi-card:last-child {
  border-right: none;
}

.events-broadsheet .kpi-card:hover {
  transform: none;
  background: var(--paper-hover);
  box-shadow: none;
}

.events-broadsheet .kpi-card.active {
  background: var(--paper-tint);
  box-shadow: inset 0 3px 0 0 var(--vermilion);
}

.events-broadsheet .kpi-value {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink-primary);
}

.events-broadsheet .kpi-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Flat Editorial Filter Toolbar */
.events-broadsheet .filter-toolbar {
  background: var(--paper-surface);
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  box-shadow: none;
  padding: 1rem 1.15rem;
}

.events-broadsheet .search-box input,
.events-broadsheet .select-group select {
  border-radius: 2px;
  border-color: var(--rule-strong);
  background: #ffffff;
  font-family: var(--font-ui);
}

.events-broadsheet .filter-pill {
  border-radius: 2px;
  border-color: var(--rule-strong);
  background: var(--paper-bg);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.events-broadsheet .filter-pill.active {
  background: var(--ink-primary);
  border-color: var(--ink-primary);
  color: #ffffff;
}

/* Broadsheet Culture Listing Cards */
.events-broadsheet .events-grid {
  gap: 1.25rem;
}

.events-broadsheet .event-card {
  border-radius: 0;
  background: var(--paper-surface);
  border: 1px solid var(--rule-subtle);
  border-top: 2.5px solid var(--rule-ink);
  box-shadow: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.events-broadsheet .event-card:hover {
  transform: none;
  background: #ffffff;
  border-color: var(--rule-strong);
  border-top-color: var(--vermilion);
  box-shadow: none;
}

.events-broadsheet .event-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-primary);
}

.events-broadsheet .event-summary {
  font-family: var(--font-editorial);
  font-size: 0.96rem;
  color: var(--ink-secondary);
}

.events-broadsheet .badge,
.events-broadsheet .zone-badge,
.events-broadsheet .category-badge {
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.events-broadsheet .btn-primary,
.events-broadsheet .btn-secondary {
  border-radius: 2px;
}

.events-broadsheet .btn-primary {
  background: var(--vermilion);
  border-color: var(--vermilion);
}

.events-broadsheet .btn-primary:hover {
  background: var(--vermilion-hover);
  border-color: var(--vermilion-hover);
}

.events-broadsheet .table-wrapper,
.events-broadsheet .timeline-group {
  border-radius: 0;
  border-color: var(--rule-strong);
  background: var(--paper-surface);
  box-shadow: none;
}

.modal-card {
  border-radius: 0 !important;
  border-top: 3px solid var(--rule-ink) !important;
  background: var(--paper-surface) !important;
}

/* ==========================================================================
   Postman Pulse Broadsheet Components (postman-pulse.html)
   ========================================================================== */

.pp-day-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pp-day-picker label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.pp-day-picker select {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--rule-ink);
  border-radius: 2px;
  background: var(--paper-surface);
  color: var(--ink-primary);
  cursor: pointer;
}

.pp-top-split {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--rule-strong);
}

.pp-score-hero {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0.25rem 0 1rem;
}

.pp-score-value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
}

.pp-score-value.pos { color: var(--forest); }
.pp-score-value.neg { color: var(--crimson); }
.pp-score-value.neu { color: var(--ink-primary); }

.pp-score-denom {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--ink-muted);
}

.pp-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--rule-strong);
  background: var(--paper-surface);
  color: var(--ink-secondary);
}

.pp-pill.delta-up,
.pp-pill.conf-high {
  background: var(--forest-soft);
  border-color: #b7dfc7;
  color: var(--forest);
}

.pp-pill.delta-down {
  background: var(--crimson-soft);
  border-color: #f3c1c1;
  color: var(--crimson);
}

.pp-pill.conf-medium {
  background: var(--amber-soft);
  border-color: #ebd1a4;
  color: var(--amber);
}

.pp-stacked-bar {
  display: flex;
  height: 14px;
  width: 100%;
  background: var(--paper-tint);
  border: 1px solid var(--rule-strong);
  margin: 0.4rem 0 0.7rem;
  overflow: hidden;
}

.pp-bar-seg {
  height: 100%;
  transition: width 0.25s ease;
}

.pp-bar-seg.pos { background: var(--forest); }
.pp-bar-seg.neu { background: #969084; }
.pp-bar-seg.neg { background: var(--crimson); }

.pp-mix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-secondary);
  margin-bottom: 1.15rem;
}

.pp-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pp-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
}

.pp-dot.pos { background: var(--forest); }
.pp-dot.neu { background: #969084; }
.pp-dot.neg { background: var(--crimson); }

.pp-channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-subtle);
}

.pp-channel-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pp-channel-name {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}

.pp-channel-score {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.pp-channel-score.pos { color: var(--forest); }
.pp-channel-score.neg { color: var(--crimson); }
.pp-channel-score.muted { color: var(--ink-faint); font-weight: 500; }

.pp-chart-panel {
  background: var(--paper-surface);
  border: 1px solid var(--rule-strong);
  padding: 1.25rem 1.35rem;
}

.pp-chart-wrapper {
  position: relative;
  height: 290px;
  width: 100%;
}

.pp-theme-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.pp-theme-item {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule-subtle);
}

.pp-theme-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.pp-theme-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.pp-theme-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.3;
}

.pp-theme-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  white-space: nowrap;
}

.pp-theme-summary {
  margin: 0 0 0.45rem;
  font-family: var(--font-editorial);
  font-size: 0.98rem;
  line-height: 1.58;
  color: var(--ink-secondary);
}

.pp-theme-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.pp-empty {
  font-family: var(--font-editorial);
  font-style: italic;
  color: var(--ink-muted);
  margin: 0.5rem 0;
}

/* Against the Field */
.pp-field-panel {
  background: var(--paper-surface);
  border: 1px solid var(--rule-strong);
  padding: 1.25rem 1.4rem;
}

.pp-field-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pp-field-row {
  display: grid;
  grid-template-columns: 115px 1fr 68px;
  align-items: center;
  gap: 1rem;
}

.pp-field-name {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

.pp-field-row.is-postman .pp-field-name {
  font-weight: 700;
  color: var(--ink-primary);
}

.pp-field-track {
  position: relative;
  height: 12px;
  background: var(--paper-tint);
  border: 1px solid var(--rule-subtle);
  overflow: hidden;
}

.pp-field-zero {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: var(--rule-ink);
  z-index: 2;
}

.pp-field-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  transition: width 0.25s ease, left 0.25s ease;
}

.pp-field-bar.pos { background: var(--forest); }
.pp-field-bar.neg { background: var(--crimson); }
.pp-field-bar.neu { background: #969084; }

.pp-field-score {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: right;
  color: var(--ink-primary);
}

.pp-field-score.pos { color: var(--forest); }
.pp-field-score.neg { color: var(--crimson); }
.pp-field-score.nodata { color: var(--ink-faint); font-weight: 400; font-size: 0.75rem; }

.pp-field-scale {
  display: grid;
  grid-template-columns: 115px 1fr 68px;
  gap: 1rem;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
}

.pp-field-scale-marks {
  display: flex;
  justify-content: space-between;
}

/* Mentions Behind the Score */
.pp-mentions-panel {
  margin-bottom: 2rem;
}

.pp-mentions-list {
  display: flex;
  flex-direction: column;
}

.pp-mention-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule-subtle);
}

.pp-mention-row:last-child {
  border-bottom: none;
}

.pp-mention-score {
  min-width: 48px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.22rem 0.45rem;
  border: 1px solid transparent;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pp-mention-score.pos { background: var(--forest-soft); border-color: #b7dfc7; color: var(--forest); }
.pp-mention-score.neu { background: var(--paper-tint); border-color: var(--rule-strong); color: var(--ink-secondary); }
.pp-mention-score.neg { background: var(--crimson-soft); border-color: #f3c1c1; color: var(--crimson); }

.pp-mention-body {
  min-width: 0;
  flex: 1;
}

.pp-mention-title {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink-primary);
  text-decoration: none;
  margin-bottom: 0.2rem;
  line-height: 1.32;
}

.pp-mention-title:hover {
  color: var(--vermilion);
  text-decoration: underline;
}

.pp-mention-meta {
  font-family: var(--font-editorial);
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* Method Accordion */
details.pp-method-accordion {
  background: var(--paper-surface);
  border-top: 2px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule-subtle);
  border-right: 1px solid var(--rule-subtle);
  padding: 0.95rem 1.25rem;
}

details.pp-method-accordion summary {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

details.pp-method-accordion summary::-webkit-details-marker {
  display: none;
}

details.pp-method-accordion summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--vermilion);
}

details.pp-method-accordion[open] summary::after {
  content: "−";
}

.pp-method-content {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-subtle);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}

.pp-method-block h4 {
  margin: 0 0 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vermilion);
}

.pp-method-block p,
.pp-method-block li {
  font-family: var(--font-editorial);
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin: 0 0 0.35rem;
}

.pp-method-block ul {
  padding-left: 1.1rem;
  margin: 0.35rem 0 0;
}

@media (max-width: 720px) {
  .pp-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pp-method-content {
    grid-template-columns: 1fr;
  }
  .pp-field-row,
  .pp-field-scale {
    grid-template-columns: 90px 1fr 56px;
    gap: 0.65rem;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.np-footer {
  margin-top: auto;
  border-top: 2px solid var(--rule-ink);
  background: var(--paper-surface);
}

.np-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.np-footer-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.np-footer-links a {
  color: var(--ink-secondary);
  text-decoration: none;
  font-weight: 500;
}

.np-footer-links a:hover {
  color: var(--vermilion);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .fp-lead-grid,
  .bs-split,
  .bs-split-even,
  .bs-grid-2 {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .fp-lead-primary,
  .bs-split-left,
  .bs-split-even > .bs-col:nth-child(odd),
  .bs-grid-2 > .bs-story {
    padding-right: 0;
    border-right: none;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--rule-strong);
  }

  .fp-lead-secondary,
  .bs-split-right,
  .bs-split-even > .bs-col:nth-child(even),
  .bs-grid-2 > .bs-story:nth-child(even) {
    padding-left: 0;
  }

  .fp-desks-grid,
  .bs-grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .fp-desk-col,
  .bs-grid-3 > .bs-brief {
    padding: 0 0 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--rule-strong);
  }

  .fp-desk-col:last-child,
  .bs-grid-3 > .bs-brief:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .bs-banner-cell {
    padding-right: 0;
    border-right: none;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--rule-subtle);
  }

  .bs-banner-cell:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .fp-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .editorial-toc {
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--rule-subtle);
    padding: 0 0 1rem;
    max-height: none;
  }
}

@media (max-width: 720px) {
  .np-masthead-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .np-ear {
    display: none;
  }

  .np-nav {
    justify-content: flex-start;
  }

  .np-main {
    padding: 1.5rem 1rem 2.5rem;
  }

  .fp-directory-grid {
    grid-template-columns: 1fr;
  }

  .events-broadsheet .kpi-card {
    border-right: none;
    border-bottom: 1px solid var(--rule-subtle);
  }
}

