:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fff;--surface:#f5f5f3;--text:#252723;--muted:#72766d;--border:#e3e5de;--accent:#39755d;--hover:#e9ede6;--danger:#a23d39;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#1c1f1d;--surface:#242825;--text:#e0e6dd;--muted:#9da79b;--border:#383f38;--accent:#9ac7ac;--hover:#323b32;--danger:#eea09c}@media (prefers-color-scheme:dark){:root:not([data-theme=light]):not([data-theme=dark]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#1c1f1d;--surface:#242825;--text:#e0e6dd;--muted:#9da79b;--border:#383f38;--accent:#9ac7ac;--hover:#323b32;--danger:#eea09c}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0}button,input,select{font:inherit;color:inherit}button,select,input{border:1px solid var(--border);background:var(--bg);border-radius:6px;min-height:44px;padding:8px 12px}button{cursor:pointer}button:hover{background:var(--hover)}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button:disabled{opacity:.5;cursor:not-allowed}label{flex-direction:column;gap:6px;font-size:14px;display:flex}a{color:var(--accent)}[hidden]{display:none!important}.danger{color:var(--danger)}#app{width:100%;max-width:100vw;min-height:100dvh;display:flex;overflow:clip}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;flex:0 0 272px;gap:12px;width:272px;height:100dvh;padding:20px 16px;display:flex;position:sticky;top:0;overflow:auto}.sidebar h1{letter-spacing:-.5px;margin:0 0 18px;font-size:18px}.tree-actions{gap:6px;display:flex}.tree-actions button{flex:1;padding:6px;font-size:13px}.sidebar nav{flex:1;min-height:80px}.tree-row{align-items:center;display:flex}.tree-row button{background:0 0;border:0;border-radius:4px}.tree-row .entry{text-align:left;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:14px;overflow:hidden}.tree-row button[aria-current=true]{background:var(--hover);color:var(--accent)}.tree-children{padding-left:14px}.sidebar footer{border-top:1px solid var(--border);flex-direction:column;gap:10px;padding-top:12px;display:flex}.workspace{flex:1;min-width:0}.workspace>header{border-bottom:1px solid var(--border);background:var(--bg);z-index:5;align-items:center;gap:12px;height:80px;padding:12px 24px;display:flex;position:sticky;top:0}.document-info{min-width:0}#breadcrumb{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.statuses{color:var(--muted);flex-wrap:wrap;gap:16px;margin-top:6px;font-size:12px;display:flex}#drawer{background:0 0;border:0;flex-shrink:0;font-size:20px}#notice:not(:empty){background:var(--surface);color:var(--danger);overflow-wrap:anywhere;padding:12px 24px}#document{max-width:960px;margin:auto;padding:30px 40px 100px}.empty{text-align:center;color:var(--muted);padding:16vh 0}.empty h2{color:var(--text);font-size:23px;font-weight:500}.login{max-width:360px;margin:18vh auto;padding:0 20px}.login h1{letter-spacing:-1px;font-size:30px}.login p{color:var(--muted)}.login form{flex-direction:column;gap:12px;margin-top:32px;display:flex}.login button{background:var(--accent);color:var(--bg)}.dialog{background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:10px;width:520px;max-width:min(560px,94vw);max-height:92dvh;padding:24px;overflow:auto}.dialog::backdrop{background:#0007}.dialog h2{overflow-wrap:anywhere;margin:0 0 16px;font-size:21px}.dialog p{white-space:pre-line;overflow-wrap:anywhere}.dialog form,.dialog-actions{flex-direction:column;gap:12px;display:flex}.dialog-actions{flex-flow:wrap;justify-content:flex-end;margin-top:24px}.dialog.wide{width:1100px;max-width:96vw}.close{float:right}.comparison{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.comparison section{min-width:0;overflow:auto}.comparison h3{font-size:16px}.history-item{border-bottom:1px solid var(--border);justify-content:space-between;gap:12px;padding:12px 0;display:flex}.change-list button{text-align:left;width:100%;margin:6px 0;display:block}.backdrop,.sidebar-collapsed .sidebar{display:none}@media (max-width:899px){.workspace>header{gap:6px;height:64px;padding:6px 10px}.statuses{flex-direction:column;gap:2px;margin:2px 0;font-size:10px}.document-info{flex:1}.sidebar{z-index:30;visibility:hidden;width:min(85vw,320px);height:100dvh;position:fixed;top:0;left:0;transform:translate(-110%)}.drawer-open .sidebar{visibility:visible;transform:translate(0)}.backdrop:not([hidden]){z-index:20;background:#0006;border:0;border-radius:0;width:100vw;height:100dvh;display:block;position:fixed;inset:0}.sidebar-collapsed .sidebar{display:flex}#document{max-width:100%;padding:20px 16px 90px}.comparison{display:block}.comparison section{display:none}.comparison section.active{display:block}.dialog{padding:18px}.history-item{flex-direction:column}.login{margin:12vh auto}}
