/**
 * DT11 — Lab Results / COA (list + detail).
 * Visual target: peptidesupplyco.com/lab-results
 */

/* ========== List page ========== */
.dt11-coa-page {
  padding: var(--section-y, 40px) 0 72px;
}
.dt11-coa-page__inner {
  width: min(720px, calc(100% - 2 * var(--gutter, 16px)));
  margin: 0 auto;
}

.dt11-coa-hero {
  text-align: center;
  margin-bottom: 40px;
}
.dt11-coa-hero__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--dt11-ink, #1f2328);
}
.dt11-coa-hero__intro {
  margin: 0 auto;
  max-width: 32rem;
  font-size: 15px;
  line-height: 1.65;
  color: var(--dt11-muted, #6b7280);
}

.dt11-coa-search-wrap {
  position: relative;
  max-width: 36rem;
  margin: 0 auto 40px;
}
.dt11-coa-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 0 16px 0 48px;
  border: 1px solid var(--dt11-line, #e5e7eb);
  border-radius: var(--dt11-radius-sm, 12px);
  background: #fff;
  color: var(--dt11-ink-400, #9aa0a6);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.dt11-coa-search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  pointer-events: none;
}
.dt11-coa-search:focus-within {
  border-color: var(--dt11-primary, #0091c5);
  box-shadow: 0 0 0 3px rgba(0, 145, 197, .12);
}
.dt11-coa-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 14px 0;
  font: inherit;
  font-size: 15px;
  color: var(--dt11-ink, #1f2328);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.dt11-coa-search input::-webkit-search-cancel-button {
  cursor: pointer;
}

.dt11-coa-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dt11-coa-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--dt11-line, #e5e7eb);
  border-radius: 16px;
  background: #fff;
  transition: box-shadow .18s ease;
}
.dt11-coa-row:hover {
  box-shadow: var(--dt11-shadow-sm, 0 1px 3px rgba(0, 0, 0, .1));
}
.dt11-coa-row.is-hidden {
  display: none;
}

.dt11-coa-row__thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--dt11-radius-xs, 8px);
  background: var(--dt11-soft, #f6f6f6);
}
.dt11-coa-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.dt11-coa-row__thumb-fallback {
  font-size: 20px;
  font-weight: 700;
  color: var(--dt11-ink-400, #9aa0a6);
}

.dt11-coa-row__body {
  flex: 1 1 auto;
  min-width: 0;
}
.dt11-coa-row__title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.dt11-coa-row__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dt11-ink, #1f2328);
}
.dt11-coa-row__pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--dt11-radius-pill, 999px);
  background: var(--dt11-soft, #f6f6f6);
  color: var(--dt11-ink-nav, #3d434a);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.dt11-coa-row__meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--dt11-muted, #6b7280);
}
.dt11-coa-row__purity {
  color: var(--dt11-accent, #56ac45);
  font-weight: 600;
}
.dt11-coa-row__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.dt11-coa-row__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dt11-primary, #0091c5);
  text-decoration: none;
}
.dt11-coa-row__link:hover {
  text-decoration: underline;
}
.dt11-coa-row__link svg {
  flex-shrink: 0;
}
.dt11-coa-row__count {
  font-size: 12px;
  color: var(--dt11-ink-400, #9aa0a6);
}

.dt11-coa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: var(--dt11-radius-pill, 999px);
  border: 1.5px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: var(--dt11-primary, #0091c5);
  color: #fff;
  transition: filter .15s ease, background .15s ease, color .15s ease;
}
.dt11-coa-btn:hover {
  filter: brightness(.94);
  color: #fff;
}
.dt11-coa-btn--ghost {
  background: #fff;
  border-color: var(--dt11-line, #e5e7eb);
  color: var(--dt11-ink, #1f2328);
  filter: none;
}
.dt11-coa-btn--ghost:hover {
  background: var(--dt11-soft, #f6f6f6);
  color: var(--dt11-ink, #1f2328);
  filter: none;
}

.dt11-coa-empty {
  padding: 44px 28px;
  border: 1px dashed #cfd8e5;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.dt11-coa-empty h2 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--dt11-ink, #1f2328);
}
.dt11-coa-empty p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--dt11-muted, #6b7280);
}
.dt11-coa-empty--filter {
  margin-top: 8px;
}

.dt11-coa-content {
  margin-top: 32px;
  color: var(--dt11-ink, #1f2328);
}

/* ========== Detail page (.dt11-lrd) ========== */
.dt11-lrd {
  padding: var(--section-y, 40px) 0 72px;
}
.dt11-lrd__inner {
  width: min(960px, calc(100% - 2 * var(--gutter, 16px)));
  margin: 0 auto;
}
.dt11-lrd__inner--center {
  text-align: center;
  padding: 64px 0;
}
.dt11-lrd__notfound {
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--dt11-muted, #6b7280);
}

.dt11-lrd__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dt11-muted, #6b7280);
  text-decoration: none;
}
.dt11-lrd__back:hover {
  color: var(--dt11-primary, #0091c5);
}

.dt11-lrd__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.dt11-lrd__media {
  aspect-ratio: 1;
  border-radius: 20px;
  background: var(--dt11-soft, #f6f6f6);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.dt11-lrd__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.dt11-lrd__media-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
  color: var(--dt11-muted, #6b7280);
}
.dt11-lrd__media-fallback strong {
  font-size: 22px;
  color: var(--dt11-ink, #1f2328);
}

.dt11-lrd__kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dt11-muted, #6b7280);
}
.dt11-lrd__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--dt11-ink, #1f2328);
}
.dt11-lrd__pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: var(--dt11-radius-pill, 999px);
  background: var(--dt11-soft, #f6f6f6);
  color: var(--dt11-ink-nav, #3d434a);
  font-size: 13px;
  font-weight: 600;
}
.dt11-lrd__desc {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--dt11-muted, #6b7280);
}

.dt11-lrd__variants {
  margin-bottom: 20px;
}
.dt11-lrd__variants-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dt11-muted, #6b7280);
}
.dt11-lrd__variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dt11-lrd__variant {
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--dt11-line, #e5e7eb);
  border-radius: 10px;
  background: #fff;
  color: var(--dt11-ink, #1f2328);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.dt11-lrd__variant:hover {
  border-color: var(--dt11-primary, #0091c5);
}
.dt11-lrd__variant.is-active {
  border-color: var(--dt11-primary, #0091c5);
  background: var(--dt11-primary-50, #e6f4f9);
  color: var(--dt11-primary, #0091c5);
}

.dt11-lrd__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.dt11-lrd__stat {
  padding: 14px 12px;
  border: 1px solid var(--dt11-line, #e5e7eb);
  border-radius: 12px;
  background: #fff;
  text-align: center;
}
.dt11-lrd__stat-label {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dt11-muted, #6b7280);
}
.dt11-lrd__stat-value {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--dt11-ink, #1f2328);
  word-break: break-word;
}
.dt11-lrd__stat-value--green {
  color: var(--dt11-accent, #56ac45);
}
.dt11-lrd__stat-value--sm {
  font-size: 14px;
}

.dt11-lrd__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dt11-lrd__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: var(--dt11-radius-pill, 999px);
  border: 1.5px solid transparent;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.dt11-lrd__btn--primary {
  background: var(--dt11-primary, #0091c5);
  border-color: var(--dt11-primary, #0091c5);
  color: #fff;
}
.dt11-lrd__btn--primary:hover {
  filter: brightness(.94);
  color: #fff;
}
.dt11-lrd__btn--outline {
  background: #fff;
  border-color: var(--dt11-line, #e5e7eb);
  color: var(--dt11-ink, #1f2328);
}
.dt11-lrd__btn--outline:hover {
  border-color: var(--dt11-primary, #0091c5);
  color: var(--dt11-primary, #0091c5);
}

/* Tabs */
.dt11-lrd__tabs {
  margin-top: 8px;
}
.dt11-lrd__tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  border-bottom: 1px solid var(--dt11-line, #e5e7eb);
  margin-bottom: 28px;
}
.dt11-lrd__tab {
  position: relative;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--dt11-muted, #6b7280);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.dt11-lrd__tab.is-active {
  color: var(--dt11-primary, #0091c5);
}
.dt11-lrd__tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--dt11-primary, #0091c5);
  border-radius: 2px 2px 0 0;
}
.dt11-lrd__panel[hidden] {
  display: none;
}
.dt11-lrd__panel-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--dt11-ink, #1f2328);
}
.dt11-lrd__rule {
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 20px;
  border-radius: 2px;
  background: var(--dt11-accent, #56ac45);
}

.dt11-lrd__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--dt11-line, #e5e7eb);
  border-radius: 14px;
  background: #fff;
}
.dt11-lrd__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.dt11-lrd__table th,
.dt11-lrd__table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--dt11-line, #e5e7eb);
  text-align: left;
  vertical-align: top;
}
.dt11-lrd__table tr:last-child th,
.dt11-lrd__table tr:last-child td {
  border-bottom: 0;
}
.dt11-lrd__table th {
  width: 38%;
  font-weight: 600;
  color: var(--dt11-muted, #6b7280);
  background: #fafafa;
}
.dt11-lrd__table td {
  color: var(--dt11-ink, #1f2328);
  font-weight: 500;
}
.dt11-lrd__value--green {
  color: var(--dt11-accent, #56ac45);
  font-weight: 700;
}
.dt11-lrd__badge-warn {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  background: #fff4e5;
  color: #9a5b00;
  font-size: 13px;
  font-weight: 600;
}
.dt11-lrd__note {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--dt11-secondary-50, #eaf5e7);
  color: var(--dt11-secondary-600, #438a37);
  font-size: 13px;
  font-weight: 600;
}
.dt11-lrd__muted {
  color: var(--dt11-muted, #6b7280);
  font-size: 14px;
}

.dt11-lrd__callout {
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--dt11-soft, #f6f6f6);
  margin-bottom: 24px;
}
.dt11-lrd__callout h3,
.dt11-lrd__callout h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--dt11-ink, #1f2328);
}
.dt11-lrd__callout p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--dt11-muted, #6b7280);
}
.dt11-lrd__callout--warm {
  background: #fff8ef;
}
.dt11-lrd__subhead {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--dt11-ink, #1f2328);
}
.dt11-lrd__methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.dt11-lrd__method {
  padding: 18px;
  border: 1px solid var(--dt11-line, #e5e7eb);
  border-radius: 14px;
  background: #fff;
}
.dt11-lrd__method h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--dt11-ink, #1f2328);
}
.dt11-lrd__method p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--dt11-muted, #6b7280);
}

.dt11-lrd__pdf {
  border: 1px solid var(--dt11-line, #e5e7eb);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.dt11-lrd__pdf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--dt11-line, #e5e7eb);
  font-size: 13px;
  color: var(--dt11-muted, #6b7280);
}
.dt11-lrd__pdf-head a {
  color: var(--dt11-primary, #0091c5);
  font-weight: 600;
  text-decoration: none;
}
.dt11-lrd__pdf-head a:hover {
  text-decoration: underline;
}
.dt11-lrd__pdf iframe {
  display: block;
  width: 100%;
  height: min(72vh, 820px);
  border: 0;
  background: #eef1f5;
}
.dt11-lrd__pdf-empty {
  padding: 40px 24px;
  text-align: center;
  border: 1px dashed #cfd8e5;
  border-radius: 14px;
}

.dt11-lrd__history-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.dt11-lrd__history-variant {
  padding: 4px 10px;
  border-radius: var(--dt11-radius-pill, 999px);
  background: var(--dt11-soft, #f6f6f6);
  font-size: 12px;
  font-weight: 600;
  color: var(--dt11-ink-nav, #3d434a);
}
.dt11-lrd__history {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dt11-lrd__history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--dt11-line, #e5e7eb);
  border-radius: 14px;
  background: #fff;
}
.dt11-lrd__history-row.is-current {
  border-color: rgba(86, 172, 69, .45);
  background: #f7fcf5;
}
.dt11-lrd__history-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.dt11-lrd__history-purity {
  flex-shrink: 0;
  min-width: 64px;
  font-size: 16px;
  font-weight: 700;
  color: var(--dt11-accent, #56ac45);
}
.dt11-lrd__history-batch {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dt11-ink, #1f2328);
}
.dt11-lrd__history-meta {
  margin: 0;
  font-size: 12px;
  color: var(--dt11-muted, #6b7280);
}
.dt11-lrd__history-pill {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--dt11-soft, #f6f6f6);
  font-weight: 600;
}
.dt11-lrd__history-side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.dt11-lrd__current {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--dt11-accent, #56ac45);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
}
.dt11-lrd__pdf-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--dt11-primary, #0091c5);
  text-decoration: none;
}
.dt11-lrd__pdf-link:hover {
  text-decoration: underline;
}

/* ========== FAQ (shared sheet) ========== */
.dt11-faq-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}
.dt11-faq-item {
  border: 1px solid var(--dt11-line, #e5e7eb);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.dt11-faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--dt11-primary, #0091c5);
  list-style: none;
}
.dt11-faq-item summary::-webkit-details-marker {
  display: none;
}
.dt11-faq-item summary::after {
  content: '+';
  float: right;
  font-weight: 800;
  color: var(--dt11-accent, #56ac45);
}
.dt11-faq-item[open] summary::after {
  content: '−';
}
.dt11-faq-item__body {
  padding: 0 20px 18px;
  color: var(--dt11-ink, #1f2328);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .dt11-lrd__hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .dt11-lrd__media {
    max-width: 360px;
    margin: 0 auto;
  }
  .dt11-lrd__methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dt11-coa-page {
    padding: 28px 0 56px;
  }
  .dt11-coa-page__inner {
    width: calc(100% - 2 * var(--gutter, 16px));
  }
  .dt11-coa-hero {
    margin-bottom: 28px;
  }
  .dt11-coa-search-wrap {
    margin-bottom: 28px;
  }
  .dt11-coa-row {
    align-items: flex-start;
    padding: 16px;
  }
  .dt11-coa-row__thumb {
    width: 56px;
    height: 56px;
  }
  .dt11-lrd__stats {
    grid-template-columns: 1fr;
  }
  .dt11-lrd__cta .dt11-lrd__btn {
    width: 100%;
  }
  .dt11-lrd__history-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .dt11-lrd__tablist {
    gap: 4px 16px;
  }
}
