/* Finlio site: toggle button (always) + dark theme (screen only) */
#theme-toggle{position:fixed;right:18px;bottom:18px;z-index:20;width:44px;height:44px;border-radius:50%;border:1px solid #d3dbe8;background:#fff;color:#2b3a52;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 20px #15243b26;padding:0}
#theme-toggle:hover{border-color:#2463d5;color:#2463d5}
#theme-toggle:focus-visible{outline:3px solid #7aa7ff;outline-offset:3px}
@media print{#theme-toggle{display:none}}
@media screen{
html[data-theme="dark"]{--ink:#e6edf7;--muted:#9fb0c6;--line:#26344b;--pale:#0c1422;--white:#172236;--bg:#0f1724;color-scheme:dark}
html[data-theme="dark"] body{background:#0f1724;color:var(--ink)}
html[data-theme="dark"] #theme-toggle{background:#172236;border-color:#33445f;color:#ffd479;box-shadow:0 6px 20px #0008}
html[data-theme="dark"] #theme-toggle:hover{border-color:#7fa8ff;color:#ffe3a3}

/* ---- main site ---- */
html[data-theme="dark"] h1 span,html[data-theme="dark"] h2 span,html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .text-link,html[data-theme="dark"] .topbar nav a:hover,html[data-theme="dark"] .footer-links a:hover{color:#7fa8ff}
html[data-theme="dark"] .topbar nav .nav-cta,html[data-theme="dark"] .topbar nav .nav-cta:hover,html[data-theme="dark"] .button.primary,html[data-theme="dark"] .popular{color:#fff}
html[data-theme="dark"] .topbar{background:rgba(15,23,36,.92);border-bottom-color:#22304a}
html[data-theme="dark"] .topbar nav a,html[data-theme="dark"] .footer-links a{color:#b7c4d8}
html[data-theme="dark"] .topbar nav .nav-cta.soon{background:#22324d;color:#c6d3e6}
html[data-theme="dark"] .button.secondary{background:transparent;border-color:#33445f;color:var(--ink)}
html[data-theme="dark"] .button.secondary:hover{border-color:#7fa8ff;color:#7fa8ff}
html[data-theme="dark"] .button.soon,html[data-theme="dark"] .button.soon:hover{background:#1b2a42;color:#9fb0c6;border-color:#3a4c68}
html[data-theme="dark"] .button.light{background:#fff;color:#1f56b4}
html[data-theme="dark"] .hero-proof{color:#9fb0c6}
html[data-theme="dark"] .glow{background:radial-gradient(circle,#1c2f52 0,#15243f 48%,#101b30 70%,transparent 71%)}
html[data-theme="dark"] .app-icon{filter:drop-shadow(0 24px 28px #0009)}
html[data-theme="dark"] .float-card{background:#172236;border-color:#2a3b57;box-shadow:0 15px 40px #0006}
html[data-theme="dark"] .float-card small{color:#9fb0c6}
html[data-theme="dark"] .mini-icon.blue,html[data-theme="dark"] .blue{background:#1b2f55;color:#8db4ff}
html[data-theme="dark"] .mini-icon.green,html[data-theme="dark"] .green{background:#12342a;color:#4fd1a0}
html[data-theme="dark"] .teal{background:#10343a;color:#4cd0c4}
html[data-theme="dark"] .violet{background:#2a2250;color:#b79cff}
html[data-theme="dark"] .amber{background:#3a2d12;color:#f0b85a}
html[data-theme="dark"] .coral{background:#3d2022;color:#ff8f84}
html[data-theme="dark"] .trust-strip,html[data-theme="dark"] .tinted{background:#0c1422;border-color:#1f2d44}
html[data-theme="dark"] .trust-grid div{border-left-color:#2f4466}
html[data-theme="dark"] .trust-grid span{color:#9fb0c6}
html[data-theme="dark"] .feature,html[data-theme="dark"] .mini-feature,html[data-theme="dark"] .shot,html[data-theme="dark"] .price-card{background:#152033;border-color:#26344b}
html[data-theme="dark"] .feature:hover,html[data-theme="dark"] .shot:hover{box-shadow:0 16px 35px #0006}
html[data-theme="dark"] .price-card.featured{border-color:#4d86f0;box-shadow:0 16px 40px #2463d533}
html[data-theme="dark"] .showcase{background:linear-gradient(115deg,#101a2c,#0e1829)}
html[data-theme="dark"] .check-list li,html[data-theme="dark"] .price-card ul{color:#b7c4d8}
html[data-theme="dark"] .screen-frame{border-color:#26344b;background:#152033;box-shadow:0 22px 60px #0007}
html[data-theme="dark"] .pill-row span{background:#1b2a42;color:#b7c4d8}
html[data-theme="dark"] .mini-feature img,html[data-theme="dark"] .shot img{background:#101a2b}
html[data-theme="dark"] .shot span,html[data-theme="dark"] .gallery-group{color:#c3d0e2}
html[data-theme="dark"] .note{background:#152033}
html[data-theme="dark"] .note span{color:#9fb0c6}
html[data-theme="dark"] .migration-visual{background:#111c2f;border-color:#26344b}
html[data-theme="dark"] .file-chip{background:#1b2a42;border-color:#33445f;box-shadow:0 12px 25px #0006}
html[data-theme="dark"] .file-chip:before{border-color:transparent #5a3a3c transparent transparent}
html[data-theme="dark"] .file-chip b{color:#ff8f84}
html[data-theme="dark"] .file-chip span,html[data-theme="dark"] .migration-arrow{color:#9fb0c6}
html[data-theme="dark"] .guide-section{background:#0c1422}
html[data-theme="dark"] .guide-card{background:#152033;border-color:#26344b}
html[data-theme="dark"] .pdf-sheet{background:#1b2a42;border-color:#33445f;box-shadow:0 20px 35px #0006}
html[data-theme="dark"] .pdf-line{background:#33445f}
html[data-theme="dark"] .pdf-block{background:#243652}
html[data-theme="dark"] .guide-bubble{background:#1b2f55;color:#a9c4ff;border-color:#2c4a80;box-shadow:0 12px 25px #0006}
html[data-theme="dark"] .price-label{color:#9fb0c6}
html[data-theme="dark"] .reqs{background:#111c2f;border-color:#26344b;color:#b7c4d8}
html[data-theme="dark"] .reqs b{color:var(--ink)}
html[data-theme="dark"] .fineprint{color:#8b9bb2!important}
html[data-theme="dark"] .badge-soon{color:#f0c978;background:#3a2d12;border-color:#5a4a1f}
html[data-theme="dark"] .badge-beta{color:#7fe0aa;background:#12342a;border-color:#1f5c46}
html[data-theme="dark"] .beta-note{background:#2a2312;border-color:#5a4a1f;color:#e8d9b0}
html[data-theme="dark"] a:focus-visible,html[data-theme="dark"] button:focus-visible{outline-color:#9bbcff}
@media(max-width:680px){html[data-theme="dark"] .topbar nav{background:#0f1724;border-bottom-color:#22304a}}

html[data-theme="dark"] .ce-card{background:#152033;border-color:#26344b}
html[data-theme="dark"] .ce-card ul{color:#b7c4d8}

/* ---- privacy page ---- */
html[data-theme="dark"] .doc p,html[data-theme="dark"] .doc li{color:#b7c4d8}
html[data-theme="dark"] .doc .updated{color:#8b9bb2}
html[data-theme="dark"] .doc a{color:#7fa8ff}

/* ---- user guide ---- */
html[data-theme="dark"] .top{background:#152033;border-bottom-color:#26344b}
html[data-theme="dark"] .meta,html[data-theme="dark"] .search .count,html[data-theme="dark"] .side-label,html[data-theme="dark"] .kicker,html[data-theme="dark"] .toc .num,html[data-theme="dark"] .sitefoot{color:#8b9bb2}
html[data-theme="dark"] .meta a{color:#7fa8ff}
html[data-theme="dark"] .download{color:#fff}
html[data-theme="dark"] .sidebar{border-right-color:#26344b;scrollbar-color:#3a4c68 transparent}
html[data-theme="dark"] .search{background:#0f1724}
html[data-theme="dark"] .search input{background:#152033;border-color:#33445f;color:#e6edf7}
html[data-theme="dark"] .search input:focus{outline-color:#4d86f0}
html[data-theme="dark"] .toc a{color:#cfd8e6}
html[data-theme="dark"] .toc a:hover{background:#1b2a42;color:#9bbcff}
html[data-theme="dark"] .toc li.active a{background:#1f3358;color:#b5ceff;box-shadow:inset 3px 0 #5b8def}
html[data-theme="dark"] .toc .level-1 a{color:#aab8cc}
html[data-theme="dark"] .toc .level-2 a{color:#94a3b8}
html[data-theme="dark"] .topic{background:#152033;border-color:#26344b}
html[data-theme="dark"] .topic h2{color:#ff9a8a}
html[data-theme="dark"] .body{color:#dbe3ee}
html[data-theme="dark"] .body h4,html[data-theme="dark"] .body strong{color:#fff}
html[data-theme="dark"] .body a,html[data-theme="dark"] a{color:#7fb2ff}
html[data-theme="dark"] .body ul.check li:before{border-color:#6b7b93;background:#0f1724}
html[data-theme="dark"] .body ul.toclist li{border-bottom-color:#26344b}
html[data-theme="dark"] .body figure img{border-color:#33445f}
html[data-theme="dark"] .body th{background:#8f1a0d;color:#fff}
html[data-theme="dark"] .body th,html[data-theme="dark"] .body td{border-color:#33445f}
html[data-theme="dark"] .body tbody tr:nth-child(even){background:#1a2840}
html[data-theme="dark"] .callout{background:#2a1d20;border-left-color:#e0604f}
html[data-theme="dark"] .topic-foot{border-top-color:#26344b}
html[data-theme="dark"] .topic-foot .pn{color:#7fa8ff}
html[data-theme="dark"] .sitefoot a{color:#b7c4d8}
html[data-theme="dark"] mark{background:#6b5a1a;color:#fff}
@media(max-width:820px){html[data-theme="dark"] .sidebar{background:#152033;border-color:#26344b}html[data-theme="dark"] .search{background:#152033}}
}
