:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f4f4f8;--surface:#fff;--text:#1c1c26;--muted:#6c6c7e;--line:#3a3a4a;--thin:#d4d4de;--accent:#3563d9;--accent-text:#fff;--user:#2f5ccf;--selected:#c4d5ff;--peer:#e9eefb;--same:#b3c8fb;--conflict:#d23045;--conflict-bg:#fbe1e4;--button:#e8e8f0;background:var(--bg);color:var(--text);-webkit-tap-highlight-color:transparent;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#121218;--surface:#1d1d27;--text:#e9e9f2;--muted:#9a9aae;--line:#8888a0;--thin:#363645;--accent:#7b9cff;--accent-text:#0f1630;--user:#8fadff;--selected:#34436e;--peer:#252534;--same:#3d4f85;--conflict:#ff6b7d;--conflict-bg:#4a2229;--button:#282836}}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overscroll-behavior:none;-webkit-user-select:none;user-select:none;justify-content:center;display:flex}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:disabled{opacity:.4;cursor:default}a{color:var(--accent)}.app{flex-direction:column;gap:14px;width:min(100%,520px);min-height:100dvh;padding:12px;display:flex}.top{justify-content:space-between;align-items:center;gap:8px;display:flex}.text-btn{color:var(--accent);background:0 0;border:none;padding:8px 4px;font-weight:600;text-decoration:none}.back{align-items:center;margin-left:-6px;display:inline-flex}.back svg{fill:currentColor;width:26px;height:26px}dialog{background:var(--surface);color:var(--text);border:none;border-radius:16px;width:min(90vw,340px);padding:20px}dialog::backdrop{background:#00000073}dialog form{text-align:center;flex-direction:column;gap:12px;display:flex}dialog h2{margin:0 0 4px;font-size:1.3rem}dialog p{color:var(--muted);margin:0}.choices{flex-direction:column;gap:8px;display:flex}.choices button{background:var(--button);border:none;border-radius:10px;padding:14px;font-weight:600}.choices button:focus-visible{outline:2px solid var(--accent)}.loading{background:#0000004d;place-items:center;display:grid;position:fixed;inset:0}.loading span{background:var(--surface);border-radius:12px;padding:14px 20px}.loading[hidden]{display:none}
