/* Scoped Technical Guides V2 polish: body.resources-guide-v2 (49 technical guides) */
body.resources-guide-v2 #main {
  --ink: #171717;
  --muted: #2d2d2d;
  --rg-ink: #171717;
  --rg-muted: #2d2d2d;
  --rg-soft-blue: #edf4f8;
  --rg-blue: #0050a4;
  --rg-dark: #2d2d2d;
  background: #ffffff;
  color: var(--rg-ink);
}

body.resources-guide-v2 .header-context-inner > [aria-current] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.resources-guide-v2 #main :is(.text-link, .related-link)::after {
  content: none !important;
  display: none !important;
}

/* Unified readable editorial typography across all 3 guide templates */
body.resources-guide-v2 #main :is(h1, h2) {
  color: var(--rg-ink);
  font-weight: 400;
  letter-spacing: -0.015em;
}

body.resources-guide-v2 #main h3 {
  color: var(--rg-ink);
  font-weight: 500;
}

body.resources-guide-v2 #main :is(.article-body, .technical-guide-body, .fused-silica-guide-article, .guide-evidence, .published-related, .published-content-layout, .page-heading, .technical-guide-hero-copy) :is(p, li, dd, dt, blockquote, time) {
  color: var(--rg-ink);
  font-weight: 400;
  line-height: 1.68;
}

body.resources-guide-v2[data-page] #main .article-body section > p,
body.resources-guide-v2[data-page] #main .article-body > p,
body.resources-guide-v2 #main :is(.article-body, .technical-guide-body) :is(p, ul, ol) {
  max-width: 72ch;
}

body.resources-guide-v2 #main .page-heading > p,
body.resources-guide-v2 #main .technical-guide-hero-copy > p {
  color: var(--rg-muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
  max-width: 72ch;
}

/* Standalone v1 guide hero harmonized to official #EDF4F8 light-blue band */
body.resources-guide-v2 #main .technical-guide-hero {
  background: var(--rg-soft-blue);
  padding: 44px 0 48px;
}

body.resources-guide-v2 #main .technical-guide-hero h1 {
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--rg-ink);
}

body.resources-guide-v2 #main .technical-guide-hero-media {
  border: 0;
  border-radius: 8px;
  background: transparent;
  overflow: hidden;
}

body.resources-guide-v2 #main .technical-guide-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

body.resources-guide-v2 #main .jgs-selection-guide .technical-guide-hero-media img {
  aspect-ratio: 1 / 1;
  max-width: 440px;
  margin-inline: auto;
}

body.resources-guide-v2 #main .fused-silica-guide-article .section.soft-band {
  background: var(--rg-soft-blue);
  box-shadow: none !important; /* taste-skill-ignore: flat light-blue technical guide band */
}

/* Remove legacy decorative 1px hairlines and boxed outlines inside #main */
body.resources-guide-v2 #main :is(
  .article-body > section,
  .article-body > section + section,
  .section-index-target,
  .published-related,
  .published-content-cover,
  .related-link,
  .guide-evidence,
  .technical-guide-body > section,
  .technical-guide-related-products,
  .fused-silica-technical-figure,
  .fused-silica-material-photo figure,
  .fused-silica-guide-article figcaption,
  .fused-silica-definition-grid,
  .fused-silica-definition-grid article,
  .fused-silica-order ul,
  .fused-silica-order li
) {
  border: 0;
  border-top: 0;
  border-bottom: 0;
  box-shadow: none !important; /* taste-skill-ignore: borderless flat editorial surfaces */
}

body.resources-guide-v2 #main .published-content-cover {
  background: var(--rg-soft-blue);
  border-radius: 8px;
  overflow: hidden;
}

body.resources-guide-v2 #main .related-grid {
  gap: 12px;
}

body.resources-guide-v2 #main .related-link {
  background: var(--rg-soft-blue);
  border-radius: 6px;
  padding: 16px 20px;
}

body.resources-guide-v2 #main .related-link:hover,
body.resources-guide-v2 #main .related-link:focus-visible {
  background: #e3eef5;
}

body.resources-guide-v2 #main .fused-silica-order ul {
  display: grid;
  gap: 10px;
}

body.resources-guide-v2 #main .fused-silica-order li {
  background: var(--rg-soft-blue);
  border-radius: 6px;
  padding: 14px 18px;
}

body.resources-guide-v2 #main .guide-evidence {
  background: var(--rg-soft-blue);
  border-radius: 8px;
  padding: 24px;
}

body.resources-guide-v2 #main .fused-silica-guide-article .guide-evidence {
  box-sizing: border-box;
  margin-block: 32px;
  padding: 28px 32px;
}

body.resources-guide-v2 #main :is(.article-body, .technical-guide-body, .fused-silica-guide-article) :is(p, li) a:not(.button) {
  color: var(--rg-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.resources-guide-v2 #main :is(.article-body, .technical-guide-body, .fused-silica-guide-article) :is(p, li) a:not(.button):hover {
  color: #003b7b;
}

body.resources-guide-v2 #main :is(.fused-silica-technical-figure, .fused-silica-material-photo figure) {
  background: var(--rg-soft-blue);
  border-radius: 8px;
  overflow: hidden;
}

body.resources-guide-v2 #main .fused-silica-guide-article figcaption {
  background: var(--rg-soft-blue);
  color: var(--rg-muted);
  font-size: 14px;
  line-height: 1.55;
  padding: 14px 18px;
}

/* Fused silica definition grid: aligned borderless #EDF4F8 cards */
body.resources-guide-v2 #main .fused-silica-definition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

body.resources-guide-v2 #main .fused-silica-definition-grid > article {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  align-content: start;
  row-gap: 10px;
  min-width: 0;
  padding: 22px;
  border: 0;
  border-radius: 8px;
  background: var(--rg-soft-blue);
}

body.resources-guide-v2 #main .fused-silica-definition-grid h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
}

body.resources-guide-v2 #main .fused-silica-definition-grid .card-row-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--rg-muted);
}

/* Light-blue worked examples, callouts and formula blocks */
body.resources-guide-v2 #main :is(.guide-worked-example, .technical-guide-callout, .technical-guide-formula) {
  background: var(--rg-soft-blue);
  border: 0;
  border-left: 3px solid var(--rg-blue);
  border-radius: 0 6px 6px 0;
  color: var(--rg-ink);
}

body.resources-guide-v2 #main .technical-guide-formula {
  padding: 14px 20px;
}

body.resources-guide-v2 #main :is(.guide-worked-example, .technical-guide-callout) h3,
body.resources-guide-v2 #main :is(.guide-worked-example, .technical-guide-callout) strong {
  color: var(--rg-ink);
  font-weight: 500;
}

/* Unified #2D2D2D header tables across classic, spec and standalone v1 guides */
body.resources-guide-v2 #main :is(.guide-table-scroll, .spec-scroll, .technical-guide-table-scroll) {
  max-width: 100%;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.resources-guide-v2 #main :is(.guide-table-scroll table, .spec-table, .technical-guide-table) {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 0;
  background: #ffffff;
}

body.resources-guide-v2 #main :is(.guide-table-scroll caption, .spec-table caption, .technical-guide-table caption) {
  background: var(--rg-soft-blue);
  color: var(--rg-ink);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  padding: 13px 16px;
  border: 0;
}

body.resources-guide-v2 #main :is(.guide-table-scroll, .spec-table, .technical-guide-table) thead th {
  background: var(--rg-dark);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  padding: 14px 16px;
  border: 0;
}

body.resources-guide-v2 #main :is(.guide-table-scroll, .spec-table, .technical-guide-table) tbody th,
body.resources-guide-v2 #main :is(.guide-table-scroll, .spec-table, .technical-guide-table) tbody td {
  background: #ffffff;
  color: var(--rg-ink);
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border: 0;
  border-bottom: 2px solid var(--rg-soft-blue);
}

body.resources-guide-v2 #main :is(.guide-table-scroll, .spec-table, .technical-guide-table) tbody th {
  font-weight: 500;
}

/* Unified borderless + / − FAQ accordions across all guides */
body.resources-guide-v2 #main :is(.article-body .faq, .technical-guide-faq, .fused-silica-guide-faq) details {
  border: 0;
  border-radius: 6px;
  background: var(--rg-soft-blue);
  padding: 0 22px;
  margin-bottom: 10px;
}

body.resources-guide-v2 #main :is(.article-body .faq, .technical-guide-faq, .fused-silica-guide-faq) details:last-child {
  margin-bottom: 0;
}

body.resources-guide-v2 #main :is(.article-body .faq, .technical-guide-faq, .fused-silica-guide-faq) summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--rg-ink);
  cursor: pointer;
  list-style: none;
}

body.resources-guide-v2 #main :is(.article-body .faq, .technical-guide-faq, .fused-silica-guide-faq) summary::-webkit-details-marker {
  display: none;
}

body.resources-guide-v2 #main :is(.article-body .faq, .technical-guide-faq, .fused-silica-guide-faq) summary :is(svg, i[data-lucide]) {
  display: none !important;
}

body.resources-guide-v2 #main :is(.article-body .faq, .technical-guide-faq, .fused-silica-guide-faq) summary::after {
  content: '+';
  color: var(--rg-blue);
  font-size: 22px;
  font-weight: 400;
  flex: none;
}

body.resources-guide-v2 #main :is(.article-body .faq, .technical-guide-faq, .fused-silica-guide-faq) details[open] summary::after {
  content: '−';
}

body.resources-guide-v2 #main :is(.article-body .faq, .technical-guide-faq, .fused-silica-guide-faq) details p {
  margin: 0;
  padding-bottom: 20px;
  color: var(--rg-ink);
  font-size: 16px;
  line-height: 1.65;
  max-width: 75ch;
}

/* Primary CTAs and navigable touch targets */
body.resources-guide-v2 #main .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border: 0;
  border-radius: 6px;
  background: var(--rg-ink);
  color: #ffffff;
  font-weight: 500;
  box-shadow: none !important; /* taste-skill-ignore: flat primary CTA */
}

body.resources-guide-v2 #main .button:hover {
  background: #333333;
}

body.resources-guide-v2 #main :is(.related-link, .text-link) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--rg-blue);
}

body.resources-guide-v2 #main .section-index-disclosure {
  border: 0;
  border-radius: 6px;
  background: var(--rg-soft-blue);
  padding: 0 20px;
  margin-bottom: 24px;
  box-shadow: none !important; /* taste-skill-ignore: borderless collapsible outline */
}

body.resources-guide-v2 #main .section-index-disclosure[open] {
  padding-bottom: 14px;
}

body.resources-guide-v2 #main .section-index-disclosure > summary {
  min-height: 48px;
}

body.resources-guide-v2 #main .section-index-nav > a {
  min-height: 44px;
  color: var(--rg-muted);
}

body.resources-guide-v2 #main .section-index-nav > a:is(:hover, :focus-visible, [aria-current]) {
  color: var(--rg-blue);
}

@media (max-width: 900px) {
  body.resources-guide-v2 #main .fused-silica-definition-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.resources-guide-v2 #main .fused-silica-definition-grid > article {
    grid-row: auto;
    grid-template-rows: auto auto;
    border: 0;
  }
}

@media (max-width: 600px) {
  body.resources-guide-v2 #main .technical-guide-hero {
    padding: 30px 0 34px;
  }

  body.resources-guide-v2 #main .button {
    width: 100%;
  }

  body.resources-guide-v2.fused-silica-guide #main .spec-scroll {
    overflow: visible;
  }

  body.resources-guide-v2.fused-silica-guide #main .spec-table,
  body.resources-guide-v2.fused-silica-guide #main .spec-table tbody,
  body.resources-guide-v2.fused-silica-guide #main .spec-table tr,
  body.resources-guide-v2.fused-silica-guide #main .spec-table tbody th,
  body.resources-guide-v2.fused-silica-guide #main .spec-table tbody th:first-child,
  body.resources-guide-v2.fused-silica-guide #main .spec-table tbody td {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: break-word;
  }

  body.resources-guide-v2.fused-silica-guide #main .spec-table {
    background: transparent;
  }

  body.resources-guide-v2.fused-silica-guide #main .spec-table tr {
    margin-bottom: 12px;
    border: 0;
    border-radius: 6px;
    overflow: hidden;
  }

  body.resources-guide-v2.fused-silica-guide #main .spec-table tbody th {
    background: var(--rg-dark);
    color: #ffffff;
    border-bottom: 0;
    padding: 10px 14px;
  }

  body.resources-guide-v2.fused-silica-guide #main .spec-table tbody td {
    border-bottom: 0;
    padding: 10px 14px;
  }
}
