/* Additions for structured-data output; v1 screen and print rules remain canonical. */

.output-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  max-width: 34rem;
}

.output-summary div {
  border-left: 2px solid var(--accent, #9ab8d8);
  padding: 0.25rem 0.75rem;
}

.output-summary dt {
  color: var(--heading, #f2f5f9);
  font-size: 1.3rem;
  font-weight: 700;
}

.output-summary dd {
  margin: 0.1rem 0 0;
  font-size: 0.85rem;
}

.output-summary-hero {
  margin-top: 1rem;
}

.record-link {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.78rem;
  white-space: nowrap;
}

.verification-inline {
  margin-top: 0.35rem;
  font-size: 0.85rem;
}

.institution-link {
  color: inherit;
}

.record-layout {
  width: min(100% - 2rem, 58rem);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.publication-record {
  min-width: 0;
}

.publication-record > section {
  margin-top: 2rem;
}

.record-citation {
  overflow-wrap: anywhere;
}

.record-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.record-facts div {
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.record-facts dt {
  color: var(--muted, #aeb9c8);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.record-facts dd {
  margin: 0.2rem 0 0;
}

.verification-list,
.related-list {
  padding-left: 1.25rem;
}

.export-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.topic-list {
  justify-content: flex-start;
}

@media (max-width: 560px) {
  .output-summary,
  .record-facts {
    grid-template-columns: 1fr;
  }

  .record-link {
    margin-left: 0;
  }
}

@media print {
  .record-link,
  .export-links,
  .verification-inline {
    display: none !important;
  }

  .output-summary {
    max-width: none;
    break-inside: avoid;
  }

  .output-summary div {
    border-left-color: #555;
  }

  .output-summary dt {
    color: #111;
  }

  .record-layout {
    width: auto;
    padding: 0;
  }

  .record-facts {
    border-top-color: #aaa;
  }

  .record-facts div {
    border-bottom-color: #aaa;
  }
}

/* Local verification of canonical CV PDF releases. */
.page-hero {
  padding: clamp(3.5rem, 8vw, 6rem) max(1.25rem, calc((100% - var(--content-width)) / 2));
  background: var(--navy-900);
  color: var(--white);
}

.page-hero h1 {
  max-width: 18ch;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
}

.page-hero .eyebrow {
  margin-bottom: 1.2rem;
}

.page-lede {
  max-width: 60ch;
  margin-bottom: 0;
  color: #c8d3df;
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.verify-shell {
  width: min(100% - 2.5rem, 54rem);
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.verify-panel {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: var(--paper-light);
  box-shadow: 0 1rem 2.5rem rgba(8, 19, 33, 0.06);
}

.verify-panel > h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
}

.verify-dropzone {
  position: relative;
  min-height: 10rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  display: grid;
  place-content: center;
  gap: 0.35rem;
  border: 2px dashed var(--line-dark);
  border-radius: var(--radius);
  background: #f7f8f7;
  text-align: center;
  cursor: pointer;
}

.verify-dropzone:hover,
.verify-dropzone.is-dragover {
  border-style: solid;
  background: #eef2f5;
}

.verify-dropzone:focus-within {
  outline: 3px solid #f4c45e;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--navy-950);
}

.verify-dropzone__label {
  color: var(--navy-900);
  font-weight: 750;
}

.verify-dropzone__hint {
  color: var(--muted);
  font-size: 0.86rem;
}

.verify-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.verify-notice,
.verify-privacy-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.verify-notice {
  margin-top: 1rem;
}

.verify-result {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--line-dark);
  background: #f1f3f3;
}

.verify-result[data-state="current"] {
  border-left-color: #426a50;
  background: #eef4ef;
}

.verify-result[data-state="superseded"] {
  border-left-color: #8a6a30;
  background: #f6f1e8;
}

.verify-result[data-state="error"],
.verify-result[data-state="no-match"] {
  border-left-color: #7d4b4b;
  background: #f6eeee;
}

.verify-result__title {
  margin-bottom: 0.35rem;
  color: var(--navy-900);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.2;
}

.verify-result > p:last-of-type {
  margin-bottom: 0;
}

.verify-details {
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.verify-details div {
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.verify-details dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.verify-details dd {
  margin: 0.18rem 0 0;
  overflow-wrap: anywhere;
}

.verify-privacy-note {
  margin: 1.15rem 0 0;
}

@media (max-width: 560px) {
  .page-hero,
  .verify-shell {
    padding-inline: 1.15rem;
  }

  .verify-shell {
    width: 100%;
  }

  .verify-details {
    grid-template-columns: 1fr;
  }
}

@media print {
  .verify-dropzone,
  .verify-notice {
    display: none !important;
  }

  .page-hero,
  .verify-panel,
  .verify-result {
    background: #fff !important;
    color: #111 !important;
    box-shadow: none;
  }

  .page-hero {
    padding: 0 0 5mm;
  }

  .page-hero h1,
  .page-lede {
    color: #111 !important;
  }

  .verify-shell {
    width: auto;
    padding: 0;
  }
}
