/* Palette, type and surfaces follow the current 40i.net Rails design. */
:root{color-scheme:dark;--page:#020617;--surface:#0f172a;--soft:#1e293b;--ink:#f1f5f9;--muted:#94a3b8;--line:#1e293b;--field-line:#334155;--primary:#0284c7;--primary-hover:#0ea5e9;--link:#7dd3fc;--danger:#fca5a5;--header:rgba(2,6,23,.94);font-family:"Segoe UI","Helvetica Neue",Arial,sans-serif;font-synthesis:none;color:var(--ink);background:var(--page)}
:root.light{color-scheme:light;--page:#f8fafc;--surface:#fff;--soft:#f1f5f9;--ink:#0f172a;--muted:#64748b;--line:#e2e8f0;--field-line:#cbd5e1;--link:#0369a1;--danger:#b91c1c;--header:rgba(255,255,255,.95)}
*{box-sizing:border-box}body{margin:0;min-height:100vh;color:var(--ink);background:var(--page);-webkit-font-smoothing:antialiased}a{color:var(--link);text-underline-offset:3px}button,input,select{font:inherit}button,a,input,select{transition:background-color .15s,border-color .15s,color .15s}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}[hidden]{display:none!important}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #38bdf8;outline-offset:3px}.theme-toggle{width:36px;height:32px;border:1px solid var(--field-line);background:var(--surface);color:var(--ink);border-radius:999px;font-size:18px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.theme-toggle:hover{background:var(--soft)}
