/* =====================================================================
   Industrial PCB Manufacturer for Power and Control Electronics
   Page stylesheet
   Prefix: pg-indpcb-
   Scope: .pg-indpcb (page body, Hero to FAQ).
   The Final CTA / RFQ section uses the shared stylesheet tpcb-rfq.css.
   Headings, paragraphs and font families inherit the global theme.
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------- */
.pg-indpcb {
  --pg-indpcb-heading: #0d2a52;
  --pg-indpcb-text: #3d4859;
  --pg-indpcb-muted: #5b6576;
  --pg-indpcb-faint: #8792a2;
  --pg-indpcb-primary: #1565c0;
  --pg-indpcb-primary-dark: #0f4c97;
  --pg-indpcb-accent: #1976d2;
  --pg-indpcb-sky: #40a0ff;
  --pg-indpcb-bg-alt: #f4f7fb;
  --pg-indpcb-tint: #eaf2fb;
  --pg-indpcb-line: #dce4ee;
  --pg-indpcb-line-blue: #b8cfea;
  --pg-indpcb-media: #e4eaf2;

  /* Hero overlay: brand navy, dark behind the text, thin over the board photo */
  --pg-indpcb-hero-overlay: linear-gradient(90deg, rgba(11, 34, 70, 0.94) 0%, rgba(11, 34, 70, 0.88) 40%, rgba(13, 50, 105, 0.55) 62%, rgba(13, 50, 105, 0.26) 100%);
  /* Stacked hero (1024px and below): text runs full width, so near-uniform */
  --pg-indpcb-hero-overlay-stacked: linear-gradient(180deg, rgba(11, 34, 70, 0.9) 0%, rgba(13, 50, 105, 0.82) 100%);

  /* Dark feature section (heavy copper) */
  --pg-indpcb-dark-bg: linear-gradient(150deg, #0b2246 0%, #0d2c5e 58%, #113f80 100%);
  --pg-indpcb-dark-panel: rgba(7, 23, 50, 0.5);
  --pg-indpcb-dark-raise: rgba(255, 255, 255, 0.05);
  --pg-indpcb-dark-line: rgba(255, 255, 255, 0.15);
  --pg-indpcb-on-dark: rgba(255, 255, 255, 0.84);
  --pg-indpcb-on-dark-muted: rgba(255, 255, 255, 0.64);
  --pg-indpcb-dark-media: #1a3767;

  /* Material palette: used inside the diagram and state markers only */
  --pg-indpcb-cu: #cf8141;
  --pg-indpcb-laminate: #dcc9a0;
  --pg-indpcb-laminate-ink: #6a5830;
  --pg-indpcb-risk: #e5484d;
  --pg-indpcb-risk-soft: #ff8d8d;
  --pg-indpcb-ok-soft: #7fc0ff;
  --pg-indpcb-icon: #7fc0ff;

  --pg-indpcb-radius: 8px;
  --pg-indpcb-radius-sm: 4px;
  --pg-indpcb-section-y: 75px;
  --pg-indpcb-gap: 60px;
  --pg-indpcb-head-gap: 44px;
  --pg-indpcb-block-gap: 56px;
  --pg-indpcb-card-gap: 30px;
  --pg-indpcb-card-pad: 32px;
}


/* ---------------------------------------------------------------------
   2. Scoped base reset
   --------------------------------------------------------------------- */
.pg-indpcb *,
.pg-indpcb *::before,
.pg-indpcb *::after {
  box-sizing: border-box;
}

.pg-indpcb h2,
.pg-indpcb h3,
.pg-indpcb h4,
.pg-indpcb p,
.pg-indpcb figure,
.pg-indpcb dl,
.pg-indpcb dd {
  margin: 0;
}

.pg-indpcb img {
  display: block;
  max-width: 100%;
  height: auto;
}

.pg-indpcb a:focus-visible,
.pg-indpcb button:focus-visible {
  outline: 3px solid var(--pg-indpcb-sky);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Visually hidden text (table captions, header rows of key/value tables) */
.pg-indpcb-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


/* ---------------------------------------------------------------------
   3. Layout primitives
   --------------------------------------------------------------------- */
.pg-indpcb-section {
  padding: var(--pg-indpcb-section-y) 0;
  background: #fff;
}

.pg-indpcb-section--alt {
  background: var(--pg-indpcb-bg-alt);
}

.pg-indpcb-section--dark {
  background: #0b2246;
  background-image: var(--pg-indpcb-dark-bg);
  color: var(--pg-indpcb-on-dark);
}

.pg-indpcb-container {
  width: calc(100% - 40px);
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
}

/* Vertical rhythm inside a section container */
.pg-indpcb .pg-indpcb-container > * + * {
  margin-top: var(--pg-indpcb-block-gap);
}

.pg-indpcb .pg-indpcb-container > .pg-indpcb-head + *,
.pg-indpcb .pg-indpcb-container > .pg-indpcb-feature + * {
  margin-top: var(--pg-indpcb-head-gap);
}

.pg-indpcb .pg-indpcb-container > .pg-indpcb-note,
.pg-indpcb .pg-indpcb-container > .pg-indpcb-band,
.pg-indpcb .pg-indpcb-container > .pg-indpcb-quality {
  margin-top: var(--pg-indpcb-card-gap);
}

/* Section heading: centered title and lead */
.pg-indpcb-head {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pg-indpcb-head h2 {
  color: var(--pg-indpcb-heading);
  text-wrap: balance;
}

.pg-indpcb .pg-indpcb-head > * + * {
  margin-top: 16px;
}

.pg-indpcb-lead {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: var(--pg-indpcb-text);
}

/* Sub-block with a left-aligned H3 */
.pg-indpcb .pg-indpcb-block > * + * {
  margin-top: 20px;
}

.pg-indpcb-block__title {
  color: var(--pg-indpcb-heading);
}

.pg-indpcb-block__lead {
  max-width: 860px;
  color: var(--pg-indpcb-text);
}


/* ---------------------------------------------------------------------
   4. Buttons
   --------------------------------------------------------------------- */
.pg-indpcb .pg-indpcb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--pg-indpcb-radius-sm);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pg-indpcb .pg-indpcb-btn--primary,
.pg-indpcb .pg-indpcb-btn--primary:visited {
  background: var(--pg-indpcb-primary);
  color: #fff;
}

.pg-indpcb .pg-indpcb-btn--primary:hover,
.pg-indpcb .pg-indpcb-btn--primary:focus-visible {
  background: var(--pg-indpcb-primary-dark);
  color: #fff;
}


/* ---------------------------------------------------------------------
   5. Hero (shared hero spec: 7/5 split, directional overlay)
   --------------------------------------------------------------------- */
.pg-indpcb-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--pg-indpcb-section-y) 0;
  background: #0b2246;
  color: #fff;
}

.pg-indpcb-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.pg-indpcb-hero .pg-indpcb-hero__img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 70% center;
}

/* Directional overlay: follows the layout (text left, board right) */
.pg-indpcb-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--pg-indpcb-hero-overlay);
}

.pg-indpcb-hero .pg-indpcb-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--pg-indpcb-gap);
  align-items: center;
}

.pg-indpcb .pg-indpcb-hero__inner > * {
  margin-top: 0;
}

.pg-indpcb-hero__content {
  min-width: 0;
}

.pg-indpcb-hero .pg-indpcb-hero__title {
  color: #fff;
  text-wrap: balance;
}

.pg-indpcb-hero__summary {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
}

.pg-indpcb .pg-indpcb-hero__summary {
  margin-top: 20px;
}

.pg-indpcb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.pg-indpcb-hero__certs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin: 32px 0 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}

.pg-indpcb-hero__certs li {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.pg-indpcb-hero__certs li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 14px;
  background: rgba(255, 255, 255, 0.32);
}

/* Capability panel */
.pg-indpcb-hero__specs {
  padding: 6px 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--pg-indpcb-radius);
  background: rgba(8, 26, 56, 0.76);
}

.pg-indpcb-hero__spec {
  position: relative;
  padding: 17px 0 17px 40px;
}

/* Line icon, one per capability: layers, bolt, shield, clock */
.pg-indpcb .pg-indpcb-hero__icon {
  position: absolute;
  top: 18px;
  left: 0;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--pg-indpcb-icon);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pg-indpcb-hero__spec + .pg-indpcb-hero__spec {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pg-indpcb-hero__spec dt {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.pg-indpcb-hero__spec dd {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.74);
}

/* Desktop: fixed minimum height, content vertically centered */
@media (min-width: 1025px) {
  .pg-indpcb-hero {
    display: flex;
    align-items: center;
    min-height: 604px;
  }
}


/* ---------------------------------------------------------------------
   6. Applications: one horizontal card per application
   Photo left (stretches to the row height), requirements and build
   notes side by side on the right.
   --------------------------------------------------------------------- */
.pg-indpcb-apps {
  display: grid;
  gap: 26px;
}

.pg-indpcb-app {
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--pg-indpcb-line);
  border-radius: var(--pg-indpcb-radius);
  background: #fff;
}

.pg-indpcb-app__media {
  position: relative;
  min-width: 0;
  min-height: 250px;
  overflow: hidden;
  background: var(--pg-indpcb-media);
}

/* Application photos: slightly larger on desktop, where the frame is near-square */
@media (min-width: 1025px) {
  .pg-indpcb .pg-indpcb-app__media img {
    transform: scale(1.15);
  }
}

/* Photos fill their frame without distortion */
.pg-indpcb .pg-indpcb-app__media img,
.pg-indpcb .pg-indpcb-shot__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.pg-indpcb-app__body {
  min-width: 0;
  padding: 28px var(--pg-indpcb-card-pad) var(--pg-indpcb-card-pad);
}

.pg-indpcb .pg-indpcb-app__title {
  font-size: 21px;
  line-height: 1.35;
  color: var(--pg-indpcb-heading);
}

/* Phone toggle: hidden on larger screens and when the script is off */
.pg-indpcb .pg-indpcb-app__toggle {
  display: none;
}

.pg-indpcb-app__cols {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 32px;
  align-items: start;
  margin-top: 18px;
}

/* Small labels take the body font, not the display heading font */
.pg-indpcb .pg-indpcb-app__label {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--pg-indpcb-heading);
}

/* Requirements read as the customer's input: tinted panel, ruled lines */
.pg-indpcb-app__req {
  padding: 18px 20px 16px;
  border-radius: 6px;
  background: var(--pg-indpcb-bg-alt);
}

.pg-indpcb .pg-indpcb-app__list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.pg-indpcb .pg-indpcb-app__list li {
  margin: 0;
  padding: 9px 0;
  border-top: 1px solid var(--pg-indpcb-line);
  font-size: 15px;
  line-height: 1.5;
  color: var(--pg-indpcb-text);
}

.pg-indpcb .pg-indpcb-app__list li:last-child {
  padding-bottom: 2px;
}

/* Build notes: label lines up with the requirements label */
.pg-indpcb-app__build {
  padding-top: 18px;
}

.pg-indpcb .pg-indpcb-app__build p {
  margin-top: 10px;
  color: var(--pg-indpcb-text);
}


/* ---------------------------------------------------------------------
   7. Tables (shared)
   --------------------------------------------------------------------- */
.pg-indpcb-table-wrap {
  overflow: hidden;
  border: 1px solid var(--pg-indpcb-line);
  border-radius: var(--pg-indpcb-radius);
  background: #fff;
}

.pg-indpcb .pg-indpcb-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: auto;
  background: #fff;
  font-size: 15px;
  line-height: 1.55;
}

.pg-indpcb .pg-indpcb-table tr {
  background: transparent;
}

.pg-indpcb .pg-indpcb-table th,
.pg-indpcb .pg-indpcb-table td {
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid var(--pg-indpcb-line);
  background: #fff;
  color: var(--pg-indpcb-text);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: break-word;
}

.pg-indpcb .pg-indpcb-table thead th {
  border-bottom: 2px solid var(--pg-indpcb-primary);
  background: var(--pg-indpcb-tint);
  color: var(--pg-indpcb-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.pg-indpcb .pg-indpcb-table tbody th {
  color: var(--pg-indpcb-heading);
  font-weight: 600;
}

/* Capability tables stay tables at every width; the phone rules in
   section 16 only tighten them. The last row closes against the panel. */
.pg-indpcb .pg-indpcb-table:not(.pg-indpcb-table--reflow) tbody:last-child tr:last-child > th,
.pg-indpcb .pg-indpcb-table:not(.pg-indpcb-table--reflow) tbody:last-child tr:last-child > td {
  border-bottom: 0;
}

/* Row groups (structure, copper, holes, tolerances): a heavier rule
   between tbody elements, no group header rows */
.pg-indpcb .pg-indpcb-table--spec tbody + tbody tr:first-child > th,
.pg-indpcb .pg-indpcb-table--spec tbody + tbody tr:first-child > td {
  border-top: 2px solid var(--pg-indpcb-line-blue);
}

/* Key/value tables: tinted label column */
.pg-indpcb .pg-indpcb-table--kv tbody th {
  width: 23%;
  border-right: 1px solid var(--pg-indpcb-line);
  background: var(--pg-indpcb-bg-alt);
}

/* The DFM table reflows to cards on phones (section 16), so its closing rule is for
   wider screens only */
@media (min-width: 768px) {
  .pg-indpcb .pg-indpcb-table--reflow tbody:last-child tr:last-child > th,
  .pg-indpcb .pg-indpcb-table--reflow tbody:last-child tr:last-child > td {
    border-bottom: 0;
  }
}

/* Column proportions */
.pg-indpcb-table--spec thead th:first-child { width: 44%; }
.pg-indpcb-table--spec thead th:nth-child(2) { width: 23%; }
.pg-indpcb-table--dfm thead th:first-child { width: 19%; }
.pg-indpcb-table--dfm thead th:nth-child(2) { width: 27%; }

/* Process limits table: project-specific tier column */
.pg-indpcb .pg-indpcb-table thead th.pg-indpcb-table__tier {
  border-bottom-color: var(--pg-indpcb-accent);
  background: var(--pg-indpcb-accent);
  color: #fff;
}

.pg-indpcb .pg-indpcb-table tbody td.pg-indpcb-table__tier {
  background: #f4f8fe;
  color: var(--pg-indpcb-heading);
  font-weight: 600;
}

/* Key/value tables (materials, inspection): the header row stays in the
   markup for table semantics and is hidden visually */
.pg-indpcb .pg-indpcb-table--kv thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Process limits table: bordered panel around a controlled horizontal
   scroller. The table only overflows at 520px and below (section 18); the
   "Show all" button sits inside the panel but outside the scroller. */
.pg-indpcb-scroll {
  position: relative;
}

.pg-indpcb-scroll__panel {
  overflow: hidden;
  border: 1px solid var(--pg-indpcb-line);
  border-radius: var(--pg-indpcb-radius);
  background: #fff;
}

.pg-indpcb-scroll__inner {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* The panel clips its corners, so the focus ring sits inside */
.pg-indpcb-scroll__inner:focus-visible {
  outline: 3px solid var(--pg-indpcb-sky);
  outline-offset: -3px;
}

/* "Show all" button: phones only, enabled by the page script */
.pg-indpcb .pg-indpcb-spec__more {
  display: none;
}

/* Foldable table block: a plain heading on desktop, an accordion on
   phones (the inline script closes it at 767px and below) */
.pg-indpcb-fold__sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: default;
  pointer-events: none;
}

.pg-indpcb-fold__sum::-webkit-details-marker {
  display: none;
}

.pg-indpcb-fold__sum::marker {
  content: "";
}

.pg-indpcb-fold__sum h3 {
  color: var(--pg-indpcb-heading);
}

.pg-indpcb-fold__icon {
  display: none;
}

.pg-indpcb .pg-indpcb-fold > .pg-indpcb-table-wrap {
  margin-top: 20px;
}

/* Engineering note: left rule on a tinted ground */
.pg-indpcb-note {
  padding: 20px 24px;
  border-left: 3px solid var(--pg-indpcb-primary);
  border-radius: 0 var(--pg-indpcb-radius-sm) var(--pg-indpcb-radius-sm) 0;
  background: var(--pg-indpcb-tint);
}

.pg-indpcb .pg-indpcb-note p {
  max-width: 1000px;
  color: var(--pg-indpcb-text);
}

.pg-indpcb .pg-indpcb-note a,
.pg-indpcb .pg-indpcb-note a:visited {
  font-weight: 600;
  color: var(--pg-indpcb-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pg-indpcb .pg-indpcb-note a:hover {
  color: var(--pg-indpcb-primary-dark);
}

.pg-indpcb .pg-indpcb-block > .pg-indpcb-note {
  margin-top: 24px;
}

/* Plain variant: rule only, used where a tinted band follows */
.pg-indpcb-note--plain {
  padding: 2px 0 2px 22px;
  border-left-color: var(--pg-indpcb-line-blue);
  border-radius: 0;
  background: none;
}

.pg-indpcb .pg-indpcb-note--plain p {
  max-width: 860px;
}


/* ---------------------------------------------------------------------
   8. Heavy copper feature section (dark)
   --------------------------------------------------------------------- */
.pg-indpcb .pg-indpcb-section--dark h2,
.pg-indpcb .pg-indpcb-section--dark h3,
.pg-indpcb .pg-indpcb-section--dark h4 {
  color: #fff;
}

/* Section header: title and intro left, scale diagram right */
.pg-indpcb-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--pg-indpcb-gap);
  align-items: center;
}

.pg-indpcb-feature__text {
  min-width: 0;
}

.pg-indpcb .pg-indpcb-feature__text > * + * {
  margin-top: 18px;
}

.pg-indpcb-feature__text p {
  color: var(--pg-indpcb-on-dark);
}

/* Scale diagram: two SVG panels that share one scale */
.pg-indpcb-scale {
  min-width: 0;
  padding: 24px 26px 18px;
  border: 1px solid var(--pg-indpcb-dark-line);
  border-radius: var(--pg-indpcb-radius);
  background: var(--pg-indpcb-dark-panel);
}

.pg-indpcb-scale__panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: end;
  justify-items: center;
}

.pg-indpcb .pg-indpcb-scale__svg {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  overflow: visible;
}

.pg-indpcb-scale figcaption {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--pg-indpcb-dark-line);
  font-size: 13px;
  line-height: 1.55;
  color: var(--pg-indpcb-on-dark-muted);
}

.pg-indpcb-scale__key {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 1px;
  background: var(--pg-indpcb-risk);
  opacity: 0.75;
  vertical-align: baseline;
}

/* SVG parts */
.pg-indpcb-svg__title {
  font-size: 16px;
  font-weight: 700;
  fill: #fff;
}

.pg-indpcb-svg__note {
  font-size: 14px;
  fill: rgba(255, 255, 255, 0.72);
}

.pg-indpcb-svg__ink {
  font-size: 13px;
  fill: var(--pg-indpcb-laminate-ink);
}

.pg-indpcb-svg__cu { fill: var(--pg-indpcb-cu); }
.pg-indpcb-svg__laminate { fill: var(--pg-indpcb-laminate); }

.pg-indpcb-svg__lost {
  fill: var(--pg-indpcb-risk);
  fill-opacity: 0.55;
}

.pg-indpcb-svg__design {
  fill: none;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 1.2;
  stroke-dasharray: 5 4;
}

.pg-indpcb-svg__dim {
  fill: none;
  stroke: rgba(255, 255, 255, 0.78);
  stroke-width: 1.2;
}

/* Risk matrix: three risks as columns, the three text blocks and the
   photo line up across columns through subgrid rows */
.pg-indpcb-risks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  overflow: hidden;
  border: 1px solid var(--pg-indpcb-dark-line);
  border-radius: var(--pg-indpcb-radius);
  background: var(--pg-indpcb-dark-panel);
}

.pg-indpcb-risk {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  min-width: 0;
}

.pg-indpcb-risk + .pg-indpcb-risk {
  border-left: 1px solid var(--pg-indpcb-dark-line);
}

.pg-indpcb .pg-indpcb-risk__title {
  display: flex;
  align-items: center;
  padding: 22px 28px;
  background: var(--pg-indpcb-dark-raise);
  font-size: 20px;
  line-height: 1.35;
}

.pg-indpcb-risk__block {
  padding: 20px 28px 22px;
  border-top: 1px solid var(--pg-indpcb-dark-line);
}

.pg-indpcb .pg-indpcb-risk__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

/* State markers: red square = failure, blue square = control,
   check mark = verification. Each marker is used for one meaning only. */
.pg-indpcb-risk__label::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: var(--pg-indpcb-ok-soft);
}

.pg-indpcb-risk__block--wrong .pg-indpcb-risk__label::before {
  background: var(--pg-indpcb-risk-soft);
}

.pg-indpcb-risk__block--verify .pg-indpcb-risk__label::before {
  flex-basis: 12px;
  width: 12px;
  height: 7px;
  margin-top: -3px;
  border-radius: 0;
  border-left: 2px solid var(--pg-indpcb-ok-soft);
  border-bottom: 2px solid var(--pg-indpcb-ok-soft);
  background: none;
  transform: rotate(-45deg);
}

.pg-indpcb .pg-indpcb-risk__block p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--pg-indpcb-on-dark);
}

.pg-indpcb-risk__fig {
  padding: 22px 28px 26px;
  border-top: 1px solid var(--pg-indpcb-dark-line);
}

.pg-indpcb .pg-indpcb-risk__fig img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
  background: var(--pg-indpcb-dark-media);
}

/* Schematic cross-sections drawn inline: they hold the figure slot until
   real microsection photos are supplied (an <img> works in the same slot) */
.pg-indpcb .pg-indpcb-risk__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 6px;
  background: #132b55;
}

.pg-indpcb-svg__resin { fill: #efe3c8; }
.pg-indpcb-svg__plate { fill: #e6a96e; }

.pg-indpcb-svg__weave {
  fill: none;
  stroke: #c4ae7c;
  stroke-width: 1.6;
}

.pg-indpcb-svg__rule {
  fill: none;
  stroke: var(--pg-indpcb-laminate-ink);
  stroke-width: 1.2;
}

.pg-indpcb-svg__lbl {
  font-size: 14px;
  fill: rgba(255, 255, 255, 0.84);
}

.pg-indpcb-svg__lbl--ink {
  fill: var(--pg-indpcb-laminate-ink);
}

.pg-indpcb-svg__lbl--cu {
  font-weight: 600;
  fill: #40230a;
}

.pg-indpcb-risk__fig figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--pg-indpcb-on-dark-muted);
}

/* Without subgrid the columns still work, rows just stop lining up */
@supports not (grid-template-rows: subgrid) {
  .pg-indpcb-risk {
    display: flex;
    flex-direction: column;
  }

  .pg-indpcb-risk__fig {
    margin-top: auto;
  }
}


/* ---------------------------------------------------------------------
   9. DFM review: mid-page CTA band
   --------------------------------------------------------------------- */
.pg-indpcb-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 28px 36px;
  border: 1px solid #cfe0f3;
  border-radius: var(--pg-indpcb-radius);
  background: linear-gradient(120deg, var(--pg-indpcb-tint) 0%, #f5f9fe 100%);
}

.pg-indpcb-band__text {
  min-width: 0;
  max-width: 800px;
}

.pg-indpcb-band__text p {
  color: var(--pg-indpcb-text);
}

.pg-indpcb .pg-indpcb-band__btn {
  flex-shrink: 0;
}


/* ---------------------------------------------------------------------
   10. Quality and traceability
   --------------------------------------------------------------------- */
/* Order flow strip with the records statement in one panel */
.pg-indpcb-trace {
  overflow: hidden;
  border: 1px solid var(--pg-indpcb-line);
  border-radius: var(--pg-indpcb-radius);
  background: #fff;
}

.pg-indpcb .pg-indpcb-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--pg-indpcb-line);
  background: var(--pg-indpcb-tint);
  counter-reset: pg-indpcb-step;
}

.pg-indpcb .pg-indpcb-steps li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 17px 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--pg-indpcb-heading);
  counter-increment: pg-indpcb-step;
}

/* Chevron between steps */
.pg-indpcb-steps li + li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--pg-indpcb-accent);
  border-right: 2px solid var(--pg-indpcb-accent);
  transform: translateY(-50%) rotate(45deg);
}

.pg-indpcb .pg-indpcb-trace__statement {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 32px 26px;
  font-size: 17px;
  line-height: 1.65;
  text-align: center;
  color: var(--pg-indpcb-heading);
  text-wrap: balance;
}

/* Cards left, inspection photos right. Two shared rows: the wide photo
   takes the height of the first card, the photo pair the height of the
   second. Photos crop to fit and never stretch. */
.pg-indpcb-quality {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--pg-indpcb-card-gap);
}

@media (min-width: 1025px) {
  .pg-indpcb-quality > .pg-indpcb-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .pg-indpcb-quality > .pg-indpcb-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .pg-indpcb-shot--wide {
    grid-column: 2;
    grid-row: 1;
  }

  .pg-indpcb-quality__pair {
    grid-column: 2;
    grid-row: 2;
  }
}

.pg-indpcb-quality__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

/* Photo with a plain caption below (same caption style page-wide) */
.pg-indpcb-shot {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 190px;
}

.pg-indpcb-shot__frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--pg-indpcb-radius);
  background: #dce4ee;
}

.pg-indpcb-shot figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--pg-indpcb-muted);
}

.pg-indpcb-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--pg-indpcb-card-pad);
  border: 1px solid var(--pg-indpcb-line);
  border-radius: var(--pg-indpcb-radius);
  background: #fff;
}

.pg-indpcb .pg-indpcb-card > * + * {
  margin-top: 14px;
}

.pg-indpcb .pg-indpcb-card__title {
  font-size: 21px;
  line-height: 1.35;
  color: var(--pg-indpcb-heading);
}

.pg-indpcb-card p {
  color: var(--pg-indpcb-text);
}

/* Certification marks, pinned to the card bottom */
.pg-indpcb .pg-indpcb-card > .pg-indpcb-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.pg-indpcb .pg-indpcb-marks::before {
  content: "";
  flex: 0 0 100%;
  height: 1px;
  margin: 24px 0 8px;
  background: var(--pg-indpcb-line);
}

.pg-indpcb .pg-indpcb-marks li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--pg-indpcb-heading);
}

.pg-indpcb .pg-indpcb-marks img {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--pg-indpcb-radius-sm);
}



/* ---------------------------------------------------------------------
   11. Technical resources
   --------------------------------------------------------------------- */
.pg-indpcb-guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.pg-indpcb-guide {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--pg-indpcb-line);
  border-radius: var(--pg-indpcb-radius);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pg-indpcb-guide:hover {
  border-color: var(--pg-indpcb-line-blue);
  box-shadow: 0 6px 18px rgba(13, 42, 82, 0.06);
}

/* Focus ring for keyboard users only: a mouse click on the card does not
   leave an outline behind (for example after returning with Back) */
.pg-indpcb-guide:has(.pg-indpcb-guide__link:focus-visible) {
  outline: 3px solid var(--pg-indpcb-sky);
  outline-offset: 2px;
}

@supports not selector(:has(*)) {
  .pg-indpcb-guide:focus-within {
    outline: 3px solid var(--pg-indpcb-sky);
    outline-offset: 2px;
  }
}

.pg-indpcb .pg-indpcb-guide__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--pg-indpcb-media);
}

.pg-indpcb-guide__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 22px 24px 24px;
}

.pg-indpcb .pg-indpcb-guide__body > * + * {
  margin-top: 10px;
}

.pg-indpcb .pg-indpcb-guide__title {
  font-size: 18px;
  line-height: 1.4;
}

.pg-indpcb .pg-indpcb-guide__link,
.pg-indpcb .pg-indpcb-guide__link:visited {
  color: var(--pg-indpcb-heading);
  text-decoration: none;
}

.pg-indpcb .pg-indpcb-guide:hover .pg-indpcb-guide__link {
  color: var(--pg-indpcb-primary);
}

/* Whole card is clickable through the title link */
.pg-indpcb-guide__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.pg-indpcb .pg-indpcb-guide__link:focus-visible {
  outline: none;
}

.pg-indpcb .pg-indpcb-guide__body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--pg-indpcb-text);
}

.pg-indpcb .pg-indpcb-guide__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: auto;
  padding-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--pg-indpcb-primary);
}

.pg-indpcb-guide__more::after {
  content: "\2192";
  transition: transform 0.2s ease;
}

.pg-indpcb-guide:hover .pg-indpcb-guide__more::after {
  transform: translateX(3px);
}

/* Pending state: guides not yet published */
.pg-indpcb-guides--pending .pg-indpcb-guide__link {
  pointer-events: none;
  cursor: default;
}

.pg-indpcb-guides--pending .pg-indpcb-guide__link::after,
.pg-indpcb .pg-indpcb-guides--pending .pg-indpcb-guide__more {
  display: none;
}

.pg-indpcb-guides--pending .pg-indpcb-guide:hover {
  border-color: var(--pg-indpcb-line);
  box-shadow: none;
}

.pg-indpcb .pg-indpcb-guides--pending .pg-indpcb-guide:hover .pg-indpcb-guide__link {
  color: var(--pg-indpcb-heading);
}


/* ---------------------------------------------------------------------
   12. FAQ accordion (centered column)
   --------------------------------------------------------------------- */
.pg-indpcb-faq {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid var(--pg-indpcb-line);
}

.pg-indpcb-faq__item {
  border-bottom: 1px solid var(--pg-indpcb-line);
}

.pg-indpcb-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
}

.pg-indpcb-faq__q::-webkit-details-marker {
  display: none;
}

.pg-indpcb-faq__q::marker {
  content: "";
}

.pg-indpcb-faq__q:focus-visible,
.pg-indpcb-fold__sum:focus-visible {
  outline: 3px solid var(--pg-indpcb-sky);
  outline-offset: 4px;
  border-radius: 2px;
}

.pg-indpcb .pg-indpcb-faq__q h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--pg-indpcb-heading);
}

.pg-indpcb .pg-indpcb-faq__q:hover h3,
.pg-indpcb .pg-indpcb-faq__item[open] .pg-indpcb-faq__q h3 {
  color: var(--pg-indpcb-primary);
}

/* Plus / minus indicator (FAQ and the phone table accordion) */
.pg-indpcb-faq__icon,
.pg-indpcb-fold__icon {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid #c5d5ea;
  border-radius: var(--pg-indpcb-radius-sm);
  background: #fff;
}

.pg-indpcb-faq__icon::before,
.pg-indpcb-faq__icon::after,
.pg-indpcb-fold__icon::before,
.pg-indpcb-fold__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--pg-indpcb-primary);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.pg-indpcb-faq__icon::after,
.pg-indpcb-fold__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.pg-indpcb-faq__item[open] .pg-indpcb-faq__icon::after,
.pg-indpcb-fold[open] .pg-indpcb-fold__icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.pg-indpcb-faq__a {
  padding: 0 48px 22px 0;
}

.pg-indpcb .pg-indpcb-faq__a > * + * {
  margin-top: 12px;
}

.pg-indpcb .pg-indpcb-faq__a p,
.pg-indpcb .pg-indpcb-faq__a li {
  line-height: 1.7;
  color: var(--pg-indpcb-text);
}

.pg-indpcb .pg-indpcb-faq__a ul {
  margin-bottom: 0;
  margin-left: 0;
  padding-left: 22px;
  list-style: disc;
}

.pg-indpcb .pg-indpcb-faq__a li {
  margin: 0;
}

.pg-indpcb .pg-indpcb-faq__a li + li {
  margin-top: 4px;
}

.pg-indpcb .pg-indpcb-faq__a li::marker {
  color: var(--pg-indpcb-accent);
}


/* ---------------------------------------------------------------------
   13. Phone quote bar (enabled below 768px by the page script)
   --------------------------------------------------------------------- */
.pg-indpcb-sticky {
  display: none;
}


/* ---------------------------------------------------------------------
   14. Responsive: tablet (1024px and below)
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .pg-indpcb {
    --pg-indpcb-section-y: 64px;
    --pg-indpcb-gap: 40px;
    --pg-indpcb-head-gap: 38px;
    --pg-indpcb-block-gap: 48px;
    --pg-indpcb-card-gap: 24px;
    --pg-indpcb-card-pad: 28px;
  }

  /* Hero */
  .pg-indpcb-hero__overlay {
    background: var(--pg-indpcb-hero-overlay-stacked);
  }

  .pg-indpcb-hero .pg-indpcb-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-indpcb-hero__summary,
  .pg-indpcb-hero__specs {
    max-width: 720px;
  }

  /* Applications: narrower photo column */
  .pg-indpcb-app {
    grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
  }

  .pg-indpcb-app__cols {
    gap: 24px;
  }

  /* Feature header stacks */
  .pg-indpcb-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-indpcb-feature__text {
    max-width: 780px;
  }

  /* Diagram runs full width with its panels centered */
  .pg-indpcb-scale__panels {
    grid-template-columns: repeat(2, minmax(0, 260px));
    gap: 60px;
    justify-content: center;
  }

  .pg-indpcb-scale figcaption {
    text-align: center;
  }

  /* Risk matrix: one risk per row, text blocks left, photo right */
  .pg-indpcb-risks {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .pg-indpcb-risk {
    display: grid;
    grid-row: auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    grid-template-rows: none;
  }

  .pg-indpcb-risk + .pg-indpcb-risk {
    border-top: 1px solid var(--pg-indpcb-dark-line);
    border-left: 0;
  }

  .pg-indpcb .pg-indpcb-risk__title {
    grid-column: 1 / -1;
  }

  .pg-indpcb-risk__block {
    grid-column: 1;
  }

  .pg-indpcb-risk__fig {
    grid-column: 2;
    grid-row: 2 / span 3;
    border-left: 1px solid var(--pg-indpcb-dark-line);
  }

  /* Quality: cards first, then one row of three photos */
  .pg-indpcb-quality {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pg-indpcb-quality > .pg-indpcb-card {
    grid-column: 1 / -1;
  }

  .pg-indpcb-quality__pair {
    display: contents;
  }

  .pg-indpcb-shot {
    min-height: 0;
  }

  .pg-indpcb-shot__frame {
    flex: none;
    aspect-ratio: 4 / 3;
  }

  /* Guides: one column of horizontal cards, no orphan third card */
  .pg-indpcb-guides {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .pg-indpcb-guide {
    flex-direction: row;
  }

  .pg-indpcb-guide__media {
    flex: 0 0 36%;
  }

  .pg-indpcb .pg-indpcb-guide__media img {
    height: 100%;
    min-height: 180px;
    aspect-ratio: auto;
  }
}


/* ---------------------------------------------------------------------
   15. Responsive: narrow tablet (860px and below)
   --------------------------------------------------------------------- */
@media (max-width: 860px) {
  /* Applications: photo on top */
  .pg-indpcb-app {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-indpcb-app__media {
    min-height: 0;
    aspect-ratio: 16 / 7;
  }

  .pg-indpcb-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .pg-indpcb .pg-indpcb-steps li {
    padding: 15px 12px;
    font-size: 14px;
  }
}


/* ---------------------------------------------------------------------
   16. Responsive: mobile (767px and below)
   --------------------------------------------------------------------- */
@media (max-width: 767px) {
  .pg-indpcb {
    --pg-indpcb-section-y: 52px;
    --pg-indpcb-gap: 32px;
    --pg-indpcb-head-gap: 30px;
    --pg-indpcb-block-gap: 40px;
    --pg-indpcb-card-gap: 20px;
    --pg-indpcb-card-pad: 22px 20px;
  }

  /* Headings read left-aligned on narrow screens */
  .pg-indpcb-head,
  .pg-indpcb-lead {
    text-align: left;
  }

  /* Hero */
  .pg-indpcb-hero__specs {
    padding: 4px 20px;
  }

  .pg-indpcb-hero__spec {
    padding: 14px 0 14px 38px;
  }

  .pg-indpcb .pg-indpcb-hero__icon {
    top: 14px;
  }

  .pg-indpcb-hero__spec dt {
    font-size: 18px;
  }

  /* Applications: title first, then the photo, requirements and build
     notes (the body box dissolves so its parts can be reordered) */
  .pg-indpcb-app {
    display: flex;
    flex-direction: column;
  }

  .pg-indpcb-app__body {
    display: contents;
  }

  .pg-indpcb-app__head {
    order: 1;
    padding: 18px 20px;
  }

  .pg-indpcb .pg-indpcb-app__title {
    font-size: 19px;
  }

  .pg-indpcb-app__media {
    order: 2;
    aspect-ratio: 16 / 9;
  }

  .pg-indpcb .pg-indpcb-app__cols {
    order: 3;
    margin-top: 0;
    padding: 18px 20px 22px;
  }

  /* With the script on, every card except the first starts closed. The
     whole title row is the toggle: a transparent button covers it and only
     a chevron shows, the same quiet pattern as the FAQ. The button's text
     stays available to screen readers. */
  .pg-indpcb--js .pg-indpcb-app:not(.is-open) .pg-indpcb-app__more {
    display: none;
  }

  .pg-indpcb.pg-indpcb--js .pg-indpcb-app__head {
    position: relative;
    padding-right: 52px;
  }

  .pg-indpcb.pg-indpcb--js .pg-indpcb-app__toggle {
    appearance: none;
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: var(--pg-indpcb-primary);
    font: inherit;
    cursor: pointer;
  }

  .pg-indpcb.pg-indpcb--js .pg-indpcb-app__toggle:hover,
  .pg-indpcb.pg-indpcb--js .pg-indpcb-app__toggle:focus,
  .pg-indpcb.pg-indpcb--js .pg-indpcb-app__toggle:active {
    background: transparent;
    color: var(--pg-indpcb-primary-dark);
  }

  /* The card clips its corners, so the focus ring sits inside the title row */
  .pg-indpcb.pg-indpcb--js .pg-indpcb-app__toggle:focus-visible {
    outline-offset: -3px;
  }

  /* Chevron: down when closed, up when open */
  .pg-indpcb-app__toggle::after,
  .pg-indpcb-spec__more::after {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transition: transform 0.2s ease;
  }

  .pg-indpcb-app__toggle::after {
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-70%) rotate(45deg);
  }

  .pg-indpcb-app.is-open .pg-indpcb-app__toggle::after {
    transform: translateY(-20%) rotate(-135deg);
  }

  /* DFM table: each row becomes a labeled card */
  .pg-indpcb-table-wrap--reflow {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .pg-indpcb .pg-indpcb-table--reflow,
  .pg-indpcb .pg-indpcb-table--reflow tbody,
  .pg-indpcb .pg-indpcb-table--reflow tr,
  .pg-indpcb .pg-indpcb-table--reflow th,
  .pg-indpcb .pg-indpcb-table--reflow td {
    display: block;
    width: 100%;
  }

  .pg-indpcb .pg-indpcb-table--reflow {
    background: transparent;
  }

  .pg-indpcb .pg-indpcb-table--reflow thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .pg-indpcb .pg-indpcb-table--reflow tbody tr {
    overflow: hidden;
    border: 1px solid var(--pg-indpcb-line);
    border-radius: var(--pg-indpcb-radius);
    background: #fff;
  }

  .pg-indpcb .pg-indpcb-table--reflow tbody tr + tr {
    margin-top: 12px;
  }

  .pg-indpcb .pg-indpcb-table--reflow tbody tr > th {
    padding: 12px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--pg-indpcb-line);
    background: var(--pg-indpcb-tint);
  }

  .pg-indpcb .pg-indpcb-table--reflow tbody tr > td {
    padding: 12px 16px 14px;
    border-bottom: 1px solid var(--pg-indpcb-line);
  }

  .pg-indpcb .pg-indpcb-table--reflow tbody tr > td:last-child {
    border-bottom: 0;
  }

  /* Field labels: heading color and a step up in size and weight, so they
     read as labels against the 15px text below */
  .pg-indpcb .pg-indpcb-table--reflow td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--pg-indpcb-heading);
  }

  /* Our response field in the brand blue, as on the other landing pages */
  .pg-indpcb .pg-indpcb-table--reflow td[data-label]:last-child::before {
    color: var(--pg-indpcb-primary);
  }

  /* Capability tables (materials, process limits, inspection) stay tables:
     tighter cells and smaller type */
  .pg-indpcb .pg-indpcb-table:not(.pg-indpcb-table--reflow) {
    font-size: 14px;
    line-height: 1.5;
  }

  .pg-indpcb .pg-indpcb-table:not(.pg-indpcb-table--reflow) th,
  .pg-indpcb .pg-indpcb-table:not(.pg-indpcb-table--reflow) td {
    padding: 11px 12px;
  }

  .pg-indpcb .pg-indpcb-table:not(.pg-indpcb-table--reflow) thead th {
    font-size: 13px;
  }

  /* Key/value tables: wider label column on narrow screens */
  .pg-indpcb .pg-indpcb-table--kv tbody th {
    width: 36%;
  }

  /* Process limits: separate borders so the frozen first column at 520px
     and below keeps its own borders. The group rule moves to the bottom of
     each group, so it is not doubled with the row hairline. */
  .pg-indpcb .pg-indpcb-table.pg-indpcb-table--spec {
    border-collapse: separate;
    border-spacing: 0;
  }

  .pg-indpcb .pg-indpcb-table--spec tbody + tbody tr:first-child > th,
  .pg-indpcb .pg-indpcb-table--spec tbody + tbody tr:first-child > td {
    border-top: 0;
  }

  .pg-indpcb .pg-indpcb-table--spec tbody:not(:last-child) tr:last-child > th,
  .pg-indpcb .pg-indpcb-table--spec tbody:not(:last-child) tr:last-child > td {
    border-bottom: 2px solid var(--pg-indpcb-line-blue);
  }

  /* With the script on, the holes and tolerances groups wait behind the
     button. Keep n+3 in step with SPEC_VISIBLE_GROUPS in the page script. */
  .pg-indpcb .pg-indpcb-scroll.is-collapsible:not(.is-expanded) .pg-indpcb-table--spec tbody:nth-of-type(n+3) {
    display: none;
  }

  /* Collapsed: the last visible row gets a plain hairline above the button.
     Expanded: the last row has no border, so the button draws its own. */
  .pg-indpcb .pg-indpcb-scroll.is-collapsible:not(.is-expanded) .pg-indpcb-table--spec tbody:nth-of-type(2) tr:last-child > * {
    border-bottom: 1px solid var(--pg-indpcb-line);
  }

  .pg-indpcb .pg-indpcb-scroll.is-collapsible .pg-indpcb-spec__more {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 13px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    color: var(--pg-indpcb-primary);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
    cursor: pointer;
  }

  .pg-indpcb .pg-indpcb-scroll.is-expanded .pg-indpcb-spec__more {
    border-top: 1px solid var(--pg-indpcb-line);
  }

  .pg-indpcb .pg-indpcb-scroll.is-collapsible .pg-indpcb-spec__more:hover,
  .pg-indpcb .pg-indpcb-scroll.is-collapsible .pg-indpcb-spec__more:focus {
    background: #fff;
    color: var(--pg-indpcb-primary-dark);
  }

  .pg-indpcb .pg-indpcb-scroll.is-collapsible .pg-indpcb-spec__more:focus-visible {
    outline-offset: -3px;
  }

  .pg-indpcb-spec__more::after {
    margin: -4px 4px 0 16px;
    transform: rotate(45deg);
  }

  .pg-indpcb-spec__more[aria-expanded="true"]::after {
    margin-top: 4px;
    transform: rotate(-135deg);
  }

  /* The materials and inspection tables fold on phones */
  .pg-indpcb-fold__sum {
    padding: 15px 16px 15px 18px;
    border: 1px solid var(--pg-indpcb-line);
    border-radius: var(--pg-indpcb-radius);
    background: #fff;
    cursor: pointer;
    pointer-events: auto;
  }

  .pg-indpcb-fold__icon {
    display: block;
  }

  .pg-indpcb .pg-indpcb-fold > .pg-indpcb-table-wrap {
    margin-top: 12px;
  }

  .pg-indpcb-note {
    padding: 16px 18px;
  }

  .pg-indpcb-note--plain {
    padding: 0 0 0 16px;
  }

  /* Feature diagram */
  .pg-indpcb-scale {
    padding: 18px 16px 14px;
  }

  /* Risk matrix: fully stacked */
  .pg-indpcb-risk {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-indpcb .pg-indpcb-risk__title {
    padding: 18px 20px;
    font-size: 19px;
  }

  .pg-indpcb-risk__block {
    padding: 18px 20px 20px;
  }

  .pg-indpcb-risk__fig {
    grid-column: 1;
    grid-row: auto;
    padding: 20px;
    border-left: 0;
  }

  /* Band */
  .pg-indpcb-band {
    padding: 24px 20px;
  }

  /* Flow strip: numbered vertical list */
  .pg-indpcb .pg-indpcb-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-indpcb .pg-indpcb-steps li {
    justify-content: flex-start;
    padding: 12px 18px;
    font-size: 15px;
    text-align: left;
  }

  .pg-indpcb .pg-indpcb-steps li + li {
    border-top: 1px solid #d5e3f3;
  }

  .pg-indpcb-steps li::before,
  .pg-indpcb-steps li + li::before {
    content: counter(pg-indpcb-step);
    position: static;
    flex: 0 0 26px;
    width: 26px;
    height: auto;
    border: 0;
    font-weight: 700;
    color: var(--pg-indpcb-accent);
    transform: none;
  }

  .pg-indpcb .pg-indpcb-trace__statement {
    padding: 18px 18px 20px;
    font-size: 16px;
    text-align: left;
  }

  /* Cards */
  .pg-indpcb .pg-indpcb-card__title {
    font-size: 19px;
  }

  /* FAQ */
  .pg-indpcb .pg-indpcb-faq__q h3 {
    font-size: 17px;
  }

  .pg-indpcb-faq__a {
    padding-right: 0;
  }

  /* Phone quote bar */
  .pg-indpcb--js .pg-indpcb-sticky {
    display: block;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--pg-indpcb-line);
    background: #fff;
    box-shadow: 0 -4px 16px rgba(13, 42, 82, 0.08);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }

  .pg-indpcb--js .pg-indpcb-sticky.is-visible {
    transform: none;
    visibility: visible;
  }

  .pg-indpcb .pg-indpcb-sticky .pg-indpcb-btn {
    width: 100%;
  }
}


/* ---------------------------------------------------------------------
   17. Phones (600px and below)
   --------------------------------------------------------------------- */
@media (max-width: 600px) {
  /* Applications: requirements above build notes */
  .pg-indpcb-app__cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  /* Diagram panels stack at their design width */
  .pg-indpcb-scale__panels {
    grid-template-columns: minmax(0, 260px);
    gap: 8px;
  }

  .pg-indpcb-scale figcaption {
    text-align: left;
  }

  /* Photos: wide frame over two small frames */
  .pg-indpcb-quality {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pg-indpcb-shot--wide {
    grid-column: 1 / -1;
  }

  .pg-indpcb-shot--wide .pg-indpcb-shot__frame {
    aspect-ratio: 16 / 9;
  }

  /* Guides: text-only cards, no thumbnail. Three titles fit on about one screen. */
  .pg-indpcb-guides {
    gap: 12px;
  }

  .pg-indpcb-guide {
    flex-direction: column;
  }

  .pg-indpcb-guide__media {
    display: none;
  }

  .pg-indpcb-guide__body {
    padding: 18px 20px 16px;
  }

  .pg-indpcb .pg-indpcb-guide__body > * + * {
    margin-top: 8px;
  }

  .pg-indpcb .pg-indpcb-guide__title {
    font-size: 17px;
    line-height: 1.4;
  }

  .pg-indpcb .pg-indpcb-guide__body p {
    font-size: 15px;
    line-height: 1.55;
  }

  .pg-indpcb .pg-indpcb-guide__more {
    padding-top: 6px;
  }
}


/* ---------------------------------------------------------------------
   18. Narrow phones (520px and below): process limits table scrolls sideways
   The three columns need 520px. Below that the table scrolls inside its
   panel: a narrow frozen parameter column (140px) leaves about 180-240px
   for the values, the standard column shows in full, and the edge of the
   blue project-specific column peeks in at the right. Between 521px and
   767px the table still fits on screen, so the hint stays hidden. If you
   widen the columns, keep this breakpoint at least 40px below
   (sum of the column widths + 42px).
   --------------------------------------------------------------------- */
@media (max-width: 520px) {
  .pg-indpcb .pg-indpcb-table.pg-indpcb-table--spec {
    table-layout: fixed;
    width: 520px;
    min-width: 520px;
  }

  .pg-indpcb .pg-indpcb-table--spec thead th:nth-child(1) { width: 140px; }
  .pg-indpcb .pg-indpcb-table--spec thead th:nth-child(2) { width: 160px; }
  .pg-indpcb .pg-indpcb-table--spec thead th:nth-child(3) { width: 220px; }

  /* Frozen parameter column; opaque backgrounds cover the cells sliding under it */
  .pg-indpcb .pg-indpcb-table.pg-indpcb-table--spec th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    box-shadow: 1px 0 0 var(--pg-indpcb-line), 4px 0 8px -4px rgba(13, 42, 82, 0.12);
  }

  .pg-indpcb-scroll::after {
    content: "Swipe \2194  to view full table";
    display: block;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--pg-indpcb-faint);
  }
}


/* ---------------------------------------------------------------------
   19. Small phones (480px and below)
   --------------------------------------------------------------------- */
@media (max-width: 480px) {
  /* Cert names wrap cleanly without leading dividers */
  .pg-indpcb-hero__certs {
    gap: 6px 20px;
  }

  .pg-indpcb-hero__certs li + li::before {
    display: none;
  }

  .pg-indpcb-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pg-indpcb .pg-indpcb-hero__actions .pg-indpcb-btn,
  .pg-indpcb .pg-indpcb-band__btn {
    width: 100%;
  }

  .pg-indpcb-band {
    align-items: stretch;
  }

  .pg-indpcb .pg-indpcb-card > .pg-indpcb-marks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
  }

  .pg-indpcb .pg-indpcb-marks::before {
    grid-column: 1 / -1;
  }
}


/* ---------------------------------------------------------------------
   20. Reduced motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .pg-indpcb *,
  .pg-indpcb *::before,
  .pg-indpcb *::after {
    transition: none !important;
  }
}