* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Arial, sans-serif;
  color: #e5edf5;
  background: #111827;
}

.explorer {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 24px;
}

.explorer-header {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #334155;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 24px;
  font-weight: 700;
}

h2 {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
}

h3 {
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #cbd5e1;
}

p {
  max-width: 760px;
  font-size: 13px;
  line-height: 1.5;
  color: #cbd5e1;
}

.back-link {
  width: fit-content;
  color: #bfdbfe;
  font-size: 13px;
}

.panel {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid #334155;
}

.section-help {
  margin-bottom: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #1f2937;
}

th,
td {
  padding: 10px 12px;
  border: 1px solid #334155;
  text-align: left;
}

th {
  color: #cbd5e1;
  font-weight: 700;
  background: #182231;
}

.consent-state-list-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #334155;
  border-radius: 4px;
  background: #1f2937;
}

.consent-state-list {
  min-width: 1180px;
  border: 0;
}

.consent-state-list th,
.consent-state-list td {
  padding: 8px 10px;
  vertical-align: top;
}

.consent-state-list tbody tr {
  cursor: pointer;
}

.consent-state-list tbody tr:hover,
.consent-state-list tbody tr:focus {
  outline: 0;
  background: #263449;
}

.consent-state-list tbody tr.is-selected {
  background: #1e3a5f;
  box-shadow: inset 3px 0 0 #60a5fa;
}

.consent-state-list .numeric {
  text-align: right;
}

.consent-state-list .url-cell {
  max-width: 220px;
  overflow-wrap: anywhere;
}

.consent-detail {
  margin-top: 18px;
}

.inspector-table th,
.inspector-table td {
  vertical-align: top;
}

.inspector-table th {
  width: 230px;
}

.inspector-table th span,
.inspector-table th small {
  display: block;
}

.inspector-table th small {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  color: #94a3b8;
}

.inspector-table th .inspector-help {
  color: #cbd5e1;
}

.inspector-table .inspector-value {
  width: 190px;
  min-width: 120px;
  max-width: 260px;
  font-weight: 700;
  color: #e5edf5;
}

.inspector-table .inspector-explanation {
  width: auto;
  color: #cbd5e1;
}

.inspector-table td {
  overflow-wrap: anywhere;
  word-break: break-word;
  user-select: text;
}

.empty-state {
  padding: 10px 12px;
  border: 1px solid #334155;
  border-radius: 4px;
  background: #1f2937;
}

.inspector-details {
  margin-top: 12px;
  font-size: 13px;
  color: #cbd5e1;
}

.inspector-details summary {
  cursor: pointer;
}

.inspector-details pre {
  max-height: 220px;
  margin: 10px 0 0;
  padding: 10px 12px;
  overflow: auto;
  border: 1px solid #334155;
  border-radius: 4px;
  color: #e5edf5;
  background: #0f172a;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .explorer {
    padding: 16px;
  }

  .inspector-table th {
    width: 150px;
  }

  .inspector-table .inspector-value,
  .inspector-table .inspector-explanation {
    width: auto;
  }
}
