/* Product-line landing — site glue only. Layout/skin: make-ffc-build.css (Make App.tsx). */
body.pl-line-page {
  --pl-radius: 18px;
  scroll-padding-top: var(--pl-scroll-pad, 152px);
}
/* Document scrollport is html — keep in sync with body pad */
html:has(body.pl-line-page) {
  scroll-padding-top: var(--pl-scroll-pad, 152px);
}
/* pl_line_shell skips basic.css / make-components — keep skip link out of flow until focus. */
body.pl-line-page > .skip-link,
body.pl-line-page > .skip-to-content {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--main-color);
  color: #fff;
}
body.pl-line-page > .skip-link:focus,
body.pl-line-page > .skip-to-content:focus {
  top: 5px;
}
body.pl-line-page .make-ffc,
body.pl-line-page .line-navigation.make-ffc {
  scroll-margin-top: 0;
}

/* Homepage includes must not inherit Make FFC .container / .section — they are outside .make-ffc. */

/* Specs fallback table (site CMS rows not in Make App) */
body.pl-line-page .spec-table-fallback {
  margin-top: 1.5rem;
  overflow-x: auto;
}
body.pl-line-page .spec-table-fallback table {
  width: 100%;
  border-collapse: collapse;
}
body.pl-line-page .spec-table-fallback th,
body.pl-line-page .spec-table-fallback td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--nw-border);
  text-align: left;
}

/* Product rail (tabs, cards, pager) lives in nw-product-rail.css. */

/* FFC measurement: photo switches with the six cards. Labels sit in HTML. */
body.pl-line-page .measure-ffc .measure-stage {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
}
body.pl-line-page .measure-ffc .measure-content {
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
}
/* Photo box keeps the source ratio (5:3), so lines and arrows are never scaled up. */
body.pl-line-page .measure-ffc .measure-photo {
  position: relative;
  flex: none;
  width: 100%;
  aspect-ratio: 5 / 3;
  overflow: hidden;
}
@media (min-width: 1280px) {
  body.pl-line-page .make-ffc.measure-ffc .measure-grid {
    gap: 24px;
  }
}
/* White photo box inside the tinted stage, so the image keeps a margin (PC/tablet only; phone unchanged) */
@media (min-width: 961px) {
  body.pl-line-page .measure-ffc .measure-photo {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
  }
}
body.pl-line-page .measure-ffc .measure-frame {
  display: none;
  position: absolute;
  inset: 0;
}
body.pl-line-page .measure-ffc .measure-frame.is-active {
  display: block;
}
body.pl-line-page .measure-ffc .measure-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Labels sit in the blank area of each picture; x/y are % of the picture. */
body.pl-line-page .measure-ffc .measure-callout {
  position: absolute;
  z-index: 1;
  white-space: nowrap;
}
body.pl-line-page .measure-ffc .measure-callout.is-center {
  transform: translateX(-50%);
}
body.pl-line-page .measure-ffc .measure-callout.is-middle {
  transform: translate(-50%, -50%);
}
body.pl-line-page .measure-ffc .measure-callout b {
  font-size: var(--nw-fs-title);
  font-weight: 500;
  line-height: 1.35;
  color: var(--nw-ink-strong);
}
body.pl-line-page .measure-ffc .measure-mark {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -50%);
  color: var(--nw-ink-strong);
  font-size: var(--nw-fs-meta);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
body.pl-line-page .measure-ffc .measure-handoff {
  flex: none;
  margin-top: auto;
  padding-top: 16px;
}
body.pl-line-page .measure-ffc .measure-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
  height: 100%;
  margin: 0;
}
body.pl-line-page .measure-ffc .measure-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  margin: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
body.pl-line-page .measure-ffc .measure-step-title {
  display: block;
  font-size: var(--nw-fs-body);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.35px;
}
body.pl-line-page .measure-ffc .measure-step-text {
  display: block;
  font-size: var(--nw-fs-meta);
  line-height: 1.75;
  color: var(--nw-text-soft);
  margin-top: 9px;
  margin-bottom: 16px;
}
body.pl-line-page .measure-ffc .measure-step.is-active {
  background: #18243f;
  border-color: #18243f;
  color: #fff;
}
body.pl-line-page .measure-ffc .measure-step.is-active .measure-step-top {
  color: #a5b3d4;
}
body.pl-line-page .measure-ffc .measure-step.is-active .measure-step-text {
  color: #b7c3dc;
}
body.pl-line-page .measure-ffc .measure-step.is-active .measure-references > span {
  background: #ffffff12;
  color: #d5ddf8;
  border: 1px solid #ffffff18;
}
@media (max-width: 1200px) {
  body.pl-line-page .measure-ffc .measure-stage,
  body.pl-line-page .measure-ffc .measure-content {
    grid-column: 1;
    grid-row: auto;
  }
  body.pl-line-page .measure-ffc .measure-steps {
    height: auto;
    grid-template-rows: none;
  }
}
@media (max-width: 960px) {
  body.pl-line-page .measure-ffc .measure-callout b {
    font-size: var(--nw-fs-body);
  }
}
