/* Editor pessoal, carregado inerte: só o shell com flags server-side cria seu DOM. */
.dashboard-layout-editor {
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid var(--border, #263044);
  border-radius: 10px;
  background: var(--card, #151b29);
}
.dashboard-layout-editor__toolbar { display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.dashboard-layout-editor__title { margin:0; font-size:16px; }
.dashboard-layout-editor__actions { display:flex; gap:8px; flex-wrap:wrap; }
.dashboard-layout-editor__help { margin:12px 0; color:var(--muted); font-size:13px; }
.dashboard-layout-editor__grid { display:grid; grid-template-columns:repeat(12, minmax(0, 1fr)); grid-auto-rows:56px; gap:8px; }
.dashboard-layout-editor__widget { min-width:0; overflow:hidden; padding:10px; border:1px solid var(--border, #263044); border-radius:8px; background:var(--bg, #0f1420); }
.dashboard-layout-editor__widget h3 { margin:0; font-size:13px; overflow-wrap:anywhere; }
.dashboard-layout-editor__widget p { margin:6px 0 0; color:var(--muted); font-size:12px; }
.dashboard-layout-editor--editing .dashboard-layout-editor__widget { cursor:grab; outline-offset:2px; }
.dashboard-layout-editor--editing .dashboard-layout-editor__widget[aria-grabbed="true"] { cursor:grabbing; outline:2px solid var(--accent, #6ea8fe); }
.dashboard-layout-editor__widget:focus-visible { outline:2px solid var(--accent, #6ea8fe); }
@media (max-width: 767px) {
  .dashboard-layout-editor__grid { grid-template-columns:1fr; grid-auto-rows:auto; }
  .dashboard-layout-editor__widget { grid-column:1 !important; grid-row:auto !important; min-height:64px; }
}
