:root,[data-theme=light]{--bg:#f5f5f7;--surface:#ffffff;--text:#1d1d1f;--text-secondary:#6e6e73;--border:rgba(0,0,0,0.08);--accent:#0071e3;--accent-hover:#0077ed;--input-bg:#ffffff;--danger:#ff3b30;--warn:#ff9500;--ok:#34c759}[data-theme=dark]{--bg:#000000;--surface:#1c1c1e;--text:#f5f5f7;--text-secondary:#a1a1a6;--border:rgba(255,255,255,0.12);--accent:#0a84ff;--accent-hover:#409cff;--input-bg:#2c2c2e;--danger:#ff453a;--warn:#ff9f0a;--ok:#30d158}html{height:100%;color-scheme:light dark}html[data-theme=dark]{color-scheme:dark}body,html{max-width:100vw;overflow-x:hidden}body{min-height:100%;display:flex;flex-direction:column;color:var(--text);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;transition:background .35s ease,color .35s ease}*{box-sizing:border-box;margin:0;padding:0}a{color:inherit;text-decoration:none}img,svg,video{max-width:100%;height:auto}@media (max-width:640px){html{font-size:15px}body{overflow-x:clip}}@media (max-width:380px){html{font-size:14px}}