.cms-admin-card {
  max-width: 760px;
  padding: 22px;
  border: 1px solid #dfe3eb;
  border-radius: 16px;
  background: #fff;
}
.cms-admin-card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.cms-admin-card p { margin: 0 0 18px; color: #59616d; line-height: 1.55; }
.cms-admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cms-admin-actions button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #182033;
  border-radius: 10px;
  background: #182033;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.cms-admin-actions button.cms-secondary { background: #fff; color: #182033; }
.cms-admin-note { margin-top: 16px!important; font-size: .84rem; }
.cms-edit-toolbar {
  position: fixed;
  z-index: 12000;
  top: 14px;
  left: 50%;
  width: min(720px, calc(100% - 28px));
  min-height: 62px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  background: #141923;
  color: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.cms-edit-toolbar strong { font-size: .92rem; }
.cms-edit-toolbar span { display: block; margin-top: 2px; color: #cbd2df; font-size: .75rem; }
.cms-toolbar-actions { display: flex; gap: 8px; }
.cms-toolbar-actions button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #fff;
  border-radius: 10px;
  background: #fff;
  color: #141923;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.cms-toolbar-actions .cms-cancel { background: transparent; color: #fff; }
body.cms-edit-mode { padding-top: 84px; }
body.cms-edit-mode .cms-editable {
  min-height: 1.25em;
  outline: 2px dashed rgba(49,94,251,.6);
  outline-offset: 4px;
  cursor: text!important;
  transition: outline-color .15s, background-color .15s;
}
body.cms-edit-mode .cms-editable:hover,
body.cms-edit-mode .cms-editable:focus {
  outline: 3px solid #315efb;
  background: rgba(49,94,251,.08);
}
.cms-toast {
  position: fixed;
  z-index: 13000;
  right: 18px;
  bottom: 18px;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #123f2b;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  font-weight: 800;
}
#planEditorModal { z-index: 10100; }
#adminDashboardModal { z-index: 10050; }
#adminAuthModal { z-index: 10040; }
.admin-save-status {
  margin-top: 12px;
  min-height: 22px;
  color: #0b6b42;
  font-size: .86rem;
  font-weight: 800;
}
@media (max-width: 640px) {
  .cms-edit-toolbar { top: 8px; align-items: flex-start; flex-direction: column; }
  .cms-toolbar-actions { width: 100%; }
  .cms-toolbar-actions button { flex: 1; }
  body.cms-edit-mode { padding-top: 132px; }
}

