.identifier-page {
  --identifier-soft: #eef6fa;
  --identifier-line: #cbdde8;
}

.identifier-hero { padding-block: clamp(.5rem, 2vw, 1.4rem) .75rem; }
.identifier-hero p { max-width: 48rem; }

.identifier-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(.75rem, 2vw, 1.15rem);
  align-items: start;
}

.identifier-page button[hidden],
.identifier-page section[hidden],
.identifier-page figure[hidden],
.identifier-page label[hidden] { display: none; }

.identifier-detect { padding: clamp(1rem, 3vw, 1.65rem); }
.identifier-detect h2, .identifier-guide h2, .identifier-lookup h2 { margin-top: 0; }

.identifier-save input { accent-color: var(--display-accent); margin: 0; flex: none; }
.identifier-text-link { align-self: center; font-size: .91rem; }
.identifier-guide, .identifier-lookup { scroll-margin-top: 5rem; }

.identifier-guide ol { margin: .7rem 0 1rem; padding-inline-start: 1.35rem; }
.identifier-guide li { padding-inline-start: .25rem; margin-block: .48rem; }
.identifier-picker { margin: 0; }
.identifier-picker img { display: block; max-width: 100%; height: auto; border-radius: .6rem; border: 1px solid var(--identifier-line); }
.identifier-picker figcaption { color: var(--display-muted); font-size: .77rem; margin-top: .45rem; }

.identifier-save { display: flex; align-items: baseline; gap: .45rem; margin-top: 1rem; font-size: .86rem; font-weight: 700; }
.identifier-detect .identifier-privacy { font-size: .8rem; line-height: 1.5; margin: .35rem 0 0; }
.identifier-status:not(:empty), .identifier-report-status:not(:empty) { margin: .8rem 0 0; }
.identifier-status:empty, .identifier-report-status:empty { display: none; }
.identifier-support { margin-top: .8rem; }

.identifier-lookup, .identifier-more { margin-top: 1.1rem; }
.identifier-more > p { margin: .85rem 0; }
.identifier-form { display: flex; flex-wrap: wrap; align-items: end; gap: .55rem; }
.identifier-form > div { flex: 1 1 min(100%, 20rem); min-width: 0; }
.identifier-form label { display: block; margin-bottom: .25rem; font-weight: 650; }
.identifier-form input { width: 100%; margin-bottom: 0; }
.identifier-form button { min-height: 2.6rem; }

.identifier-result {
  overflow-wrap: anywhere;
  border-top: 1px solid var(--identifier-line);
  margin-top: 1.1rem;
  padding-top: .9rem;
}
.identifier-result h3 { font-size: 1.15rem; margin: 0 0 .3rem; }
.identifier-result dl { display: grid; grid-template-columns: minmax(4.5rem, max-content) minmax(0, 1fr); gap: .4rem 1rem; margin: .8rem 0 1rem; }
.identifier-result dt { font-weight: 700; }
.identifier-result dd { margin: 0; }
.identifier-result details { border-top: 1px solid var(--identifier-line); margin-top: .8rem; padding-top: .65rem; }
.identifier-result summary { cursor: pointer; font-weight: 650; }
.identifier-result pre {
  max-height: 24rem;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid var(--identifier-line);
  border-radius: .45rem;
  background: var(--identifier-soft);
  color: var(--display-ink);
  padding: .8rem;
  font-size: .78rem;
}
.identifier-result .display-button--primary { color: #fff; }
.identifier-result + .identifier-report-status { font-size: .82rem; }
#identifier-retry:not([hidden]) { margin-top: .45rem; }

@media (max-width: 46rem) {
  .identifier-workspace { grid-template-columns: minmax(0, 1fr); }
  .identifier-result dl { grid-template-columns: minmax(5.4rem, .72fr) minmax(0, 1fr); gap: .35rem .55rem; font-size: .92rem; }
}
