:root{--ink:#090d15;--wine:#233952;--gold:#d7b875;--paper:#f5f1e8;--line:#d9cdbd}
body{background:#090d15}.shell{background:radial-gradient(circle at 75% 10%,#172e4a 0,transparent 42%),linear-gradient(145deg,#090d15,#0d1726)}
.brand{color:#d7b875}.news-item.radar{background:#112239}.login h1{letter-spacing:-.035em}

/* RFLX light membership area; authentication and content unchanged. */
:root{color-scheme:light;--ink:#192d30;--wine:#244b46;--gold:#805b1c;--paper:#fffefa;--line:#d9ded7}
body{background:#f6f3ed;color:#192d30}.shell{background:#f6f3ed}header{background:#fffefa;border-color:#d9ded7}.brand,.brand small{color:#805b1c}.back{color:#435956}.login h1,.library h1{font-family:Georgia,serif;font-weight:400;line-height:1.1}.lead{color:#435956}.promise span{border-color:#cbd6c7;background:#e8edde;color:#435956}.panel{background:#fffefa;border:1px solid #d9ded7;border-radius:12px;box-shadow:0 10px 30px #20382a0a}.panel h2{font-weight:400}.panel input{border-radius:6px}.panel button{border-radius:6px}.panel .admin-link{background:#f0ddb0;color:#634416}.logout{border-color:#a5b1a7;color:#203b39;background:#fffefa}.control{background:#244b46;color:#fffefa;border-color:#244b46}.card,.manual-link,.news-item{background:#fffefa;border:1px solid #d9ded7;border-radius:10px}.access{color:#586965}.news-item.radar{background:#e8edde;color:#192d30;border-color:#ccd7c6}.news-item.radar p{color:#435956}.news-item.radar a{color:#805b1c}
a,a:hover,a:focus-visible{text-decoration:none!important}a:hover,a:focus-visible{color:#986409!important;text-shadow:0 0 14px #c7923255}.brand:hover small,.brand:focus-visible small{color:#986409}.manual-link:hover,.manual-link:focus-visible,.course-card:hover,.course-card:focus-visible{background:#fff8e8;border-color:#a67b32}.manual-link:hover span,.course-card:hover span{color:#986409}.logout:hover,.panel button:hover{background:#805b1c;color:#fffefa}.panel button:disabled{opacity:.55}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #a67b32;outline-offset:4px}@media(prefers-reduced-motion:reduce){.course-card,.manual-link{transition:none}.course-card:hover,.manual-link:hover{transform:none}}

/* Match the public site's typography and apply card emphasis consistently. */
body{font-family:"Segoe UI",Arial,sans-serif}.brand{font-size:1.9rem;font-weight:600;letter-spacing:.15em}.brand small{font-size:.625rem;letter-spacing:.17em}.login h1,.library h1,.panel h2,.card h2,.manual-link h3,.manual-library h2,.newsroom h2,.news-item h3{font-family:"Segoe UI",Arial,sans-serif;font-weight:400;letter-spacing:-.035em}.login h1{font-size:clamp(2.5rem,4.5vw,4.5rem)}.library h1{font-size:clamp(2.5rem,4.5vw,4.5rem)}.course-card:hover b,.course-card:hover h2,.course-card:hover span,.course-card:focus-visible b,.course-card:focus-visible h2,.course-card:focus-visible span,.manual-link:hover small,.manual-link:hover h3,.manual-link:hover span{color:#986409}.section-intro{color:#435956;max-width:65ch;line-height:1.7}.section-links{margin-bottom:28px}.section-links a:hover{background:#f0ddb0}

/* Shared RFLX header alignment and wordmark. */
header{min-height:92px;padding:22px max(32px,calc((100% - 1200px)/2));gap:32px;align-items:center}.brand{font-family:"Segoe UI",Arial,sans-serif;font-size:1.9rem;font-weight:600;letter-spacing:.15em;line-height:1.1;white-space:nowrap}.brand small{font-size:.625rem;font-weight:600;letter-spacing:.17em;margin-top:9px;line-height:1.1}.back{font-size:.875rem;font-weight:400}@media(max-width:850px){header{padding:20px 25px}}@media(max-width:540px){header{padding:18px}.brand{font-size:1.65rem}.back{font-size:.8rem}}
