:root{color-scheme:light;--cm-bg:#eef5fc;--cm-panel:#fff;--cm-ink:#173452;--cm-muted:#66819e;--cm-line:#c9dced;--cm-soft:#e8f3ff;--cm-accent:#2b6fb3;--cm-side:#e8f2fd}html[data-theme="dark"]{color-scheme:dark;--cm-bg:#081321;--cm-panel:#102135;--cm-ink:#eaf4ff;--cm-muted:#a9bfd2;--cm-line:#2b465f;--cm-soft:#18324a;--cm-accent:#65aee7;--cm-side:#0c1b2c}html[data-theme="dark"] body{background:var(--cm-bg)!important;color:var(--cm-ink)!important}html[data-theme="dark"] aside{background:var(--cm-side)!important;border-color:var(--cm-line)!important}html[data-theme="dark"] header,html[data-theme="dark"] .card,html[data-theme="dark"] .form-card,html[data-theme="dark"] .viewer,html[data-theme="dark"] .reader,html[data-theme="dark"] dialog{background:var(--cm-panel)!important;color:var(--cm-ink)!important;border-color:var(--cm-line)!important}html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#091725!important;color:var(--cm-ink)!important;border-color:var(--cm-line)!important}html[data-theme="dark"] .nav,html[data-theme="dark"] .doc,html[data-theme="dark"] .document{color:var(--cm-ink)!important}html[data-theme="dark"] .nav:hover,html[data-theme="dark"] .nav.active,html[data-theme="dark"] .doc:hover,html[data-theme="dark"] .document.active{background:var(--cm-soft)!important}html[data-theme="dark"] .brand b,html[data-theme="dark"] .head h1,html[data-theme="dark"] .card h2,html[data-theme="dark"] .row b{color:var(--cm-ink)!important}html[data-theme="dark"] iframe{background:#fff}.theme-toggle{background:transparent!important;color:var(--cm-muted)!important;border:1px solid var(--cm-line)!important;box-shadow:none!important;padding:7px 10px!important;font-size:12px!important}html.auth-pending body>aside,html.auth-pending body>main,html.auth-pending body>.shell{visibility:hidden}.auth-gate{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:24px;background:var(--cm-bg);color:var(--cm-ink)}.auth-gate-card{width:min(520px,100%);padding:38px;border:1px solid var(--cm-line);border-radius:18px;background:var(--cm-panel);box-shadow:0 22px 60px #102a4840;text-align:center}.auth-gate-card img{width:76px;height:76px;object-fit:contain}.auth-gate-card p{color:var(--cm-muted);line-height:1.7}.auth-gate-card button{margin-top:10px}.auth-gate-card .theme-toggle{position:absolute;right:22px;top:18px}/* User data room: a true high-contrast blue-and-white day surface. */
html[data-theme="light"] body{background:#f4f9fe!important;color:#183955!important}html[data-theme="light"] .shell{background:#f4f9fe}html[data-theme="light"] .shell aside{background:linear-gradient(180deg,#eaf5ff 0%,#f7fbff 100%)!important;border-color:#c9ddec!important;box-shadow:8px 0 24px #316a9910}html[data-theme="light"] .shell header{background:#ffffffeb!important;border-color:#d6e5f1!important;backdrop-filter:blur(12px)}html[data-theme="light"] .shell .brand b,html[data-theme="light"] .shell .intro h1,html[data-theme="light"] .shell .form-card h1{color:#173d60!important}html[data-theme="light"] .shell nav button{color:#496983!important}html[data-theme="light"] .shell nav button:hover,html[data-theme="light"] .shell nav button.active{background:#d9eeff!important;color:#1767a4!important}html[data-theme="light"] .shell .viewer,html[data-theme="light"] .shell .form-card{background:#fff!important;border-color:#c9ddec!important;box-shadow:0 12px 32px #2f6c9e12}html[data-theme="light"] .shell .doclist{border-color:#d7e6f2!important}html[data-theme="light"] .shell .section-title,html[data-theme="light"] .shell .preview-head{border-color:#d7e6f2!important;background:#fbfdff}html[data-theme="light"] .shell .document{color:#173d60!important;border-color:#e1edf6!important}html[data-theme="light"] .shell .document:hover,html[data-theme="light"] .shell .document.active{background:#eef8ff!important}html[data-theme="light"] .shell .document small,html[data-theme="light"] .shell .intro span,html[data-theme="light"] .shell .form-card>span{color:#66819e!important}html[data-theme="light"] .shell #pdfEmpty{background:#f7fbff!important;color:#7790a5!important}html[data-theme="light"] .shell input,html[data-theme="light"] .shell select,html[data-theme="light"] .shell textarea{background:#fbfdff!important;color:#183955!important;border-color:#bcd6e9!important}html[data-theme="light"] .shell .foot{color:#244a69!important}html[data-theme="light"] .shell button{box-shadow:0 2px 7px #2f75ae22}html[data-theme="light"] .shell .theme-toggle{box-shadow:none!important}
/* Restore the richer navy presentation when night mode is selected. */
html[data-theme="dark"] .shell aside{background:#091625!important}html[data-theme="dark"] .shell header{background:#0d1a2deb!important}html[data-theme="dark"] .shell .viewer,html[data-theme="dark"] .shell .form-card{background:#0d1a2d!important}html[data-theme="dark"] .shell #pdfEmpty{background:#0a1627!important}
/* Use the supplied high-contrast CipherMol mark on every night-mode surface. */
html[data-theme="dark"] img[src="/assets/ciphermol-logo.svg"]{content:url("/assets/ciphermol-logo-white.png")!important}
html[data-theme="dark"] .brand img,html[data-theme="dark"] .close+img{background:transparent!important}
