:root {
  --eskimo-ink: #0f2a3d;
  --eskimo-accent: #0b6e99;
  --eskimo-soft: #e8f2f8;
  --eskimo-bg: #f3f6f9;
}

.admin-body {
  background: var(--eskimo-bg);
  min-height: 100vh;
  color: #212529;
}

.admin-nav {
  background: linear-gradient(120deg, #0f2a3d 0%, #164a66 55%, #0b6e99 100%);
  box-shadow: 0 2px 10px rgba(15, 42, 61, .18);
}

.admin-nav .nav-link.active {
  color: #fff !important;
  font-weight: 600;
}

.admin-main {
  max-width: 1400px;
}

.stat-card {
  background: #fff;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 1px 4px rgba(15, 42, 61, .06);
  height: 100%;
}

.stat-card .stat-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #6c757d;
  margin-bottom: .35rem;
}

.stat-card .stat-value {
  font-size: 1.25rem;
  font-weight: 650;
  color: var(--eskimo-ink);
}

.stat-card .stat-meta {
  font-size: .82rem;
  color: #6c757d;
  margin-top: .35rem;
}

.panel-card {
  background: #fff;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 1px 4px rgba(15, 42, 61, .06);
}

.badge-soft-ok { background: #d1e7dd; color: #0f5132; }
.badge-soft-bad { background: #f8d7da; color: #842029; }
.badge-soft-warn { background: #fff3cd; color: #664d03; }
.badge-soft-info { background: #cfe2ff; color: #084298; }

.timeline-item {
  display: grid;
  grid-template-columns: 140px 120px 1fr;
  gap: .75rem;
  padding: .85rem 0;
  border-bottom: 1px solid #eef2f7;
}
.timeline-item:last-child { border-bottom: 0; }
.timeline-time { font-size: .82rem; color: #6c757d; }
.timeline-type { font-size: .82rem; font-weight: 600; }
.timeline-msg { font-size: .95rem; }
.timeline-meta { font-size: .78rem; color: #6c757d; margin-top: .2rem; }

.action-grid .btn {
  min-height: 2.6rem;
}

.table-mobile td[data-label]::before {
  content: attr(data-label);
  display: none;
  font-weight: 600;
  color: #6c757d;
  margin-right: .5rem;
}

@media (max-width: 768px) {
  .timeline-item { grid-template-columns: 1fr; }
  .table-mobile thead { display: none; }
  .table-mobile tr {
    display: block;
    border-bottom: 1px solid #eef2f7;
    padding: .75rem 0;
  }
  .table-mobile td {
    display: flex;
    justify-content: space-between;
    border: 0;
    padding: .25rem 0;
  }
  .table-mobile td[data-label]::before { display: inline; }
}

.chip {
  display: inline-block;
  font-size: .8rem;
  background: #eef2f7;
  border-radius: 999px;
  padding: .25rem .65rem;
  text-decoration: none;
  color: #495057;
}
.chip.active {
  background: var(--eskimo-accent);
  color: #fff;
}
