/* See through my eyes (DEC-040). The picture stays in view while choosing: at the top on phones, beside the
   choices on wide screens. */
.see {
  display: grid;
  gap: 20px;
  padding-block: 12px 48px;
}
.see-head h1 {
  font-size: clamp(2rem, 7vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.see-lead {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 1.125rem;
}
.see-view {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding-block: 8px;
  background: var(--color-page);
}
.see-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 55vh;
  max-height: 55svh;
  object-fit: contain;
  border-radius: 20px;
  background: var(--color-mist);
}
.see-credit {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  color: var(--color-muted);
  font-size: 0.875rem;
}
.see-compare {
  min-height: 48px;
  padding-block: 8px;
}
.see-compare[aria-pressed='true'] {
  background: var(--color-graphite);
  color: #fff;
}
.see-controls {
  display: grid;
  gap: 24px;
}
.see-group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.see-group legend {
  padding: 0;
  margin-bottom: 10px;
  font-weight: 700;
}
.see-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.see-chips-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.see-chip {
  position: relative;
  display: flex;
}
.see-chip span {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 12px;
  border: 2px solid var(--color-line);
  border-radius: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}
.see-chip input:checked + span {
  background: var(--color-graphite);
  border-color: var(--color-graphite);
  color: #fff;
}
.see-chip input:focus-visible + span {
  outline: 3px solid var(--color-graphite);
  outline-offset: 3px;
}
.see-about {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-radius: 20px;
  background: var(--color-mist);
}
.see-about h2 {
  font-size: 1.375rem;
  line-height: 1.2;
}
.see-about p:last-child {
  color: var(--color-muted);
}
.see-sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.see-source {
  min-height: 52px;
  padding: 8px 10px;
  font-size: 1rem;
}
.see-source[aria-pressed='true'],
.see-photo.is-on {
  background: var(--color-graphite);
  color: #fff;
}
.see-photo {
  position: relative;
  overflow: hidden;
}
.see-photo:focus-within {
  outline: 3px solid var(--color-graphite);
  outline-offset: 3px;
}
/* The real file picker covers the whole button, so it is the thing tapped. */
.see-file {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.see-error {
  margin-top: 10px;
  font-weight: 600;
}

@media (min-width: 900px) {
  .see {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
    column-gap: 40px;
    max-width: var(--page-max);
  }
  .see-head {
    grid-column: 1 / -1;
  }
  .see-view {
    top: 16px;
  }
}
