.mx-page-editor-toolbar{
  position:fixed;
  top:88px;
  right:18px;
  z-index:1200;
  display:flex;
  gap:8px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
}
.mx-page-editor-toolbar[hidden]{display:none}
.mx-page-editor-btn{
  border:none;
  border-radius:999px;
  padding:10px 14px;
  font:600 13px/1.1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
  color:#1e2f28;
  background:#ecf4ef;
  box-shadow:0 12px 24px rgba(31,22,17,.12);
}
.mx-page-editor-btn:hover{transform:translateY(-1px)}
.mx-page-editor-btn--primary{background:#1f5c4d;color:#fff}
.mx-page-editor-btn--warn{background:#d97757;color:#fff}
.mx-page-editor-panel{
  position:fixed;
  top:152px;
  right:18px;
  z-index:1200;
  width:min(380px,calc(100vw - 24px));
  max-height:calc(100vh - 180px);
  overflow:auto;
  padding:18px;
  border:1px solid rgba(29,25,20,.16);
  border-radius:18px;
  background:#fffaf4;
  box-shadow:0 20px 48px rgba(31,22,17,.2);
}
.mx-page-editor-panel[hidden]{display:none}
.mx-page-editor-panel h3{margin:0 0 8px;font-size:18px}
.mx-page-editor-panel p{margin:0 0 10px;color:#62584f;font-size:13px;line-height:1.5}
.mx-page-editor-field{display:grid;gap:6px;margin:12px 0}
.mx-page-editor-field label{font-size:12px;font-weight:700;color:#51473e}
.mx-page-editor-field textarea,
.mx-page-editor-field input{
  width:100%;
  border:1px solid #d8cec1;
  border-radius:10px;
  padding:10px 12px;
  background:#fff;
  color:#1a1612;
  font:500 13px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.mx-page-editor-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.mx-page-editor-hint{font-size:12px;color:#7b6f64}
body.is-page-editing [data-edit-key]{
  outline:2px dashed rgba(217,119,87,.75);
  outline-offset:3px;
  cursor:text;
}
body.is-page-editing [data-edit-key]:hover{
  outline-color:#1f5c4d;
  background:rgba(217,119,87,.08);
}
body.is-page-editing a[data-edit-key],
body.is-page-editing button[data-edit-key]{
  cursor:pointer;
}
