body.is-editor { padding-top: 62px; padding-bottom: 16px; }
body.is-editor [data-edit-id] { cursor: text; outline: 1px dashed transparent; transition: outline-color .12s, box-shadow .12s; }
body.is-editor [data-edit-id]:hover { outline: 1px dashed #1260a8; box-shadow: 0 0 0 3px #1260a81c; }
body.is-editor [data-edit-id].editor-editing { outline: 2px solid #1260a8; background-color: #fffdf0; box-shadow: 0 0 0 4px #1260a833; }
body.is-editor [data-edit-type="image"] { cursor: copy; }
.editor-has-image {
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: #f1f4f6;
}
.editor-has-image::before, .editor-has-image::after { display: none !important; }
.editor-toolbar { position: fixed; z-index: 9998; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #b9c9d7; border-radius: 8px; background: #fff; box-shadow: 0 10px 30px #19354a2b; font: 14px/1.4 Arial, "Noto Sans JP", sans-serif; }
.editor-topbar { top: 16px; bottom: auto; }
.editor-toolbar strong { color: #1260a8; white-space: nowrap; }
.editor-toolbar span { flex: 1; color: #5e6972; }
.editor-toolbar [data-editor-status] { flex: 0 1 24rem; color: #53636d; }
.editor-toolbar [data-editor-status][data-tone="dirty"], .editor-toolbar [data-editor-status][data-tone="warning"] { color: #8a5b00; }
.editor-toolbar [data-editor-status][data-tone="error"] { color: #a31d1d; }
.editor-toolbar button { min-height: 40px; border: 0; border-radius: 4px; padding: 8px 14px; color: #fff; background: #1260a8; font: inherit; cursor: pointer; }
.editor-toolbar button:disabled { opacity: .55; cursor: wait; }
.editor-hint { position: fixed; z-index: 9999; display: none; padding: 5px 9px; border-radius: 4px; background: #153c5b; color: #fff; font: 12px/1.3 Arial, "Noto Sans JP", sans-serif; pointer-events: none; white-space: nowrap; }
.editor-hint.is-visible { display: block; }
@media (max-width: 620px) { .editor-toolbar { left: 8px; right: 8px; flex-wrap: wrap; gap: 8px; } .editor-topbar { top: 8px; } .editor-toolbar span, .editor-toolbar [data-editor-status] { flex-basis: 100%; order: 3; } .editor-toolbar button { flex: 1; } }
