body.modcp .page{
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 16px;
  gap: 14px;
}

body.modcp .forbiddenCard{
  max-width: 760px;
  margin: 0 auto;
}

/* Dashboard header + quick stats */
body.modcp .modDash{
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(15,23,42,0.14);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: 0 18px 45px rgba(15,23,42,0.10);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

body.modcp .dashHead{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

body.modcp .dashTitle{
  font-family: var(--font-heading);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 20px;
  margin: 0;
}

body.modcp .dashSub{
  margin-top: 4px;
  color: var(--muted2);
  font-size: 12.5px;
  line-height: 1.35;
}

body.modcp .dashBtns{
  display: flex;
  gap: 10px;
  align-items: center;
}

body.modcp .statGrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 820px){
  body.modcp .statGrid{ grid-template-columns: 1fr; }
  body.modcp .dashHead{ flex-direction: column; align-items: stretch; }
}

body.modcp .statCard{
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 14px;
  padding: 12px;
}

body.modcp .statNum{
  font-weight: 900;
  font-size: 22px;
  line-height: 1.1;
}

body.modcp .statNum.statTime{
  font-size: 13px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: rgba(15,23,42,0.85);
  margin-top: 2px;
}

body.modcp .statLabel{
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted2);
}

/* Toolbars */
body.modcp .toolbar{
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

/* Tables: scan-friendly */
body.modcp .table{
  width: 100%;
  border-collapse: collapse;
}

body.modcp .table th,
body.modcp .table td{
  padding: 11px 10px;
  border-bottom: 1px solid rgba(15,23,42,0.12);
  font-size: 12.8px;
  vertical-align: top;
}

body.modcp .table th{
  color: rgba(15,23,42,0.62);
  font-weight: 900;
  background: rgba(255,255,255,0.55);
  position: sticky;
  top: 0;
  z-index: 1;
}

body.modcp .table tr:nth-child(even) td{
  background: rgba(255,255,255,0.32);
}

body.modcp .table tr:hover td{
  background: rgba(255,255,255,0.55);
}

/* Make action buttons inside tables a bit tighter */
body.modcp .table .btn{
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12px;
}

/* Danger buttons (hard delete) */
body.modcp .btn.danger{
  background: rgba(150,30,30,0.20);
  border-color: rgba(255,80,80,0.35);
}
body.modcp .btn.danger:hover{
  background: rgba(150,30,30,0.28);
}

/* Status pills: higher contrast on light panels */
body.modcp .pill{
  background: rgba(15,23,42,0.04);
  border: 1px solid rgba(15,23,42,0.16);
  color: rgba(15,23,42,0.90);
  font-weight: 900;
}

body.modcp .pill.danger{
  background: rgba(225,29,46,0.10);
  border-color: rgba(225,29,46,0.35);
}

body.modcp .pill.ok{
  background: rgba(34,197,94,0.10);
  border-color: rgba(34,197,94,0.35);
}

body.modcp .pill.neutral{
  background: rgba(100,116,139,0.10);
  border-color: rgba(100,116,139,0.35);
}

/* Empty-state row */
body.modcp .emptyCell{
  padding: 16px 12px !important;
  color: rgba(15,23,42,0.65) !important;
}

/* Links in tables */
body.modcp .table a{
  color: rgba(15,23,42,0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}