.post-editor-workspace{--post-editor-rule:color-mix(in srgb, var(--fuwari-fg) 8%, transparent);--post-editor-header-height:4.75rem;flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.post-editor-header{min-height:var(--post-editor-header-height);border-bottom:1px solid var(--post-editor-rule);flex-shrink:0;align-items:center;gap:1rem;padding:1rem 1.75rem;display:flex}.post-editor-back{white-space:nowrap;color:var(--fuwari-fg-75);border-radius:.5rem;align-items:center;gap:.6rem;padding:.5rem;font-size:.875rem}.post-history-header .post-editor-back{display:inline-flex}.post-editor-back:hover,.post-editor-text-button:hover,.post-editor-icon-button:hover{background:var(--fuwari-btn-regular-bg);color:var(--fuwari-btn-content)}.post-editor-save{align-items:center;gap:.5rem;min-width:0;margin-left:auto;font-size:.8125rem;display:flex}.post-editor-save span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.post-editor-save svg{flex-shrink:0}.post-editor-header-actions{justify-content:flex-end;align-items:center;gap:.375rem;margin-left:auto;display:flex}.post-editor-text-button{white-space:nowrap;color:var(--fuwari-fg-75);border-radius:.5rem;align-items:center;padding:.5rem .75rem;font-size:.875rem}.post-editor-icon-button{width:2.25rem;height:2.25rem;color:var(--fuwari-fg-50);border-radius:.5rem;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.post-editor-more{position:relative}.post-editor-more>summary{cursor:pointer;list-style:none}.post-editor-more>summary::-webkit-details-marker{display:none}.post-editor-more-menu{z-index:50;background:var(--fuwari-card-bg);border:1px solid var(--post-editor-rule);border-radius:.75rem;min-width:8rem;padding:.375rem;position:absolute;top:calc(100% + .375rem);right:0;box-shadow:0 6px 24px #0000001a}.post-editor-more-menu button{text-align:left;width:100%;color:var(--fuwari-warning-fg);border-radius:.5rem;padding:.625rem .75rem;font-size:.875rem;display:block}.post-editor-more-menu button:hover{background:var(--fuwari-warning-bg)}.post-editor-body,.post-editor-surface{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.post-editor-toolbar{z-index:20;scrollbar-width:thin;border-color:var(--post-editor-rule);background:color-mix(in srgb, var(--fuwari-btn-regular-bg) 35%, var(--fuwari-card-bg));flex-wrap:nowrap;flex-shrink:0;gap:.25rem;margin:0;padding:.875rem 2rem;position:relative;top:auto;overflow-x:auto}.post-editor-toolbar>*,.post-editor-toolbar button{flex-shrink:0}.post-editor-toolbar button{width:2.25rem;height:2.25rem}.post-editor-toolbar button svg{width:1rem;height:1rem}.post-editor-document{--document-inset:max(3rem, calc((100% - 66rem) / 2));overscroll-behavior:contain;min-height:0;padding:3.5rem var(--document-inset) 5rem;flex:1;overflow-y:auto}.post-editor-title{letter-spacing:-.025em;margin:0 0 1rem;padding:0;font-size:2.25rem;font-weight:700;line-height:1.4}.post-editor-summary{border-bottom:1px solid var(--post-editor-rule);text-align:left;width:100%;color:var(--fuwari-fg-50);flex-wrap:wrap;align-items:center;gap:.625rem 1rem;margin-bottom:1.75rem;padding-bottom:1.5rem;font-size:.8125rem;display:flex}button.post-editor-summary:hover{color:var(--fuwari-primary)}.post-editor-summary>span{align-items:center;gap:.4rem;min-width:0;display:flex}.post-editor-summary svg{flex-shrink:0}.post-editor-summary-tags{text-overflow:ellipsis;overflow:hidden}.post-editor-document .tiptap{font-family:var(--font-sans);font-size:1.0625rem;line-height:1.85}.post-editor-document .tiptap :is(h2,h3,h4){font-family:var(--font-sans)}.post-editor-info-backdrop{z-index:35;inset:var(--post-editor-header-height) 0 0;background:#1423321f;position:absolute}.post-editor-info-panel{z-index:40;right:0;top:var(--post-editor-header-height);background:var(--fuwari-card-bg);border-left:1px solid var(--post-editor-rule);flex-direction:column;width:23rem;display:flex;position:absolute;bottom:0;box-shadow:-6px 0 24px #0000000d}.post-editor-panel-heading{color:var(--fuwari-fg-50);flex-shrink:0;justify-content:space-between;align-items:center;padding:1rem 1.5rem;font-size:.875rem;font-weight:500;display:flex}.post-editor-panel-heading h2{color:var(--fuwari-fg);font-size:1rem}.post-editor-info-panel>header{border-bottom:1px solid var(--post-editor-rule)}.post-editor-info-footer{border-top:1px solid var(--post-editor-rule);flex-shrink:0;justify-content:flex-end;padding:.875rem 1.5rem;display:flex}.post-history-body{flex:1;min-height:0;display:flex}.post-history-content{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.post-history-context{min-width:0;color:var(--fuwari-fg-50);align-items:center;gap:.625rem;margin-inline:auto;display:flex}.post-history-context svg{flex-shrink:0}.post-history-context h1{color:var(--fuwari-fg-75);font-size:.875rem;font-weight:500}.post-history-context p{margin-top:.15rem;font-size:.75rem}.post-history-document{padding-top:3.75rem}.post-history-sidebar{border-left:1px solid var(--post-editor-rule);background:color-mix(in srgb, var(--fuwari-page-bg) 25%, var(--fuwari-card-bg));flex-direction:column;flex-shrink:0;width:20rem;min-height:0;display:flex}.post-history-list{flex:1;min-height:0;padding:.5rem 1.25rem 1.5rem 2rem;overflow-y:auto}.post-history-version{border-radius:.625rem;margin-bottom:.75rem;padding:1rem 1.125rem;transition:background-color .15s,color .15s;display:block;position:relative}.post-history-version:before{content:"";background:var(--post-editor-rule);width:1px;position:absolute;top:0;bottom:-.75rem;left:-.625rem}.post-history-version:last-child:before{bottom:calc(100% - 2rem)}.post-history-version:after{content:"";background:var(--fuwari-fg-30);border-radius:50%;width:7px;height:7px;position:absolute;top:1.625rem;left:calc(-.625rem - 3px)}.post-history-version.is-selected:after{background:var(--fuwari-primary)}.post-history-delete{border-top:1px solid var(--post-editor-rule);width:100%;color:var(--fuwari-danger-fg);flex-shrink:0;align-items:center;gap:.5rem;padding:1.25rem 1.5rem;font-size:.8125rem;display:flex}.post-history-delete:hover{background:var(--fuwari-danger-bg)}.post-history-delete:disabled{opacity:.4}.post-editor-workspace :is(button,a,summary):focus-visible{outline:2px solid var(--fuwari-primary);outline-offset:2px}@media (width<=1023px){.admin-editor-layout{gap:.5rem;padding:.5rem}.admin-editor-layout>main>header{margin-bottom:0}.admin-editor-layout>main>header>div{border-bottom:1px solid var(--fuwari-input-border);border-bottom-right-radius:0;border-bottom-left-radius:0}.post-editor-workspace{--post-editor-header-height:3.75rem;border-top-left-radius:0;border-top-right-radius:0}.post-editor-header{gap:.5rem;padding:.5rem .875rem}.post-editor-save{margin-left:0;font-size:.75rem}.post-editor-text-button{padding-inline:.5rem;font-size:.8125rem}.post-editor-toolbar{padding:.5rem .875rem}.post-editor-document{--document-inset:1.5rem;padding-top:2rem;padding-bottom:3rem}.post-editor-title{font-size:1.75rem}.post-editor-summary{gap:.5rem .75rem;font-size:.75rem}.post-editor-document .tiptap{font-size:1rem}.post-editor-info-panel{width:min(100%,25rem)}.post-history-sidebar,.post-history-context p,.post-history-context svg{display:none}.post-history-context h1{font-size:.75rem}.post-history-header .post-editor-back{gap:.3rem;padding-inline:0;font-size:.75rem}}@media (width<=480px){.post-editor-info-panel{width:100%}.post-editor-save svg{display:none}.post-editor-save span{max-width:6.5rem}.post-history-context{display:none}}.post-editor-document{animation:fuwari-content-in var(--fuwari-motion-content) var(--fuwari-motion-ease) both}.post-editor-info-panel[data-state=open]{animation:post-info-in var(--fuwari-motion-panel) var(--fuwari-motion-ease) both}.post-editor-info-panel[data-state=closing]{animation:post-info-out var(--fuwari-motion-panel) var(--fuwari-motion-ease) both}.post-editor-info-backdrop[data-state=open]{animation:fuwari-backdrop-in var(--fuwari-motion-panel) ease-out both}.post-editor-info-backdrop[data-state=closing]{animation:fuwari-backdrop-out var(--fuwari-motion-panel) ease-out both;pointer-events:none}@keyframes post-info-in{0%{opacity:0;transform:translate(24px)}to{opacity:1;transform:translate(0)}}@keyframes post-info-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(24px)}}@media (prefers-reduced-motion:reduce){.post-editor-document,.post-editor-info-panel,.post-editor-info-backdrop{animation:none!important}}.post-history-list{animation:fuwari-content-in var(--fuwari-motion-content) var(--fuwari-motion-ease) both}@media (prefers-reduced-motion:reduce){.post-history-list{animation:none}}
