/* Admin — tabbed full-width panels */
.cf2-main--admin {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cf2-main--admin .cf2-title-band {
  flex-shrink: 0;
}

.cf2-main--admin .cf2-content--admin {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0 var(--page-pad-x) var(--desk-gap, 12px);
  overflow: hidden;
}

.adm-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.adm-tab {
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted2);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.adm-tab:hover {
  color: var(--text);
  border-color: #334155;
}

.adm-tab--on {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
}

.adm-pane {
  flex: 1;
  min-height: 0;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.adm-pane--on {
  display: flex;
}

.adm-pane-head {
  flex-shrink: 0;
  margin-bottom: 10px;
}

.adm-pane-head .cf2-section-label {
  margin-bottom: 4px;
}

.adm-pane-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
  max-width: 52rem;
}

.adm-pane-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.adm-table-wrap {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  overflow-y: visible;
}

.adm-table-wrap .cf2-table {
  min-width: 100%;
}

.cf2-table--watchlist {
  min-width: 1080px;
  table-layout: auto;
}

.cf2-table--watchlist .adm-col-symbol {
  min-width: 88px;
  white-space: nowrap;
}

.cf2-table--watchlist .adm-col-name {
  min-width: 120px;
}

.cf2-table--watchlist .adm-col-group {
  min-width: 168px;
  white-space: nowrap;
}

.cf2-table--watchlist .adm-col-bucket {
  min-width: 72px;
  text-align: center;
}

.cf2-table--watchlist .adm-col-user {
  min-width: 72px;
  text-align: center;
  font-size: 11px;
}

.cf2-table--watchlist .adm-col-price {
  min-width: 88px;
  text-align: right;
  white-space: nowrap;
}

.cf2-table--watchlist .adm-col-pct {
  min-width: 72px;
  text-align: right;
  white-space: nowrap;
}

.cf2-table--users {
  min-width: 640px;
}

.cf2-table--users .adm-col-mobile {
  min-width: 140px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--muted2);
}

.cf2-table--commentators {
  min-width: 720px;
}

.adm-meta-inline {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  font-size: 12px;
}

.adm-ingest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.adm-st-ok { color: #6ee7b7; font-weight: 600; }
.adm-st-warn { color: #fcd34d; font-weight: 600; }
.adm-st-bad { color: #fca5a5; font-weight: 600; }
