/* Developer Data Toolkit */
.dv-hero {
  padding: 48px 0 20px;
  background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}
.dv-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.dv-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #10172f;
  letter-spacing: -0.02em;
}
.dv-hero p {
  margin: 0 auto;
  max-width: 720px;
  color: #5c6478;
  font-size: 17px;
  line-height: 1.7;
}
.dv-wrap { padding: 24px 0 64px; background: #f7f8fc; }
.dv-card {
  background: #fff;
  border: 1px solid #e8ebf5;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(17, 24, 47, 0.06);
  box-sizing: border-box;
}
.dv-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #1b5e20;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}
.dv-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
  align-items: start;
}
.dv-layout-solo { grid-template-columns: 1fr; }
.dv-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #10172f;
  margin-bottom: 8px;
}
.dv-textarea, .dv-input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #18213a;
  border: 2px solid #d8deea;
  border-radius: 12px;
  outline: none;
  background: #fafbff;
  box-sizing: border-box;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.dv-textarea { min-height: 200px; resize: vertical; }
.dv-textarea:focus, .dv-input:focus {
  border-color: #E53935;
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.12);
  background: #fff;
}
.dv-sidebar {
  border: 1px solid #e8ebf5;
  border-radius: 14px;
  background: #f7f8fc;
  padding: 14px;
  position: sticky;
  top: 16px;
}
.dv-sidebar h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: #10172f;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.dv-score-label {
  font-size: 13px;
  font-weight: 800;
  color: #10172f;
  margin-bottom: 10px;
}
.dv-side-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #e8ebf5;
  font-size: 13px;
}
.dv-side-row span { color: #5c6478; font-weight: 600; }
.dv-side-row b { color: #E53935; font-weight: 800; word-break: break-all; text-align: right; }
.dv-warnings {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 600;
  color: #ef6c00;
}
.dv-warnings ul { margin: 6px 0 0; padding-left: 18px; }
.dv-warnings .ok { color: #2e7d32; }
.dv-badges {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: #2e7d32;
  line-height: 1.8;
}
.dv-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; align-items: center; }
.dv-btn {
  appearance: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 16px;
  color: #fff !important;
  line-height: 1.2;
  text-decoration: none !important;
  display: inline-block;
}
.dv-btn:hover { opacity: .92; }
.dv-btn:disabled { opacity: .55; cursor: not-allowed; }
.dv-btn-primary { background: linear-gradient(135deg, #ef5350, #c62828); }
.dv-btn-blue { background: #1565c0; }
.dv-btn-gray { background: #455a64; }
.dv-btn-dark { background: #10172f; }
.dv-btn-outline {
  background: #fff;
  color: #10172f !important;
  border: 1.5px solid #cfd5e6;
}
.dv-section { margin-top: 18px; }
.dv-section h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: #10172f;
}
.dv-options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.dv-field { margin-bottom: 12px; }
.dv-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #384057;
  margin-bottom: 6px;
}
.dv-field select,
.dv-field input[type="text"],
.dv-field input[type="number"],
.dv-field input[type="password"],
.dv-field textarea {
  width: 100%;
  border: 1.5px solid #d8deea;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #18213a;
  background: #fff;
  box-sizing: border-box;
}
.dv-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 8px;
}
.dv-checks label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #18213a;
  cursor: pointer;
}
.dv-results {
  border: 1px solid #e8ebf5;
  border-radius: 12px;
  background: #fafbff;
  max-height: 560px;
  overflow: auto;
}
.dv-result-text {
  margin: 0;
  padding: 14px;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  color: #18213a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.dv-table-wrap { overflow: auto; max-height: 480px; }
.dv-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
}
.dv-table th, .dv-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #eef1f8;
  border-right: 1px solid #eef1f8;
  white-space: nowrap;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dv-table th {
  background: #fff;
  color: #5c6478;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 2;
  resize: horizontal;
  overflow: auto;
  min-width: 80px;
}
.dv-table .dv-rn {
  position: sticky;
  left: 0;
  background: #f7f8fc;
  z-index: 1;
  font-weight: 700;
  color: #5c6478;
}
.dv-table th.dv-rn { z-index: 3; }
.dv-table-dark {
  background: #1a1f2e;
  color: #e8ebf5;
}
.dv-table-dark th, .dv-table-dark td { border-color: #2a3145; }
.dv-table-dark th, .dv-table-dark .dv-rn { background: #121722; color: #9aa3b8; }
.dv-ok { color: #2e7d32; font-weight: 800; }
.dv-bad { color: #c62828; font-weight: 800; }
.dv-warn { color: #ef6c00; font-weight: 800; }
.dv-status {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #10172f;
  min-height: 22px;
}
.dv-drop-hint {
  margin-top: 8px;
  font-size: 12px;
  color: #5c6478;
  font-weight: 600;
}
.dv-cta {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #ffe0b2;
  background: linear-gradient(135deg, #fff8e1, #fff);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.dv-cta strong { display: block; color: #10172f; font-size: 15px; margin-bottom: 4px; }
.dv-cta span { color: #5c6478; font-size: 13px; font-weight: 600; }
.dv-sql-kw { color: #1565c0; font-weight: 700; }
.dv-sql-fn { color: #6a1b9a; }
.dv-sql-str { color: #2e7d32; }
.dv-sql-cm { color: #78909c; font-style: italic; }
.dv-sql-num { color: #ef6c00; }
.dv-pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; font-size: 13px; font-weight: 600; }
@media (max-width: 991px) {
  .dv-layout { grid-template-columns: 1fr; }
  .dv-sidebar { position: static; }
  .dv-options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .dv-options-grid { grid-template-columns: 1fr; }
  .dv-btn { width: 100%; text-align: center; }
}
