body {
  font-family: Arial, sans-serif;
}

.admin-wrap {
  width: min(760px, calc(100% - 24px));
  margin: 24px auto;
}

.muted {
  color: #4a5568;
}

.card {
  background: #ffffff;
  border: 1px solid #d8e0ef;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.1);
}

.card h2 {
  margin-top: 0;
}

label {
  display: block;
  font-weight: 700;
  margin: 8px 0 4px;
}

input {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

.check-row {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.check-row input {
  width: auto;
}

.row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

button,
.link-btn {
  background: #1d4ed8;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.status {
  margin-top: 10px;
  font-weight: 700;
}

.analytics-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.analytics-box {
  border: 1px solid #d8e0ef;
  border-radius: 8px;
  padding: 12px;
}

.analytics-box h3 {
  margin: 0 0 8px;
}

.analytics-box table {
  border-collapse: collapse;
  width: 100%;
}

.analytics-box th,
.analytics-box td {
  border-bottom: 1px solid #e5e7eb;
  padding: 6px 4px;
  text-align: left;
}

.analytics-box th:last-child,
.analytics-box td:last-child {
  text-align: right;
}

.is-hidden {
  display: none;
}
