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

/* === archive-global-palette-v18.css === */
/* Riley Locke 5.4.1 — Universal Public Palette Authority
 *
 * The reader-selected appearance is the final color authority for every public
 * Riley Locke surface. Historical route styles may continue to provide layout
 * and typography, but they may not introduce independent green, purple, paper,
 * white-card, or midnight color systems.
 *
 * Supported appearances:
 *   Cobalt Archive (default) · Verdant Library · Midnight Plum · Ivory & Ink
 */

/* -------------------------------------------------------------------------
   1. First paint + universal compatibility aliases
   ------------------------------------------------------------------------- */
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}

html body.rl-archive-shell{
  /* Green House / approved-public */
  --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) 10%,var(--rlx-panel))!important;
  --rlg-gold:var(--rlx-gold)!important;
  --rlg-rose:var(--rlx-copper)!important;
  --rlg-shadow:var(--rlx-shadow)!important;

  /* simplified v11 */
  --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) 72%,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) 10%,var(--rlx-panel))!important;
  --rls-red:var(--rlx-copper)!important;
  --rls-shadow:var(--rlx-shadow)!important;

  /* simplified v12 */
  --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) 72%,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) 10%,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;

  /* Community parity / old purple mockup */
  --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;

  /* original Register / reader account tokens */
  --rg-paper:var(--rlx-bg)!important;
  --rg-paper-2:var(--rlx-bg2)!important;
  --rg-card:var(--rlx-panel)!important;
  --rg-surface:var(--rlx-panel)!important;
  --rg-surface-2:var(--rlx-panel2)!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) 10%,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) 10%,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-gold)!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-link: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;

  /* Reader OS */
  --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) 10%,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;
}

/* -------------------------------------------------------------------------
   2. One global canvas and one global chrome
   ------------------------------------------------------------------------- */
html body.rl-archive-shell :is(
  .rl-public-shell,.rl-public-main,.rg-shell,.rg-pane,.rl-simple-page,.rl-site-v12,
  .rl-reader-os,.rl-ro24-shell,.rl-ro24-main,.rl-ro24-content,.rl-community-main,
  .rl-community-parity,.rl-cx-shell,.rl-v14-book-page,.rl-v14-series-page,
  .rl-v15-series-library,.rl-profile-v9,.rl-account-shell,.rl-account-page
){background:transparent!important;color:var(--rlx-text)!important}

html body.rl-archive-shell .rl-mock-header,
html body.rl-archive-shell .rl-ro24-top{
  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 :is(.rl-mock-brand,.rl-ro24-logo){color:var(--rlx-chrome-text)!important}
html body.rl-archive-shell :is(.rl-mock-brand span,.rl-ro24-logo span){color:var(--rlx-accent)!important}
html body.rl-archive-shell :is(.rl-mock-search,.rl-mock-userchip,.rl-mock-theme,.rl-mock-dock,.rl-ro24-search,.rl-ro24-mybooks-chip,.rl-ro24-account-chip,.rl-ro24-appearance){
  background:var(--rlx-chrome2)!important;border-color:var(--rlx-line)!important;color:var(--rlx-chrome-text)!important
}
html body.rl-archive-shell :is(.rl-mock-search,.rl-ro24-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 :is(.rl-mock-search,.rl-ro24-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 :is(.rl-mock-userchip strong,.rl-ro24-account-chip strong,.rl-ro24-mybooks-chip strong){color:var(--rlx-chrome-text)!important}
html body.rl-archive-shell :is(.rl-mock-userchip small,.rl-ro24-account-chip small){color:var(--rlx-chrome-muted)!important}
html body.rl-archive-shell :is(.rl-mock-avatar,.rl-ro24-account-chip i){background:linear-gradient(135deg,var(--rlx-accent),var(--rlx-plum))!important;color:var(--rlx-chrome)!important}
html body.rl-archive-shell :is(.rl-archive-rail,.rl-ro24-rail){background:color-mix(in srgb,var(--rlx-chrome) 97%,transparent)!important;border-color:var(--rlx-line)!important}
html body.rl-archive-shell :is(.rl-mobile-nav,.rl-ro24-mobile,.rl-mock-footer){background:var(--rlx-chrome)!important;border-color:var(--rlx-line)!important;color:var(--rlx-chrome-muted)!important}
html body.rl-archive-shell .rl-mock-footer :is(a,button){color:var(--rlx-chrome-muted)!important}

/* -------------------------------------------------------------------------
   3. Operator state bars are diagnostics, not a fifth color theme
   ------------------------------------------------------------------------- */
html body.rl-archive-shell :is(.rl-v13-opbar,.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
}
html body.rl-archive-shell :is(.rl-v13-opbar,.rl-v10-operator-strip) :is(small,.rl-v10-operator-label,.rl-v10-status-right>span){color:var(--rlx-chrome-muted)!important}
html body.rl-archive-shell :is(.rl-v13-opbar,.rl-v10-operator-strip) 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) 80%,var(--rlx-text))!important}
html body.rl-archive-shell :is(.rl-v13-state--utility,.rl-v13-state--private,.rl-v13-state--complete){background:var(--rlx-panel2)!important;color:var(--rlx-muted)!important}
html body.rl-archive-shell .rl-v10-readiness-details summary{background:var(--rlx-chrome2)!important;border-color:var(--rlx-line)!important;color:var(--rlx-chrome-text)!important}
html body.rl-archive-shell .rl-v10-readiness-panel{background:var(--rlx-panel)!important;color:var(--rlx-text)!important;border-color:var(--rlx-line)!important}

/* -------------------------------------------------------------------------
   4. Universal public cards, controls and actions
   ------------------------------------------------------------------------- */
html body.rl-archive-shell :is(
  .rl-cx-card,.rl-cx-feed-card,.rl-cx-question,.rl-cx-form,.rl-cx-room,.rl-cx-profile-head,
  .rl-profile-v9-head,.rl-profile-stat-grid article,.rl-profile-book-card,.rl-profile-favorites>a,
  .rl-profile-people-list article,.rl-profile-impact-grid article,.rl-profile-activity-list article,
  .rl-profile-action-card,.rl-account-disclosure,.rl-settings-card,.rl-notes-compose,
  .rl-simple-block,.rl-simple-side-card,.rl-simple-edit-form,.rl-simple-empty,.rl-simple-missing,
  .rl-v14-decision-grid article,.rl-v14-series-context,.rl-v14-knowledge-grid article,
  .rl-v14-questions article,.rl-v14-similar-grid article,.rl-v14-contributors,.rl-v14-start-side,
  .rl-v14-order-list>article,.rl-v14-path-grid article,.rl-v14-section details,.rl-v14-empty,
  .rl-v15-hero aside,.rl-v15-category-grid>a,.rl-v15-series-card,.rl-v15-shelf-grid>a,
  .rl-v15-list-row,.rl-v15-empty
){background:var(--rlx-panel)!important;border-color:var(--rlx-line)!important;color:var(--rlx-text)!important}

html body.rl-archive-shell :is(
  input:not([type="checkbox"]):not([type="radio"]),select,textarea,
  .rl-v15-filters input,.rl-v15-filters select,.rl-cx-form input,.rl-cx-form select,.rl-cx-form textarea,
  .rl-simple-edit-form input,.rl-simple-edit-form select,.rl-simple-edit-form 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}
html body.rl-archive-shell :is(input,textarea)::placeholder{color:var(--rlx-muted2)!important;-webkit-text-fill-color:var(--rlx-muted2)!important;opacity:1!important}

html body.rl-archive-shell :is(.rg-btn,.rl-ro24-btn,.rl-v14-button,.rl-v15-filters button,.rl-profile-v9-actions a,.rl-profile-v9-actions button){border-color:var(--rlx-line)!important}
html body.rl-archive-shell :is(.rg-btn:not(.rg-btn-ghost):not(.rg-btn-light),.rl-ro24-btn.is-primary,.rl-v14-button,.rl-v14-actions a.is-primary,.rl-v14-buy a,.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 :is(.rg-btn-ghost,.rg-btn-light,.rl-ro24-btn:not(.is-primary)){background:var(--rlx-panel2)!important;border-color:var(--rlx-line)!important;color:var(--rlx-text)!important}

/* -------------------------------------------------------------------------
   5. My Riley Locke + every legacy Community route
   This is the family visible in the 5.4.0 screenshot. community-mockup-parity
   contains literal purple/white paints, so aliases alone cannot fix it.
   ------------------------------------------------------------------------- */
html body.rl-archive-shell .rl-cx-hero{
  background:transparent!important;color:var(--rlx-text)!important;box-shadow:none!important
}
html body.rl-archive-shell .rl-cx-hero:before{
  background:
    radial-gradient(circle at 12% 10%,color-mix(in srgb,var(--rlx-accent) 23%,transparent),transparent 34%),
    radial-gradient(circle at 84% 8%,color-mix(in srgb,var(--rlx-plum) 15%,transparent),transparent 28%),
    linear-gradient(135deg,var(--rlx-hero1),var(--rlx-hero2) 62%,var(--rlx-bg2))!important
}
html body.rl-archive-shell .rl-cx-hero h1{color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-cx-hero>div>p:last-child{color:var(--rlx-muted)!important}
html body.rl-archive-shell .rl-cx-hero aside{
  background:var(--rlx-panel)!important;color:var(--rlx-text)!important;
  border:1px solid var(--rlx-line)!important;box-shadow:var(--rlx-shadow)!important
}
html body.rl-archive-shell .rl-cx-hero aside :is(strong,h2,h3){color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-cx-hero aside p{color:var(--rlx-muted)!important}
html body.rl-archive-shell .rl-cx-shell :is(.rl-community-kicker,.rl-growth-kicker){color:var(--rlx-accent)!important}
html body.rl-archive-shell .rl-cx-section.rl-cx-soft{background:var(--rlx-bg2)!important;border-color:var(--rlx-line)!important}
html body.rl-archive-shell :is(.rl-cx-card,.rl-cx-feed-card,.rl-cx-question,.rl-cx-room,.rl-cx-profile-head) :is(h2,h3,strong){color:var(--rlx-text)!important}
html body.rl-archive-shell :is(.rl-cx-card,.rl-cx-feed-card,.rl-cx-question,.rl-cx-room,.rl-cx-profile-head) p{color:var(--rlx-muted)!important}
html body.rl-archive-shell .rl-cx-chip{background:color-mix(in srgb,var(--rlx-accent) 12%,var(--rlx-panel2))!important;color:var(--rlx-accent2)!important;border-color:var(--rlx-line)!important}
html body.rl-archive-shell :is(.rl-cx-impact,.rl-cx-big-number){color:var(--rlx-accent)!important}
html body.rl-archive-shell .rl-cx-reason{background:var(--rlx-panel2)!important;color:var(--rlx-muted)!important;border-color:var(--rlx-line)!important}
html body.rl-archive-shell .rl-cx-meta{border-color:var(--rlx-line)!important;color:var(--rlx-muted2)!important}
html body.rl-archive-shell .rl-cx-empty{background:var(--rlx-panel)!important;border-color:var(--rlx-line)!important;color:var(--rlx-muted)!important}
html body.rl-archive-shell :is(.rl-cx-person>span,.rl-cx-avatar-large,.rl-cx-avatar){background:linear-gradient(135deg,var(--rlx-accent),var(--rlx-plum))!important;color:var(--rlx-chrome)!important}
html body.rl-archive-shell .rl-cx-room-top{background:linear-gradient(135deg,var(--rlx-chrome),color-mix(in srgb,var(--rlx-accent) 28%,var(--rlx-panel2)))!important;color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-cx-room-top p{color:var(--rlx-muted)!important}
html body.rl-archive-shell .rl-cx-progress{background:var(--rlx-panel3)!important}
html body.rl-archive-shell .rl-cx-progress i{background:linear-gradient(90deg,var(--rlx-accent),var(--rlx-plum))!important}
html body.rl-archive-shell .rl-cx-share-card{background:linear-gradient(135deg,var(--rlx-chrome),color-mix(in srgb,var(--rlx-plum) 28%,var(--rlx-panel2)))!important;color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-cx-share-card :is(h2,strong){color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-cx-share-card p{color:var(--rlx-muted)!important}
html body.rl-archive-shell .rl-cx-loop article{background:var(--rlx-panel)!important;border-color:var(--rlx-line)!important;color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-cx-loop article>span{background:var(--rlx-accent)!important;color:var(--rlx-chrome)!important}
html body.rl-archive-shell .rl-cx-loop p{color:var(--rlx-muted)!important}
html body.rl-archive-shell :is(.rl-cx-success,.rl-reply.is-community-answer,.rl-cx-project-complete){background:color-mix(in srgb,var(--rlx-accent) 8%,var(--rlx-panel))!important;border-color:color-mix(in srgb,var(--rlx-accent) 28%,var(--rlx-line))!important;color:var(--rlx-accent2)!important}
html body.rl-archive-shell .rl-cx-answer-label{background:color-mix(in srgb,var(--rlx-accent) 13%,var(--rlx-panel2))!important;color:var(--rlx-accent2)!important}

/* My Riley Locke profile-specific pieces. */
html body.rl-archive-shell .rl-profile-tabs a{background:var(--rlx-panel)!important;border-color:var(--rlx-line)!important;color:var(--rlx-muted)!important}
html body.rl-archive-shell .rl-profile-tabs a:is(.is-active,:hover){background:var(--rlx-panel3)!important;border-color:color-mix(in srgb,var(--rlx-accent) 45%,var(--rlx-line))!important;color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-profile-tabs a.is-dock{border-color:color-mix(in srgb,var(--rlx-accent) 45%,var(--rlx-line))!important;color:var(--rlx-accent)!important}
html body.rl-archive-shell .rl-profile-v9-head{background:var(--rlx-panel)!important;border-color:var(--rlx-line)!important;color:var(--rlx-text)!important;box-shadow:var(--rlx-shadow)!important}
html body.rl-archive-shell .rl-profile-v9-head .rl-cx-avatar-large{background:linear-gradient(135deg,var(--rlx-accent),var(--rlx-plum))!important;color:var(--rlx-chrome)!important}
html body.rl-archive-shell .rl-profile-v9-intro h2,
html body.rl-archive-shell .rl-profile-section-head h2,
html body.rl-archive-shell .rl-profile-subhead h3,
html body.rl-archive-shell .rl-profile-book-card h3,
html body.rl-archive-shell .rl-profile-action-card h3{color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-profile-signature,
html body.rl-archive-shell .rl-profile-book-card p,
html body.rl-archive-shell .rl-profile-subhead p,
html body.rl-archive-shell .rl-profile-impact-grid p,
html body.rl-archive-shell .rl-profile-activity-list p,
html body.rl-archive-shell .rl-profile-action-card p{color:var(--rlx-muted)!important}
html body.rl-archive-shell .rl-profile-stat-grid strong,
html body.rl-archive-shell .rl-profile-section-head>a,
html body.rl-archive-shell .rl-profile-favorites span{color:var(--rlx-accent)!important}
html body.rl-archive-shell .rl-profile-progress{background:var(--rlx-panel3)!important}
html body.rl-archive-shell .rl-profile-progress i{background:linear-gradient(90deg,var(--rlx-accent),var(--rlx-plum))!important}
html body.rl-archive-shell .rl-profile-signature-card{
  background:linear-gradient(135deg,var(--rlx-chrome),color-mix(in srgb,var(--rlx-accent) 25%,var(--rlx-panel2)))!important;
  border:1px solid var(--rlx-line)!important;color:var(--rlx-text)!important
}
html body.rl-archive-shell .rl-profile-signature-card h2{color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-profile-signature-card p{color:var(--rlx-muted)!important}
html body.rl-archive-shell .rl-profile-people-list .rl-cx-avatar{background:linear-gradient(135deg,var(--rlx-accent),var(--rlx-plum))!important;color:var(--rlx-chrome)!important}
html body.rl-archive-shell .rl-profile-action-card.is-dock{background:color-mix(in srgb,var(--rlx-accent) 8%,var(--rlx-panel))!important;border-color:color-mix(in srgb,var(--rlx-accent) 34%,var(--rlx-line))!important}

/* -------------------------------------------------------------------------
   6. Reader account / settings / notes
   ------------------------------------------------------------------------- */
html body.rl-archive-shell :is(.rl-account-hero,.rl-account-disclosure,.rl-settings-card,.rl-notes-compose,.rl-account-footnote){background:var(--rlx-panel)!important;border-color:var(--rlx-line)!important;color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-settings-jump a{background:var(--rlx-panel)!important;border-color:var(--rlx-line)!important;color:var(--rlx-muted)!important}
html body.rl-archive-shell .rl-settings-jump a:hover{border-color:var(--rlx-accent)!important;color:var(--rlx-accent)!important}
html body.rl-archive-shell .rl-settings-status{background:color-mix(in srgb,var(--rlx-accent) 11%,var(--rlx-panel2))!important;color:var(--rlx-accent2)!important;border:1px solid color-mix(in srgb,var(--rlx-accent) 24%,var(--rlx-line))!important}
html body.rl-archive-shell .rl-note-summary span{background:var(--rlx-panel2)!important;border-color:var(--rlx-line)!important;color:var(--rlx-muted)!important}
html body.rl-archive-shell .rl-note-filters .rg-mtab.on{background:var(--rlx-accent)!important;border-color:var(--rlx-accent)!important;color:var(--rlx-chrome)!important}
html body.rl-archive-shell .rl-notes-page .rg-note{background:var(--rlx-panel)!important;border-color:var(--rlx-line)!important;color:var(--rlx-text)!important}
html body.rl-archive-shell .rl-notes-page .rg-note.priv{border-left-color:var(--rlx-accent)!important}
html body.rl-archive-shell .rl-notes-page .rg-note.pub{border-left-color:var(--rlx-blue)!important}

/* -------------------------------------------------------------------------
   7. Simplified entity, Book/Series detail and legacy Series library
   ------------------------------------------------------------------------- */
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 :is(.rl-simple-entity-hero,.rl-v12-entity-hero,.rl-v14-hero){background:linear-gradient(180deg,var(--rlx-panel2),var(--rlx-bg))!important;border-color:var(--rlx-line)!important;color:var(--rlx-text)!important}
html body.rl-archive-shell :is(.rl-simple-library-head,.rl-simple-community-v13 .rl-simple-library-head){background:var(--rlx-bg)!important;color:var(--rlx-text)!important}
html body.rl-archive-shell :is(.rl-simple-lede,.rl-simple-reading-copy,.rl-v12-reading-copy,.rl-v12-reading-copy p,.rl-v14-summary p,.rl-v14-series-summary p){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}
html body.rl-archive-shell :is(.rl-v14-kicker,.rl-v14-facts b,.rl-v14-decision-grid span,.rl-v14-knowledge-grid a,.rl-v14-questions a,.rl-v14-order-num,.rl-v14-order-open,.rl-v14-path-grid article>span,.rl-v15-kicker,.rl-v15-text-link,.rl-v15-filters>a,.rl-v15-genre-shelves header a){color:var(--rlx-accent)!important}
html body.rl-archive-shell :is(.rl-v14-byline,.rl-v14-heading>p,.rl-v14-pending,.rl-v14-buy small,.rl-v14-decision-grid p,.rl-v14-series-context p,.rl-v14-knowledge-grid article>p:not(.rl-v14-kicker),.rl-v14-start-side p,.rl-v14-order-list p,.rl-v14-path-grid p,.rl-v14-path-grid ol,.rl-v15-author,.rl-v15-start,.rl-v15-heading>p,.rl-v15-shelf-grid span,.rl-v15-list-copy small,.rl-v15-genre-shelves header p){color:var(--rlx-muted)!important}
html body.rl-archive-shell :is(.rl-v14-pills a,.rl-v14-order-badges span,.rl-v14-notice,.rl-v15-meta span,.rl-v15-series-stack.is-empty){background:var(--rlx-panel2)!important;color:var(--rlx-muted)!important;border-color:var(--rlx-line)!important}
html body.rl-archive-shell :is(.rl-v14-series-art,.rl-v14-start-card,.rl-v15-feature-main){background:linear-gradient(135deg,var(--rlx-chrome),color-mix(in srgb,var(--rlx-accent) 32%,var(--rlx-panel2)))!important}
html body.rl-archive-shell .rl-v15-hero{background:radial-gradient(circle at 12% 0%,color-mix(in srgb,var(--rlx-accent) 24%,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 :is(.rl-v14-section.is-alt,.rl-v15-section.is-alt){background:var(--rlx-panel)!important;border-color:var(--rlx-line)!important}
html body.rl-archive-shell :is(.rl-v14-section.is-soft,.rl-v15-section.is-soft){background:var(--rlx-panel2)!important;border-color:var(--rlx-line)!important}

/* -------------------------------------------------------------------------
   8. Palette semantics: only intentional semantic accents may vary within a
   selected theme. No route-specific theme is allowed.
   ------------------------------------------------------------------------- */
html body.rl-archive-shell :is(.rl-site-pill.good,.is-success,.status-good){background:color-mix(in srgb,var(--rlx-accent) 12%,var(--rlx-panel2))!important;color:var(--rlx-accent2)!important;border-color:color-mix(in srgb,var(--rlx-accent) 24%,var(--rlx-line))!important}
html body.rl-archive-shell :is(.rl-site-pill.gold,.is-warning,.status-warning){background:color-mix(in srgb,var(--rlx-gold) 12%,var(--rlx-panel2))!important;color:color-mix(in srgb,var(--rlx-gold) 80%,var(--rlx-text))!important;border-color:color-mix(in srgb,var(--rlx-gold) 24%,var(--rlx-line))!important}
html body.rl-archive-shell :is(.is-danger,.status-danger){background:color-mix(in srgb,var(--rlx-copper) 12%,var(--rlx-panel2))!important;color:color-mix(in srgb,var(--rlx-copper) 80%,var(--rlx-text))!important;border-color:color-mix(in srgb,var(--rlx-copper) 24%,var(--rlx-line))!important}

/* Cobalt / Verdant / Plum are dark. Ivory is the only light appearance. */
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}

/* -------------------------------------------------------------------------
   5.5.0 — universal signed-out account access
   ------------------------------------------------------------------------- */
html body.rl-archive-shell .rl-global-auth-actions{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:max-content!important;
}
html body.rl-archive-shell .rl-global-auth-link{
  min-height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 13px!important;
  border-radius:11px!important;
  border:1px solid var(--rlx-line)!important;
  font:800 12px/1 Inter,system-ui,sans-serif!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease!important;
}
html body.rl-archive-shell .rl-global-auth-link.is-signin{
  background:var(--rlx-chrome2)!important;
  color:var(--rlx-chrome-text)!important;
}
html body.rl-archive-shell .rl-global-auth-link.is-signin:hover{
  background:var(--rlx-panel2)!important;
  border-color:color-mix(in srgb,var(--rlx-accent) 45%,var(--rlx-line))!important;
}
html body.rl-archive-shell .rl-global-auth-link.is-signup{
  background:var(--rlx-accent)!important;
  border-color:var(--rlx-accent)!important;
  color:var(--rlx-chrome)!important;
}
html body.rl-archive-shell.rl-palette-ivory-ink .rl-global-auth-link.is-signup,
html body.rl-palette-ivory-ink.rl-archive-shell .rl-global-auth-link.is-signup{
  color:#fff!important;
}
html body.rl-archive-shell .rl-global-auth-link:hover{transform:translateY(-1px)!important}

/* Signed-out header keeps search + auth + appearance in one line. */
html body.rl-archive-shell .rl-mock-actions:has(.rl-global-auth-actions){
  grid-template-columns:minmax(240px,1fr) auto auto!important;
}
@media(max-width:900px){
  html body.rl-archive-shell .rl-global-auth-link{padding-inline:10px!important;font-size:11px!important}
}
@media(max-width:700px){
  html body.rl-archive-shell .rl-global-auth-actions{display:none!important}
}

/* === account-access-v19.css === */
/* Riley Locke 5.5.1 — prominent universal account access. */

/* Canonical public header ------------------------------------------------ */
html body.rl-archive-shell .rl-global-account-cluster,
html body.rl-archive-shell .rl-global-auth-actions{
  display:flex!important;align-items:center!important;gap:8px!important;min-width:max-content!important;
}
html body.rl-archive-shell .rl-global-auth-link{
  min-height:44px!important;padding:0 15px!important;border-radius:12px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  text-decoration:none!important;white-space:nowrap!important;
  font:900 12px/1 Inter,system-ui,sans-serif!important;letter-spacing:.01em!important;
  border:1px solid var(--rlx-line)!important;box-shadow:none!important;transition:.16s ease!important;
}
html body.rl-archive-shell .rl-global-auth-link.is-signin{
  background:var(--rlx-chrome2)!important;color:var(--rlx-chrome-text)!important;
  border-color:color-mix(in srgb,var(--rlx-accent) 34%,var(--rlx-line))!important;
}
html body.rl-archive-shell .rl-global-auth-link.is-signup{
  background:var(--rlx-accent)!important;color:var(--rlx-chrome)!important;border-color:var(--rlx-accent)!important;
  box-shadow:0 8px 22px color-mix(in srgb,var(--rlx-accent) 18%,transparent)!important;
}
html body.rl-archive-shell.rl-palette-ivory-ink .rl-global-auth-link.is-signup{color:#fff!important}
html body.rl-archive-shell .rl-global-auth-link.is-signout{
  background:transparent!important;color:var(--rlx-chrome-text)!important;
  border-color:color-mix(in srgb,var(--rlx-chrome-text) 26%,var(--rlx-line))!important;
}
html body.rl-archive-shell .rl-global-auth-link:is(.is-signin,.is-signout):hover{
  color:var(--rlx-accent2)!important;border-color:var(--rlx-accent)!important;background:var(--rlx-panel2)!important;
}
html body.rl-archive-shell .rl-global-auth-link.is-signup:hover{filter:brightness(1.07)!important;transform:translateY(-1px)!important}
html body.rl-archive-shell .rl-global-account-cluster .rl-mock-userchip{flex:0 1 auto!important}

/* Keep the actions readable rather than collapsing them at normal laptop widths. */
@media(max-width:1180px){
  html body.rl-archive-shell .rl-global-auth-link{padding-inline:12px!important;font-size:11px!important}
  html body.rl-archive-shell .rl-global-account-cluster .rl-mock-userchip{max-width:52px!important;min-width:52px!important;padding:6px!important}
  html body.rl-archive-shell .rl-global-account-cluster .rl-mock-userchip>span:last-child{display:none!important}
}
@media(max-width:900px){
  html body.rl-archive-shell .rl-global-auth-actions,
  html body.rl-archive-shell .rl-global-account-cluster{display:none!important}
  html body.rl-archive-shell .rl-mobile-nav .is-account-link{font-weight:900!important;color:var(--rlx-chrome-text)!important}
  html body.rl-archive-shell .rl-mobile-nav .is-account-link.is-signup{
    background:var(--rlx-accent)!important;color:var(--rlx-chrome)!important;border-radius:8px!important;padding-inline:10px!important
  }
  html body.rl-archive-shell.rl-palette-ivory-ink .rl-mobile-nav .is-account-link.is-signup{color:#fff!important}
  html body.rl-archive-shell .rl-mobile-nav .is-account-link.is-signout{color:var(--rlx-accent2)!important}
}

/* Reader OS independent header ------------------------------------------ */
html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-auth-actions{
  display:flex!important;align-items:center!important;gap:8px!important;min-width:max-content!important;
}
html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-auth-link{
  height:42px!important;min-height:42px!important;padding:0 13px!important;border-radius:11px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid var(--rlx-line)!important;text-decoration:none!important;white-space:nowrap!important;
  font:900 11px/1 Inter,system-ui,sans-serif!important;letter-spacing:.01em!important;
}
html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-auth-link.is-signin{
  color:var(--rlx-chrome-text)!important;background:var(--rlx-chrome2)!important;
  border-color:color-mix(in srgb,var(--rlx-accent) 34%,var(--rlx-line))!important;
}
html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-auth-link.is-signup{
  background:var(--rlx-accent)!important;color:var(--rlx-chrome)!important;border-color:var(--rlx-accent)!important;
  box-shadow:0 8px 20px color-mix(in srgb,var(--rlx-accent) 17%,transparent)!important;
}
html body.rl-reader-os-v24.rl-archive-shell.rl-palette-ivory-ink .rl-ro24-auth-link.is-signup{color:#fff!important}
html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-auth-link.is-signout{
  background:transparent!important;color:var(--rlx-chrome-text)!important;
  border-color:color-mix(in srgb,var(--rlx-chrome-text) 25%,var(--rlx-line))!important;
}
html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-auth-link:hover{border-color:var(--rlx-accent)!important;color:var(--rlx-accent2)!important}
html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-auth-link.is-signup:hover{color:var(--rlx-chrome)!important;filter:brightness(1.07)!important}

@media(max-width:1320px){
  html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-auth-link{padding-inline:10px!important;font-size:10.5px!important}
  html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-account-chip{max-width:46px!important;min-width:46px!important;padding:5px 7px!important}
  html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-account-chip>span{display:none!important}
}

/* On mobile, show a dedicated account bar just above the persistent nav. */
html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-mobile-accountbar{display:none!important}
@media(max-width:900px){
  html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-auth-actions,
  html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-auth-link{display:none!important}
  html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-mobile-accountbar{
    position:fixed!important;right:10px!important;bottom:68px!important;z-index:155!important;
    display:flex!important;align-items:center!important;gap:7px!important;padding:7px!important;
    border:1px solid var(--rlx-line)!important;border-radius:13px!important;
    background:color-mix(in srgb,var(--rlx-chrome) 96%,transparent)!important;
    box-shadow:0 12px 30px rgba(0,0,0,.28)!important;backdrop-filter:blur(16px)!important;
  }
  html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-mobile-accountbar a{
    min-height:36px!important;padding:0 11px!important;border-radius:9px!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    text-decoration:none!important;font:900 10px/1 Inter,system-ui,sans-serif!important;
    border:1px solid var(--rlx-line)!important;background:var(--rlx-chrome2)!important;color:var(--rlx-chrome-text)!important;
  }
  html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-mobile-accountbar a.is-signup{
    background:var(--rlx-accent)!important;border-color:var(--rlx-accent)!important;color:var(--rlx-chrome)!important
  }
  html body.rl-reader-os-v24.rl-archive-shell.rl-palette-ivory-ink .rl-ro24-mobile-accountbar a.is-signup{color:#fff!important}
  html body.rl-reader-os-v24.rl-archive-shell .rl-ro24-mobile-accountbar a.is-signout{color:var(--rlx-accent2)!important}
}
