.editor-body{background:var(--bg);min-width:320px}.editor-header{height:70px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--panel)}.editor-brand{font-size:29px;font-weight:750;letter-spacing:-1px}.editor-brand span{font-size:13px;font-weight:500;letter-spacing:0;border-left:1px solid var(--line);padding-left:15px;margin-left:15px;color:var(--muted)}.editor-account{display:flex;align-items:center;gap:15px;font-size:12px}.editor-body button,.editor-primary{border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--text);padding:8px 12px;font-size:12px;font-weight:550;line-height:1.5;cursor:pointer;white-space:nowrap}.editor-body button:hover{background:var(--surface)}.editor-body .editor-primary{background:var(--accent);border-color:var(--accent);color:#fff;display:inline-flex;align-items:center;justify-content:center}.editor-body button:disabled{opacity:.45;cursor:default}.editor-login{max-width:540px;margin:100px auto;padding:0 28px}.editor-login h1{font-size:42px;line-height:1.2;letter-spacing:-1.4px;margin:18px 0}.editor-login p{color:var(--muted);font-size:15px}.editor-login .editor-primary{margin:20px 0 8px;padding:12px 24px;font-size:14px}.editor-login>a:last-child{display:block;font-size:12px;margin-top:36px}.editor-small{font-size:12px!important}.editor-sidebar{position:fixed;top:70px;bottom:0;width:260px;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:22px 16px;background:var(--surface)}.editor-sidebar-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px;font-size:13px}.editor-body input,.editor-body select{border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--text);padding:10px;font-size:12px;min-width:0}.editor-sidebar nav{overflow:auto;flex:1;margin:15px -6px}.editor-sidebar nav button{white-space:normal;display:block;width:100%;text-align:left;border:0;background:none;font-weight:400;padding:10px 12px;line-height:1.4;border-radius:5px;margin:2px 0;overflow-wrap:anywhere}.editor-sidebar nav button[aria-current=page]{background:var(--accent-soft);color:var(--accent);font-weight:650}.editor-sidebar nav small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.editor-sidebar-preview{font-size:11px;color:var(--accent);padding-top:14px;border-top:1px solid var(--line)}.editor-main{margin-left:260px;padding:0 26px;min-width:0}.editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px 0 12px}.editor-page-meta{min-width:0}.editor-page-meta h1{font-size:20px;letter-spacing:-.4px;line-height:1.3;margin:7px 0 2px;overflow-wrap:anywhere}.editor-page-meta p{font-size:10px;color:var(--muted);margin:0;overflow-wrap:anywhere}.editor-branch{font-size:10px;background:var(--accent-soft);color:var(--accent);padding:3px 9px;border-radius:5px}.editor-actions{display:flex;gap:8px}.editor-status-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:45px;font-size:11px;color:var(--muted);border-bottom:1px solid var(--line)}.editor-status-row p{margin:6px 0}.editor-error{color:#ba3434!important}.editor-pane-controls{display:flex;justify-content:space-between;gap:8px;padding:14px 0}.editor-formatting,.editor-view-switch{display:flex;gap:4px}.editor-formatting button{padding:5px 9px;font-size:11px}.editor-view-switch button{border:0;background:none;font-size:11px;padding:5px 9px}.editor-view-switch button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.editor-panes{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:calc(100dvh - 267px);min-height:400px;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin-bottom:22px}.editor-source-pane{min-width:0;height:100%;background:var(--surface)}#page-source{width:100%;height:100%;resize:none;border:0;background:transparent;color:var(--text);font:12px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace;padding:22px;tab-size:2;outline-offset:-3px}.editor-preview-pane{min-width:0;border-left:1px solid var(--line);display:flex;flex-direction:column;background:var(--panel)}.editor-preview-heading{padding:10px 16px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);min-height:36px}#page-preview{width:100%;flex:1;border:0;background:var(--bg)}.editor-panes[data-view=source],.editor-panes[data-view=preview]{grid-template-columns:minmax(0,1fr)}.editor-panes[data-view=source] .editor-preview-pane,.editor-panes[data-view=preview] .editor-source-pane{display:none}.editor-conflict{border:1px solid #d39835;background:#fff9e8;color:#503708;border-radius:8px;padding:18px;margin:12px 0;font-size:12px}.editor-conflict h2{font-size:16px;margin:0 0 8px}.editor-conflict textarea{display:block;width:100%;min-height:180px;max-height:320px;margin:8px 0 15px;border:1px solid #d39835;border-radius:5px;font:11px/1.6 ui-monospace,monospace;padding:10px;resize:vertical}.editor-deployment{display:flex;align-items:center;flex-wrap:wrap;gap:12px;background:var(--accent-soft);color:var(--accent);padding:12px 15px;margin:12px 0;border-radius:8px;font-size:11px}.editor-deployment a{text-decoration:underline}.editor-body [hidden]{display:none!important}#new-page-dialog{max-width:520px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);padding:28px}#new-page-dialog::backdrop{background:#10203088}#new-page-dialog h2{font-size:23px;letter-spacing:-.5px;margin:0 0 8px}#new-page-dialog p{font-size:12px;color:var(--muted)}#new-page-dialog label{display:block;font-size:12px;margin:18px 0 8px}#new-page-dialog input:not([type=checkbox]),#new-page-dialog select{display:block;width:100%;margin-top:6px}#new-page-dialog .editor-checkbox{display:flex;gap:8px;align-items:center}.editor-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}@media(max-width:1100px){.editor-sidebar{width:220px}.editor-main{margin-left:220px;padding:0 18px}.editor-toolbar{align-items:flex-start}.editor-actions{flex-direction:column}.editor-panes{height:calc(100dvh - 290px)}.editor-view-switch button{padding:5px}.editor-formatting button{padding:5px 7px}}@media(max-width:760px){.editor-header{padding:0 18px;height:62px}.editor-brand{font-size:25px}.editor-brand span{font-size:11px;margin-left:9px;padding-left:9px}.editor-sidebar{position:relative;top:0;width:auto;max-height:230px;padding:14px 18px;border-right:0;border-bottom:1px solid var(--line)}.editor-sidebar-title{margin-bottom:8px}.editor-sidebar nav{margin:8px -6px 0;max-height:115px}.editor-sidebar-preview{display:none}.editor-main{margin-left:0;padding:0 14px}.editor-toolbar{padding-top:15px}.editor-actions{flex-direction:row}.editor-actions button{font-size:10px;padding:7px 9px}.editor-page-meta h1{font-size:17px}.editor-panes{height:650px;min-height:400px}.editor-panes[data-view=split]{grid-template-columns:minmax(0,1fr);grid-template-rows:1fr 1fr}.editor-preview-pane{border-left:0;border-top:1px solid var(--line)}#page-source{font-size:12px;padding:15px}.editor-formatting{gap:2px}.editor-formatting button{padding:5px 6px;font-size:10px}.editor-view-switch button{font-size:10px}.editor-account{gap:8px;font-size:10px}.editor-account button{font-size:10px}.editor-login{margin-top:65px}.editor-login h1{font-size:35px}.editor-status-row{align-items:flex-start;flex-direction:column;gap:2px;padding:5px 0}.editor-status-row>span{font-size:9px}}

#users-dialog{width:min(820px,94vw)}.editor-user-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.editor-user-row span{flex:1;overflow-wrap:anywhere}#user-access-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}#users-list{margin:16px 0;max-height:45vh;overflow:auto}@media(max-width:640px){.editor-user-row{flex-wrap:wrap}.editor-user-row span{flex-basis:100%}}

#users-dialog,#publish-dialog{border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);padding:28px;max-width:calc(100vw - 32px)}#publish-dialog{width:520px}#users-dialog::backdrop,#publish-dialog::backdrop{background:#10203088}#users-dialog h2,#publish-dialog h2{margin:0 0 10px;line-height:1.25}#users-dialog p,#publish-dialog p{font-size:13px;color:var(--muted)}#users-dialog label{display:flex;flex-direction:column;font-size:12px;gap:5px}#draft-group-setting{display:block;margin-top:12px;font-size:12px}.editor-account{max-width:60%}#account-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:550px){.editor-header{height:auto;min-height:70px;gap:10px;flex-wrap:wrap;padding-block:12px}.editor-account{max-width:100%;width:100%;justify-content:flex-end}.editor-brand span{font-size:11px}.editor-pane-controls{flex-wrap:wrap}.editor-toolbar{flex-wrap:wrap}.editor-actions{margin-left:auto}.editor-login{margin-top:45px}}
