.data-main {
  gap: 18px;
}

.data-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 0%, rgba(34, 211, 238, 0.18), transparent 30%),
    linear-gradient(135deg, #ffffff, #f4fbff);
  box-shadow: var(--shadow);
}

.data-eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e9fff6;
  color: #067857;
  font-size: 12px;
  font-weight: 950;
}

.data-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
}

.data-hero h2 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.data-hero p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.55;
}

.data-task-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.data-task-form textarea,
.data-actions select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  color: var(--ink);
  outline: 0;
}

.data-task-form textarea {
  min-height: 126px;
  padding: 16px;
  resize: vertical;
  font-size: 16px;
  line-height: 1.5;
}

.data-actions {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 180px;
  gap: 12px;
}

.data-actions select {
  min-height: 50px;
  padding: 0 14px;
}

.data-actions button {
  min-height: 50px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #10b981, var(--blue));
  color: white;
  font-weight: 950;
}

.data-actions .secondary-action {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.data-current-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.data-current-card > span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: #e9fff6;
  font-size: 24px;
}

.data-current-card b {
  display: block;
  font-size: 20px;
}

.data-current-card p,
.data-current-card dd {
  overflow-wrap: anywhere;
}

.data-current-card p {
  margin: 2px 0 0;
  color: var(--muted);
}

.data-current-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.data-current-card dl div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
}

.data-current-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.data-current-card dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.data-current-card button {
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.data-health-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(16, 185, 129, 0.16);
  border-radius: 24px;
  background: white;
  box-shadow: var(--soft-shadow);
}

.data-health-strip > div,
.data-health-strip article {
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
}

.data-health-strip > div {
  display: grid;
  grid-column: 1 / -1;
  gap: 5px;
  background: linear-gradient(135deg, #ecfdf5, #eff6ff);
}

.data-health-strip > div span {
  font-size: 20px;
}

.data-health-strip p,
.data-health-strip span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.data-health-strip article {
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.data-health-strip strong {
  display: block;
  color: #067857;
  font-size: 24px;
  line-height: 1;
}

.data-health-strip article b {
  display: block;
  margin: 8px 0 4px;
}

.data-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.data-action-group {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 252px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.data-action-group b {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.data-action-group p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.data-action-group > div:last-child {
  display: grid;
  gap: 8px;
}

.data-action-group button,
.data-next-panel button {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.data-action-group button:hover,
.data-next-panel button:hover {
  border-color: rgba(16, 185, 129, 0.48);
  background: #ecfdf5;
}

.data-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.78fr);
  gap: 18px;
}

.data-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.data-insight-grid article {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
}

.data-insight-grid span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 15px;
  background: #e9fff6;
}

.data-insight-grid strong {
  color: #067857;
  font-size: 24px;
  line-height: 1;
}

.data-insight-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.data-result-list {
  display: grid;
  gap: 10px;
}

.data-result-list article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
}

.data-result-list span {
  display: block;
  margin: 4px 0 8px;
  color: #067857;
  font-size: 12px;
  font-weight: 950;
}

.data-result-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.data-quality-panel .profile-row {
  margin-bottom: 8px;
}

.data-next-panel {
  gap: 10px;
}

.data-next-panel button {
  justify-content: center;
  width: 100%;
}

@media (max-width: 1520px) {
  .data-hero,
  .data-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1240px) {
  .data-health-strip,
  .data-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .data-main {
    gap: 14px;
  }

  .data-hero,
  .data-actions,
  .data-health-strip,
  .data-action-grid,
  .data-insight-grid {
    grid-template-columns: 1fr;
  }

  .data-hero {
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
  }

  .data-eyebrow {
    margin-bottom: 10px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .data-hero h2 {
    font-size: 32px;
  }

  .data-hero p {
    font-size: 14px;
    line-height: 1.48;
  }

  .data-task-form {
    gap: 10px;
    margin-top: 16px;
  }

  .data-task-form textarea {
    min-height: 104px;
    padding: 14px;
  }

  .data-actions {
    gap: 10px;
  }

  .data-actions button,
  .data-actions select {
    min-height: 48px;
  }

  .data-current-card,
  .data-action-group,
  .data-health-strip {
    padding: 14px;
  }

  .data-current-card dl {
    grid-template-columns: 1fr;
  }

  .data-current-card {
    gap: 10px;
    border-radius: 20px;
  }

  .data-action-group {
    min-height: auto;
  }
}
