:root {
  color-scheme: dark;
  --background: #0f0f10;
  --surface: #141416;
  --surface-strong: #1b1b1e;
  --border: #2a2a2c;
  --text: #ededed;
  --muted: #999;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--background);
}

.page {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
}

.database-preview {
  width: min(720px, 100%);
  margin: 0 auto 32px;
}

.database-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.activity-panel {
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface);
}

.panel-heading {
  display: flex;
  align-items: center;
  min-height: 92px;
  padding: 24px 28px;
}

.panel-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

h1 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 500;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  table-layout: fixed;
}

th,
td {
  padding: 18px 20px;
  text-align: left;
}

th {
  color: var(--muted);
  background: var(--surface-strong);
  font-size: 0.78rem;
  font-weight: 600;
}

th:first-child {
  width: 155px;
}

th:nth-child(2) {
  width: 180px;
}

th:nth-child(3) {
  width: 250px;
}

.event-date {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.event-date time {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.event-day {
  color: var(--text);
  font-weight: 600;
}

.event-hour {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.78rem;
}

.response-status strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.response-status span {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 4px;
  color: var(--muted);
}

.request-target {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.request-target code {
  display: inline-block;
  padding: 7px 9px;
  border-radius: 6px;
  background: #101011;
  color: var(--text);
}

.request-data {
  color: #ccc;
  font-size: 0.88rem;
}

.request-data.is-empty {
  color: var(--muted);
}

.data-item {
  display: grid;
  grid-template-columns: minmax(90px, 0.35fr) minmax(0, 1fr);
  gap: 10px;
  padding: 4px 0;
}

.data-item strong {
  color: var(--muted);
  font-weight: 500;
  text-transform: capitalize;
}

.data-item span {
  color: var(--text);
  overflow-wrap: anywhere;
}

.request-data small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}

.empty-state {
  padding: 64px 12px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 720px) {
  .page {
    width: calc(100% - 28px);
    padding: 36px 0;
  }

  .panel-heading {
    min-height: 76px;
    padding: 20px;
  }
}
