/*
 * Step 19: apply the 2026-07-24 section feedback without changing the
 * underlying MLTox brand system or information architecture.
 */

.feedback-v02,
.feedback-v02 * {
  letter-spacing: 0;
}

/* Transparent at the top, quiet solid surface after scrolling. */
.feedback-v02 .site-header {
  border-bottom-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    backdrop-filter 160ms ease;
}

.feedback-v02 .site-header.scrolled,
.feedback-v02.menu-open .site-header {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

/* Short, uncropped image heroes. */
.feedback-v02 .hero--art {
  min-height: 0;
  height: clamp(440px, 56vh, 500px);
  align-items: flex-start;
  padding: 28px 0 36px;
  background: #ffffff;
}

.feedback-v02 .hero--art .hero-backdrop img {
  object-fit: contain;
  object-position: center;
}

.feedback-v02 .hero--art .hero__inner {
  align-items: flex-start;
}

.feedback-v02 .hero--art .hero__copy,
.feedback-v02.final-view .hero--art .hero__copy,
.feedback-v02.final-view .hero--home .hero__copy {
  width: min(52%, 570px);
  margin-top: 18px;
}

.feedback-v02 .hero--art .hero__lead {
  max-width: 520px;
}

.feedback-v02 .hero--reports .hero__copy {
  padding: 22px 24px;
  border: 1px solid rgba(203, 215, 216, 0.84);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(4px);
}

/* Flat visual language: borders and spacing carry hierarchy, not shadows. */
.feedback-v02 .info-card,
.feedback-v02 .solution-cta,
.feedback-v02 .integration-grid article,
.feedback-v02 .process-diagram,
.feedback-v02 .portal-frame,
.feedback-v02 .ui-shot,
.feedback-v02 .product-visual,
.feedback-v02 .visual-review-media,
.feedback-v02 .pdf-frame,
.feedback-v02 .form-card,
.feedback-v02 .access-card,
.feedback-v02 .pilot-measures,
.feedback-v02 .section-feedback-sidebar {
  box-shadow: none;
}

.feedback-v02 main * {
  box-shadow: none !important;
}

.feedback-v02.final-view .product-visual {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.feedback-v02.final-view .product-visual .visual-review-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.feedback-v02.final-view .product-visual figcaption,
.feedback-v02 .ui-shot figcaption {
  padding: 12px 0 0;
  border: 0;
  color: var(--ink-muted);
  background: transparent;
}

.feedback-v02 .ui-shot {
  overflow: visible;
  border: 0;
  background: transparent;
}

.feedback-v02 .ui-shot__bar {
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.feedback-v02 .ui-shot img,
.feedback-v02 .ui-shot picture {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  background: #ffffff;
}

.feedback-v02 .scientific-note {
  border-top: 0;
}

/* Reusable L1 product-story layout. */
.layout-l1,
.home-products .product-story {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(500px, 1.18fr);
  align-items: center;
  gap: 64px;
}

.layout-l1 {
  padding-top: 8px;
}

.layout-l1__copy {
  min-width: 0;
}

.layout-l1 .visual-under,
.layout-l1 .product-visual {
  width: 100%;
  margin: 0;
}

.home-products .section-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.home-products {
  padding-top: 64px;
}

.home-products .section-heading h2,
.home-products .section-heading p:last-child {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

.home-products .section-heading h2 {
  font-size: clamp(34px, 4vw, 46px);
}

.home-products .product-story {
  padding: 56px 0;
}

.home-products .product-story--small,
.home-products .product-story--biologics {
  grid-template-columns: minmax(300px, 0.82fr) minmax(500px, 1.18fr);
}

.home-products .product-story--small .visual-full {
  grid-column: auto;
}

.buyers-heading {
  width: 100%;
  max-width: none;
}

.buyers-heading h2,
.buyers-heading p:last-child {
  max-width: none;
}

/* Vertical workflow artwork and readable explanatory steps. */
.workflow-layout {
  grid-template-columns: minmax(300px, 0.78fr) minmax(430px, 1.22fr);
  gap: 76px;
  align-items: center;
}

.workflow-visual {
  width: min(100%, 440px);
  margin: 0 auto;
}

.workflow-visual img {
  display: block !important;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.workflow-visual figcaption {
  padding-top: 12px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.55;
}

.band--ink .workflow-visual figcaption {
  color: #c5d1d2;
}

.workflow-layout > .step-grid,
.workflow-layout > .question-list {
  gap: 28px;
}

.workflow-layout > .step-grid li,
.workflow-layout > .question-list li {
  min-height: 78px;
}

.workflow-layout > .step-grid li:not(:last-child)::after {
  display: none;
}

.feedback-v02 .step-number,
.feedback-v02 .question-list span,
.feedback-v02 .band--ink .step-number,
.feedback-v02 .band--ink .question-list span {
  border-color: #b9c7c8;
  color: #0b1a1c;
  background: #ffffff;
}

.feedback-v02 .band--ink .workflow-visual img {
  border-color: #496164;
}

/* Consistent, meaningful icon system across cards and utility lists. */
.feedback-v02 .info-card__icon,
.feedback-v02 .solution-cta__icon,
.feedback-v02 .compact-feature-list article > svg,
.feedback-v02 .record-list li > svg,
.feedback-v02 .icon-list li > svg {
  border: 1px solid transparent;
  box-shadow: none;
}

.feedback-v02 .card-grid .info-card:nth-child(4n + 1) .info-card__icon,
.feedback-v02 .solution-cta-grid .solution-cta:nth-child(4n + 1) .solution-cta__icon,
.feedback-v02 .integration-grid article:nth-child(4n + 1) .solution-cta__icon,
.feedback-v02 .compact-feature-list article:nth-child(4n + 1) > svg {
  border-color: #8fd3c9;
  color: #08766a;
  background: #e5f6f2;
}

.feedback-v02 .card-grid .info-card:nth-child(4n + 2) .info-card__icon,
.feedback-v02 .solution-cta-grid .solution-cta:nth-child(4n + 2) .solution-cta__icon,
.feedback-v02 .integration-grid article:nth-child(4n + 2) .solution-cta__icon,
.feedback-v02 .compact-feature-list article:nth-child(4n + 2) > svg {
  border-color: #a9c8dc;
  color: #285f85;
  background: #eef6fa;
}

.feedback-v02 .card-grid .info-card:nth-child(4n + 3) .info-card__icon,
.feedback-v02 .compact-feature-list article:nth-child(4n + 3) > svg {
  border-color: #e9b8ad;
  color: #a63f2d;
  background: #fff1ed;
}

.feedback-v02 .card-grid .info-card:nth-child(4n + 4) .info-card__icon,
.feedback-v02 .compact-feature-list article:nth-child(4n + 4) > svg {
  border-color: #e1c078;
  color: #7a5100;
  background: #fff7e5;
}

.feedback-v02 .icon-list li:nth-child(4n + 1) > svg,
.feedback-v02 .record-list li:nth-child(4n + 1) > svg {
  color: #08766a;
}

.feedback-v02 .icon-list li:nth-child(4n + 2) > svg,
.feedback-v02 .record-list li:nth-child(4n + 2) > svg {
  color: #285f85;
}

.feedback-v02 .icon-list li:nth-child(4n + 3) > svg,
.feedback-v02 .record-list li:nth-child(4n + 3) > svg {
  color: #a63f2d;
}

.feedback-v02 .icon-list li:nth-child(4n + 4) > svg,
.feedback-v02 .record-list li:nth-child(4n + 4) > svg {
  color: #7a5100;
}

.endpoint-grid--illustrated li {
  grid-template-columns: 64px minmax(0, 1fr);
}

.endpoint-icon {
  width: 60px;
  height: 60px;
}

.solution-cta .button-row {
  flex-wrap: nowrap;
  gap: 10px;
}

.solution-cta .button {
  min-width: 0;
  padding-right: 14px;
  padding-left: 14px;
  white-space: nowrap;
}

/* Product and platform-specific refinements. */
.record-layout {
  grid-template-columns: minmax(470px, 1.05fr) minmax(340px, 0.95fr);
}

.ui-shot--record {
  width: 92%;
}

.integration-grid .button {
  margin-top: 22px;
}

.integration-grid .button-row {
  margin-top: 22px;
}

.integration-grid .button-row .button {
  margin-top: 0;
}

/* Branded PDF.js preview: document first, controls second. */
.report-layout {
  grid-template-columns: minmax(410px, 0.9fr) minmax(560px, 1.1fr);
  gap: 56px;
}

.report-copy {
  position: static;
  order: -1;
}

.pdf-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f4f7f7;
}

.pdf-viewer__toolbar {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.pdf-viewer__group {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.pdf-viewer__title {
  overflow: hidden;
  margin-right: 4px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-viewer__button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-soft);
  background: #ffffff;
  cursor: pointer;
}

.pdf-viewer__button:hover {
  border-color: #8fd3c9;
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.pdf-viewer__button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.pdf-viewer__page {
  min-width: 70px;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
}

.pdf-viewer__stage {
  display: grid;
  height: 700px;
  place-items: start center;
  padding: 16px;
  overflow: auto;
  background: #e9eeee;
}

.pdf-viewer canvas {
  display: block;
  max-width: none;
  border: 1px solid #d5dfe0;
  background: #ffffff;
}

.pdf-viewer__status {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.pdf-viewer.has-error .pdf-viewer__stage {
  min-height: 360px;
  place-items: center;
}

.pdf-viewer.has-error .pdf-viewer__status {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  color: var(--ink-muted);
  white-space: normal;
}

.pdf-viewer.is-rendering canvas {
  opacity: 0.62;
}

/* Review rail is deliberately utilitarian and separate from the product UI. */
.feedback-v02 .section-feedback-sidebar {
  border-left-color: #b9c7c8;
}

@media (max-width: 1180px) {
  .layout-l1,
  .home-products .product-story,
  .home-products .product-story--small,
  .home-products .product-story--biologics {
    grid-template-columns: minmax(280px, 0.9fr) minmax(430px, 1.1fr);
    gap: 44px;
  }

  .workflow-layout,
  .workflow-layout--validation {
    grid-template-columns: minmax(280px, 0.75fr) minmax(380px, 1.25fr);
    gap: 48px;
  }

  .report-layout {
    grid-template-columns: minmax(360px, 0.9fr) minmax(500px, 1.1fr);
    gap: 42px;
  }
}

@media (max-width: 900px) {
  .feedback-v02 .hero--art {
    height: auto;
    min-height: 520px;
    padding: 34px 0 46px;
  }

  .feedback-v02 .hero--art .hero-backdrop img {
    object-fit: cover;
    object-position: 66% center;
    opacity: 0.44;
  }

  .feedback-v02 .hero--art .hero__copy,
  .feedback-v02.final-view .hero--art .hero__copy,
  .feedback-v02.final-view .hero--home .hero__copy {
    width: min(100%, 680px);
    padding: 20px;
    border: 1px solid rgba(203, 215, 216, 0.84);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
  }

  .layout-l1,
  .home-products .product-story,
  .home-products .product-story--small,
  .home-products .product-story--biologics,
  .workflow-layout,
  .workflow-layout--validation,
  .record-layout,
  .report-layout {
    grid-template-columns: 1fr;
  }

  .layout-l1,
  .home-products .product-story {
    gap: 32px;
  }

  .workflow-visual {
    width: min(100%, 380px);
  }

  .ui-shot--record {
    width: 100%;
  }

  .pdf-viewer__stage {
    height: 620px;
  }
}

@media (max-width: 640px) {
  .feedback-v02 .hero--art {
    min-height: 560px;
  }

  .feedback-v02 .hero--art .hero__copy,
  .feedback-v02.final-view .hero--art .hero__copy,
  .feedback-v02.final-view .hero--home .hero__copy {
    padding: 18px;
  }

  .feedback-v02 .hero--art h1 {
    font-size: 40px;
  }

  .home-products .section-heading h2 {
    font-size: 34px;
  }

  .solution-cta .button-row {
    flex-wrap: wrap;
  }

  .solution-cta .button {
    width: 100%;
    white-space: normal;
  }

  .endpoint-grid--illustrated li {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .endpoint-icon {
    width: 54px;
    height: 54px;
  }

  .pdf-viewer__toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .pdf-viewer__group {
    width: 100%;
    justify-content: space-between;
  }

  .pdf-viewer__stage {
    height: 520px;
    padding: 10px;
  }
}
