.editor-guide { margin: 32px 0 0; }
.editor-guide-trigger {
  display: block; width: 100%; padding: 0; overflow: hidden;
  border: 1px solid #cbd5e4; border-radius: 16px; background: #f5f7fc;
  color: #17264b; text-align: left; cursor: zoom-in;
}
.editor-guide-trigger img { display: block; width: 100%; height: auto; }
.editor-guide-trigger:focus-visible, .editor-guide-close:focus-visible {
  outline: 3px solid #2345c7; outline-offset: 4px;
}
.editor-guide-expand {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 20px; border-top: 1px solid #dbe2ef; background: #fff;
  font: 600 1rem/1.5 "Plus Jakarta Sans", sans-serif;
}
.editor-guide figcaption { margin-top: 12px; color: #46536c; }
.editor-guide-dialog {
  width: min(1200px, calc(100vw - 32px)); max-width: none;
  max-height: calc(100dvh - 32px); margin: auto; padding: 0;
  border: 1px solid #cbd5e4; border-radius: 16px;
  background: #fff; color: #17264b; overflow: auto;
  box-shadow: 0 24px 80px rgb(7 17 42 / 30%);
}
.editor-guide-dialog::backdrop { background: rgb(7 17 42 / 76%); }
.editor-guide-dialog-header {
  position: sticky; top: 0; z-index: 1;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; border-bottom: 1px solid #dbe2ef; background: #fff;
}
.editor-guide-dialog-header h2 { margin: 0; font-size: 1.1rem; line-height: 1.4; }
.editor-guide-close {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex-shrink: 0; min-height: 44px; padding: 10px 16px;
  border: 1px solid #cbd5e4; border-radius: 8px; background: #eef2fb;
  color: #17264b; cursor: pointer; font: 600 1rem/1.4 "Plus Jakarta Sans", sans-serif;
}
.editor-guide-close:hover { background: #dfe7fa; }
.editor-guide-dialog img { display: block; width: 100%; height: auto; }
.editor-guide-dialog-note { margin: 0; padding: 16px 20px; font-size: .9rem; }
html.editor-guide-open { overflow: hidden; }
@media (max-width: 600px) {
  .editor-guide-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 12px; }
  .editor-guide-dialog-header { padding: 12px; gap: 8px; }
  .editor-guide-dialog-header h2 { font-size: 1rem; }
  .editor-guide-expand { padding: 12px 16px; font-size: .9rem; }
}
