/* ============================================================
   Third-party test report archive (#reports)
   ============================================================ */

/* ---- cards ---- */
.rep-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 30px; }
.rep-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.rep-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(11,132,222,.16); }
.rep-top { padding: 20px 22px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #F7FBFF 0%, #fff 100%); }
/* Each card carries a miniature of the ORIGINAL report's first page —
   accreditation marks, report number and the laboratory seal, at a size
   that stays a thumbnail rather than a second display page. */
.rep-top-flex { display: flex; gap: 18px; align-items: flex-start; }
.rep-top-main { flex: 1; min-width: 0; }
.rep-mini {
  flex: none; width: 92px; position: relative; display: block;
  border-radius: 6px; overflow: hidden; line-height: 0;
  border: 1px solid var(--line); background: #F7FAFD;
  box-shadow: 0 2px 8px rgba(15,42,68,.10);
  transition: transform .25s ease, box-shadow .25s ease;
}
.rep-mini:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(11,132,222,.20);
}
.rep-mini img { display: block; width: 100%; height: auto; }
.rep-mini-badge {
  position: absolute; left: 4px; top: 4px;
  font-size: 8.5px; font-weight: 800; letter-spacing: .2px; line-height: 1.5;
  color: #fff; background: rgba(71,85,105,.88);
  padding: 2px 6px; border-radius: 999px;
}
.rep-mini-badge.cnas { background: rgba(21,128,61,.9); }
.rep-mini-badge.grey { background: rgba(71,85,105,.88); }
.rep-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.rep-tag {
  font-size: 11px; font-weight: 800; letter-spacing: .4px; padding: 4px 11px; border-radius: 999px;
  background: #E3F2FE; color: var(--blue-deep); border: 1px solid #CDE6FB;
}
.rep-tag.cnas { background: #DCFCE7; color: #15803D; border-color: #BBF0CB; }
.rep-tag.grey { background: #F1F5F9; color: #64748B; border-color: #E2E8F0; }
.rep-tag.model { background: #FFF3D6; color: #B45309; border-color: #FBE3AC; }
.rep-org { font-size: 13px; font-weight: 800; color: var(--ink); line-height: 1.45; }
.rep-org-en { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin-top: 3px; }
.rep-title { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.5; margin-top: 12px; }
.rep-title-en { font-size: 12px; color: var(--muted); line-height: 1.55; margin-top: 4px; }
.rep-meta { list-style: none; margin: 14px 0 0; padding: 0; }
.rep-meta li { font-size: 12.5px; color: var(--body); line-height: 1.7; padding-left: 14px; position: relative; }
.rep-meta li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.rep-meta b { color: var(--ink); font-weight: 700; }
.rep-body { padding: 16px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.rep-concl {
  border-left: 3px solid var(--teal); background: var(--bg-softer);
  padding: 11px 14px; font-size: 12.5px; color: var(--body); line-height: 1.75; border-radius: 0 8px 8px 0;
}
.rep-concl b { color: var(--ink); }
.rep-note {
  margin-top: 12px; border: 1px solid #FBE3AC; background: #FFFBEB;
  color: #7A4A00; font-size: 11.5px; line-height: 1.7; padding: 10px 13px; border-radius: 8px;
}
.rep-toggle {
  margin-top: 14px; background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit; font-size: 12.5px; font-weight: 800; color: var(--blue); text-align: left;
}
.rep-toggle:hover { color: var(--blue-deep); text-decoration: underline; }
.rep-table-wrap { display: none; margin-top: 12px; overflow-x: auto; }
.rep-card.open .rep-table-wrap { display: block; }
.rep-table { width: 100%; border-collapse: collapse; font-size: 11.5px; min-width: 560px; }
.rep-table th { background: #0B84DE; color: #fff; padding: 7px 8px; font-weight: 700; text-align: left; white-space: nowrap; }
.rep-table td { border: 1px solid var(--line); padding: 6px 8px; color: var(--body); vertical-align: top; }
.rep-table tr:nth-child(even) td { background: #F7FBFF; }
.rep-table td.grp { background: #EAF3FA !important; font-weight: 700; color: var(--blue-deep); }
.rep-table td.vp { color: #15803D; font-weight: 800; text-align: center; }
.rep-table td.vf { color: #C2410C; font-weight: 800; text-align: center; }
.rep-table td.vn { color: var(--muted); font-weight: 700; text-align: center; }
.rep-foot { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rep-dl {
  display: inline-block; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 9px 16px; border-radius: 999px; transition: background .2s ease;
}
.rep-dl:hover { background: var(--blue-deep); }
.rep-print {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--blue-deep);
  border: 1px solid #CDE6FB; padding: 8px 16px; border-radius: 999px; background: #F2F8FE;
}
.rep-print:hover { background: #E3F2FE; }
.rep-foot-note { font-size: 11px; color: var(--muted); line-height: 1.7; width: 100%; }
.rep-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: 12px; color: var(--muted); }
.rep-legend b { color: var(--ink); }

@media (max-width: 980px) {
  .rep-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .rep-top-flex { gap: 14px; }
  .rep-mini { width: 74px; }
}

/* ============================================================
   Qualifications page — summary band
   ============================================================ */

/* ---- entry teaser on the capabilities page ---- */
.qual-entry {
  display: flex; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 38px 40px;
}
.qual-entry-text { flex: 1; min-width: 0; }
.qual-entry-text h2 {
  font-size: 30px; font-weight: 800; color: #0F2A44; line-height: 1.3;
  letter-spacing: -.4px; margin-top: 10px;
}
.qual-entry-text p {
  font-size: 14px; color: var(--body); line-height: 1.85; margin-top: 14px;
  max-width: 620px;
}
.qual-entry-btn {
  display: inline-block; margin-top: 22px;
  background: var(--blue); color: #fff; font-size: 13.5px; font-weight: 700;
  padding: 11px 22px; border-radius: 999px; transition: background .2s ease;
}
.qual-entry-btn:hover { background: var(--blue-deep); }
.qual-entry-thumbs {
  flex: none; display: grid; grid-template-columns: repeat(2, 108px); gap: 12px;
}
.qual-entry-thumbs img {
  width: 100%; border-radius: 6px; border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(15,42,68,.12); background: #F7FAFD;
}
.qual-entry-thumbs .qual-entry-report { border-color: #CDE6FB; }
@media (max-width: 860px) {
  .qual-entry { flex-direction: column; align-items: flex-start; gap: 26px; padding: 28px 24px; }
  .qual-entry-text h2 { font-size: 24px; }
  .qual-entry-thumbs { grid-template-columns: repeat(4, 1fr); width: 100%; }
}

.qual-summary {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.qual-sum {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px 22px; text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.qual-sum:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(11,132,222,.14); }
.qual-sum-num {
  font-size: 40px; font-weight: 800; color: var(--blue-deep);
  line-height: 1.1; letter-spacing: -1px;
}
.qual-sum-lbl {
  font-size: 12.5px; color: var(--body); line-height: 1.6; margin-top: 8px;
}
.qual-note {
  margin-top: 22px; font-size: 13px; color: var(--body); line-height: 1.85;
  background: var(--bg-softer); border-left: 3px solid var(--teal);
  padding: 14px 18px; border-radius: 0 8px 8px 0;
}
@media (max-width: 860px) {
  .qual-summary { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .qual-sum { padding: 18px 14px; }
  .qual-sum-num { font-size: 32px; }
}
