/* Six reading streams and their archives. Loaded after each legacy template.
   Shared semantic tokens live in theme.css; these scopes do not affect other pages. */
body:is(.renewal-article,.renewal-hub) {

  --accent: var(--page-accent); --accent-2: var(--page-accent);
  --primary: var(--page-accent); --green: var(--page-accent); --purple: var(--page-accent);
  --red: var(--page-accent); --gold: var(--page-accent); --bar: var(--page-accent); --bar2: var(--page-accent);
  --news: var(--page-accent); --news2: var(--page-accent);
  --text-primary: var(--page-ink); --text-secondary: var(--page-muted);
  --text: var(--page-ink); --muted: var(--page-muted); --ink: var(--page-ink);
  --bg: var(--page-paper); --card: var(--page-paper); --border: var(--page-rule);
  --bg-card: var(--page-paper); --bg-dark: var(--page-paper); --badge: none;
  background: var(--page-paper); color: var(--page-muted);
  font-family: var(--font-sans); font-size: var(--article-body); line-height: 1.8;
  opacity: 1 !important; transition: none !important;
  overflow-x: visible; word-break: normal; overflow-wrap: anywhere;
}
body:is(.renewal-article,.renewal-hub) :is(.lm-fx-orb,.lm-fx-layer,.grain,.grid-pattern,.floating-shape,.animated-bg,.bg-orb,.orb) { display: none !important; }
body:is(.renewal-article,.renewal-hub)::before,
body:is(.renewal-article,.renewal-hub)::after { display: none; }

body:is(.renewal-article,.renewal-hub) .header-badge {
  display: inline-block; width: auto; max-width: 100%; padding: 0; margin: 0 0 20px;
  background: none; border: 0; border-radius: 0; box-shadow: none;
  font-size: var(--article-body); letter-spacing: 0; color: var(--page-accent);
}

body:is(.renewal-article,.renewal-hub) :is(.header p,.lead,.date) {
  max-width: 800px; margin: 0; font-size: var(--article-body); line-height: 1.8; color: var(--page-muted);
}
body.renewal-article :is(.hero .emoji,.section-title::before) { display: none; }

body.renewal-article :is(.section,.card,.case-card) { margin: 0 0 64px; }
body.renewal-article :is(.info-card,.deep-card,.law-card,.faq-item,.term-card,.step-card,.leader-card,.vision-card,.debate-card,.analysis-card,.news-card,.card,.case-card,.fmt-card,.pn-block,.an-item,.prep-item,.ov-row,.news-why,.news-bg,.lead-quote,.trust-note,.stat-row,.byline,.card-byline,.rel-link,.holding,.study,.ox-item,.refs li,.exam-card,.meta-card,.source-box,.caution-list li,.implication-list li) {
  background: none; border: 0; border-radius: 0; box-shadow: none;
  backdrop-filter: none; transform: none; padding: 0; color: var(--page-muted);
}
body.renewal-article :is(.law-card,.faq-item,.term-card,.step-card,.fmt-card,.an-item,.prep-item,.news-card,.rel-link) {
  padding: 24px 0; border-bottom: 1px solid var(--page-rule); margin: 0;
}
body.renewal-article :is(.term-grid,.law-grid,.fmt-grid,.prep-list,.overview,.format-grid) { display: block; }
body.renewal-article :is(.pn-block,.news-summary,.news-why,.news-bg,.analysis,.stat-row,.lead-quote,.debate-card) { margin: 24px 0; }

body.renewal-article :is(p,li,blockquote,.pn-text,.pr-tx,.hold-tx,.prep-tx,.an-tx,.ov-v,.meta,.case-meta,.disclaimer,.news-summary,.news-why,.news-bg,.abstract-text,.byline-sub,.ref-list,.closing,.hint,.ox-q,.ox-a) {
  font-size: var(--article-body); line-height: 1.8; color: var(--page-muted);
}
body.renewal-article p + p { margin-top: 20px; }
body.renewal-article :is(strong,b,.case-no,.byline-name,.leader-info h3) { color: var(--page-ink); }
body.renewal-article :is(.pn-label,.pr-no,.hold-no,.ov-k,.prep-tag,.fmt-tag,.rank,.dom-chip,.news-num,.why-label,.bg-label,.abstract-label,.debate-label,.news-source,.byline span,.card-byline span,.leader-info span,.step-number,.meta-chip,.imp-chip,.kw) {
  font-size: var(--article-body); line-height: 1.6; color: var(--page-accent);
  background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none;
}
body.renewal-article :is(.byline,.card-byline,.leader-card) { display: flex; gap: 16px; align-items: center; margin: 28px 0; }
body.renewal-article :is(.byline img,.card-byline img,.leader-avatar) { width: 64px; height: 64px; flex: 0 0 64px; object-fit: cover; border-radius: 50%; border: 0; }
body.renewal-article :is(.leader-info,.step-content,.byline-txt,.case-title,.pr-tx,.hold-tx,.ov-v) { min-width: 0; }
body.renewal-article :is(.step-card,.case-head,.news-head) { gap: 12px; }
body.renewal-article .step-number { flex: 0 0 24px; width: auto; height: auto; }
body.renewal-article :is(.principles,.hold-list) { padding: 0; list-style: none; }
body.renewal-article :is(.principles,.hold-list) li { display: flex; gap: 12px; padding: 16px 0; background: none; border: 0; }
body.renewal-article :is(.pr-no,.hold-no) { flex-shrink: 0; min-width: 20px; }
body.renewal-article .ov-row { display: block; padding: 16px 0; border-bottom: 1px solid var(--page-rule); }
body.renewal-article :is(.caution-list,.implication-list,.ref-list) { padding-left: 24px; }
body.renewal-article :is(.ref-list,.refs) li { padding-block: 8px; }
body.renewal-article .rel-link { display: flex; gap: 12px; }
body.renewal-article :is(.cta-section,.cta) { text-align: left; background: none; border: 0; padding: 24px 0; margin: 0; }
body.renewal-article .cta:empty { display: none; }
body.renewal-article .trust-note { justify-content: flex-start; font-size: var(--article-body); margin-top: 24px; }
body.renewal-article .trust-note .material-symbols-outlined { flex-shrink: 0; }
body.renewal-article :is(pre,table) { max-width: 100%; overflow: auto; }
body.renewal-article pre { white-space: pre-wrap; overflow-wrap: anywhere; }
body.renewal-article table { display: block; }
body.renewal-article .ox-toggle { background: none; color: var(--page-accent); border: 0; font-size: var(--page-subheading); min-height: 0; }
body.renewal-article .ox-item { border-top: 1px solid var(--page-rule); padding: 24px 0; }
/* The daily hub's plain reading list, shared by all six hub renderers. */
body.renewal-hub :is(.cta-wrap,.notes-head) { text-align: left; }
body.renewal-hub .cov-summary { justify-content: flex-start; max-width: none; margin: 48px 0 0; padding: 24px 0; background: none; border: 0; border-radius: 0; }
body.renewal-hub :is(.cov-num,.note-name,.note-role,.note-date,.note-go,.note-tag,.note-by,.note-meta,.notes-sub,.sec-desc,.ana-meta,.ana-sub,.ana-foot) { font-size: var(--article-body); color: var(--page-muted); font-weight: 500; }
body.renewal-hub :is(.notes-list,.ana-grid) { display: block; }
body.renewal-hub :is(.note-item,.ana-card) { display: flex; flex-direction: column; padding: 32px 0; gap: 16px; border: 0; border-top: 1px solid var(--page-rule); border-radius: 0; background: none; transform: none; box-shadow: none; }
body.renewal-hub .note-id { border: 0; padding: 0; gap: 16px; flex-wrap: wrap; }
body.renewal-hub .note-pic { display: block; width: 72px; height: 90px; flex: 0 0 72px; border: 0; border-radius: var(--radius-sm); object-fit: cover; object-position: center top; background: var(--page-tint); }
body.renewal-hub .note-pic-blank { display: grid; place-items: center; color: var(--page-accent); font-weight: 700; }
body.renewal-hub :is(.note-id,.note-meta) { display: flex; align-items: center; flex-wrap: nowrap; gap: 12px; }
body.renewal-hub .note-id-txt { display: flex; min-width: 0; flex: 1; }
body.renewal-hub .note-tag { flex-shrink: 0; }
body.renewal-hub .note-by { margin: 0; }
body.renewal-hub .note-id-txt { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
body.renewal-hub :is(.note-tag,.ana-law) { background: none; padding: 0; color: var(--page-accent); white-space: normal; }
body.renewal-hub :is(.note-title,.note-case) { display: block; overflow: visible; font-size: var(--page-subheading); line-height: 1.5; color: var(--page-ink); -webkit-line-clamp: unset; }
body.renewal-hub .note-item:hover .note-title { color: var(--page-accent); }
body.renewal-hub :is(.ana-head,.sec-title) { color: var(--page-ink); }
@media (max-width: 640px) {
  body:is(.renewal-article,.renewal-hub) { --page-gutter: 16px; }





  body.renewal-article :is(.section,.card,.case-card,.header) { margin-bottom: 48px; }

  body.renewal-hub :is(.note-title,.note-case) { font-size: var(--page-subheading); }
}

body.renewal-article .hero .meta { margin-top: 16px; }
body.renewal-article .ox-badge { background: var(--page-tint); color: var(--page-accent); }

body.renewal-article .container a { font-size: var(--article-body); }
body.renewal-article .ox-q { padding: 16px 0; min-height: 44px; }
body.renewal-article .ox-text { font-size: var(--article-body); line-height: 1.8; }
body.renewal-article .ox-item.open .ox-a { max-height: none; padding: 16px 0; }
body.renewal-article .ox-basis { padding: 0; border: 0; border-radius: 0; background: none; }
body.renewal-article .ox-badge { border: 0; }

/* Author and headline share one reading column; the photo spans the row. */
body.renewal-hub .note-item:has(.note-pic) { position: relative; padding-left: 92px; min-height: 154px; gap: 8px; }
body.renewal-hub .note-item .note-pic { position: absolute; left: 0; top: 32px; }
body.renewal-hub :is(.note-name,.note-by) { font-size: var(--text-xl); font-weight: 700; line-height: 1.5; color: var(--page-ink); }
body.renewal-hub :is(.note-role,.note-tag) { line-height: 1.5; align-self: baseline; }
body.renewal-hub .note-id > .note-tag { display: none; }
body.renewal-hub .note-meta .note-by { order: -1; }
body.renewal-hub .note-meta .note-date { flex-basis: 100%; order: 1; }
body.renewal-hub .hub-author { display: grid; grid-template-columns: 144px minmax(0,1fr); align-items: center; gap: 28px; margin: 0 0 32px; padding: 24px 0 32px; }
body.renewal-hub .hub-author .note-pic { width: 144px; height: 180px; }
body.renewal-hub .hub-author-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; color: var(--page-ink); }
body.renewal-hub .hub-author-name { font-size: var(--text-2xl); font-weight: 750; }
body.renewal-hub .hub-author-role { font-size: var(--article-body); }
body.renewal-hub .hub-author-bio { margin: 8px 0; font-size: var(--article-body); line-height: 1.8; }
body.renewal-hub .hub-author-link { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--article-body); color: var(--page-accent); text-underline-offset: 4px; }
body.renewal-hub .hub-author-link:focus-visible { outline: 2px solid var(--page-accent); outline-offset: 4px; }
@media (max-width: 640px) {
 body.renewal-hub .note-pic { width: 56px; height: 70px; flex-basis: 56px; }
 body.renewal-hub .note-item:has(.note-pic) { padding-left: 72px; min-height: 134px; }
 body.renewal-hub .hub-author { grid-template-columns: 96px minmax(0,1fr); gap: 16px; align-items: start; }
 body.renewal-hub .hub-author .note-pic { width: 96px; height: 120px; }
 body.renewal-hub .note-foot:has(.note-case) { flex-wrap: wrap; }
 body.renewal-hub .note-foot .note-case { flex-basis: 100%; }
}

html.dark-mode body:is(.renewal-article,.renewal-hub), body.dark-mode:is(.renewal-article,.renewal-hub) {
  --accent: var(--page-accent); --accent-2: var(--page-accent);
  --primary: var(--page-accent); --green: var(--page-accent); --purple: var(--page-accent);
  --red: var(--page-accent); --gold: var(--page-accent); --bar: var(--page-accent); --bar2: var(--page-accent);
  --news: var(--page-accent); --news2: var(--page-accent);
  --text-primary: var(--page-ink); --text-secondary: var(--page-muted);
  --text: var(--page-ink); --muted: var(--page-muted); --ink: var(--page-ink);
  --bg: var(--page-paper); --card: var(--page-paper); --border: var(--page-rule);
  --bg-card: var(--page-paper); --bg-dark: var(--page-paper); --badge: none;
}
