:root {
  color-scheme: light;
}

body {
  min-height: 100vh;
  background: #f6f7f9;
  color: #17202a;
}

.intro {
  padding: 64px 0 36px;
  background:
    linear-gradient(120deg, rgba(14, 83, 116, 0.08), rgba(205, 231, 222, 0.68)),
    #ffffff;
  border-bottom: 1px solid #e6e9ed;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f6b68;
}

.site-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-row {
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(30, 42, 55, 0.06);
}

.site-row-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(320px, 1.15fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
}

.site-summary {
  min-width: 0;
}

.site-row .btn {
  min-height: 42px;
  white-space: nowrap;
}

.analytics-panel {
  padding: 14px;
  background: #f8fafb;
  border: 1px solid #e6e9ed;
  border-radius: 8px;
}

.analytics-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.analytics-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #38424d;
}

.analytics-ids code {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  color: #0d4f4d;
  background: #eaf6f3;
  border: 1px solid #c9e7df;
  border-radius: 6px;
}

.analytics-metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #e1e5ea;
}

.analytics-metric strong {
  font-size: 1.35rem;
  color: #17202a;
}

.row-actions {
  display: flex;
  gap: 8px;
}

@media (max-width: 991px) {
  .site-row-main {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .row-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .site-row-main {
    padding: 16px;
  }

  .analytics-heading,
  .row-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .row-actions .btn {
    flex-basis: 100%;
  }
}
