/* =============================================================================
   ds-validate.css, 1 Oct 2026.

   Two things the owner asked for on the same day:
     ds-shero-  Resources → Reports opens on its sample documents (DocPage
                SamplesHero): heading and copy, both documents side by side,
                and what each holds underneath.
     vc-        Resources → Validate Certificate, public behind an email code
                (components/validate/CertificateCheck.tsx).
   Every selector carries one of those prefixes, so nothing else is reached.
   Square corners, as the rest of the site since ds-snap.
   ============================================================================= */

/* ── Reports: the samples as the hero ─────────────────────────────────────── */

.ds-shero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 56px;
  padding: 56px 0 36px;
}
.ds-shero-text {
  max-width: 62ch;
  margin-top: 18px;
}
.ds-shero-text .ds-dp {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.7;
  color: #3d424d;
}
.ds-shero-note {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ds-muted);
}
.ds-shero-note i {
  color: var(--ds-teal);
}

.ds-shero-docs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}
.ds-shero-doc {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  margin: 0;
}
.ds-shero-doc .ds-sample-sheet {
  background: #fff;
}
.ds-shero-doc figcaption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.ds-shero-doc figcaption b {
  font-size: 17px;
  line-height: 1.3;
  color: var(--ds-ink);
}
.ds-shero-doc .ds-sample-result {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}
.ds-shero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  font-size: 13.5px;
}
.ds-shero-links a {
  color: var(--ds-teal-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ds-shero-links span {
  color: var(--ds-muted);
}

.ds-shero-lists {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 22px;
  padding: 0 0 56px;
}
.ds-shero-list {
  padding: 24px 26px;
  border: 1px solid #cfdfdc;
  background: #fff;
}
.ds-shero-eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ds-teal);
}
.ds-shero-list h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.3;
}
.ds-shero-list h2 i {
  color: var(--ds-teal);
}
.ds-shero-list .ds-dlist {
  gap: 8px 26px;
}
.ds-shero-list:first-child .ds-dlist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ds-shero-list .ds-dlist li {
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.45;
}
.ds-shero-list .ds-dlist li > i {
  margin-top: 3px;
  font-size: 12px;
  color: var(--ds-teal);
}

@media (max-width: 1199px) {
  .ds-shero-grid {
    gap: 36px;
  }
}
@media (max-width: 991px) {
  .ds-shero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 40px 0 28px;
  }
  .ds-shero-lists {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 40px;
  }
}
@media (max-width: 575px) {
  .ds-shero-text .ds-dp {
    font-size: 16px;
  }
  .ds-shero-docs {
    gap: 12px;
  }
  .ds-shero-doc figcaption b {
    font-size: 15px;
  }
  .ds-shero-doc .ds-sample-result,
  .ds-shero-links {
    font-size: 12.5px;
  }
  .ds-shero-doc .ds-sample-sheet {
    padding: 6px;
  }
  .ds-shero-doc .ds-sample-open {
    left: 6px;
    bottom: 6px;
    padding: 6px 8px;
    font-size: 11.5px;
  }
  .ds-shero-list {
    padding: 18px;
  }
  .ds-shero-list:first-child .ds-dlist {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── Validate Certificate ─────────────────────────────────────────────────── */

.vc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  gap: 32px;
}

.vc-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.vc-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ds-muted);
}
.vc-steps li + li::before {
  content: "";
  width: 26px;
  height: 1px;
  background: #cfdfdc;
}
.vc-step-no {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #cfdfdc;
  border-radius: 50%;
  background: #fff;
  font-size: 13px;
}
.vc-steps li.is-now {
  color: var(--ds-ink);
}
.vc-steps li.is-now .vc-step-no {
  border-color: var(--ds-teal);
  background: var(--ds-teal);
  color: #fff;
}
.vc-steps li.is-done .vc-step-no {
  border-color: var(--ds-teal);
  background: var(--ds-teal-wash);
  color: var(--ds-teal-deep);
}

.vc-card {
  padding: 32px 34px;
  border: 1px solid #cfdfdc;
  background: #fff;
  box-shadow: 0 18px 40px rgba(12, 40, 36, 0.06);
}
.vc-title {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.3;
}
.vc-text {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.65;
  color: #3d424d;
}
.vc-row {
  margin-bottom: 16px;
}
.vc-gap {
  margin-bottom: 18px;
}
.vc-code input {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 22px;
  letter-spacing: 0.35em;
}
.vc-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.vc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.vc-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ds-teal-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.vc-link[disabled] {
  color: var(--ds-muted);
  text-decoration: none;
  cursor: default;
}

.vc-who,
.vc-alert,
.vc-qr {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin: 0 0 18px;
  padding: 12px 14px;
  font-size: 14.5px;
  line-height: 1.5;
}
.vc-who {
  border: 1px solid #cfe9e4;
  background: var(--ds-teal-wash);
  color: var(--ds-ink);
}
.vc-who i {
  color: var(--ds-teal);
}
.vc-who span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.vc-who .vc-link {
  margin-left: auto;
}
.vc-alert.is-bad {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}
.vc-alert.is-info {
  border: 1px solid #cfe9e4;
  background: var(--ds-teal-wash);
  color: var(--ds-teal-deep);
}
/* Block, not flex: its sentence has a bold ID in the middle, and flex would
   make each text run a separate item and break the line around it. */
.vc-qr {
  display: block;
  border: 1px dashed #b9d8d3;
  background: #f8fafc;
  color: var(--ds-ink);
}
.vc-qr i {
  margin-right: 6px;
  color: var(--ds-teal);
}

.vc-verdict {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding: 18px 20px;
}
.vc-verdict > i {
  font-size: 32px;
  line-height: 1;
}
.vc-verdict h2 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.3;
}
.vc-verdict p {
  margin: 0;
  line-height: 1.6;
  color: #3d424d;
}
.vc-result.is-ok .vc-verdict {
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
}
.vc-result.is-ok .vc-verdict > i {
  color: #059669;
}
.vc-result.is-warn .vc-verdict {
  border: 1px solid #fde68a;
  background: #fffbeb;
}
.vc-result.is-warn .vc-verdict > i {
  color: #d97706;
}
.vc-result.is-bad .vc-verdict {
  border: 1px solid #fecaca;
  background: #fef2f2;
}
.vc-result.is-bad .vc-verdict > i {
  color: #dc2626;
}
.vc-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 22px;
  border: 1px solid #e5eeec;
  background: #e5eeec;
}
.vc-facts div {
  min-width: 0;
  padding: 12px 14px;
  background: #fff;
}
.vc-facts dt {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ds-muted);
}
.vc-facts dd {
  margin: 0;
  font-weight: 600;
  color: var(--ds-ink);
  overflow-wrap: anywhere;
}

.vc-aside {
  display: grid;
  gap: 20px;
}
.vc-panel {
  padding: 24px;
  border: 1px solid #cfe9e4;
  background: var(--ds-teal-wash);
}
.vc-panel h2 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
}
.vc-panel p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
  color: #3d424d;
}
.vc-more {
  font-weight: 600;
  color: var(--ds-teal-deep);
}
.vc-meanings {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vc-meanings li {
  display: grid;
  gap: 2px;
  padding-left: 14px;
  border-left: 3px solid;
  font-size: 14.5px;
  line-height: 1.5;
}
.vc-meanings li.is-ok {
  border-color: #10b981;
}
.vc-meanings li.is-warn {
  border-color: #f59e0b;
}
.vc-meanings li.is-bad {
  border-color: #ef4444;
}
.vc-meanings b {
  color: var(--ds-ink);
}
.vc-meanings span {
  color: #4b5563;
}

@media (max-width: 991px) {
  .vc-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 575px) {
  .vc-card {
    padding: 22px 18px;
  }
  .vc-title {
    font-size: 22px;
  }
  .ds-query-row.vc-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .vc-btn {
    width: 100%;
    justify-content: center;
  }
  .vc-facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .vc-steps {
    gap: 8px;
  }
  .vc-steps li {
    font-size: 12.5px;
  }
  /* On a phone only the current step is named, so the three stay on one line. */
  .vc-steps li:not(.is-now) .vc-step-label {
    display: none;
  }
  .vc-steps li + li::before {
    width: 10px;
  }
  .vc-step-no {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  .vc-verdict > i {
    font-size: 26px;
  }
  .vc-verdict h2 {
    font-size: 20px;
  }
}
.vc-qr b {
  white-space: nowrap;
}


/* rr-real  Resources -> Reports: the latest real certificates, details hidden (1 Oct 2026). */
.rr-real-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.rr-real-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ds-line); color: var(--ds-ink); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.rr-real-card:hover { transform: translateY(-4px); border-color: var(--ds-teal); box-shadow: 0 18px 36px -22px rgba(0, 121, 107, 0.45); }
.rr-real-img { display: block; aspect-ratio: 700 / 990; overflow: hidden; background: #f4f7f6; border-bottom: 1px solid var(--ds-line); }
.rr-real-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rr-real-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.rr-real-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ds-teal-deep); }
.rr-real-body b { font-size: 17px; font-weight: 700; line-height: 1.3; }
.rr-real-body small { font-size: 13.5px; color: var(--ds-muted); line-height: 1.45; }
.rr-real-open { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--ds-teal); display: inline-flex; align-items: center; gap: 7px; }
@media (max-width: 991px) { .rr-real-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .rr-real-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
