.deep-hero {
  padding-bottom: 54px;
}

.deep-workspace {
  align-items: start;
}

.deep-config-card,
.deep-result-card {
  min-height: 900px;
}

.test-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.test-map li {
  min-width: 0;
  padding: 13px 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.43);
}

.test-map span,
.test-map strong,
.test-map small {
  display: block;
}

.test-map span {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
}

.test-map strong {
  margin-top: 12px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.test-map small {
  margin-top: 6px;
  overflow: hidden;
  color: var(--faint);
  font-size: 9px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deep-config-card form {
  margin-top: 34px;
}

.progress-track {
  height: 4px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(17, 24, 20, 0.08);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 260ms ease;
}

.deep-check-list {
  margin-top: 12px;
}

.deep-check-list .check-row {
  min-height: 66px;
}

.deep-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cost-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.6;
}

.deep-scope {
  max-width: none;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.scope-grid p {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.38);
}

.scope-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 13px;
}

@media (max-width: 980px) {
  .deep-config-card,
  .deep-result-card {
    min-height: 0;
  }

  .test-map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .test-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deep-metrics,
  .scope-grid {
    grid-template-columns: 1fr;
  }

  .deep-metrics {
    gap: 8px;
  }

  .deep-metrics .metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .deep-metrics .metric strong {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .progress-track span {
    transition: none;
  }
}
