/* ==========================================================================
   6A Labs — Certificates of Analysis v2.1
   One section per product, strength selector inside each.
   Scoped entirely to .cv2 so nothing else on the site can be affected.
   ========================================================================== */
.cv2 {
  --cv2-bg:            #050505;
  --cv2-surface:       #0d0e11;
  --cv2-surface-2:     #121316;
  --cv2-surface-3:     #17181c;
  --cv2-line:          rgba(192,192,192,.13);
  --cv2-line-strong:   rgba(192,192,192,.26);
  --cv2-fg:            #f2f2f2;
  --cv2-fg-2:          rgba(242,242,242,.88);
  --cv2-fg-3:          rgba(242,242,242,.62);
  --cv2-fg-4:          rgba(242,242,242,.42);
  --cv2-gold:          #d4a017;
  --cv2-gold-bright:   #e6c200;
  --cv2-gold-ink:      #0a0a0a;
  --cv2-hover:         rgba(255,255,255,.028);
  --cv2-radius:        16px;
  --cv2-ease:          cubic-bezier(.32,.72,0,1);

  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--cv2-fg);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums tabular-nums;
}
.cv2 *, .cv2 *::before, .cv2 *::after { box-sizing: border-box; }

.cv2-wrap { max-width: 1200px; margin: 0 auto; padding: 24px 16px 40px; }
@media (min-width: 768px) { .cv2-wrap { padding: 40px 32px 64px; } }

.cv2-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cv2-nowrap { white-space: nowrap; }
.cv2-muted { color: var(--cv2-fg-4); }

/* ---------- intro ---------- */
.cv2-intro { max-width: 48rem; margin-bottom: 28px; }
@media (min-width: 768px) { .cv2-intro { margin-bottom: 36px; } }

.cv2-eyebrow {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cv2-gold);
}
.cv2-eyebrow svg { width: 14px; height: 14px; flex: 0 0 auto; }

.cv2-h1 {
  margin: 0; font-size: 1.75rem; font-weight: 800; line-height: 1.22;
  letter-spacing: -.02em; color: var(--cv2-fg); text-wrap: balance;
}
@media (min-width: 768px) { .cv2-h1 { font-size: 2.125rem; line-height: 1.18; } }

.cv2-lead { margin: 16px 0 0; font-size: 1rem; line-height: 1.6; color: var(--cv2-fg-3); }
@media (min-width: 768px) { .cv2-lead { font-size: 1.0625rem; } }

.cv2-howto {
  margin: 18px 0 0; padding: 12px 16px;
  font-size: .9375rem; line-height: 1.5; color: var(--cv2-fg-2);
  background: rgba(212,160,23,.07);
  border: 1px solid rgba(212,160,23,.28);
  border-radius: 12px;
}
.cv2-howto strong { color: var(--cv2-fg); font-weight: 700; }

/* ---------- search ---------- */
.cv2-search { position: relative; display: flex; align-items: center; max-width: 520px; }
.cv2-search-icon { position: absolute; left: 14px; display: flex; pointer-events: none; color: var(--cv2-fg-4); }
.cv2-search-icon svg { width: 16px; height: 16px; }
.cv2-search-input {
  width: 100%; height: 48px; padding: 0 92px 0 40px;
  font: inherit; font-size: .9375rem; color: var(--cv2-fg);
  background: var(--cv2-surface); border: 1px solid var(--cv2-line);
  border-radius: 12px; transition: border-color .18s var(--cv2-ease);
  -webkit-appearance: none; appearance: none;
}
.cv2-search-input::placeholder { color: var(--cv2-fg-4); }
.cv2-search-input:hover { border-color: var(--cv2-line-strong); }
.cv2-search-input:focus-visible { outline: 2px solid var(--cv2-gold); outline-offset: 2px; border-color: transparent; }
.cv2-search-input::-webkit-search-cancel-button { display: none; }
.cv2-reset {
  position: absolute; right: 8px; height: 34px; padding: 0 14px;
  font: inherit; font-size: .8125rem; font-weight: 600; color: var(--cv2-fg-3);
  background: rgba(255,255,255,.05); border: 1px solid var(--cv2-line);
  border-radius: 9px; cursor: pointer; transition: color .18s, border-color .18s;
}
.cv2-reset:hover { color: var(--cv2-fg); border-color: var(--cv2-line-strong); }
.cv2-reset:focus-visible { outline: 2px solid var(--cv2-gold); outline-offset: 2px; }

.cv2-count {
  margin: 14px 0 24px; font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cv2-fg-4);
}

/* ---------- product sections ---------- */
.cv2-sections { display: flex; flex-direction: column; gap: 14px; }

.cv2-prod {
  padding: 18px 16px;
  background: var(--cv2-surface);
  border: 1px solid var(--cv2-line);
  border-radius: var(--cv2-radius);
}
@media (min-width: 768px) { .cv2-prod { padding: 22px 24px; } }

.cv2-prod-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px 20px; flex-wrap: wrap; margin-bottom: 16px;
}
.cv2-prod-name {
  margin: 0; font-size: 1.1875rem; font-weight: 800; line-height: 1.25;
  letter-spacing: -.015em; color: var(--cv2-fg);
}
@media (min-width: 768px) { .cv2-prod-name { font-size: 1.3125rem; } }
.cv2-prod-meta {
  margin: 4px 0 0; font-size: .75rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--cv2-fg-4);
}
.cv2-prod-link {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  /* padding + negative margin give a 45px touch target without moving anything */
  padding: 12px 0; margin: -12px 0;
  font-size: .8125rem; font-weight: 600; color: var(--cv2-fg-3);
  text-decoration: none; transition: color .15s ease;
}
.cv2-prod-link svg { width: 13px; height: 13px; transition: transform .18s var(--cv2-ease); }
.cv2-prod-link:hover { color: var(--cv2-gold-bright); }
.cv2-prod-link:hover svg { transform: translateX(3px); }
.cv2-prod-link:focus-visible { outline: 2px solid var(--cv2-gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- strength picker ---------- */
.cv2-pick { display: flex; flex-direction: column; gap: 7px; max-width: 420px; }
.cv2-pick-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cv2-fg-3);
}
.cv2-select-wrap { position: relative; display: flex; }
.cv2-select-wrap::after {
  content: ''; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px;
  margin-top: -6px; pointer-events: none;
  border-right: 2px solid var(--cv2-fg-3); border-bottom: 2px solid var(--cv2-fg-3);
  transform: rotate(45deg); border-radius: 1px;
}
.cv2-select {
  width: 100%; height: 48px; padding: 0 42px 0 14px;
  font: inherit; font-size: .9375rem; font-weight: 600; color: var(--cv2-fg);
  background: var(--cv2-surface-2); border: 1px solid var(--cv2-line-strong);
  border-radius: 12px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  transition: border-color .18s ease, background .18s ease;
}
.cv2-select:hover { border-color: rgba(192,192,192,.42); }
.cv2-select:focus-visible { outline: 2px solid var(--cv2-gold); outline-offset: 2px; }
.cv2-select:disabled { opacity: .5; cursor: not-allowed; }
/* native option list is drawn by the OS — force readable colours where honoured */
.cv2-select option { background: #17181c; color: #f2f2f2; }

.cv2-placeholder {
  margin: 14px 0 0; padding: 14px 16px;
  font-size: .875rem; color: var(--cv2-fg-3);
  background: var(--cv2-surface-2); border: 1px dashed var(--cv2-line-strong);
  border-radius: 12px;
}
.cv2-searchnote {
  margin: 14px 0 0; font-size: .8125rem; line-height: 1.5; color: var(--cv2-gold-bright);
}

/* ---------- a strength group ---------- */
.cv2-group { margin-top: 18px; }
.cv2-group + .cv2-group { margin-top: 22px; }
.cv2-group-h {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin: 0 0 10px; padding-bottom: 9px;
  border-bottom: 1px solid var(--cv2-line);
}
.cv2-group-name {
  display: inline-flex; align-items: center; height: 22px; padding: 0 10px;
  border-radius: 9999px; background: var(--cv2-gold); color: var(--cv2-gold-ink);
  font-size: .75rem; font-weight: 800; line-height: 1; letter-spacing: .01em; white-space: nowrap;
}
.cv2-group-meta {
  font-size: .6875rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--cv2-fg-4);
}

/* ---------- desktop table ---------- */
.cv2-desktop { display: none; }
@media (min-width: 900px) { .cv2-desktop { display: block; } }

.cv2-card {
  overflow: hidden; background: var(--cv2-surface-2);
  border: 1px solid var(--cv2-line); border-radius: 13px;
}
.cv2-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cv2-table th:nth-child(1), .cv2-table td:nth-child(1) { width: 18%; }
.cv2-table th:nth-child(2), .cv2-table td:nth-child(2) { width: 13%; }
.cv2-table th:nth-child(3), .cv2-table td:nth-child(3) { width: 108px; }
.cv2-table th:nth-child(4), .cv2-table td:nth-child(4) { width: auto; }
.cv2-table th:nth-child(5), .cv2-table td:nth-child(5) { width: 15%; }
.cv2-table th:nth-child(6), .cv2-table td:nth-child(6) { width: 86px; }
.cv2-table th:nth-child(7), .cv2-table td:nth-child(7) { width: 150px; }
.cv2-table thead tr { background: var(--cv2-surface-3); border-bottom: 1px solid var(--cv2-line); }
.cv2-table thead th {
  padding: 12px 16px; text-align: left;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1.4;
  text-transform: uppercase; color: var(--cv2-fg-4); white-space: nowrap;
}
.cv2-row { border-bottom: 1px solid rgba(192,192,192,.08); transition: background .15s ease; }
.cv2-row:last-child { border-bottom: 0; }
.cv2-row:hover { background: var(--cv2-hover); }
.cv2-td {
  padding: 14px 16px; vertical-align: top; text-align: left;
  line-height: 1.4; font-size: .9375rem; font-weight: 400; color: var(--cv2-fg-2);
}
.cv2-td--action { text-align: right; padding-left: 4px; }
.cv2-lot {
  display: block; font-size: .9375rem; font-weight: 700; color: var(--cv2-fg);
  font-feature-settings: 'tnum' 1; word-break: break-word;
}
.cv2-purity { font-weight: 700; color: var(--cv2-gold-bright); font-size: 1rem; }
.cv2-note {
  margin: 5px 0 0; font-size: .6875rem; line-height: 1.45; font-weight: 500;
  color: var(--cv2-fg-4); text-wrap: pretty;
}

/* ---------- buttons ---------- */
.cv2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: 11px;
  font-family: inherit; font-size: .8125rem; font-weight: 700; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  color: var(--cv2-fg); background: transparent; border: 1px solid var(--cv2-line-strong);
  transition: transform .18s var(--cv2-ease), background .18s, border-color .18s, color .18s;
}
.cv2-btn svg { width: 15px; height: 15px; flex: 0 0 auto; }
.cv2-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.05); border-color: rgba(192,192,192,.42); }
.cv2-btn:active { transform: none; background: rgba(255,255,255,.08); }
.cv2-btn:focus-visible { outline: 2px solid var(--cv2-gold); outline-offset: 2px; }
.cv2-btn--primary {
  width: 100%; min-height: 48px; font-size: .9375rem;
  background: var(--cv2-gold); border-color: var(--cv2-gold); color: var(--cv2-gold-ink);
}
.cv2-btn--primary:hover { background: var(--cv2-gold-bright); border-color: var(--cv2-gold-bright); color: var(--cv2-gold-ink); }

/* ---------- mobile report cards ---------- */
.cv2-mobile { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 900px) { .cv2-mobile { display: none; } }

.cv2-rep {
  padding: 14px; background: var(--cv2-surface-2);
  border: 1px solid var(--cv2-line); border-radius: 13px;
}
.cv2-rep-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--cv2-line);
}
.cv2-rep-id { min-width: 0; }
.cv2-rep-pu { flex: 0 0 auto; text-align: right; }
.cv2-rep-label {
  margin: 0 0 3px; font-size: .625rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--cv2-fg-4);
}
.cv2-rep-lot {
  margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.25;
  color: var(--cv2-fg); overflow-wrap: anywhere;
}
.cv2-rep-purity { margin: 0; font-size: 1rem; font-weight: 700; color: var(--cv2-gold-bright); }

.cv2-dls { display: flex; flex-direction: column; gap: 9px; }
.cv2-dl { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; font-size: .875rem; }
.cv2-dt { flex: 0 0 auto; margin: 0; color: var(--cv2-fg-4); line-height: 1.35; }
.cv2-dd { display: flex; align-items: flex-start; justify-content: flex-end; gap: 6px; min-width: 0; text-align: right; }
.cv2-dd p { margin: 0; font-weight: 500; line-height: 1.35; color: var(--cv2-fg-2); overflow-wrap: anywhere; }
.cv2-rep .cv2-note { margin-top: 10px; }
.cv2-rep .cv2-btn--primary { margin-top: 14px; }

.cv2-copy {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin: -5px -6px -5px 0; flex: 0 0 auto;
  color: var(--cv2-fg-3); background: transparent; border: 0; border-radius: 7px; cursor: pointer;
  transition: color .15s, background .15s;
}
.cv2-copy svg { width: 14px; height: 14px; }
/* 44px touch target without changing layout */
.cv2-copy::before { content: ''; position: absolute; inset: -8px; }
.cv2-copy:hover { color: var(--cv2-fg); background: rgba(255,255,255,.08); }
.cv2-copy:focus-visible { outline: 2px solid var(--cv2-gold); outline-offset: 1px; }
.cv2-copy.is-done { color: var(--cv2-gold-bright); }

/* [hidden] must beat the display rules in the breakpoints above */
.cv2 [hidden] { display: none !important; }

/* ---------- empty state ---------- */
.cv2-empty {
  padding: 48px 24px; text-align: center;
  background: var(--cv2-surface); border: 1px solid var(--cv2-line); border-radius: var(--cv2-radius);
}
.cv2-empty-title { margin: 0; font-size: 1.0625rem; font-weight: 700; color: var(--cv2-fg); }
.cv2-empty-sub { margin: 8px auto 20px; max-width: 34rem; font-size: .875rem; line-height: 1.5; color: var(--cv2-fg-3); }

/* ---------- footnote ---------- */
.cv2-foot { max-width: 48rem; margin: 28px 0 0; font-size: .75rem; line-height: 1.6; color: var(--cv2-fg-4); }
@media (min-width: 768px) { .cv2-foot { margin-top: 36px; } }

@media (prefers-reduced-motion: reduce) {
  .cv2 *, .cv2 *::before, .cv2 *::after {
    transition-duration: .01ms !important; animation-duration: .01ms !important;
  }
  .cv2-btn:hover, .cv2-prod-link:hover svg { transform: none; }
}

/* NEW batch highlight: soft static gold, no animation. Auto-expires 30 days after publication. */
.cv2-new { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--cv2-gold); color: var(--cv2-gold-ink); font-size: .625rem; font-weight: 800; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.cv2-prod--new { border-color: rgba(212,160,23,.55); box-shadow: 0 0 0 1px rgba(212,160,23,.16), 0 0 24px rgba(212,160,23,.10); }
.cv2-row--new > th, .cv2-row--new > td { background: rgba(212,160,23,.06); }
.cv2-row--new > th { box-shadow: inset 3px 0 0 var(--cv2-gold); }
.cv2-rep--new { border-color: rgba(212,160,23,.55) !important; box-shadow: 0 0 16px rgba(212,160,23,.10); }
