/* One engineering visual system: existing brand tokens and locally hosted PT Sans. */
.mh-engineering-page { color: var(--color-text-primary); background: var(--color-canvas); }
.mh-engineering-page :is(h1,h2,h3) { font-family: var(--font-family-heading); text-wrap: balance; }
.mh-engineering-page h1 { margin: 0 0 var(--space-6); font-size: clamp(2.25rem,3.8vw,4rem); line-height: 1.08; letter-spacing: -.025em; max-width: 23ch; }
.mh-engineering-page h2 { margin: 0 0 var(--space-6); font-size: clamp(1.6rem,2.2vw,2.3rem); line-height: 1.16; }
.mh-engineering-page h3 { line-height: 1.25; }
.mh-engineering-page :is(p,li,dd,td,th,a) { overflow-wrap: anywhere; }
.mh-engineering-page :is(section,[id]),.mh-catalog-page [id] { scroll-margin-top: calc(var(--header-height) + 2rem); }
.mh-engineering-page :is(a,summary,select,button):focus-visible,.mh-catalog-page :is(a,summary,select,button):focus-visible { outline: 3px solid var(--color-brand-purple); outline-offset: 4px; }
.mh-engineering-page :is(a,summary,select,button),.mh-catalog-page :is(a,summary,select,button) { touch-action: manipulation; }
.mh-industrial-hero { padding-block: clamp(2.5rem,5vw,5rem); background: var(--color-surface-lavender); border-block-end: 1px solid var(--color-border); }
.mh-industrial-hero .mh-answer-first { max-width: 68ch; margin: 0 0 var(--space-8); font-size: clamp(1.1rem,1.4vw,1.3rem); line-height: 1.65; color: var(--color-text-primary); }
.mh-industrial-hero .mh-button-group { margin-top: var(--space-8); }
.mh-engineering-section { padding-block: clamp(2rem,4vw,4rem); }
.mh-engineering-section + .mh-engineering-section { border-top: 1px solid var(--color-border); }
.mh-engineering-body { display: grid; grid-template-columns: minmax(0,1fr) minmax(15rem,.28fr); gap: clamp(2rem,5vw,5rem); align-items: start; }
.mh-engineering-main { min-width: 0; }
.mh-engineering-sidebar { margin-block: var(--space-12); padding: var(--space-6); background: var(--color-surface-lavender); border-top: 3px solid var(--color-brand-purple); border-radius: var(--radius-card); }
.mh-engineering-sidebar h2 { font-size: 1.4rem; margin-bottom: var(--space-4); }
.mh-engineering-sidebar p { line-height: 1.65; }
.mh-engineering-sidebar .mh-text-link { display: flex; padding-block: var(--space-3); min-height: 44px; }
.mh-engineering-prose { max-width: 78ch; font-size: 1.125rem; line-height: 1.75; }
.mh-engineering-prose :is(h2,h3) { margin-top: var(--space-10); margin-bottom: var(--space-4); }
.mh-engineering-prose > :first-child { margin-top: 0; }
.mh-engineering-prose a { text-underline-offset: .2em; }
.mh-engineering-prose .mh-table-scroll { max-width: 100%; }

/* A single category tree is rendered; native details works without JavaScript. */
.mh-catalog-page .mh-category-navigation { display: block; background: var(--color-canvas); border: 1px solid var(--color-border); }
.mh-category-navigation > summary { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); min-height: 52px; cursor: pointer; color: var(--color-footer-dark); font-weight: 700; background: var(--color-surface-lavender); }
.mh-category-navigation > summary::after { content: '+'; margin-left: auto; font-size: 1.4rem; }
.mh-category-navigation[open] > summary::after { content: '−'; }
.mh-category-navigation .mh-catalog-category-panel h2 { font-size: 1rem; color: var(--color-text-secondary); font-weight: 400; padding-block: var(--space-3); }
.mh-catalog-page .mh-catalog-category-item:first-child > a { background: transparent; color: var(--color-text-primary); }
.mh-catalog-page .mh-catalog-category-item:first-child :is(.mh-icon,.mh-catalog-category-count,.mh-catalog-category-arrow) { color: var(--color-brand-purple); }
.mh-catalog-page .mh-catalog-category-item a { min-height: 64px; }
.mh-catalog-page .mh-catalog-category-item a:hover { background: var(--color-surface-lavender); }
.mh-catalog-page .mh-catalog-category-item.is-active a { background: var(--color-brand-purple); color: var(--color-on-dark); }
.mh-catalog-page .mh-catalog-category-item.is-active :is(.mh-icon,.mh-catalog-category-count,.mh-catalog-category-arrow) { color: var(--color-on-dark); }
.mh-catalog-page .mh-catalog-browser { padding-block: var(--space-10) var(--space-16); }
.mh-catalog-page .mh-catalog-hero { background: var(--color-footer-dark); color: var(--color-on-dark); position: relative; isolation: isolate; }
.mh-catalog-page .mh-catalog-hero__visual { position: absolute; inset: 0; z-index: -2; }
.mh-catalog-page .mh-catalog-hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.mh-catalog-page .mh-catalog-hero__shade { position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb,var(--color-footer-dark) 90%,transparent); }
.mh-catalog-page .mh-catalog-hero__inner { padding-block: var(--space-8); min-height: 22rem; }
.mh-catalog-page .mh-catalog-hero__copy { max-width: 62ch; }
.mh-catalog-page .mh-catalog-hero h1 { font-size: clamp(2.125rem,3.75vw,3.75rem); line-height: 1.08; margin-block: 0 var(--space-5); }
.mh-catalog-page .mh-catalog-hero .mh-answer-first { color: var(--color-on-dark); max-width: 65ch; }
.mh-catalog-page .mh-catalog-browser__grid { grid-template-columns: minmax(15rem, .29fr) minmax(0,1fr); gap: var(--space-8); }
.mh-catalog-page .mh-catalog-sidebar .mh-email-inquiry { margin-top: var(--space-6); padding: var(--space-5); }
.mh-catalog-sidebar .mh-email-inquiry .mh-button { white-space: normal; text-align: center; }
.mh-catalog-page .mh-catalog-filter-disclosure { margin-block: var(--space-6); background: var(--color-surface-lavender); }
.mh-catalog-page .mh-catalog-filter-disclosure > summary { min-height: 56px; padding: var(--space-4); }
.mh-filter-form__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--space-4); }
.mh-filter-form__grid > * { min-width: 0; }
.mh-filter-form select { width: 100%; max-width: 100%; min-height: 48px; color: var(--color-text-primary); background-color: var(--color-canvas); font: inherit; text-overflow: ellipsis; border: 1px solid var(--color-border); border-radius: var(--radius-control); }
.mh-filter-form label { display: block; margin-bottom: var(--space-2); font-weight: 700; }
.mh-filter-count { margin-block: var(--space-5); font-size: 1rem; }

/* Engineering cards: quiet image stage, separate model, aligned specification rows. */
.mh-catalog-product-grid,.mh-engineering-page .mh-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: auto; gap: var(--space-5); align-items: stretch; }
.mh-catalog-page .mh-product-card.mh-catalog-product-card,.mh-product-card.mh-catalog-product-card { display: flex; flex-direction: column; min-width: 0; padding: 0; margin: 0; background: var(--color-canvas); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: none; overflow: hidden; transition: border-color 160ms ease, box-shadow 160ms ease; }
.mh-product-card.mh-catalog-product-card:hover { border-color: var(--color-brand-purple); box-shadow: var(--shadow-card); }
.mh-catalog-product-card .mh-catalog-product-card__image-link { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4/3; margin: 0; padding: var(--space-5); background: var(--color-surface-lavender); border-bottom: 1px solid var(--color-border); }
.mh-catalog-product-card .mh-catalog-product-card__image-link > img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: contain; mix-blend-mode: multiply; }
.mh-catalog-product-card .mh-official-product-placeholder { width: 100%; }
.mh-catalog-product-card .mh-official-product-placeholder img { object-fit: contain; }
.mh-catalog-product-card__body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: var(--space-5); }
.mh-product-model { color: var(--color-brand-purple); font-weight: 700; font-size: 1rem; line-height: 1.3; margin: 0 0 var(--space-2); letter-spacing: .02em; }
.mh-catalog-product-card .mh-catalog-product-card__body h3 { margin: 0 0 var(--space-5); padding: 0; font-size: clamp(1.2rem,1.3vw,1.45rem); line-height: 1.3; text-align: left; min-height: 3.9em; }
.mh-catalog-product-card h3 a { color: var(--color-text-primary); text-decoration: none; }
.mh-catalog-product-card h3 a:hover { color: var(--color-brand-purple); }
.mh-catalog-product-card .mh-catalog-product-features { display: block; margin: 0 0 var(--space-6); padding: 0; color: var(--color-text-primary); list-style: none; line-height: 1.4; }
.mh-catalog-product-features > div { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: var(--space-3); padding-block: var(--space-3); border-top: 1px solid var(--color-border); }
.mh-catalog-product-card :is(dt,dd) { margin: 0; min-width: 0; font-size: 1rem; overflow-wrap: anywhere; }
.mh-catalog-product-card dt { color: var(--color-text-secondary); font-weight: 400; }
.mh-catalog-product-card dd { color: var(--color-text-primary); }
.mh-product-card__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.mh-product-card__actions .mh-text-link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; font-weight: 700; }
.mh-product-card__actions .mh-icon { width: 20px; height: 20px; }
.mh-product-card__quote { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; color: var(--color-brand-purple); text-underline-offset: .2em; }
.mh-catalog-product-card .mh-catalog-product-price { margin: 0; font-size: 1rem; color: var(--color-text-secondary); }
.mh-catalog-page .mh-catalog-company__grid { align-items: center; padding-block: var(--space-10); }
.mh-catalog-page .mh-catalog-company__image { height: 26rem; min-height: 0; aspect-ratio: 4/3; object-fit: cover; }

/* Product detail: real product photography and readable technical data. */
.mh-product-overview { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: clamp(2rem,5vw,5rem); padding-block: var(--space-10) var(--space-16); align-items: start; }
.mh-product-gallery { min-width: 0; display: flex; align-items: center; justify-content: center; background: var(--color-surface-lavender); padding: clamp(1.5rem,4vw,4rem); border-radius: var(--radius-card); min-height: 25rem; }
.mh-product-gallery > img { width: 100%; height: auto; max-height: 34rem; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.mh-product-gallery .mh-official-product-placeholder { width: 100%; }
.mh-product-overview h1 { font-size: clamp(2rem,3vw,3.25rem); margin-bottom: var(--space-4); }
.mh-product-sku { margin: 0 0 var(--space-5); color: var(--color-text-secondary); }
.mh-product-overview .mh-answer-first { font-size: 1.1rem; line-height: 1.65; margin-bottom: var(--space-6); max-width: 64ch; }
.mh-product-highlights { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--space-5); margin: var(--space-6) 0 var(--space-8); padding-block: var(--space-5); border-block: 1px solid var(--color-border); }
.mh-product-highlights :is(dt,dd) { margin: 0; }
.mh-product-highlights dt { font-size: 1rem; color: var(--color-text-secondary); margin-bottom: var(--space-2); }
.mh-product-highlights dd { font-size: 1.1rem; line-height: 1.45; font-weight: 700; }
.mh-product-price-note { margin: var(--space-4) 0 0; font-size: 1rem; color: var(--color-text-secondary); }
.mh-product-section-nav { border-block: 1px solid var(--color-border); background: var(--color-surface-lavender); }
.mh-product-section-nav nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-8); }
.mh-product-section-nav a { display: inline-flex; align-items: center; min-height: 64px; padding-block: var(--space-3); font-weight: 700; color: var(--color-footer-dark); text-decoration: none; }
.mh-product-section-nav a:hover { color: var(--color-brand-purple); }
.mh-engineering-page .mh-table-scroll { overflow-x: auto; max-width: 100%; overscroll-behavior-inline: contain; border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.mh-engineering-page .mh-table-scroll:focus-visible { outline: 3px solid var(--color-brand-purple); outline-offset: 4px; }
.mh-engineering-page table { width: 100%; border-collapse: collapse; margin: 0; font-size: 1rem; line-height: 1.55; font-variant-numeric: tabular-nums; }
/* Keep the new three-column selection records readable within their scroll containers. */
:is(#pressure-reference-check,#replacement-evidence-checklist) .mh-table-scroll table { min-width: 42rem; }
:is(#pressure-reference-check,#replacement-evidence-checklist) .mh-table-scroll :is(th,td) { overflow-wrap: normal; word-break: normal; }
.mh-engineering-page :is(th,td) { padding: var(--space-4) var(--space-5); text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-border); }
.mh-engineering-page tr:last-child :is(th,td) { border-bottom: 0; }
.mh-specification-group { margin-top: var(--space-8); }
.mh-specification-group h3 { font-size: 1.2rem; margin: 0 0 var(--space-4); color: var(--color-footer-dark); }
.mh-specification-group th { width: 39%; background: var(--color-surface-lavender); font-weight: 400; }
.mh-specification-group td { white-space: normal; }
.mh-specification-source { display: block; margin-top: var(--space-2); font-size: 1rem; }
.mh-specification-source a { color: var(--color-text-secondary); text-underline-offset: .2em; }
.mh-feature-list { padding-left: var(--space-6); margin: 0; display: grid; gap: var(--space-3); font-size: 1.125rem; line-height: 1.6; }
.mh-selection-note { padding: var(--space-8); background: var(--color-surface-lavender); border-radius: var(--radius-card); }
.mh-selection-note p { max-width: 76ch; font-size: 1.1rem; line-height: 1.7; margin-bottom: 0; }
.mh-selection-note .mh-button { margin-top: var(--space-6); }
.mh-comparison-scroll table { min-width: 46rem; table-layout: fixed; }
.mh-comparison-scroll th { background: var(--color-surface-lavender); }
.mh-comparison-scroll thead th { padding-block: var(--space-5); }
.mh-comparison-hint { display: none; color: var(--color-text-secondary); }
.mh-category-content { padding-block: var(--space-8) var(--space-16); }
.mh-category-content .mh-catalog-filters { padding-top: var(--space-8); }
.mh-category-content .mh-filter-form { padding: var(--space-6); border: 1px solid var(--color-border); background: var(--color-surface-lavender); border-radius: var(--radius-card); }
.mh-category-content .mh-filter-form > :is(button,a) { margin-top: var(--space-5); margin-right: var(--space-3); }

/* Application guides have their own editorial rhythm, with model links beneath. */
.mh-solution-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--space-8); }
.mh-solution-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; }
.mh-solution-card__image { display: block; background: var(--color-surface-lavender); }
.mh-solution-card__image img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.mh-solution-card__body { padding: clamp(1.5rem,3vw,2.5rem); display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.mh-solution-card h2 { font-size: clamp(1.5rem,2vw,2rem); max-width: 32ch; margin-bottom: var(--space-4); }
.mh-solution-card h2 a { color: var(--color-footer-dark); text-decoration: none; }
.mh-solution-card p { line-height: 1.7; font-size: 1.1rem; margin: 0 0 var(--space-5); max-width: 65ch; }
.mh-solution-card__count { color: var(--color-text-secondary); }
.mh-solution-card .mh-text-link { margin-top: auto; display: inline-flex; align-items: center; min-height: 44px; gap: var(--space-3); font-weight: 700; }
.mh-solution-card .mh-icon { width: 20px; height: 20px; }
.mh-solutions-page > .mh-selection-note { margin-bottom: var(--space-16); }
.mh-selection-requirements { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--space-8); }
.mh-selection-requirements strong { display: block; font-size: 1.2rem; margin-bottom: var(--space-3); color: var(--color-footer-dark); }
.mh-solution-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.65fr); gap: var(--space-12); align-items: center; }
.mh-solution-hero-grid > :only-child { grid-column: 1/-1; }
.mh-solution-hero-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-card); }

@media (min-width: 100rem) {
  .mh-catalog-page .mh-catalog-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 74.999rem) {
  .mh-catalog-page .mh-catalog-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mh-engineering-body { grid-template-columns: minmax(0,1fr) minmax(14rem,.35fr); gap: var(--space-6); }
  .mh-engineering-page .mh-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 63.999rem) {
  .mh-catalog-page .mh-catalog-browser__grid,.mh-engineering-body { grid-template-columns: minmax(0,1fr); }
  .mh-catalog-page .mh-catalog-sidebar { display: block; }
  .mh-catalog-page .mh-catalog-sidebar .mh-email-inquiry { display: none; }
  .mh-engineering-sidebar { margin-block: 0 var(--space-8); }
  .mh-product-overview { gap: var(--space-6); }
  .mh-product-gallery { min-height: 20rem; }
  .mh-filter-form__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 47.999rem) {
  .mh-product-overview,.mh-solution-grid,.mh-solution-hero-grid,.mh-selection-requirements { grid-template-columns: minmax(0,1fr); }
  .mh-product-overview { padding-block: var(--space-6) var(--space-10); }
  .mh-product-gallery { min-height: 18rem; padding: var(--space-8); }
  .mh-product-gallery > img { max-height: 20rem; }
  .mh-product-overview h1 { font-size: 2rem; }
  .mh-product-section-nav nav { gap: 0 var(--space-5); }
  .mh-product-section-nav a { min-height: 48px; font-size: 1rem; }
  .mh-engineering-section { padding-block: var(--space-8); }
  .mh-selection-note { padding: var(--space-6); }
  .mh-engineering-page .mh-table-scroll :is(th,td) { padding: var(--space-3); }
  .mh-specification-group th { width: 42%; }
  .mh-catalog-page .mh-catalog-product-grid,.mh-engineering-page .mh-product-grid { grid-template-columns: minmax(0,1fr); }
  .mh-catalog-product-card .mh-catalog-product-card__image-link { aspect-ratio: 16/9; padding: var(--space-6); }
  .mh-catalog-product-card .mh-catalog-product-card__image-link > img { aspect-ratio: 16/9; }
  .mh-catalog-product-card .mh-catalog-product-card__body h3 { min-height: 0; font-size: 1.4rem; }
  .mh-filter-form__grid { grid-template-columns: minmax(0,1fr); }
  .mh-catalog-page .mh-filter-form__grid { grid-template-columns: minmax(0,1fr); }
  .mh-catalog-filter-open-label { display: none; }
  .mh-product-overview__copy .mh-button-group { display: grid; gap: var(--space-3); }
  .mh-product-overview__copy .mh-button { width: 100%; text-align: center; justify-content: center; }
  .mh-solution-card__image img { aspect-ratio: 16/9; }
  .mh-solution-hero-grid { gap: var(--space-6); }
  .mh-comparison-hint { display: block; margin-top: var(--space-3); }
  .mh-catalog-page .mh-catalog-company__image { height: auto; aspect-ratio: 8/5; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-product-card.mh-catalog-product-card { transition: none; }
}
