/* Riley Locke 5.10.0 — generated consolidation bundle.
 * Source order is preserved exactly to reduce requests without changing cascade semantics.
 */

/* === archive-palette-guard-v16.css === */
/* Riley Locke 5.1.1 — Archive Palette Guard
 * Final public-palette authority. Older Green House / readiness styles remain
 * for legacy pages, but they may not recolor Archive shell chrome or hub pages.
 */
body.rl-approved-public.rl-archive-shell{
  /* Translate legacy public tokens into the reader-selected Archive palette. */
  --rlg-bg:var(--rlx-bg)!important;
  --rlg-surface:var(--rlx-panel)!important;
  --rlg-surface-2:var(--rlx-panel2)!important;
  --rlg-ink:var(--rlx-text)!important;
  --rlg-muted:var(--rlx-muted)!important;
  --rlg-line:var(--rlx-line)!important;
  --rlg-green-950:var(--rlx-chrome)!important;
  --rlg-green-900:var(--rlx-panel)!important;
  --rlg-green-800:var(--rlx-panel2)!important;
  --rlg-green-700:color-mix(in srgb,var(--rlx-accent) 76%,var(--rlx-chrome))!important;
  --rlg-green-600:var(--rlx-accent)!important;
  --rlg-green-500:var(--rlx-accent)!important;
  --rlg-green-300:var(--rlx-accent2)!important;
  --rlg-green-200:color-mix(in srgb,var(--rlx-accent2) 72%,var(--rlx-text))!important;
  --rlg-green-100:color-mix(in srgb,var(--rlx-accent) 12%,var(--rlx-panel))!important;
  --rlg-gold:var(--rlx-gold)!important;
  --rlg-rose:var(--rlx-copper)!important;
  --rlg-shadow:var(--rlx-shadow)!important;
  background:radial-gradient(900px 520px at 72% -150px,color-mix(in srgb,var(--rlx-accent) 10%,transparent),transparent 58%),linear-gradient(180deg,var(--rlx-bg),var(--rlx-bg2) 55%,var(--rlx-bg))!important;
  color:var(--rlx-text)!important;
}

/* The Archive header/rail are the one public chrome. This intentionally beats
 * the historical body.rl-approved-public.rg-dusk Green House selectors. */
body.rl-approved-public.rl-archive-shell .rl-mock-header,
body.rl-approved-public.rl-archive-shell.rg-dusk .rl-mock-header{
  background:color-mix(in srgb,var(--rlx-chrome) 95%,transparent)!important;
  border-bottom-color:var(--rlx-line)!important;
  color:var(--rlx-chrome-text)!important;
}
body.rl-approved-public.rl-archive-shell .rl-mock-brand{color:var(--rlx-chrome-text)!important}
body.rl-approved-public.rl-archive-shell .rl-mock-brand span{color:var(--rlx-accent)!important}
body.rl-approved-public.rl-archive-shell .rl-mock-search,
body.rl-approved-public.rl-archive-shell.rg-dusk .rl-mock-search{
  background:var(--rlx-chrome2)!important;
  border-color:var(--rlx-line)!important;
  color:var(--rlx-chrome-text)!important;
}
body.rl-approved-public.rl-archive-shell .rl-mock-search input{
  background:transparent!important;
  color:var(--rlx-chrome-text)!important;
  -webkit-text-fill-color:var(--rlx-chrome-text)!important;
}
body.rl-approved-public.rl-archive-shell .rl-mock-search input::placeholder{
  color:var(--rlx-chrome-muted)!important;
  -webkit-text-fill-color:var(--rlx-chrome-muted)!important;
  opacity:1!important;
}
body.rl-approved-public.rl-archive-shell .rl-mock-userchip,
body.rl-approved-public.rl-archive-shell .rl-mock-theme,
body.rl-approved-public.rl-archive-shell.rg-dusk .rl-mock-userchip,
body.rl-approved-public.rl-archive-shell.rg-dusk .rl-mock-theme{
  background:var(--rlx-chrome2)!important;
  border-color:var(--rlx-line)!important;
  color:var(--rlx-chrome-text)!important;
}
body.rl-approved-public.rl-archive-shell .rl-mock-userchip strong{color:var(--rlx-chrome-text)!important}
body.rl-approved-public.rl-archive-shell .rl-mock-avatar{background:linear-gradient(135deg,var(--rlx-accent),var(--rlx-plum))!important;color:var(--rlx-chrome)!important}
body.rl-approved-public.rl-archive-shell .rl-mobile-nav{background:var(--rlx-chrome)!important;border-color:var(--rlx-line)!important}
body.rl-approved-public.rl-archive-shell .rl-archive-rail{background:color-mix(in srgb,var(--rlx-chrome) 97%,transparent)!important;border-color:var(--rlx-line)!important}

/* Prevent a legacy page canvas from peeking through between new Archive hubs. */
body.rl-approved-public.rl-archive-shell .rl-public-shell,
body.rl-approved-public.rl-archive-shell .rl-public-main,
body.rl-approved-public.rl-archive-shell .rg-shell,
body.rl-approved-public.rl-archive-shell .rg-pane{
  background:transparent!important;
  color:var(--rlx-text)!important;
}

/* Operator page-state diagnostics are useful, but they must not bring the old
 * green site palette back into the selected reader appearance. */
body.rl-approved-public.rl-archive-shell .rl-v10-operator-strip{
  background:color-mix(in srgb,var(--rlx-chrome) 90%,var(--rlx-panel))!important;
  color:var(--rlx-chrome-text)!important;
  border-bottom-color:var(--rlx-line)!important;
}
body.rl-approved-public.rl-archive-shell .rl-v10-operator-label{color:var(--rlx-chrome-muted)!important}
body.rl-approved-public.rl-archive-shell .rl-v10-status-right>span{color:var(--rlx-chrome-muted)!important}
body.rl-approved-public.rl-archive-shell .rl-v10-readiness-details summary{
  color:var(--rlx-chrome-text)!important;
  border-color:var(--rlx-line)!important;
  background:var(--rlx-chrome2)!important;
}
body.rl-approved-public.rl-archive-shell .rl-v10-readiness-panel{
  background:var(--rlx-panel)!important;
  color:var(--rlx-text)!important;
  border-left:1px solid var(--rlx-line)!important;
}
body.rl-approved-public.rl-archive-shell .rl-v10-readiness-panel section{border-color:var(--rlx-line)!important}
body.rl-approved-public.rl-archive-shell .rl-v10-readiness-panel section b{color:var(--rlx-accent)!important}
body.rl-approved-public.rl-archive-shell .rl-v10-readiness-panel section p,
body.rl-approved-public.rl-archive-shell .rl-v10-readiness-panel small{color:var(--rlx-muted)!important}
body.rl-approved-public.rl-archive-shell .rl-v10-readiness-panel progress{accent-color:var(--rlx-accent)!important}
body.rl-approved-public.rl-archive-shell .rl-v10-readiness-panel:before{
  background:color-mix(in srgb,var(--rlx-accent) 12%,var(--rlx-panel2))!important;
  color:var(--rlx-accent2)!important;
}
body.rl-approved-public.rl-archive-shell .rl-v10-readiness-law{
  background:color-mix(in srgb,var(--rlx-gold) 10%,var(--rlx-panel2))!important;
  border-left-color:var(--rlx-gold)!important;
  color:color-mix(in srgb,var(--rlx-gold) 75%,var(--rlx-text))!important;
}

/* Legacy public footer cannot force forest green under Cobalt/Plum/Ivory. */
body.rl-approved-public.rl-archive-shell .rl-mock-footer,
body.rl-approved-public.rl-archive-shell.rg-dusk .rl-mock-footer{
  background:var(--rlx-chrome)!important;
  color:var(--rlx-chrome-muted)!important;
  border-top-color:var(--rlx-line)!important;
}
body.rl-approved-public.rl-archive-shell .rl-mock-footer a,
body.rl-approved-public.rl-archive-shell .rl-mock-footer button{color:var(--rlx-chrome-muted)!important}

/* Ivory remains intentionally light. */
body.rl-approved-public.rl-archive-shell.rl-palette-ivory-ink{color-scheme:light!important}
body.rl-approved-public.rl-archive-shell:not(.rl-palette-ivory-ink){color-scheme:dark!important}

/* === archive-global-palette-v17.css === */
/* Riley Locke 5.1.2 — Global Palette Authority
 * One selected appearance owns every public Riley Locke route. Historical
 * public styles may continue to supply layout, but may not reintroduce an old
 * green, paper, midnight, or community palette around Archive-shell pages.
 */

/* First-paint / overscroll canvas. The server writes data-rl-palette on <html>
 * and the appearance script keeps it synchronized with the body preference. */
html[data-rl-palette="cobalt-archive"]{background:#07101a;color-scheme:dark}
html[data-rl-palette="verdant-library"]{background:#07110e;color-scheme:dark}
html[data-rl-palette="midnight-plum"]{background:#100b12;color-scheme:dark}
html[data-rl-palette="ivory-ink"]{background:#f4efe6;color-scheme:light}

/* Translate every historical public token family onto Archive tokens. !important
 * is intentional: several old modules set variables on higher-specificity body
 * selectors (for example body.rg-dusk.rl-site-v12). */
body.rl-archive-shell{
  --rlg-bg:var(--rlx-bg)!important;--rlg-surface:var(--rlx-panel)!important;--rlg-surface-2:var(--rlx-panel2)!important;
  --rlg-ink:var(--rlx-text)!important;--rlg-muted:var(--rlx-muted)!important;--rlg-line:var(--rlx-line)!important;
  --rlg-green-950:var(--rlx-chrome)!important;--rlg-green-900:var(--rlx-panel)!important;--rlg-green-800:var(--rlx-panel2)!important;
  --rlg-green-700:color-mix(in srgb,var(--rlx-accent) 72%,var(--rlx-chrome))!important;--rlg-green-600:var(--rlx-accent)!important;
  --rlg-green-500:var(--rlx-accent)!important;--rlg-green-300:var(--rlx-accent2)!important;--rlg-green-200:color-mix(in srgb,var(--rlx-accent2) 72%,var(--rlx-text))!important;
  --rlg-green-100:color-mix(in srgb,var(--rlx-accent) 11%,var(--rlx-panel))!important;--rlg-gold:var(--rlx-gold)!important;--rlg-rose:var(--rlx-copper)!important;--rlg-shadow:var(--rlx-shadow)!important;

  --rls-bg:var(--rlx-bg)!important;--rls-surface:var(--rlx-panel)!important;--rls-soft:var(--rlx-panel2)!important;--rls-ink:var(--rlx-text)!important;
  --rls-muted:var(--rlx-muted)!important;--rls-line:var(--rlx-line)!important;--rls-g950:var(--rlx-chrome)!important;--rls-g900:var(--rlx-panel)!important;
  --rls-g800:var(--rlx-panel2)!important;--rls-g700:color-mix(in srgb,var(--rlx-accent) 74%,var(--rlx-chrome))!important;--rls-g600:var(--rlx-accent)!important;
  --rls-g500:var(--rlx-accent)!important;--rls-g300:var(--rlx-accent2)!important;--rls-g100:color-mix(in srgb,var(--rlx-accent) 11%,var(--rlx-panel))!important;
  --rls-red:var(--rlx-copper)!important;--rls-shadow:var(--rlx-shadow)!important;

  --rl12-bg:var(--rlx-bg)!important;--rl12-surface:var(--rlx-panel)!important;--rl12-soft:var(--rlx-panel2)!important;--rl12-ink:var(--rlx-text)!important;
  --rl12-muted:var(--rlx-muted)!important;--rl12-line:var(--rlx-line)!important;--rl12-g950:var(--rlx-chrome)!important;--rl12-g900:var(--rlx-panel)!important;
  --rl12-g800:var(--rlx-panel2)!important;--rl12-g700:color-mix(in srgb,var(--rlx-accent) 74%,var(--rlx-chrome))!important;--rl12-g600:var(--rlx-accent)!important;
  --rl12-g500:var(--rlx-accent)!important;--rl12-g300:var(--rlx-accent2)!important;--rl12-g100:color-mix(in srgb,var(--rlx-accent) 11%,var(--rlx-panel))!important;
  --rl12-gold:var(--rlx-gold)!important;--rl12-red:var(--rlx-copper)!important;--rl12-shadow:var(--rlx-shadow)!important;
  --rl-v12-paper:var(--rlx-bg)!important;--rl-v12-ink:var(--rlx-text)!important;

  --rlm-paper:var(--rlx-bg)!important;--rlm-paper2:var(--rlx-bg2)!important;--rlm-white:var(--rlx-panel)!important;
  --rlm-ink:var(--rlx-text)!important;--rlm-ink2:var(--rlx-text)!important;--rlm-ink3:var(--rlx-muted)!important;--rlm-muted:var(--rlx-muted)!important;--rlm-line:var(--rlx-line)!important;
  --rlm-purple:var(--rlx-accent)!important;--rlm-purple2:var(--rlx-accent2)!important;--rlm-pink:var(--rlx-copper)!important;--rlm-gold:var(--rlx-gold)!important;
  --rlm-mint:var(--rlx-accent)!important;--rlm-sky:var(--rlx-blue)!important;--rlm-good:var(--rlx-accent)!important;--rlm-warn:var(--rlx-gold)!important;
  --rlm-bad:var(--rlx-copper)!important;--rlm-shadow:var(--rlx-shadow)!important;

  --rg-paper:var(--rlx-bg)!important;--rg-paper-2:var(--rlx-bg2)!important;--rg-card:var(--rlx-panel)!important;
  --rg-ink:var(--rlx-text)!important;--rg-ink-2:var(--rlx-muted)!important;--rg-ink-3:var(--rlx-muted2)!important;--rg-rule:var(--rlx-line)!important;
  --rg-house:var(--rlx-chrome)!important;--rg-accent:var(--rlx-accent)!important;--rg-accent-deep:var(--rlx-accent2)!important;
  --rg-accent-soft:color-mix(in srgb,var(--rlx-accent) 11%,var(--rlx-panel))!important;--rg-romance:var(--rlx-copper)!important;--rg-rose:var(--rlx-copper)!important;
  --rg-rose-soft:color-mix(in srgb,var(--rlx-copper) 11%,var(--rlx-panel))!important;--rg-blush:color-mix(in srgb,var(--rlx-copper) 8%,var(--rlx-panel))!important;
  --rg-deeprose:var(--rlx-gold)!important;--rg-good:var(--rlx-accent)!important;--rg-warn:var(--rlx-copper)!important;--rg-gold:var(--rlx-gold)!important;
  --rg-machine:var(--rlx-gold)!important;--rg-data:var(--rlx-blue)!important;--rg-sand:var(--rlx-panel2)!important;--rg-sand-2:var(--rlx-panel3)!important;
  --rg-sage:var(--rlx-accent)!important;--rg-meta:var(--rlx-muted2)!important;--rg-btn:var(--rlx-accent)!important;--rg-shadow:var(--rlx-shadow)!important;
  --rg-dbg:var(--rlx-bg)!important;--rg-dcard:var(--rlx-panel)!important;--rg-dcard-2:var(--rlx-panel2)!important;--rg-drule:var(--rlx-line)!important;
  --rg-dink:var(--rlx-text)!important;--rg-dink-2:var(--rlx-muted)!important;--rg-dink-3:var(--rlx-muted2)!important;

  --ro-bg:var(--rlx-bg)!important;--ro-paper:var(--rlx-panel)!important;--ro-card:var(--rlx-panel)!important;--ro-ink:var(--rlx-text)!important;
  --ro-muted:var(--rlx-muted)!important;--ro-line:var(--rlx-line)!important;--ro-forest:var(--rlx-chrome)!important;--ro-forest2:var(--rlx-panel2)!important;
  --ro-sage:color-mix(in srgb,var(--rlx-accent) 10%,var(--rlx-panel))!important;--ro-green:var(--rlx-accent)!important;
  --ro-gold:color-mix(in srgb,var(--rlx-gold) 11%,var(--rlx-panel))!important;--ro-rose:color-mix(in srgb,var(--rlx-copper) 10%,var(--rlx-panel))!important;
  --ro-shadow:var(--rlx-shadow)!important;--ro30-accent:var(--rlx-accent)!important;--ro30-glow:color-mix(in srgb,var(--rlx-accent) 16%,transparent)!important;
  --ro30-gold:color-mix(in srgb,var(--rlx-gold) 15%,transparent)!important;

  background:radial-gradient(900px 520px at 72% -150px,color-mix(in srgb,var(--rlx-accent) 10%,transparent),transparent 58%),linear-gradient(180deg,var(--rlx-bg),var(--rlx-bg2) 55%,var(--rlx-bg))!important;
  color:var(--rlx-text)!important;
}

/* One global canvas. Old route wrappers may supply spacing/layout, not a second
 * site background. */
html body.rl-archive-shell .rl-public-shell,
html body.rl-archive-shell .rl-public-main,
html body.rl-archive-shell .rg-shell,
html body.rl-archive-shell .rg-pane,
html body.rl-archive-shell .rl-simple-page,
html body.rl-archive-shell .rl-site-v12,
html body.rl-archive-shell .rl-reader-os,
html body.rl-archive-shell .rl-ro24-shell,
html body.rl-archive-shell .rl-community-parity,
html body.rl-archive-shell .rl-v14-book-page,
html body.rl-archive-shell .rl-v14-series-page,
html body.rl-archive-shell .rl-v15-series-library{
  background:transparent!important;color:var(--rlx-text)!important;
}

/* Canonical public chrome. */
html body.rl-archive-shell .rl-mock-header{background:color-mix(in srgb,var(--rlx-chrome) 95%,transparent)!important;border-color:var(--rlx-line)!important;color:var(--rlx-chrome-text)!important}
html body.rl-archive-shell .rl-mock-brand{color:var(--rlx-chrome-text)!important}
html body.rl-archive-shell .rl-mock-brand span{color:var(--rlx-accent)!important}
html body.rl-archive-shell .rl-mock-search,
html body.rl-archive-shell .rl-mock-userchip,
html body.rl-archive-shell .rl-mock-theme,
html body.rl-archive-shell .rl-mock-dock{background:var(--rlx-chrome2)!important;border-color:var(--rlx-line)!important;color:var(--rlx-chrome-text)!important}
html body.rl-archive-shell .rl-mock-search input{background:transparent!important;color:var(--rlx-chrome-text)!important;-webkit-text-fill-color:var(--rlx-chrome-text)!important}
html body.rl-archive-shell .rl-mock-search input::placeholder{color:var(--rlx-chrome-muted)!important;-webkit-text-fill-color:var(--rlx-chrome-muted)!important;opacity:1!important}
html body.rl-archive-shell .rl-archive-rail{background:color-mix(in srgb,var(--rlx-chrome) 97%,transparent)!important;border-color:var(--rlx-line)!important}
html body.rl-archive-shell .rl-mobile-nav{background:var(--rlx-chrome)!important;border-color:var(--rlx-line)!important}
html body.rl-archive-shell .rl-mock-footer{background:var(--rlx-chrome)!important;border-color:var(--rlx-line)!important;color:var(--rlx-chrome-muted)!important}

/* Admin-only page-state strip: retain the diagnostic, but make it part of the
 * selected theme rather than a permanent forest-green stripe. */
html body.rl-archive-shell .rl-v13-opbar{
  background:color-mix(in srgb,var(--rlx-chrome) 90%,var(--rlx-panel))!important;
  color:var(--rlx-chrome-text)!important;border-bottom:1px solid var(--rlx-line)!important;
}
html body.rl-archive-shell .rl-v13-opbar strong,
html body.rl-archive-shell .rl-v13-opbar small{color:var(--rlx-chrome-muted)!important}
html body.rl-archive-shell .rl-v13-opbar a{color:var(--rlx-accent2)!important}
html body.rl-archive-shell .rl-v13-state--search-live{background:color-mix(in srgb,var(--rlx-accent) 16%,var(--rlx-panel2))!important;color:var(--rlx-accent2)!important}
html body.rl-archive-shell .rl-v13-state--community-live{background:color-mix(in srgb,var(--rlx-gold) 14%,var(--rlx-panel2))!important;color:color-mix(in srgb,var(--rlx-gold) 80%,var(--rlx-text))!important}
html body.rl-archive-shell .rl-v13-state--draft{background:color-mix(in srgb,var(--rlx-copper) 14%,var(--rlx-panel2))!important;color:color-mix(in srgb,var(--rlx-copper) 78%,var(--rlx-text))!important}
html body.rl-archive-shell .rl-v13-state--utility,
html body.rl-archive-shell .rl-v13-state--private,
html body.rl-archive-shell .rl-v13-state--complete{background:var(--rlx-panel2)!important;color:var(--rlx-muted)!important}
html body.rl-archive-shell .rl-v10-operator-strip{background:color-mix(in srgb,var(--rlx-chrome) 90%,var(--rlx-panel))!important;color:var(--rlx-chrome-text)!important;border-color:var(--rlx-line)!important}

/* Simplified v11/v12 public routes. These files contain a few literal old
 * green/paper paints that variables alone cannot neutralize. */
html body.rl-archive-shell .rl-simple-hero{background:linear-gradient(135deg,var(--rlx-chrome),var(--rlx-panel2))!important;color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-simple-entity-hero,
html body.rl-archive-shell.rg-dusk .rl-simple-entity-hero,
html body.rl-archive-shell .rl-v12-entity-hero{background:linear-gradient(180deg,var(--rlx-panel2),var(--rlx-bg))!important;border-color:var(--rlx-line)!important}
html body.rl-archive-shell .rl-simple-library-head,
html body.rl-archive-shell .rl-simple-community-v13 .rl-simple-library-head{background:var(--rlx-bg)!important;color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-simple-lede,
html body.rl-archive-shell .rl-simple-reading-copy,
html body.rl-archive-shell .rl-v12-reading-copy,
html body.rl-archive-shell .rl-v12-reading-copy p{color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-simple-empty,
html body.rl-archive-shell .rl-simple-missing,
html body.rl-archive-shell .rl-simple-block,
html body.rl-archive-shell .rl-simple-side-card,
html body.rl-archive-shell .rl-simple-edit-form,
html body.rl-archive-shell .rl-simple-page .rl-discussion-card{background:var(--rlx-panel)!important;border-color:var(--rlx-line)!important;color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-simple-edit-form input,
html body.rl-archive-shell .rl-simple-edit-form textarea,
html body.rl-archive-shell .rl-simple-edit-form select,
html body.rl-archive-shell .rl-simple-page input,
html body.rl-archive-shell .rl-simple-page textarea,
html body.rl-archive-shell .rl-simple-page select,
html body.rl-archive-shell .rl-v12-hero-search input,
html body.rl-archive-shell .rl-v12-inline-search input{background:var(--rlx-panel2)!important;border-color:var(--rlx-line)!important;color:var(--rlx-text)!important;-webkit-text-fill-color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-simple-notice{background:color-mix(in srgb,var(--rlx-accent) 10%,var(--rlx-panel))!important;border-color:var(--rlx-accent)!important;color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-simple-notice.is-warn{background:color-mix(in srgb,var(--rlx-gold) 10%,var(--rlx-panel))!important;border-color:var(--rlx-gold)!important}

/* Rich-simple Book and Series detail pages (v14). */
html body.rl-archive-shell .rl-v14-hero{background:linear-gradient(180deg,var(--rlx-panel2),var(--rlx-bg))!important;border-color:var(--rlx-line)!important}
html body.rl-archive-shell .rl-v14-kicker,
html body.rl-archive-shell .rl-v14-facts b,
html body.rl-archive-shell .rl-v14-decision-grid span,
html body.rl-archive-shell .rl-v14-knowledge-grid a,
html body.rl-archive-shell .rl-v14-questions a,
html body.rl-archive-shell .rl-v14-order-num,
html body.rl-archive-shell .rl-v14-order-open,
html body.rl-archive-shell .rl-v14-path-grid article>span{color:var(--rlx-accent)!important}
html body.rl-archive-shell .rl-v14-byline,
html body.rl-archive-shell .rl-v14-heading>p,
html body.rl-archive-shell .rl-v14-pending,
html body.rl-archive-shell .rl-v14-buy small,
html body.rl-archive-shell .rl-v14-decision-grid p,
html body.rl-archive-shell .rl-v14-series-context p,
html body.rl-archive-shell .rl-v14-knowledge-grid article>p:not(.rl-v14-kicker),
html body.rl-archive-shell .rl-v14-start-side p,
html body.rl-archive-shell .rl-v14-order-list p,
html body.rl-archive-shell .rl-v14-path-grid p,
html body.rl-archive-shell .rl-v14-path-grid ol{color:var(--rlx-muted)!important}
html body.rl-archive-shell .rl-v14-summary p,
html body.rl-archive-shell .rl-v14-series-summary p{color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-v14-facts span,
html body.rl-archive-shell .rl-v14-actions a,
html body.rl-archive-shell .rl-v14-decision-grid article,
html body.rl-archive-shell .rl-v14-series-context,
html body.rl-archive-shell .rl-v14-knowledge-grid article,
html body.rl-archive-shell .rl-v14-questions article,
html body.rl-archive-shell .rl-v14-similar-grid article,
html body.rl-archive-shell .rl-v14-contributors,
html body.rl-archive-shell .rl-v14-start-side,
html body.rl-archive-shell .rl-v14-order-list>article,
html body.rl-archive-shell .rl-v14-path-grid article,
html body.rl-archive-shell .rl-v14-section details,
html body.rl-archive-shell .rl-v14-empty{background:var(--rlx-panel)!important;border-color:var(--rlx-line)!important;color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-v14-section.is-alt{background:var(--rlx-panel)!important;border-color:var(--rlx-line)!important}
html body.rl-archive-shell .rl-v14-section.is-soft{background:var(--rlx-panel2)!important}
html body.rl-archive-shell .rl-v14-pills a,
html body.rl-archive-shell .rl-v14-order-badges span,
html body.rl-archive-shell .rl-v14-notice{background:color-mix(in srgb,var(--rlx-accent) 11%,var(--rlx-panel2))!important;color:var(--rlx-accent2)!important;border-color:var(--rlx-line)!important}
html body.rl-archive-shell .rl-v14-actions a.is-primary,
html body.rl-archive-shell .rl-v14-button,
html body.rl-archive-shell .rl-v14-buy a{background:var(--rlx-accent)!important;border-color:var(--rlx-accent)!important;color:var(--rlx-chrome)!important}
html body.rl-archive-shell .rl-v14-series-art,
html body.rl-archive-shell .rl-v14-start-card{background:linear-gradient(135deg,var(--rlx-chrome),color-mix(in srgb,var(--rlx-accent) 34%,var(--rlx-panel2)))!important}

/* Legacy Series Library v15, where still used. */
html body.rl-archive-shell .rl-v15-hero{background:radial-gradient(circle at 12% 0%,color-mix(in srgb,var(--rlx-accent) 26%,transparent),transparent 34%),radial-gradient(circle at 88% 8%,color-mix(in srgb,var(--rlx-gold) 12%,transparent),transparent 26%),linear-gradient(135deg,var(--rlx-chrome),var(--rlx-panel2) 58%,var(--rlx-bg2))!important;color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-v15-hero aside,
html body.rl-archive-shell .rl-v15-category-grid>a,
html body.rl-archive-shell .rl-v15-series-card,
html body.rl-archive-shell .rl-v15-shelf-grid>a,
html body.rl-archive-shell .rl-v15-list-row,
html body.rl-archive-shell .rl-v15-filters input,
html body.rl-archive-shell .rl-v15-filters select,
html body.rl-archive-shell .rl-v15-empty{background:var(--rlx-panel)!important;border-color:var(--rlx-line)!important;color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-v15-section.is-alt{background:var(--rlx-panel)!important;border-color:var(--rlx-line)!important}
html body.rl-archive-shell .rl-v15-section.is-soft,
html body.rl-archive-shell .rl-v15-meta span,
html body.rl-archive-shell .rl-v15-series-stack.is-empty{background:var(--rlx-panel2)!important;color:var(--rlx-muted)!important}
html body.rl-archive-shell .rl-v15-feature-main{background:linear-gradient(135deg,var(--rlx-chrome),color-mix(in srgb,var(--rlx-accent) 34%,var(--rlx-panel2)))!important}
html body.rl-archive-shell .rl-v15-type-tabs a.is-active,
html body.rl-archive-shell .rl-v15-pages a.is-active,
html body.rl-archive-shell .rl-v15-filters button{background:var(--rlx-accent)!important;border-color:var(--rlx-accent)!important;color:var(--rlx-chrome)!important}
html body.rl-archive-shell .rl-v15-kicker,
html body.rl-archive-shell .rl-v15-text-link,
html body.rl-archive-shell .rl-v15-filters>a,
html body.rl-archive-shell .rl-v15-genre-shelves header a{color:var(--rlx-accent)!important}
html body.rl-archive-shell .rl-v15-author,
html body.rl-archive-shell .rl-v15-start,
html body.rl-archive-shell .rl-v15-heading>p,
html body.rl-archive-shell .rl-v15-shelf-grid span,
html body.rl-archive-shell .rl-v15-list-copy small,
html body.rl-archive-shell .rl-v15-genre-shelves header p{color:var(--rlx-muted)!important}

/* Reader OS generic controls, even on routes whose old performance CSS contains
 * literal Paper values. Route-specific Archive CSS may still refine these. */
html body.rl-archive-shell.rl-reader-os-v24 .rl-ro24-main,
html body.rl-archive-shell.rl-reader-os-v24 .rl-ro24-content{background:transparent!important;color:var(--rlx-text)!important}
html body.rl-archive-shell.rl-reader-os-v24 .rl-ro24-main input,
html body.rl-archive-shell.rl-reader-os-v24 .rl-ro24-main select,
html body.rl-archive-shell.rl-reader-os-v24 .rl-ro24-main textarea{background:var(--rlx-panel2)!important;border-color:var(--rlx-line)!important;color:var(--rlx-text)!important;-webkit-text-fill-color:var(--rlx-text)!important}

/* Community parity routes inherit the same palette rather than their historical
 * purple mockup palette. Semantic badges may still use gold/copper/blue. */
html body.rl-archive-shell.rl-community-parity{background:var(--rlx-bg)!important;color:var(--rlx-text)!important}
html body.rl-archive-shell.rl-community-parity .rlm-card,
html body.rl-archive-shell.rl-community-parity .rlm-panel,
html body.rl-archive-shell.rl-community-parity .rlm-surface{background:var(--rlx-panel)!important;border-color:var(--rlx-line)!important;color:var(--rlx-text)!important}

/* Light palette gets native light controls; all other palettes stay dark. */
html body.rl-archive-shell.rl-palette-ivory-ink{color-scheme:light!important}
html body.rl-archive-shell:not(.rl-palette-ivory-ink){color-scheme:dark!important}
