:root,:root[data-theme='signature']{--brand:#0c8584;--on-brand:#fff;--brand-pop:#e58b1e;--accent:#0c8584;--accent-hover:#075f63;--accent-ink:#087c79;--accent-soft:#e5f6f4;--accent-edge:#e8a12a;--bar:#fff;--bar-ink:#102b3d;--bar-line:#dce7e5;--logo-pdf:#102b3d;--logo-tools:#0c8584;--tile-icon:#0c8584}
:root[data-theme='dark']{--brand:#0c8584;--on-brand:#fff;--accent:#20aaa3;--accent-ink:#82e1d8;--accent-soft:#193b44;--accent-edge:#d9972c;--logo-pdf:#f2f7fa;--logo-tools:#80ded4;--tile-icon:#80ded4}
header{position:sticky;top:0;z-index:1000;box-shadow:0 2px 10px #102b3d0d}.brand-logo{display:block;width:174px;height:38px;object-fit:contain;object-position:left center}
.go-top{position:fixed;right:24px;bottom:24px;z-index:1200;display:grid;place-items:center;width:46px;height:46px;padding:0;border:0;border-radius:50%;background:#0c8584;color:white;box-shadow:0 5px 18px #102b3d33;font:700 24px/1 system-ui,sans-serif;opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s}.go-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}.go-top:hover{background:#075f63}
/* QdotPDF.com theme switch, shared across homepage and tool pages */
.theme-switch{margin-left:auto;flex:none;width:88px;height:43px;padding:0;background:transparent;border:0;border-radius:24px;display:inline-flex;align-items:center;justify-content:center}.theme-switch svg{width:100%;height:auto;display:block}.theme-track{fill:#fff;stroke:#a7c9cd;stroke-width:1.5}.theme-thumb{fill:#ffc83d;transition:transform .2s ease,fill .2s ease}.theme-sun{stroke:#102b3d}.theme-moon{stroke:#72949d}:root[data-theme='dark'] .theme-track{fill:#203e50;stroke:#52717f}:root[data-theme='dark'] .theme-thumb{transform:translateX(46px);fill:#087b82}:root[data-theme='dark'] .theme-sun{stroke:#91aab4}:root[data-theme='dark'] .theme-moon{stroke:#fff}@media(prefers-reduced-motion:reduce){.theme-thumb{transition:none}}@media(max-width:420px){.theme-switch{width:72px;height:36px}}
