.saikaila-standards-debug {
  width: 100%;
  max-width: 100%;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-sizing: border-box;
  color: #111827;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.saikaila-standards-debug__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.saikaila-standards-debug__header h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.saikaila-standards-debug__header span {
  color: #64748b;
  font-size: 13px;
}

.saikaila-standards-debug__table-wrap {
  width: 100%;
  overflow-x: auto;
}

.saikaila-standards-debug__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.saikaila-standards-debug__table th,
.saikaila-standards-debug__table td {
  padding: 8px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

.saikaila-standards-debug__table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
}

.saikaila-standards-debug code,
.saikaila-standards-debug pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.saikaila-standards-debug__json {
  margin-top: 14px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.saikaila-standards-debug__json summary {
  cursor: pointer;
  font-weight: 600;
}

.saikaila-standards-debug__json pre {
  max-height: 420px;
  margin: 10px 0 0;
  overflow: auto;
  font-size: 12px;
  white-space: pre;
}

.saikaila-standards-debug__loading,
.saikaila-standards-debug__error {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.saikaila-standards-debug__loading {
  background: #f8fafc;
  color: #475569;
}

.saikaila-standards-debug__error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@media (max-width: 640px) {
  .saikaila-standards-debug__header {
    align-items: flex-start;
    flex-direction: column;
  }
}
