:root{--bg: #f6f5f2;--surface: #ffffff;--text: #17171a;--muted: #6b6b72;--line: #e3e1dc;--line-strong: #cfccc5;--focus: #17171a;--accent: #17171a;--danger: #c0392b;--radius: 10px;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,Inter,Segoe UI,sans-serif;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body,#root{margin:0;height:100%}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}.splash{height:100%;background:var(--bg)}.muted{color:var(--muted);margin:0;font-size:14px}.center{min-height:100%;display:grid;place-items:center;padding:24px}.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:28px;box-shadow:0 1px 2px #00000008,0 8px 24px #0000000a}.card h2{margin:0 0 6px;font-size:18px;font-weight:600}.login{width:min(360px,100%);display:flex;flex-direction:column;gap:18px}.brand{display:flex;align-items:center;gap:10px;font-weight:600;font-size:17px;letter-spacing:-.01em}.login .muted{margin-top:-14px}.field{display:flex;flex-direction:column;gap:6px}.field>span{font-size:13px;font-weight:500;color:var(--muted)}.field.grow{flex:1}.input{display:flex;align-items:center;gap:6px;height:42px;padding:0 6px 0 12px;background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius);transition:border-color .15s,box-shadow .15s}.input:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px #17171a14}.input.has-error{border-color:var(--danger)}.input input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:15px;color:var(--text)}.input input::placeholder{color:#a5a4a0}.input .count{font-size:12px;color:#a5a4a0;font-variant-numeric:tabular-nums;padding-right:6px}.error{color:var(--danger);font-size:13px;min-height:16px}.primary,.ghost,.danger-solid{height:42px;padding:0 18px;border-radius:var(--radius);border:1px solid transparent;font-size:14px;font-weight:500;transition:background .15s,opacity .15s;display:inline-flex;align-items:center;justify-content:center}.primary{background:var(--accent);color:#fff}.primary:hover{background:#2c2c31}.primary:disabled{opacity:.5;cursor:default}.ghost{background:transparent;color:var(--text)}.ghost:hover{background:#0000000d}.ghost.sm{height:30px;padding:0 10px;font-size:13px}.ghost.danger{color:var(--danger)}.danger-solid{background:var(--danger);color:#fff}.row{display:flex;gap:8px;margin-top:18px}.row.end{justify-content:flex-end}.home{min-height:100%}.topbar{height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid var(--line);background:var(--surface)}.wrap{max-width:980px;margin:0 auto;padding:36px 24px 80px}.new{display:flex;gap:10px;align-items:flex-end}.list-head{display:flex;align-items:center;justify-content:space-between;margin:40px 0 14px;gap:12px}.list-head h1{font-size:15px;font-weight:600;margin:0}.search{height:36px;width:220px}.grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.tile{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:12px;transition:border-color .15s,transform .15s}.tile:hover{border-color:var(--line-strong);transform:translateY(-1px)}.tile a{display:flex;flex-direction:column;gap:6px;padding:18px 18px 44px;min-height:120px}.tile strong{font-weight:600;font-size:15px;line-height:1.35;word-break:break-word}.tile .muted{font-size:13px}.tile button{position:absolute;right:8px;bottom:8px;opacity:0;transition:opacity .15s}.tile:hover button,.tile button:focus-visible{opacity:1}@media(hover:none){.tile button{opacity:1}}.empty{border:1px dashed var(--line-strong);border-radius:12px;padding:36px;text-align:center;display:flex;flex-direction:column;gap:6px}.empty p{margin:0}.overlay{position:fixed;inset:0;background:#14141652;display:grid;place-items:center;z-index:100;padding:20px;animation:fade .12s ease-out}.dialog{width:min(420px,100%);display:flex;flex-direction:column;gap:12px}@keyframes fade{0%{opacity:0}}@media(max-width:560px){.new{flex-direction:column;align-items:stretch}.search{width:150px}}.board{position:fixed;inset:0}.board-pill{display:flex;align-items:center;gap:8px;height:36px;padding:0 12px 0 4px;border-radius:10px;background:var(--island-bg-color, #fff);box-shadow:var(--shadow-island, 0 0 0 1px rgba(0,0,0,.08));font-size:13px;color:var(--text-primary-color, #1b1b1f);white-space:nowrap}.pill-name{border:0;background:transparent;color:inherit;font-weight:600;max-width:220px;overflow:hidden;text-overflow:ellipsis;padding:6px 8px;border-radius:7px}.pill-name:hover{background:var(--button-hover-bg, rgba(0,0,0,.05))}.pill-status{opacity:.65}.pill-peers{opacity:.65;padding-left:8px;border-left:1px solid rgba(127,127,127,.25)}.dot{width:7px;height:7px;border-radius:50%;background:#a5a4a0;flex:none}.dot.synced{background:#2f9e44}.dot.saving{background:#f08c00}.dot.offline{background:var(--danger)}.dot.connecting{background:#a5a4a0;animation:pulse 1s infinite alternate}@keyframes pulse{to{opacity:.3}}@media(max-width:730px){.pill-status,.pill-peers{display:none}.pill-name{max-width:120px}}.toast{position:fixed;left:50%;bottom:80px;transform:translate(-50%);background:#17171a;color:#fff;padding:10px 16px;border-radius:10px;font-size:14px;z-index:50;animation:up .2s ease-out;box-shadow:0 8px 24px #0000002e}@keyframes up{0%{opacity:0;transform:translate(-50%,8px)}}
