.editor-layout{max-width:1440px;margin:0 auto;padding:34px 32px 70px;display:grid;grid-template-columns:210px minmax(0,1fr);gap:50px}.editor-sidebar{align-self:start;position:sticky;top:114px}.editor-back{font-size:12px;color:var(--muted)}.editor-sidebar h1{font-size:27px;letter-spacing:-1px;margin:28px 0 10px;display:flex;align-items:center;gap:10px}.editor-dot{background:var(--orange);width:8px;height:8px;border-radius:50%}.editor-sidebar p,.editor-side-note{font-size:12px;color:var(--muted);line-height:1.7}.editor-sidebar>.editor-primary{margin:18px 0 25px;width:100%}.editor-layout button,.editor-dialog button,.editor-upload{border:1px solid var(--line);background:var(--soft);color:var(--ink);padding:10px 14px;border-radius:12px;cursor:pointer;font:inherit;font-size:13px;transition:background .18s,opacity .18s}.editor-layout button:hover,.editor-dialog button:hover{background:var(--soft-blue);color:var(--blue)}.editor-layout .editor-primary,.editor-dialog .editor-primary{background:var(--orange);color:#251508;border-color:transparent;font-weight:650}.editor-layout button:disabled,.editor-dialog button:disabled{opacity:.45;cursor:wait}.editor-layout button:focus-visible,.editor-dialog button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}#editor-filters{display:grid;gap:5px}#editor-filters button{background:transparent;border:0;display:flex;justify-content:space-between;color:var(--muted);text-align:left;padding:13px 12px}#editor-filters button[aria-pressed=true]{background:var(--soft-orange);color:var(--accent-text)}#editor-filters span{font-size:11px}.editor-side-note{border-top:1px solid var(--line);padding-top:22px;margin-top:30px;font-size:11px}.editor-workspace{min-width:0}.editor-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 28px}.editor-page-heading h2{font-size:32px;letter-spacing:-.7px;margin:5px 0}.editor-eyebrow{font-size:10px;letter-spacing:1.6px;color:var(--subtle);margin:0}.editor-search{max-width:270px}.editor-layout input,.editor-layout select,.editor-layout textarea{width:100%;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);padding:12px 14px;font:inherit;font-size:14px;outline:none;min-width:0}.editor-layout input:focus,.editor-layout textarea:focus,.editor-layout select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #428aff14}.editor-layout textarea{resize:vertical;line-height:1.65}.editor-item{display:grid;grid-template-columns:100px minmax(0,1fr) auto;gap:22px;align-items:center;padding:25px 0;border-top:1px solid var(--line)}.editor-item img{width:100px;height:72px;object-fit:cover;border-radius:12px;background:var(--soft)}.editor-item h3{font-size:18px;line-height:1.4;margin:7px 0}.editor-item h3 button{padding:0;border:0;background:none;text-align:left;font-size:inherit;font-weight:650}.editor-item p{font-size:11px;color:var(--muted);margin:0;line-height:1.8}.editor-status{display:inline-flex;padding:4px 8px;border-radius:7px;background:var(--soft);color:var(--muted);font-size:10px;white-space:nowrap}.editor-status.published{background:#2ab37c19;color:#3caf88}.editor-status.changed{background:var(--soft-orange);color:var(--accent-text)}.editor-item-action{font-size:12px!important}.editor-fields{display:grid;gap:20px}.editor-layout label{display:grid;gap:8px;font-size:12px;color:var(--muted)}.editor-field-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.editor-fields input[name=title]{font-size:22px;font-weight:600}.editor-document-top{display:flex;align-items:center;gap:16px;font-size:12px}.editor-document-top>button{border:0;background:none;padding-left:0;color:var(--muted)}#editor-live-link{margin-left:auto;color:var(--blue)}.editor-cover-row{display:flex;align-items:center;gap:20px;padding:20px 0}.editor-cover-row>img{width:150px;max-height:100px;object-fit:cover;border-radius:12px}.editor-cover-row>div{flex:1;min-width:0}.editor-cover-row label{margin-top:12px}.editor-writing{border:1px solid var(--line);border-radius:16px;overflow:hidden;margin:14px 0 24px;background:var(--paper)}.editor-writing-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line);font-size:12px}.editor-writing-bar>div{display:flex;gap:5px;flex-wrap:wrap}.editor-writing-bar button{font-size:11px;padding:7px 10px;background:transparent;border:0}.editor-writing textarea{border:0;border-radius:0;padding:24px;font-size:15px;min-height:430px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;box-shadow:none!important}.editor-topics>span{font-size:11px}.editor-save-bar{position:sticky;bottom:12px;z-index:4;background:var(--paper);border:1px solid var(--line);border-radius:16px;margin-top:28px;padding:16px;box-shadow:var(--shadow)}.editor-save-bar>div{display:flex;gap:8px;flex-wrap:wrap}.editor-save-bar p{font-size:11px;color:var(--muted);margin:0 0 10px}#editor-notice{font-size:13px;color:var(--muted)}#editor-notice:empty{display:none}.editor-dialog{background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:20px;width:min(1100px,95vw);max-height:90dvh;padding:24px}.editor-dialog::backdrop{background:#060a14b3;backdrop-filter:blur(4px)}.editor-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.editor-dialog-heading h2{font-size:22px;margin:0}.editor-dialog-heading button{font-size:22px;line-height:1}.editor-dialog iframe{border:0;width:100%;height:70dvh;border-radius:12px;background:var(--bg)}.editor-dialog-note{font-size:12px;color:var(--muted);line-height:1.7}.editor-version{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 0;border-bottom:1px solid var(--line)}.editor-version strong{font-size:14px}.editor-version p,#editor-events p{color:var(--muted);font-size:12px;line-height:1.6;margin:4px 0}.editor-version>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.editor-version a{font-size:12px;color:var(--blue);padding:10px}.editor-upload{display:inline-block;position:relative;overflow:hidden}.editor-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}#editor-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}#editor-library button{padding:0;overflow:hidden;background:var(--paper);text-align:left}#editor-library img{width:100%;height:145px;object-fit:cover}#editor-library span{display:block;padding:10px;font-size:11px;overflow-wrap:anywhere}[hidden]{display:none!important}
@media(min-width:1600px){.editor-layout{gap:70px;padding-top:46px}}@media(max-width:900px){.editor-layout{grid-template-columns:160px minmax(0,1fr);gap:28px;padding:24px}.editor-item{grid-template-columns:72px minmax(0,1fr);gap:14px}.editor-item img{width:72px;height:60px}.editor-item-action{display:none}.editor-save-bar{position:static}.editor-writing-bar{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.editor-layout{display:block;padding:20px 16px 40px}.editor-sidebar{position:static}.editor-sidebar h1{margin:16px 0}.editor-sidebar>p,.editor-side-note{display:none}.editor-sidebar>.editor-primary{width:auto;margin:0 0 16px}#editor-filters{display:flex;gap:5px;overflow-x:auto;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:25px}#editor-filters button{white-space:nowrap;padding:10px;font-size:11px;gap:8px}.editor-page-heading{align-items:flex-start;flex-direction:column;gap:12px}.editor-page-heading h2{font-size:27px}.editor-search{max-width:none;width:100%}.editor-field-row{grid-template-columns:1fr;gap:18px}.editor-cover-row{align-items:flex-start;flex-direction:column}.editor-cover-row>div{width:100%}.editor-cover-row>img{width:100%;max-height:170px}.editor-fields input[name=title]{font-size:19px}.editor-writing textarea{padding:16px;font-size:13px}.editor-save-bar>div>button{flex:1 1 42%;font-size:12px;padding:12px 8px}.editor-dialog{padding:16px}.editor-version{align-items:flex-start;flex-direction:column}.editor-version>div:last-child{width:100%}.editor-dialog-heading h2{font-size:19px}#editor-library{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#editor-library img{height:100px}.editor-document-top{gap:8px;flex-wrap:wrap}.editor-status{white-space:normal}}
@media(prefers-reduced-motion:reduce){.editor-layout button{transition:none}}
