/* RC8 visual tokens follow the existing navy/gold CAD-SME palette. */
.rc8-page{--rc8-bg:#f3f5f7;--rc8-card:#fff;--rc8-ink:#172334;--rc8-muted:#596575;--rc8-border:#d4dce6;--rc8-primary:#0f315d;--rc8-on-primary:#fff;--rc8-soft:#edf2f7;background:var(--rc8-bg);color:var(--rc8-ink);font-family:'Source Sans 3',system-ui,sans-serif}
.dark .rc8-page{--rc8-bg:#0d1623;--rc8-card:#142134;--rc8-ink:#f3f6fa;--rc8-muted:#c3cfdd;--rc8-border:#42526a;--rc8-primary:#efbd49;--rc8-on-primary:#101827;--rc8-soft:#1a2a3f;color-scheme:dark}
.rc8-page *{box-sizing:border-box}.rc8-page h1,.rc8-page h2,.rc8-page h3{font-family:'Barlow Condensed',system-ui,sans-serif;font-weight:700;line-height:1.12;letter-spacing:.025em}.rc8-page h2{font-size:1.8rem;margin:0 0 1rem}.rc8-page h3{font-size:1.5rem;margin:.5rem 0}.rc8-page p{line-height:1.65}.rc8-hero{background:linear-gradient(125deg,#0d2548,#143b69);color:#fff;padding:4rem max(1.25rem,calc((100% - 1320px)/2));border-bottom:4px solid #efbd49}.rc8-hero h1{font-size:clamp(2.5rem,5vw,4.25rem);text-transform:uppercase;margin:.5rem 0 1rem}.rc8-hero p{max-width:760px}.rc8-eyebrow{font-size:.75rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.rc8-hero .rc8-eyebrow{color:#f6cf68}.rc8-content{max-width:1320px;margin:auto;padding:2.5rem 1.25rem}.rc8-card{background:var(--rc8-card);border:1px solid var(--rc8-border);border-radius:8px;padding:1.5rem}.rc8-status{min-height:45vh;padding:4rem 1.25rem;text-align:center}.rc8-preview-label{display:inline-block;padding:.4rem .65rem;border:1px solid #efbd49;color:#f6cf68;font-size:.8rem}.rc8-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--rc8-primary);border-radius:4px;background:var(--rc8-primary);color:var(--rc8-on-primary);font-weight:800;font-size:.8rem;letter-spacing:.04em;text-decoration:none;padding:.75rem 1rem;cursor:pointer}.rc8-button.secondary{background:transparent;color:var(--rc8-primary)}.rc8-button:disabled{opacity:.6;cursor:default}.rc8-text-link{color:var(--rc8-primary);font-weight:700;text-decoration:underline;text-underline-offset:3px}.rc8-page label{display:block;font-size:.88rem;font-weight:700;margin:.8rem 0}.rc8-page input,.rc8-page select,.rc8-page textarea{display:block;width:100%;margin-top:.4rem;border:1px solid var(--rc8-border);background:var(--rc8-card);color:var(--rc8-ink);padding:.75rem;border-radius:4px;font:inherit}.rc8-page textarea{resize:vertical;min-height:5rem;max-height:18rem}.rc8-page fieldset{margin:0;border:0;padding:0}.rc8-form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.rc8-success{padding:1rem;border:1px solid #40845b;background:var(--rc8-soft);color:var(--rc8-ink)}.rc8-error{padding:1rem;border:1px solid #bc4854;background:var(--rc8-soft);color:var(--rc8-ink)}.rc8-recovery,.rc8-actions{display:flex;gap:.7rem;flex-wrap:wrap}.rc8-library-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:2.5rem 0 1rem}.rc8-document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.rc8-document-grid .rc8-card{display:flex;flex-direction:column;overflow-wrap:anywhere}.rc8-document-grid .rc8-actions{margin-top:auto}.rc8-author{display:flex;gap:.65rem;align-items:center;font-size:.9rem;font-weight:700;color:inherit;text-decoration:none}.rc8-author img,.rc8-avatar-fallback{height:40px;width:40px;flex:0 0 40px;border-radius:50%;object-fit:cover}.rc8-avatar-fallback{display:grid;place-items:center;background:var(--rc8-soft);color:var(--rc8-primary)}.rc8-muted{font-size:.8rem;color:var(--rc8-muted)}
.rc8-nav{font-family:'Source Sans 3',system-ui,sans-serif}.rc8-desktop-nav{background:#0f294c;color:#fff}.rc8-nav-list,.rc8-child-list{margin:0;list-style:none;padding:0}.rc8-desktop-nav>.rc8-nav-list{display:flex;max-width:1440px;margin:auto;padding:0 1rem;align-items:stretch}.rc8-nav-link{display:flex;align-items:center;height:100%;padding:.8rem .65rem;color:inherit;text-decoration:none;text-transform:uppercase;letter-spacing:.03em;font-size:.74rem;font-weight:700;line-height:1.4}.rc8-nav-link:hover,.rc8-submenu-toggle:hover{background:rgba(255,255,255,.1)}.rc8-desktop-nav .rc8-nav-link.active{background:#efbd49;color:#142134}.rc8-exchange{position:relative}.rc8-exchange-heading{display:flex;height:100%}.rc8-submenu-toggle{color:inherit;background:transparent;border:0;padding:.5rem;cursor:pointer;font-size:1.1rem}.rc8-desktop-nav .rc8-child-list{position:absolute;top:100%;left:0;z-index:60;min-width:255px;background:#0f294c;color:#fff;border:1px solid #486083;box-shadow:0 12px 24px #0004;padding:.35rem}.rc8-child-link{min-height:42px}.rc8-mobile-nav{display:none;background:hsl(var(--card));color:hsl(var(--foreground));border-top:1px solid hsl(var(--border))}.rc8-mobile-nav>.rc8-nav-list{padding:.75rem 1rem;display:grid;grid-template-columns:1fr 1fr;gap:.2rem}.rc8-mobile-nav .rc8-nav-link{font-size:.85rem;padding:.75rem}.rc8-mobile-nav .rc8-nav-link.active{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.rc8-mobile-nav .rc8-exchange{grid-column:1/-1}.rc8-mobile-nav .rc8-child-list{border-left:3px solid #efbd49;margin:.25rem 0 .5rem 1rem;padding-left:.35rem}.rc8-mobile-nav .rc8-child-link{font-size:.8rem}.rc8-footer-nav .rc8-nav-link{padding:.2rem 0;font-size:.88rem;text-transform:none;letter-spacing:0;font-weight:400}.rc8-footer-nav .rc8-nav-link.active{color:#f6cf68}.rc8-footer-nav .rc8-nav-link:hover{background:none;color:#f6cf68}.rc8-page :focus-visible,.rc8-nav :focus-visible{outline:3px solid #d29b18;outline-offset:3px}
.rc8-podcast-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);align-items:start;gap:1.5rem}.rc8-player{padding:0;overflow:hidden}.rc8-video{aspect-ratio:16/9;background:#0a1424;position:relative;color:#fff}.rc8-video iframe{width:100%;height:100%;border:0}.rc8-video-placeholder{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:1.25rem;text-align:center;gap:.6rem}.rc8-video-placeholder>span{font-size:2rem;color:#f6cf68}.rc8-video-placeholder p{font-size:.9rem;margin:0;max-width:390px}.rc8-player-copy{padding:1.5rem}.rc8-playlist ol{margin:0;padding:0;list-style:none}.rc8-playlist li+li{border-top:1px solid var(--rc8-border)}.rc8-playlist button{width:100%;display:flex;gap:1rem;align-items:center;text-align:left;background:transparent;color:var(--rc8-ink);border:0;padding:1rem .5rem;cursor:pointer}.rc8-playlist button.selected{background:var(--rc8-soft);box-shadow:inset 3px 0 #efbd49}.rc8-playlist strong,.rc8-playlist small{display:block}.rc8-playlist small{color:var(--rc8-muted);margin-top:.3rem}.rc8-episode-number{color:var(--rc8-primary);font-weight:800;font-size:.8rem;min-width:50px}.rc8-faq{max-width:980px}.rc8-faq .rc8-card{margin-top:1.5rem}.rc8-faq details{border-top:1px solid var(--rc8-border);padding:1rem 0}.rc8-faq summary{cursor:pointer;font-weight:700}.rc8-help-faq{padding:1rem 1.25rem}.rc8-help-faq>.rc8-content{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}.rc8-help-faq p{margin:0}
@media(max-width:1279px){.rc8-desktop-nav{display:none}.rc8-mobile-nav{display:block}}@media(max-width:900px){.rc8-document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rc8-podcast-layout{grid-template-columns:1fr}}@media(max-width:600px){.rc8-form-row,.rc8-document-grid{grid-template-columns:1fr}.rc8-mobile-nav>.rc8-nav-list{grid-template-columns:1fr}.rc8-hero{padding:2.5rem 1.25rem}.rc8-library-heading,.rc8-help-faq>.rc8-content{align-items:flex-start;flex-direction:column}.rc8-video-placeholder{padding:.75rem}.rc8-video-placeholder p{font-size:.8rem}.rc8-video-placeholder>span{font-size:1.3rem}.rc8-video-placeholder .rc8-button{padding:.5rem .75rem}}
/* A mobile section heading must not inherit the desktop dropdown's full height. */
.rc8-mobile-nav .rc8-exchange-heading{height:auto}
.rc8-mobile-nav .rc8-nav-link{height:auto}
.rc8-mobile-nav .rc8-exchange-heading>.rc8-nav-link{flex:1}

/* RC8-B: full PDF content, accessible table headings, and long episode-title wrapping. */
.rc8-faq-toplinks,.rc8-faq-result{display:flex;gap:1rem;align-items:center;justify-content:space-between;flex-wrap:wrap}
.rc8-faq-result p{margin:.5rem 0}.rc8-faq-filters h2{margin-bottom:.5rem}
.rc8-faq-section,.rc8-faq-overview{scroll-margin-top:1.5rem}
.rc8-faq-overview.rc8-card{padding:1.25rem 1.5rem}.rc8-faq-overview>summary{font-size:1rem}
.rc8-faq-answer{padding:0 .25rem 0 1.4rem;overflow-wrap:anywhere}
.rc8-faq-answer p{margin:1rem 0}.rc8-faq summary{line-height:1.55;overflow-wrap:anywhere}
.rc8-faq-table table{border-collapse:collapse;width:100%;margin:1.25rem 0;font-size:.9rem;table-layout:fixed}
.rc8-faq-table th,.rc8-faq-table td{border:1px solid var(--rc8-border);text-align:left;vertical-align:top;padding:.8rem;overflow-wrap:anywhere;line-height:1.55}
.rc8-faq-table thead th{background:var(--rc8-soft);font-weight:800}
.rc8-faq-table tbody th{font-weight:700}.rc8-faq-table tr:nth-child(even){background:var(--rc8-soft)}
.rc8-faq-table th:first-child{width:24%}.rc8-faq .rc8-text-link{overflow-wrap:anywhere}
.rc8-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rc8-video{min-height:200px}.rc8-playlist button>span:last-child{min-width:0;overflow-wrap:anywhere}.rc8-player-copy h2{overflow-wrap:anywhere}
@media(max-width:600px){.rc8-faq .rc8-card{padding:1.15rem}.rc8-faq-answer{padding-left:.25rem}.rc8-faq-table table{font-size:.8rem}.rc8-faq-table th,.rc8-faq-table td{padding:.45rem}.rc8-faq-table th:first-child{width:27%}}
/* 320px anonymous header: keep all existing account controls inside the viewport. */
@media(max-width:359px){header .order-2.ml-auto.gap-2{column-gap:.35rem}}
/* On phones, retain table semantics but display each source row as a readable card. */
@media(max-width:600px){
 .rc8-faq-table thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .rc8-faq-table table,.rc8-faq-table tbody{display:block;width:100%}
 .rc8-faq-table tbody tr{display:block;border:1px solid var(--rc8-border);border-radius:4px;margin:.75rem 0}
 .rc8-faq-table tbody th,.rc8-faq-table tbody td,.rc8-faq-table tbody th:first-child{display:block;width:100%;border:0;padding:.65rem;font-size:.9rem}
 .rc8-faq-table tbody th{background:var(--rc8-soft)}
 .rc8-faq-table tbody td:before{content:attr(data-label);display:block;font-size:.72rem;font-weight:700;color:var(--rc8-muted);margin-bottom:.35rem}
}

/* RC8-C: match the complete player card; only the episode list scrolls.
   Size containment prevents a growing catalogue from determining the desktop row.
   No DOM measurements, fixed video distortion, or window-level scroll handlers. */
.rc8-podcast-layout{align-items:stretch}
.rc8-player{min-width:0}
.rc8-playlist{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;contain:size}
.rc8-playlist-header{flex:0 0 auto;padding-bottom:.75rem;border-bottom:1px solid var(--rc8-border)}
.rc8-playlist-heading{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.rc8-playlist-heading h2{margin:0}
.rc8-playlist-heading>.rc8-muted{white-space:nowrap}
.rc8-page .rc8-playlist-sort{margin:.8rem 0 .5rem;font-size:.8rem}
.rc8-page .rc8-playlist-sort label{margin:0;font-size:.8rem}
.rc8-playlist-sort select{font-size:.88rem;padding:.55rem .7rem;cursor:pointer}
.rc8-playlist-header>p{font-size:.75rem;margin:.25rem 0 0}
.rc8-playlist-scroll{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--rc8-muted) var(--rc8-soft);padding:.35rem .4rem .35rem 0;scroll-padding-block:.4rem}
.rc8-playlist-scroll:focus-visible{outline-offset:-3px}
.rc8-playlist-scroll button{border-radius:3px;line-height:1.45}
.rc8-playlist-scroll button:hover{background:var(--rc8-soft)}
.rc8-playlist-scroll button:focus-visible{outline-offset:-3px}
.rc8-playlist-scroll::-webkit-scrollbar{width:8px}
.rc8-playlist-scroll::-webkit-scrollbar-track{background:var(--rc8-soft);border-radius:8px}
.rc8-playlist-scroll::-webkit-scrollbar-thumb{background:var(--rc8-muted);border:2px solid var(--rc8-soft);border-radius:8px}
@media(max-width:900px){.rc8-playlist{contain:none;height:30rem;height:clamp(23rem,65svh,32rem)}}

/* RC8-C1: phone-only rhythm. Desktop alignment, content and player state are unchanged.
   Keep long titles readable; compact space, not text or touch controls. */
@media(max-width:600px){
 .rc8-podcast-page>.rc8-hero{padding:1.5rem 1rem}
 .rc8-podcast-page>.rc8-hero .rc8-eyebrow{font-size:.68rem;letter-spacing:.12em;margin:0 0 .6rem}
 .rc8-podcast-page>.rc8-hero h1{font-size:clamp(2rem,8.5vw,2.5rem);line-height:1.08;margin:0 0 .65rem}
 .rc8-podcast-page>.rc8-hero p:last-child{font-size:.95rem;line-height:1.5;margin:0;max-width:32rem}
 .rc8-podcast-page>.rc8-podcast-layout{padding:1.25rem 1rem 1.5rem;gap:1rem}
 .rc8-podcast-page .rc8-video{min-height:200px}
 .rc8-podcast-page .rc8-video-placeholder{padding:1rem;gap:.5rem}
 .rc8-podcast-page .rc8-video-placeholder .rc8-button{min-height:44px;padding:.65rem .85rem}
 .rc8-podcast-page .rc8-player-copy{padding:1rem}
 .rc8-podcast-page .rc8-player-copy>.rc8-eyebrow{margin:0 0 .5rem;font-size:.7rem}
 .rc8-podcast-page .rc8-player-copy h2{font-size:clamp(1.25rem,5.5vw,1.5rem);line-height:1.23;letter-spacing:.01em;margin:0 0 .75rem}
 .rc8-podcast-page .rc8-player-copy>p:not(.rc8-eyebrow){font-size:.9rem;line-height:1.5;margin:.6rem 0}
 .rc8-podcast-page .rc8-player-copy>.rc8-text-link{font-size:.9rem;display:inline-flex;align-items:center;min-height:44px}
 .rc8-podcast-page .rc8-playlist{padding:1rem;height:28rem;height:clamp(22rem,62svh,28rem)}
 .rc8-podcast-page .rc8-playlist-heading{gap:.5rem}
 .rc8-podcast-page .rc8-playlist-heading h2{font-size:1.5rem;line-height:1.2}
 .rc8-podcast-page .rc8-playlist-sort{margin:.7rem 0 .45rem}
 .rc8-podcast-page .rc8-playlist-sort select{min-height:44px}
 .rc8-podcast-page .rc8-playlist-header{padding-bottom:.65rem}
 .rc8-podcast-page .rc8-playlist-scroll{padding-top:.3rem}
 .rc8-podcast-page .rc8-playlist-scroll button{display:grid;grid-template-columns:minmax(0,1fr);gap:.25rem;align-items:start;padding:.8rem .75rem;min-height:44px;line-height:1.4}
 .rc8-podcast-page .rc8-episode-number{font-size:.68rem;letter-spacing:.05em;line-height:1.4;min-width:0}
 .rc8-podcast-page .rc8-playlist-scroll strong{font-size:.95rem;line-height:1.4;font-weight:700}
}
/* RC8-D site notices are not sticky overlays and do not fade their text. */
.rc8-notice-region{width:100%;flex:none;position:relative;z-index:4}
.rc8-notice{background:rgba(236,183,59,.14);border-bottom:1px solid rgba(168,120,21,.3);color:#68490d;font-size:.84rem;line-height:1.5}
.rc8-notice-inner{max-width:86rem;margin:auto;padding:.65rem 2rem;white-space:pre-wrap;overflow-wrap:anywhere}
.dark .rc8-notice{background:rgba(236,183,59,.12);color:#f8dfa0;border-color:#68552f}
.rc8-notice strong{font-weight:750}
@media(max-width:600px){.rc8-notice-inner{padding:.65rem 1rem}.rc8-notice{font-size:.8rem;line-height:1.55}}

/* RC8-D1: compact, consistently spaced mobile navigation; no route/auth changes. */
@media (max-width:1279px) {
  .rc8-mobile-nav {
    max-height:min(70vh,calc(100vh - 12rem));
    max-height:min(70svh,calc(100svh - 12rem));
    overflow-y:auto;
    overscroll-behavior-y:contain;
  }
  .rc8-mobile-nav > .rc8-nav-list {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:.35rem .5rem;
    align-items:stretch;
  }
  .rc8-mobile-nav > .rc8-nav-list > li {min-width:0}
  .rc8-mobile-nav .rc8-exchange {grid-column:auto}
  .rc8-mobile-nav > .rc8-nav-list:not(:has(> .rc8-exchange > .rc8-child-list)) > li:last-child:nth-child(odd) {grid-column:1/-1}
  .rc8-mobile-nav .rc8-exchange-heading {height:100%}
  .rc8-mobile-nav .rc8-nav-link {
    min-height:44px;
    height:100%;
    border-radius:4px;
    overflow-wrap:anywhere;
  }
  /* Only an expanded section group needs the entire row. DOM/tab order is unchanged. */
  .rc8-mobile-nav .rc8-exchange:has(> .rc8-child-list) {grid-column:1/-1}
  .rc8-mobile-nav .rc8-exchange:has(> .rc8-child-list) > .rc8-exchange-heading {height:auto}
  .rc8-mobile-nav .rc8-child-list {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:.25rem .5rem;
    margin:.4rem 0 .5rem .6rem;
    padding:.25rem 0 .25rem .6rem;
  }
  .rc8-mobile-nav .rc8-child-list > li {min-width:0}
  .rc8-mobile-nav .rc8-child-link {padding:.65rem .7rem}
}
@media (max-width:600px) {
  .rc8-mobile-nav > .rc8-nav-list,
  .rc8-mobile-nav .rc8-child-list {grid-template-columns:minmax(0,1fr)}
}

/* RC8-F: Help article actions align vertically, and FAQ card retains comfortable spacing. */
#articles article{display:flex;flex-direction:column;align-items:stretch;min-height:225px}
#articles article a[href]{margin-top:auto!important;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.rc8-help-faq{padding:clamp(20px,3vw,45px) 16px!important;margin:0 auto;background:hsl(var(--background));color:hsl(var(--foreground))}
.rc8-help-faq .rc8-content{max-width:75rem;margin:0 auto;padding:0}
.rc8-help-faq .rc8-card{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding:clamp(18px,3vw,32px)}
.rc8-help-faq .rc8-button{margin:0;min-height:44px}
.dark .rc8-help-faq{background:#0d1623!important;color:#eef4fb!important}
.dark .rc8-help-faq .rc8-card{background:#142134!important;border-color:#42526a!important;color:#eef4fb!important}
.dark .rc8-help-faq .rc8-card h2{color:#f7f9fc!important}
.dark .rc8-help-faq .rc8-card p{color:#d2deed!important}
/* RC8-F Knowledge Share document preview and opt-in controls */
.rc8-download-consent,.rc8-owner-download-preference{display:flex!important;gap:10px!important;align-items:flex-start!important;font-size:13px!important;line-height:1.5!important;font-weight:650!important;color:hsl(var(--foreground))!important;cursor:pointer}
.rc8-download-consent input[type=checkbox],.rc8-owner-download-preference input[type=checkbox]{width:18px!important;height:18px!important;flex:0 0 18px!important;margin:2px 0 0!important;accent-color:#1c5497!important}
.rc8-owner-download-preference{margin-top:14px;border-top:1px solid hsl(var(--border));padding-top:12px}
.rc8-document-preview-backdrop{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.78);display:flex;align-items:center;justify-content:center;padding:18px}
.rc8-document-preview-modal{background:hsl(var(--card));color:hsl(var(--card-foreground));border:1px solid hsl(var(--border));border-radius:12px;width:min(1040px,100%);height:min(88vh,850px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.4)}
.rc8-document-preview-modal>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-bottom:1px solid hsl(var(--border))}
.rc8-document-preview-modal>header h2{font-size:17px;font-weight:800;color:hsl(var(--foreground));margin:0}
.rc8-document-preview-modal>header button{background:hsl(var(--primary));color:hsl(var(--primary-foreground));font-weight:800;border:0;border-radius:6px;padding:8px 16px;min-height:40px;cursor:pointer}
.rc8-document-preview-modal>iframe{width:100%;flex:1;border:0;background:white}
.rc8-document-preview-modal>img{display:block;width:100%;height:calc(100% - 69px);object-fit:contain;background:#142134}
.rc8-document-text-preview{overflow:auto;flex:1;white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;background:hsl(var(--background));color:hsl(var(--foreground));padding:20px}
.dark .rc8-document-preview-modal{background:#142134!important;color:#eef4fb!important;border-color:#405a78!important}
.dark .rc8-document-preview-modal>header{border-color:#405a78!important}
.dark .rc8-document-preview-modal>header h2{color:#eef4fb!important}
.dark .rc8-document-text-preview{background:#0d1623!important;color:#dfe9f6!important}
.dark .rc8-download-consent,.dark .rc8-owner-download-preference{color:#eef4fb!important}

/* RC8-F UI cleanup: no article placeholders; keep three help cards aligned.
   On medium screens the third card uses the full second row (no empty cell). */
#articles .rc8-help-articles-grid > article{min-height:0}
@media (min-width:640px) and (max-width:1023px){
  #articles .rc8-help-articles-grid > article:last-child{grid-column:1/-1}
}
