.editor-preview-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(290px,360px);column-gap:24px;align-items:start;max-width:1200px}
.editor-preview-main>.editor-preview-mobile-open{display:none}
.editor-preview-main{grid-column:1;grid-row:1;min-width:0}
.editor-preview-main>.eyebrow{margin:0 0 8px}
.editor-preview-main>h1{margin:0 0 16px}
.editor-preview-main>.messages{width:100%;min-width:0;margin:0 0 16px;padding:10px 16px;box-sizing:border-box}
.editor-preview-main>.messages p{margin:0}
.editor-preview-main>p:not(.eyebrow){margin:0 0 16px}
.editor-preview-layout>.editor-live-preview{grid-column:2;grid-row:1;position:sticky;top:16px;align-self:start;min-width:0;max-height:calc(100vh - 32px);overflow:auto;border:1px solid #9b9b97;border-top:4px solid #c51b2d;background:#f4f4f0;box-shadow:0 6px 20px rgba(0,0,0,.12)}
.editor-live-preview-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:#202020;color:#fff}
.editor-live-preview-bar small{display:block;font-size:9px;letter-spacing:.12em}.editor-live-preview-bar strong{display:block;font-size:12px;line-height:1.4}
.editor-live-preview .editor-preview-toggle{min-height:30px;margin:0;padding:4px 8px;border:1px solid #fff;background:transparent;color:#fff;font-size:10px;white-space:nowrap}
.editor-live-preview .editor-preview-toggle:hover,.editor-live-preview .editor-preview-toggle:focus-visible{background:#fff;color:#202020}
.editor-live-preview-body{padding:10px}.editor-preview-layout .editor-preview-note{margin:0 0 8px;color:#4a4a4a;font-size:10px;line-height:1.5}
.editor-live-preview:not(.is-open) .editor-live-preview-body{display:none}.editor-preview-page{background:var(--editor-preview-surface,#fff);color:var(--editor-preview-text,#202020)}.editor-preview-heading{border-top:3px solid var(--editor-preview-accent,#c51b2d)}
.editor-preview-widths{display:flex;gap:5px;margin-bottom:10px}.editor-live-preview .editor-preview-widths button{flex:1;min-height:30px;margin:0;padding:4px;border:1px solid #777;background:#fff;color:#202020;font-size:11px}.editor-live-preview .editor-preview-widths button[aria-pressed="true"]{background:#202020;color:#fff}
.editor-preview-viewport{display:flex;justify-content:center;overflow:auto;padding:8px;background:#dededb}.editor-preview-page{width:100%;max-width:500px;min-width:0;overflow:hidden;background:#fff;color:#202020;font-size:12px;box-shadow:0 2px 6px rgba(0,0,0,.15)}.editor-preview-viewport.is-mobile .editor-preview-page{width:230px;max-width:100%;font-size:11px}
.editor-preview-block{position:relative;padding:11px;border:3px solid transparent;transition:border-color .15s,background-color .15s}.editor-preview-block.is-current{border-color:#c51b2d;background-color:#fff6d2}.editor-preview-block.is-current::before{content:'編集中';position:absolute;top:0;right:0;padding:1px 5px;background:#c51b2d;color:#fff;font-size:9px;font-weight:900}
.editor-preview-hero{display:grid;place-items:center;min-height:115px;padding:0;background:#ddd;color:#555;font-weight:800}.editor-preview-hero img{display:block;width:100%;height:145px;object-fit:cover}.editor-preview-hero img[hidden],.editor-preview-icon[hidden],.editor-preview-hero [hidden]{display:none!important}.editor-preview-viewport.is-mobile .editor-preview-hero img{height:105px}
.editor-preview-heading{display:flex;align-items:center;flex-wrap:wrap;gap:7px;background:#f2d9df}.editor-preview-heading>p{flex:0 0 100%;margin:0!important;font-size:9px;font-weight:900;letter-spacing:.08em}.editor-preview-heading h2{min-width:0;margin:0;font-size:17px;line-height:1.3;overflow-wrap:anywhere}.editor-preview-heading .editor-preview-subtitle{flex:0 0 100%;margin:0!important;font-size:11px}.editor-preview-icon{width:30px;height:30px;object-fit:cover;border-radius:50%}
.editor-preview-block>strong{display:block;margin-bottom:5px;font-size:12px}.editor-preview-copy p,.editor-preview-details p,.editor-preview-signup p,.editor-preview-private p{margin:0!important;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.65}.editor-preview-details,.editor-preview-gallery,.editor-preview-signup{border-top:1px solid #ccc}.editor-preview-gallery>div{display:grid;gap:8px}.editor-preview-gallery figure{margin:0}.editor-preview-gallery img{display:block;width:100%;max-height:95px;object-fit:cover}.editor-preview-gallery figcaption{text-align:center;font-size:10px}.editor-preview-gallery p{margin:3px 0!important;font-size:10px;white-space:pre-wrap}.editor-preview-private{display:none}.editor-preview-private.is-current{display:block}
@media(max-width:1000px){.editor-preview-layout{display:block;max-width:760px}.editor-preview-layout>.editor-live-preview{position:fixed;top:auto;right:0;bottom:0;left:0;z-index:30;max-height:75vh;overflow:auto;border-right:0;border-left:0;box-shadow:0 -5px 20px rgba(0,0,0,.2)}.editor-preview-layout>.editor-live-preview:not(.is-open){max-height:46px;overflow:hidden}.editor-preview-layout>.editor-live-preview:not(.is-open) .editor-live-preview-body{display:none}.editor-live-preview-bar{min-height:42px}.editor-live-preview-body{max-width:600px;margin:auto}.editor-preview-viewport.is-mobile .editor-preview-page{width:300px}.editor-preview-layout{padding-bottom:40px}}
@media(max-width:650px){.editor-preview-layout{padding-bottom:0}.editor-preview-layout>.editor-live-preview{max-height:70vh}.editor-preview-layout>.editor-live-preview:not(.is-open){display:none}.editor-preview-main>.editor-preview-mobile-open{position:fixed;top:calc(62px + env(safe-area-inset-top));right:12px;z-index:29;display:flex;width:62px;height:62px;min-height:62px;flex-direction:column;align-items:center;justify-content:center;gap:1px;margin:0;padding:3px;border:1px solid #fff;border-radius:50%;background:#202020;color:#fff;box-shadow:0 3px 12px #0005;line-height:1.1}.editor-preview-main>.editor-preview-mobile-open[hidden]{display:none!important}.editor-preview-mobile-open i{font-size:20px}.editor-preview-mobile-open span{font-size:9px;font-weight:800}.editor-preview-viewport.is-mobile .editor-preview-page{width:230px}}
