/* DFM review only: extend the approved manufacturing visual system. */
.dfm-review {
  --dfm-ink: #172b28;
  --dfm-muted: #405751;
  --dfm-teal: #075b56;
  --dfm-paper: #f7f5f0;
  --dfm-line: #c9d4cd;
  --dfm-focus: #a75c16;
  color: var(--dfm-ink);
  background: var(--dfm-paper);
  font-size: 1.125rem;
  line-height: 1.66;
}
.dfm-review ::selection { color: #fff; background: var(--dfm-teal); }
.dfm-review a { color: var(--dfm-teal); text-underline-offset: 5px; }
.dfm-review :is(a, button, input, summary, [tabindex]):focus-visible { outline: 3px solid var(--dfm-focus); outline-offset: 4px; }
.dfm-review :is(section, .sidebar-card)[id] { scroll-margin-top: 112px; }
.dfm-review :is(p, li, td, th, figcaption, a, label) { overflow-wrap: break-word; }
.dfm-review :is(h1, h2, h3) { color: var(--dfm-ink); letter-spacing: -.025em; text-wrap: balance; }
.dfm-review .discovery-header { min-height: 88px; padding: 14px clamp(20px, 5vw, 96px); gap: 24px; background: var(--dfm-paper); border-bottom-color: var(--dfm-line); backdrop-filter: none; }
.dfm-review .discovery-header > a { flex-shrink: 0; }
.dfm-review .discovery-header img { width: 196px; height: auto; }
.dfm-review .discovery-nav { gap: 20px; font-size: 1rem; }
.dfm-review .discovery-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.dfm-review .language-switcher { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--dfm-line); border-radius: 5px; }
.dfm-review .language-switcher a { justify-content: center; min-width: 44px; min-height: 44px; padding: 6px 9px; border-radius: 3px; font-size: 1rem; line-height: 1.2; }
.dfm-review .language-switcher [aria-current="page"] { color: #fff; background: var(--dfm-teal); }
.dfm-review .button { min-height: 54px; padding: 12px 18px; border-radius: 4px; font-size: 1rem; line-height: 1.45; font-weight: 700; font-family: inherit; box-shadow: none; cursor: pointer; }
.dfm-review .button.primary { color: #fff; background: var(--dfm-teal); border-color: var(--dfm-teal); }
.dfm-review .button.secondary { color: var(--dfm-teal); background: transparent; border-color: var(--dfm-line); }
.dfm-review .button:hover { transform: none; box-shadow: none; background: #e9f0eb; color: var(--dfm-teal); }
.dfm-review .button.primary:hover { background: #064a46; color: #fff; }
.dfm-review .button:active { transform: translateY(1px); }
.dfm-review .button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.dfm-review .discovery-nav .nav-cta { color: #fff; background: var(--dfm-ink); border-color: var(--dfm-ink); }
.dfm-review .dfm-menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; background: #fff; border: 1px solid var(--dfm-line); border-radius: 4px; color: var(--dfm-ink); cursor: pointer; }
.dfm-review .dfm-menu-toggle svg { width: 22px; height: 22px; }
.dfm-review .dfm-breadcrumb { width: min(1450px, 100%); margin-inline: auto; padding: 18px clamp(20px, 5vw, 96px) 0; font-size: 1rem; }
.dfm-review .dfm-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; list-style: none; margin: 0; padding: 0; }
.dfm-review .dfm-breadcrumb li { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.dfm-review .dfm-breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.dfm-review .dfm-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.dfm-review .discovery-hero { color: var(--dfm-ink); background: var(--dfm-paper); }
.dfm-review .hero-inner { width: min(1450px, 100%); padding: 26px clamp(20px, 5vw, 96px) 52px; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.dfm-review .hero-inner > div { min-width: 0; }
.dfm-review .discovery-hero h1 { max-width: 22ch; margin: 0 0 24px; font-size: clamp(2.25rem, 3.75vw, 3.75rem); line-height: 1.08; font-weight: 600; }
.dfm-review .hero-lead { max-width: 50ch; margin: 0; color: var(--dfm-muted); font-size: 1.25rem; line-height: 1.6; }
.dfm-review .hero-actions { margin: 26px 0 0; gap: 12px; }
.dfm-review .scope-note { margin: 26px 0 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--dfm-line); border-radius: 0; background: transparent; color: var(--dfm-muted); font-size: 1rem; }
.dfm-review .dfm-hero-media { min-width: 0; margin: 0; background: #fff; }
.dfm-review .hero-image { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 16/9; object-fit: contain; border-radius: 0; box-shadow: none; }
.dfm-review .dfm-hero-media figcaption { padding: 16px 20px 20px; border-top: 1px solid var(--dfm-line); color: var(--dfm-muted); font-size: 1rem; line-height: 1.55; }
.dfm-review .dfm-page-nav { border-top: 1px solid var(--dfm-line); border-bottom: 1px solid var(--dfm-line); }
.dfm-review .dfm-page-nav > div { width: min(1450px, 100%); padding: 10px clamp(20px, 5vw, 96px); margin: auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
.dfm-review .dfm-page-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; font-weight: 650; text-decoration: none; }
.dfm-review .page-shell { width: min(1450px, 100%); padding: 36px clamp(20px, 5vw, 96px) 64px; }
.dfm-review .content-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 4vw, 64px); }
.dfm-review .stack { gap: 0; }
.dfm-review .card { padding: 32px 0; border: 0; border-top: 1px solid var(--dfm-line); border-radius: 0; background: transparent; box-shadow: none; }
.dfm-review .stack > .card:first-child { border-top: 0; padding-top: 8px; }
.dfm-review .card h2 { max-width: 28ch; margin: 0 0 20px; font-size: clamp(1.8rem, 2.5vw, 2.5rem); line-height: 1.18; font-weight: 620; }
.dfm-review .card p { max-width: 70ch; color: var(--dfm-muted); margin-bottom: 18px; }
.dfm-review .decision-table-wrap { border: 1px solid var(--dfm-line); border-radius: 0; }
.dfm-review .decision-table { min-width: 0; font-size: 1rem; line-height: 1.55; }
.dfm-review .decision-table :is(th, td) { padding: 16px; border-color: var(--dfm-line); }
.dfm-review .decision-table th { color: var(--dfm-ink); background: #e9f0eb; }
.dfm-review .scope-option { min-height: 58px; padding: 14px 16px; border-radius: 4px; background: #fff; border-color: var(--dfm-line); font-size: 1rem; cursor: pointer; }
.dfm-review .scope-option:hover { background: #e9f0eb; }
.dfm-review .scope-option:has(input:checked) { border-color: var(--dfm-teal); background: #e9f0eb; }
.dfm-review .scope-option input { accent-color: var(--dfm-teal); width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; }
.dfm-review .scope-result { color: var(--dfm-ink); font-size: 1rem; border-radius: 4px; }
.dfm-review .scope-result .button { margin-top: 14px; }
.dfm-review .sidebar { top: 112px; gap: 24px; }
.dfm-review .sidebar-card { padding: 22px; border: 0; border-radius: 0; background: #fff; font-size: 1rem; }
.dfm-review .sidebar-card h3 { margin: 0 0 14px; font-size: 1.3rem; line-height: 1.3; }
.dfm-review .sidebar-card p { margin: 0; color: var(--dfm-muted); }
.dfm-review .sidebar-card li { margin-bottom: 8px; color: var(--dfm-muted); }
.dfm-review .boundary { border-left: 0; }
.dfm-review .faq summary { min-height: 44px; color: var(--dfm-ink); font-size: 1rem; }
.dfm-review .faq details { border-color: var(--dfm-line); }
.dfm-review .internal-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.dfm-review .internal-links a { display: inline-flex; align-items: center; min-height: 58px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--dfm-line); border-radius: 0; background: transparent; font-size: 1rem; }
.dfm-review .discovery-footer { padding: 32px clamp(20px, 5vw, 96px); background: var(--dfm-paper); color: var(--dfm-muted); border-top: 1px solid var(--dfm-line); font-size: 1rem; }
.dfm-review .discovery-footer a { color: var(--dfm-teal); display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 1100px) {
  .dfm-review .discovery-header { flex-wrap: wrap; gap: 12px; }
  .dfm-review .discovery-nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; }
  .dfm-review .discovery-nav a:not(.nav-cta) { display: inline-flex; }
  .dfm-enhanced .dfm-review .dfm-menu-toggle { display: inline-flex; }
  .dfm-enhanced .dfm-review .discovery-nav:not(.is-open) { display: none; }
  .dfm-review .content-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
}
@media (max-width: 900px) {
  .dfm-review .hero-inner, .dfm-review .content-grid { grid-template-columns: minmax(0, 1fr); }
  .dfm-review .hero-inner { gap: 28px; }
  .dfm-review .dfm-hero-media { max-width: 720px; }
  .dfm-review .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dfm-review .sidebar > .button { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 600px) {
  .dfm-review .discovery-header { min-height: 74px; }
  .dfm-review .discovery-header img { width: 170px; }
  .dfm-review .discovery-nav { gap: 10px 18px; padding-top: 10px; }
  .dfm-review .language-switcher { width: 100%; justify-content: center; }
  .dfm-review .language-switcher a { flex: 1; }
  .dfm-review .discovery-nav .nav-cta { width: 100%; }
  .dfm-review .hero-inner { padding-top: 22px; padding-bottom: 36px; }
  .dfm-review .discovery-hero h1 { font-size: 2.25rem; }
  .dfm-review .hero-lead { font-size: 1.125rem; }
  .dfm-review .hero-actions { flex-direction: column; align-items: stretch; }
  .dfm-review .hero-actions .button { width: 100%; }
  .dfm-review .dfm-page-nav > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
  .dfm-review .page-shell { padding-top: 24px; }
  .dfm-review .card h2 { font-size: 1.9rem; }
  .dfm-review .sidebar { grid-template-columns: minmax(0, 1fr); }
  .dfm-review .internal-links { grid-template-columns: minmax(0, 1fr); }
  .dfm-review .decision-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .dfm-review .decision-table :is(tbody, tr, td) { display: block; width: 100%; }
  .dfm-review .decision-table tbody tr { padding: 10px 16px; border-bottom: 1px solid var(--dfm-line); }
  .dfm-review .decision-table tbody tr:last-child { border-bottom: 0; }
  .dfm-review .decision-table td { padding: 8px 0; border: 0; font-size: 1rem; }
  .dfm-review .decision-table td::before { content: attr(data-label); display: block; margin-bottom: 3px; font-weight: 700; color: var(--dfm-ink); }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.dfm-review) { scroll-behavior: auto; }
  .dfm-review .button { transition: none; }
}
