.editor-gate{max-width:680px;margin:8rem auto;padding:0 24px}.editor-gate h1{font:600 clamp(2.25rem,7vw,4rem)/1.05 Georgia,serif}.editor-login-form{display:grid;gap:18px;max-width:420px;margin:32px 0}.editor-login-form label{display:grid;gap:7px;font-weight:700}.editor-login-form input{border:1px solid #bbb;border-radius:8px;padding:12px 14px;font:inherit}.editor-login-form button,.editor-toolbar button{border:0;border-radius:999px;padding:10px 16px;background:#111;color:#fff;font:700 14px/1 system-ui;cursor:pointer}.google-sign-in{display:inline-flex;align-items:center;margin:28px 0;padding:13px 20px;border:1px solid #bbb;border-radius:999px;background:#fff;color:#111;text-decoration:none;font:700 15px/1 system-ui;box-shadow:0 2px 7px rgba(0,0,0,.08)}.google-sign-in:before{content:"G";display:grid;place-items:center;width:23px;height:23px;margin-right:10px;border-radius:50%;background:#4285f4;color:#fff;font-weight:800}.editor-story-list{margin:36px 0}.editor-story-list a{display:block;border-top:1px solid #ddd;padding:15px 2px;color:#111;text-decoration:none}.editor-message{min-height:1.4em;color:#b00045}.editor-toolbar{position:fixed;z-index:1000;left:50%;bottom:max(18px,env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;gap:8px;padding:9px;background:rgba(255,255,255,.96);border:1px solid #ddd;border-radius:999px;box-shadow:0 12px 35px rgba(0,0,0,.22);white-space:nowrap}.editor-toolbar .secondary{background:#eee;color:#111}.editor-toolbar .publish{background:#f42c83}.editor-status{padding:0 8px;font:600 12px/1 system-ui;color:#555}.editor-active [data-editor-field]{outline:1px dashed transparent;transition:outline-color .15s,background .15s}.editor-active [data-editor-field]:hover,.editor-active [data-editor-field]:focus{outline-color:#f42c83;background:rgba(244,44,131,.06)}.editor-active [data-editor-field="featured-image"]{cursor:pointer}.editor-active .edit-entry{display:none}@media(max-width:640px){.editor-toolbar{max-width:calc(100vw - 18px);overflow:auto;justify-content:flex-start}.editor-toolbar button{padding:9px 12px}.editor-status{display:none}}
.google-sign-in[hidden]{display:none}.editor-list-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.editor-sign-out{border:0;background:none;color:#666;text-decoration:underline;cursor:pointer;font:600 13px/1 system-ui}
.editor-list-head>div{display:flex;align-items:center;gap:14px}.editor-new{display:inline-flex!important;border:0!important;border-radius:999px;padding:11px 16px!important;background:#f42c83;color:#fff!important;font:700 14px/1 system-ui}.editor-image-placeholder{display:block;width:min(1120px,calc(100% - 48px));min-height:280px;margin:0 auto 58px;border:2px dashed #bbb;background:#f7f7f7;color:#555;font:700 16px/1 system-ui;cursor:pointer}.editor-format{display:flex;gap:4px}.editor-format button{min-width:38px;padding:10px!important}.editor-active .article-body figure{margin:2rem auto}.editor-active .article-body figure img{display:block;max-width:100%;height:auto}.editor-active .article-body figcaption{padding:.5rem;text-align:center;color:#777;font:14px/1.4 system-ui}.editor-active .article-body figcaption:focus{outline:1px dashed #f42c83}.editor-new-page [data-editor-field="title"]:empty:before,.editor-new-page [data-editor-field="body"]:empty:before{content:"Start writing…";color:#aaa}
@media(max-width:760px){.editor-toolbar{border-radius:18px;flex-wrap:wrap;white-space:normal}.editor-format{order:2;width:100%;justify-content:center}.editor-image-placeholder{width:calc(100% - 32px);min-height:190px}}
.editor-versions{font:700 14px/1 system-ui;text-decoration:underline}.editor-versions-page{max-width:860px;text-align:left;padding-top:70px}.editor-versions-page h1{margin:0}.editor-release{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #ddd;padding:18px 2px}.editor-release div{display:grid;gap:6px}.editor-release small{color:#777}.editor-release button{border:1px solid #bbb;border-radius:999px;background:#fff;padding:9px 14px;cursor:pointer}.editor-release>span{color:#16814a;font-weight:700}.editor-release.current{background:#f4fbf7}
.editor-image-selected{outline:4px solid #f42c83!important;outline-offset:3px}.editor-image-inspector{position:fixed;z-index:1100;top:100px;right:18px;width:min(340px,calc(100vw - 36px));max-height:calc(100vh - 190px);overflow:auto;padding:18px;background:#fff;border:1px solid #ccc;border-radius:16px;box-shadow:0 16px 50px rgba(0,0,0,.25);font:14px/1.3 system-ui}.editor-image-inspector[hidden]{display:none}.image-inspector-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;font-size:18px}.image-inspector-head button{border:0;background:none;font-size:26px;cursor:pointer}.editor-image-inspector label{display:grid;gap:6px;margin:12px 0;font-weight:700}.editor-image-inspector input{width:100%;border:1px solid #bbb;border-radius:8px;padding:10px;font:inherit}.editor-image-inspector fieldset{border:0;padding:0;margin:16px 0}.editor-image-inspector legend{margin-bottom:7px;font-weight:700}.editor-image-inspector fieldset button,.image-inspector-actions button{border:1px solid #bbb;border-radius:8px;background:#fff;padding:8px 10px;margin:0 4px 5px 0;cursor:pointer;font:600 12px/1 system-ui}.editor-image-inspector fieldset button.selected{border-color:#f42c83;background:#fff0f6;color:#b00045}.image-inspector-actions{display:flex;align-items:center;gap:5px;padding-top:10px;border-top:1px solid #eee}.image-inspector-actions .primary{margin-left:auto;background:#111;color:#fff}.image-inspector-actions .danger{color:#b00020}.editor-image-inspector.featured-only [data-flow-controls],.editor-image-inspector.featured-only [data-caption-row],.editor-image-inspector.featured-only [data-image-action="remove"]{display:none}@media(max-width:760px){.editor-image-inspector{top:auto;right:9px;left:9px;bottom:84px;width:auto;max-height:62vh}}
.editor-text-panel{position:fixed;z-index:1100;top:100px;right:18px;width:min(390px,calc(100vw - 36px));max-height:calc(100vh - 190px);overflow:auto;padding:18px;background:#fff;border:1px solid #ccc;border-radius:16px;box-shadow:0 16px 50px rgba(0,0,0,.25);font:14px/1.3 system-ui}.editor-text-panel[hidden]{display:none}.editor-text-panel fieldset{border:0;padding:0;margin:15px 0}.editor-text-panel legend{margin-bottom:7px;font-weight:700}.editor-text-panel fieldset button,.text-panel-done{border:1px solid #bbb;border-radius:8px;background:#fff;padding:9px 11px;margin:0 4px 5px 0;cursor:pointer;font:600 12px/1 system-ui}.editor-text-panel fieldset button:hover{border-color:#f42c83;background:#fff0f6}.text-panel-done{display:block;margin-left:auto;background:#111;color:#fff}.editor-active .article-body blockquote{outline:1px dashed #ddd}@media(max-width:760px){.editor-text-panel{top:auto;right:9px;left:9px;bottom:84px;width:auto;max-height:65vh}}

@media(max-width:760px){.editor-toolbar{bottom:max(8px,env(safe-area-inset-bottom));max-height:112px;overflow-x:auto;overflow-y:auto;padding:8px}.editor-toolbar button{min-height:42px}.editor-image-inspector,.editor-text-panel{bottom:calc(124px + env(safe-area-inset-bottom));max-height:calc(100dvh - 150px);overscroll-behavior:contain}.editor-image-inspector fieldset button,.image-inspector-actions button,.editor-text-panel fieldset button,.text-panel-done{min-height:42px;padding:10px 13px}.image-inspector-actions{position:sticky;bottom:-18px;background:#fff;padding-bottom:4px}.editor-list-head{align-items:flex-start;flex-direction:column}.editor-list-head>div{width:100%;flex-wrap:wrap}}
.editor-toolbar button:disabled{cursor:wait;opacity:.78}.editor-toolbar button.is-busy::before{content:"";display:inline-block;width:12px;height:12px;margin-right:7px;vertical-align:-2px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:editor-spin .7s linear infinite}.editor-toolbar[data-state="success"] .editor-status{color:#176b3a}.editor-toolbar[data-state="error"] .editor-status{color:#a31532;white-space:normal}.editor-toolbar[data-state="busy"] .editor-status{color:#704900}@keyframes editor-spin{to{transform:rotate(360deg)}}@media(max-width:640px){.editor-toolbar .editor-status{display:none}.editor-toolbar[data-state="busy"] .editor-status,.editor-toolbar[data-state="success"] .editor-status,.editor-toolbar[data-state="error"] .editor-status{display:block;order:-1;flex:0 0 100%;box-sizing:border-box;text-align:center;padding:5px 8px;white-space:normal;line-height:1.25}}@media(prefers-reduced-motion:reduce){.editor-toolbar button.is-busy::before{animation-duration:1.8s}}
.editor-active{padding-bottom:180px}.editor-active [contenteditable]{scroll-margin-bottom:180px}.editor-active [data-editor-field="title"],.editor-active [data-editor-field="author"],.editor-active [data-editor-field="category"]{-webkit-user-select:text;user-select:text}@media(max-width:760px){.editor-toolbar{width:calc(100vw - 18px);max-height:180px;justify-content:center}.editor-toolbar .editor-status{display:block;order:-1;flex:0 0 100%;line-height:1.4;text-align:center}.editor-image-inspector,.editor-text-panel{bottom:calc(190px + env(safe-area-inset-bottom))}.editor-image-inspector input{font-size:16px}}
.editor-toolbar{box-sizing:border-box}
