body.page-admin .section-head,
body.page-posting .section-head{
  margin:4px 0 20px;
}

body.page-admin .section-head .controls,
body.page-posting .section-head .controls{
  gap:10px;
}

body.page-admin .stats.small.admin-stats,
body.page-posting .stats.small.admin-stats{
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:14px;
}

body.page-admin .admin-stats .stat,
body.page-posting .admin-stats .stat{
  padding:18px 18px 16px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(31,23,28,.92),rgba(21,15,18,.96));
  border:1px solid rgba(255,255,255,.05);
}

html[data-theme="light"] body.page-admin .admin-stats .stat,
html[data-theme="light"] body.page-posting .admin-stats .stat{
  background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(248,242,238,.96));
}

body.page-admin .gallery-manager,
body.page-posting .gallery-manager,
body.page-admin .form-shell,
body.page-posting .form-shell{
  gap:22px;
}

body.page-admin .gallery-panel,
body.page-admin .key-card,
body.page-admin .table-shell,
body.page-admin .form-copy,
body.page-admin .form-panel,
body.page-admin .side-box,
body.page-posting .gallery-panel,
body.page-posting .key-card,
body.page-posting .table-shell,
body.page-posting .form-copy,
body.page-posting .form-panel,
body.page-posting .side-box{
  background:linear-gradient(180deg,rgba(29,21,25,.96),rgba(20,15,18,.97));
  border:1px solid rgba(255,255,255,.05);
  box-shadow:none;
}

html[data-theme="light"] body.page-admin .gallery-panel,
html[data-theme="light"] body.page-admin .key-card,
html[data-theme="light"] body.page-admin .table-shell,
html[data-theme="light"] body.page-admin .form-copy,
html[data-theme="light"] body.page-admin .form-panel,
html[data-theme="light"] body.page-admin .side-box,
html[data-theme="light"] body.page-posting .gallery-panel,
html[data-theme="light"] body.page-posting .key-card,
html[data-theme="light"] body.page-posting .table-shell,
html[data-theme="light"] body.page-posting .form-copy,
html[data-theme="light"] body.page-posting .form-panel,
html[data-theme="light"] body.page-posting .side-box{
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(247,241,237,.96));
}

body.page-admin .gallery-panel h3,
body.page-admin .key-card h3,
body.page-admin .table-shell h3,
body.page-posting .gallery-panel h3,
body.page-posting .key-card h3,
body.page-posting .table-shell h3{
  font-size:22px;
  letter-spacing:-.03em;
}

body.page-admin .data-table th,
body.page-posting .data-table th{
  color:#c8a182;
}

body.page-admin .data-table tr:hover td,
body.page-posting .data-table tr:hover td{
  background:rgba(255,255,255,.025);
}

html[data-theme="light"] body.page-admin .data-table tr:hover td,
html[data-theme="light"] body.page-posting .data-table tr:hover td{
  background:rgba(187,122,132,.05);
}

body.page-admin .db-table-list,
body.page-posting .db-table-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

body.page-admin .inline-edit,
body.page-posting .inline-edit{
  gap:12px;
}

body.page-admin .admin-actions,
body.page-posting .admin-actions{
  gap:10px;
}

body.page-admin .admin-actions .button,
body.page-posting .admin-actions .button{
  min-height:44px;
}

@media (max-width: 980px){
  body.page-admin .stats.small.admin-stats,
  body.page-posting .stats.small.admin-stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 720px){
  body.page-admin .stats.small.admin-stats,
  body.page-posting .stats.small.admin-stats{
    grid-template-columns:1fr;
  }
}
