:root{color:#1a1a1a;background-color:#faf9f7;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.5}*{box-sizing:border-box}body{min-height:100vh;margin:0}button{font-family:inherit}.centered{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:100vh;display:flex}button{cursor:pointer;border:1px solid #888;border-radius:8px;padding:.6rem 1.2rem;font-size:1rem}.projects{text-align:left;max-width:640px;margin:0 auto;padding:2rem 1rem}.projects-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.projects-header h1{margin:0;font-size:1.5rem}.user-email{opacity:.7;margin-right:.75rem;font-size:.9rem}.new-project{gap:.5rem;margin-bottom:1.5rem;display:flex}.new-project input{border:1px solid #888;border-radius:8px;flex:1;padding:.55rem .75rem;font-size:1rem}.project-list{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.project-item{border:1px solid #888;border-radius:8px;justify-content:space-between;align-items:center;padding:.75rem 1rem;display:flex}.project-item .delete{font-size:.85rem}.empty{opacity:.7}.binder-layout{height:100vh;display:flex}.binder{border-right:1px solid #ddd;width:260px;padding:1rem;overflow-y:auto}.binder-top h2{margin:.5rem 0 0;font-size:1.1rem}.link{color:inherit;cursor:pointer;opacity:.7;background:0 0;border:none;padding:0;font-size:.9rem}.new-doc{gap:.4rem;margin:1rem 0;display:flex}.new-doc input{border:1px solid #bbb;border-radius:6px;flex:1;padding:.4rem .6rem}.doc-list{flex-direction:column;gap:.25rem;margin:0;padding:0;list-style:none;display:flex}.doc-item{cursor:pointer;border-radius:6px;justify-content:space-between;align-items:center;padding:.45rem .6rem;display:flex}.doc-item:hover{background:#0000000d}.doc-item.selected{background:#0000001a}.doc-item .delete{opacity:.6;cursor:pointer;background:0 0;border:none;font-size:.8rem}.editor-area{flex:1;padding:2rem 3rem;overflow-y:auto}.muted{opacity:.6}.project-title{cursor:pointer;flex:1}.editor{max-width:720px;margin:0 auto}.editor-bar{justify-content:space-between;margin-bottom:.5rem;font-size:.85rem;display:flex}.doc-title{margin:0 0 1rem;font-size:1.6rem}.ProseMirror{outline:none;min-height:60vh;font-size:1.1rem;line-height:1.7}.ProseMirror p{margin:0 0 1rem}.ProseMirror>:first-child{margin-top:0}.binder-actions{flex-direction:column;gap:.4rem;margin:.75rem 0;display:flex}.binder-actions input{border:1px solid #bbb;border-radius:6px;padding:.4rem .5rem}.binder-actions .row{gap:.4rem;display:flex}.binder-actions .row button{flex:1;padding:.4rem;font-size:.85rem}.tree,.tree-children{margin:0;padding:0;list-style:none}.tree-row{cursor:pointer;border-radius:6px;align-items:center;gap:.25rem;padding:.3rem;display:flex}.tree-row:hover{background:#0000000d}.tree-row.selected{background:#0000001a}.twisty{text-align:center;cursor:pointer;opacity:.7;background:0 0;border:none;width:1.1rem;min-width:1.1rem;padding:0;font-size:.75rem}.tree-icon{font-size:.8rem}.tree-title{text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.95rem;overflow:hidden}.row-action{opacity:0;cursor:pointer;background:0 0;border:none;padding:0 .15rem;font-size:.85rem}.tree-row:hover .row-action{opacity:.55}.row-action:hover{opacity:1}.drag-handle{cursor:grab;opacity:0;color:#999;touch-action:none;background:0 0;border:none;width:1rem;min-width:1rem;padding:0;font-size:.8rem}.tree-row:hover .drag-handle{opacity:.6}.drag-handle:active{cursor:grabbing}
