.admin-hero-card {
  background: linear-gradient(135deg, rgba(101, 116, 205, 0.14), rgba(96, 165, 250, 0.1));
  border-bottom: 1px solid #e9ecef;
}

.admin-auth-locked body {
  overflow: hidden;
}

.admin-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.74);
  backdrop-filter: blur(10px);
}

.admin-auth-panel {
  width: min(100%, 420px);
  padding: 28px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
  text-align: center;
}

.admin-auth-mark {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #dc2626;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
}

.admin-auth-panel h1 {
  margin-bottom: 8px;
  color: #111827;
  font-size: 22px;
  line-height: 1.25;
}

.admin-auth-panel p {
  margin-bottom: 20px;
  color: #64748b;
}

.admin-auth-status {
  display: block;
  min-height: 18px;
  margin-top: 14px;
  color: #64748b;
}

.topbar-title-block {
  min-height: var(--theme-topbar-height);
}

.topbar-title-block h4 {
  font-size: 1rem;
  line-height: 1.2;
}

.topbar-title-block span {
  display: block;
  font-size: 0.875rem;
}

.metric-box {
  height: 100%;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.8);
}

.metric-box span {
  display: block;
  color: #6b7280;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.metric-box strong {
  display: block;
  color: #111827;
  font-size: 14px;
  line-height: 1.45;
}

.template-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.template-box strong {
  color: #111827;
}

.template-box small {
  color: #6b7280;
  line-height: 1.5;
}

.chart-shell {
  position: relative;
  min-height: 320px;
}

.chart-shell .chart-host {
  width: 100% !important;
  height: 320px !important;
}

.chart-empty-state {
  min-height: 320px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.8);
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.response-console {
  min-height: 320px;
  margin: 0;
  padding: 16px;
  border-radius: 12px;
  background: #0f172a;
  color: #dbeafe;
  white-space: pre-wrap;
  word-break: break-word;
}

.narrow-card {
  max-width: 520px;
}

.preview-phone {
  border-radius: 18px;
  background: linear-gradient(180deg, #111827, #1f2937);
  color: #f9fafb;
  padding: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.preview-phone-header {
  display: flex;
  justify-content: space-between;
  color: #cbd5e1;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.preview-phone strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.preview-phone p {
  color: #e5e7eb;
  line-height: 1.5;
}

.preview-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-meta span {
  color: #94a3b8;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.preview-meta code {
  color: #93c5fd;
  word-break: break-word;
}

#tokenField.d-none {
  display: none !important;
}

.preview-trigger,
.delete-scheduled-push-trigger {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.history-filter-input {
  width: 190px;
}

.history-summary-box {
  height: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: #f8fafc;
}

.history-summary-box span {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.history-summary-box strong {
  display: block;
  color: #111827;
  font-size: 15px;
  line-height: 1.35;
}

.history-delta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 360px;
}

.history-table td {
  vertical-align: top;
}

.standings-card {
  min-height: 100%;
}

.standings-table th,
.standings-table td {
  white-space: nowrap;
}

.standings-position {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 700;
}

.standings-app-card {
  border-color: rgba(14, 165, 233, 0.2);
}

.team-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 12px;
  background: var(--team-color, #cbd5e1);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.06);
}

.standings-diff {
  display: inline-flex;
  justify-content: flex-end;
  gap: 4px;
  min-width: 96px;
}
