:root{color:#1c1915;background:#f4f0e8;font-family:"Source Sans 3",Segoe UI,sans-serif;line-height:1.45}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}.login{max-width:28rem;margin:8vh auto;padding:2rem;background:#fffdf8;border:1px solid #e4dccb}.eyebrow{letter-spacing:.08em;text-transform:uppercase;font-size:.75rem;color:#8a5a2a}.lead,.hint{color:#5c564c}form{display:flex;flex-direction:column;gap:.75rem}label{display:flex;flex-direction:column;gap:.25rem;font-size:.9rem}input{padding:.55rem .7rem;border:1px solid #d9d0c1;background:#fff}button{padding:.6rem .9rem;background:#1f3d32;color:#f7f3ea;border:0;cursor:pointer}.error{color:#8d2b1f}.status{padding:2rem}.shell>header{display:flex;gap:1rem;align-items:center;padding:.8rem 1.2rem;background:#1f3d32;color:#f7f3ea}.shell nav{display:flex;gap:.8rem;flex:1}.shell>header a{color:#f7f3ea;text-decoration:none}.shell>header a.active{text-decoration:underline}.shell.fullscreen>header{display:none}.shell.fullscreen .editor-screen{min-height:100vh}.shell section{padding:1.5rem}.shell>header button{background:transparent;border:1px solid #f7f3ea;color:#f7f3ea}.page{padding:1.25rem;max-width:960px}.page-head,.row,.card header{display:flex;gap:.75rem;align-items:center;justify-content:space-between;flex-wrap:wrap}.lead,.hint,.empty{color:#5c564c}.group{margin-top:1.25rem}.card{background:#fffdf8;border:1px solid #e4dccb;padding:.9rem 1rem;margin:.6rem 0}.card pre,.editor-screen pre{white-space:pre-wrap;background:#f7f3ea;padding:.7rem}.notice{background:#e7f0ea;padding:.6rem .8rem}.switch{display:flex}.switch button,button.ghost{background:transparent;color:#1f3d32;border:1px solid #1f3d32}.switch button.on,button.on{background:#1f3d32;color:#f7f3ea}.split{display:grid;grid-template-columns:280px 1fr;gap:1rem}.tree{background:#fffdf8;border:1px solid #e4dccb;min-height:520px}.tree-row{display:flex;align-items:center;padding:0 .4rem}.tree-row.selected{background:#efe6d6}.tree-row.over{outline:2px solid #1f3d32}.doc{display:flex;gap:.6rem;align-items:center}.handle{background:transparent;color:#5c564c;border:0;cursor:grab}.badge{padding:.15rem .45rem;background:#efe6d6}.badge.approvato{background:#d7eadb}.badge.modifiche_richieste{background:#f3d6c8}.editor-screen{min-height:calc(100vh - 56px);display:flex;flex-direction:column;background:#fff}.editor-bar{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;padding:.6rem .8rem;border-bottom:1px solid #e4dccb;background:#fffdf8}.editor-bar a{color:#1f3d32}.editor-bar button,.editor-bar .file{color:#1f3d32;background:#fff;border:1px solid #1f3d32}.editor-bar input[type=text],.editor-bar input:not([type=file]){flex:1;min-width:12rem}.editor-body{display:flex;flex:1}.editor-body aside{width:260px;border-left:1px solid #e4dccb;padding:.8rem}.prose,.ProseMirror{min-height:60vh;padding:1.5rem 8vw;outline:none;font-size:1.05rem}.file input{display:none}.stack{display:flex;flex-direction:column;gap:.7rem;max-width:32rem}.check{flex-direction:row;align-items:center}.dialog{position:fixed;top:0;right:0;bottom:0;left:0;background:#1c191559;display:grid;place-items:center;padding:1rem}.dialog>div{background:#fffdf8;padding:1.2rem;max-width:32rem}a{color:#1f3d32}.card a{text-decoration:underline}textarea,select{width:100%;font:inherit;padding:.55rem .7rem;border:1px solid #d9d0c1}@media(max-width:800px){.split{grid-template-columns:1fr}.shell>header{flex-wrap:wrap}.prose,.ProseMirror{padding:1rem}.editor-body{flex-direction:column}.editor-body aside{width:auto;border-left:0;border-top:1px solid #e4dccb}}
