/*
 * Control panel styles. Loaded on CP requests only by modules/Module.php.
 */

/* CKEditor tables: match Redactor's in-editor table styles (redactor.css .redactor-styles table).
   Selectors carry 4 classes to outrank CKEditor 5's own :is(.ck-content figure.table…) table rules. */
.ck.ck-content.ck-editor__editable .table {
  display: block;
  margin: 0 0 1em;
  width: 100%;
}
.ck.ck-content.ck-editor__editable .table table {
  border: 0;
  border-collapse: collapse;
  empty-cells: show;
  max-width: 100%;
  width: 100%;
}
.ck.ck-content.ck-editor__editable .table table th,
.ck.ck-content.ck-editor__editable .table table td {
  background: transparent;
  border: 1px solid #eee;
  min-width: 0;
  padding: 16px 16px 15px;
}
.ck.ck-content.ck-editor__editable .table table caption,
.ck.ck-content.ck-editor__editable .table figcaption {
  background: transparent;
  color: rgba(0, 0, 0, 0.5);
  font-size: 11px;
  padding: 0;
  text-transform: uppercase;
}
.ck.ck-content.ck-editor__editable .table table tfoot th,
.ck.ck-content.ck-editor__editable .table table tfoot td {
  color: rgba(0, 0, 0, 0.5);
}
.ck.ck-content.ck-editor__editable .table table p {
  margin: 0 0 1em;
  padding-top: 0;
  padding-bottom: 0;
}
.ck.ck-content.ck-editor__editable .table table p:last-child {
  margin-bottom: 0;
}
.ck.ck-content.ck-editor__editable .table table a {
  color: #3397ff;
}
