.mast {
  position: relative;
  min-height: 380px;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.mast-compact { min-height: 280px; }
.mast-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 58% 46%;
}
.mast-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.38) 48%, rgba(0,0,0,.12) 78%),
    linear-gradient(180deg, transparent 28%, rgba(0,0,0,.78) 100%);
  pointer-events: none;
}
.mast-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding: 48px 0 36px;
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.mast h1 {
  margin: 10px 0 12px;
  max-width: 16ch;
  font-size: clamp(36px, 5.2vw, 58px);
  line-height: 1.05;
}
.mast-lede {
  max-width: 42ch;
  color: rgba(255,255,255,.88);
  font-size: 18px;
  line-height: 1.45;
}
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 16px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.crumbs a { color: rgba(255,255,255,.88); }
.crumbs a:hover { color: #fff; }

.inner-desk { padding-top: 40px; }
.plants.inner-desk { padding: 40px 0 72px; }
.apps.inner-desk { padding: 40px 0 24px; }

.filterbar {
  border: 1px solid var(--ink);
  background: var(--paper);
  margin-bottom: 28px;
}
.filterbar-head {
  display: flex; justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px; font-weight: 600;
}
.filterbar-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; }
.plants .filterbar-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) auto; }
.filter-field {
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 16px;
  border-right: 1px solid var(--line);
}
.filter-field label {
  font-size: 14px; font-weight: 500; color: var(--muted);
}
.filter-field select,
.filter-field input[type="search"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background-color: var(--fog);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-family: inherit;
}
.filter-field select {
  padding-right: 32px;
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px 8px;
  cursor: pointer;
  color-scheme: light;
}
.filter-field select:hover,
.filter-field input[type="search"]:hover {
  background-color: #fff;
}
.filter-field select:focus,
.filter-field input[type="search"]:focus {
  outline: none;
  border-color: var(--accent);
  background-color: #fff;
}
.filter-field select option { color: var(--ink); background: #fff; }
.filter-field select::-ms-expand { display: none; }
.filter-field input[type="search"]::placeholder { color: var(--faint); font-weight: 500; }
.pager {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 28px;
}
.pager-meta { font-size: 14px; color: var(--muted); }
.pager-pages { display: flex; flex-wrap: wrap; gap: 6px; }
.pager-pages a, .pager-pages span {
  min-width: 36px; height: 36px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink); font-size: 14px; font-weight: 600;
}
.pager-pages a:hover, .pager-pages .is-on { background: var(--ink); color: #fff; }
.article-byline {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin: 0 0 28px; font-size: 14px; color: var(--muted);
}
.article-byline strong { color: var(--ink); }
.prose h2 { font-size: 26px; margin: 32px 0 12px; }
.prose h3 { font-size: 20px; margin: 24px 0 10px; }
.prose ul, .prose ol { margin: 12px 0 20px; padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose table { width: 100%; margin: 16px 0 24px; font-size: 16px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px 10px 0; text-align: left; vertical-align: top; }
.prose .article-faq { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ink); }
.filter-submit { display: flex; align-items: stretch; }
.filter-submit .btn { min-height: 100%; padding-inline: 22px; font-size: 16px; }

a.type-chip { color: #fff; }
.nav a.is-on { color: #fff; font-weight: 600; }

.cluster-rail {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
}
.cluster-rail .tag { color: inherit; }
.plant-name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.plant-name img { width: 28px; height: 28px; object-fit: contain; }

.sheet-section { padding: 8px 0 24px; }
.sheet {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  padding: 56px 0 32px;
  align-items: start;
}
.sheet-photo { margin: 0; background: #111; }
.sheet-photo img {
  width: 100%; min-height: 420px; height: 100%;
  object-fit: cover;
}
.sheet-photo figcaption {
  padding: 12px 0 0;
  font-size: 14px; font-weight: 500; color: var(--muted);
}
.datasheet { width: 100%; }
.datasheet th, .datasheet td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}
.datasheet th {
  width: 40%;
  text-align: left;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted);
}
.datasheet td {
  font-family: var(--mono);
  font-size: 16px; font-weight: 500;
  text-align: right;
}
.sheet-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px;
}
.dossier {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  padding: 56px 0 24px;
  align-items: start;
}
.dossier-band { background: var(--fog); }
.dossier-link { margin-top: 16px; font-weight: 600; }
.dossier-link a:hover { color: var(--accent); }

.check-list {
  margin: 20px 0 0; padding: 0; list-style: none;
  border-top: 1px solid var(--ink);
}
.check-list li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 16px; line-height: 1.45;
}
.check-list li::before {
  content: "→";
  position: absolute; left: 0;
  color: var(--accent); font-weight: 600;
}

.notes { padding: 24px 0 64px; }
.note-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0 48px;
  border-bottom: 1px solid var(--ink);
}
.note-feature figure { margin: 0; background: #111; min-height: 280px; }
.note-feature img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.note-feature h2 { margin: 8px 0 12px; font-size: 32px; }
.note-row {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.note-row time {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); padding-top: 6px;
}
.note-row h3 { font-size: 22px; margin-bottom: 8px; }
.note-row p { color: var(--muted); font-size: 16px; line-height: 1.5; }
.note-go {
  font-size: 22px; color: var(--accent);
  padding-top: 4px;
}

.article-body { padding: 48px 0 32px; }
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: start;
}
.prose {
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.6;
}
.prose p + p { margin-top: 16px; }
.article-rail { display: grid; gap: 16px; }
.rail-card {
  border: 1px solid var(--ink);
  padding: 20px;
  background: var(--paper);
}
.rail-card .btn { width: 100%; margin-top: 12px; }
.rail-links { margin: 0; padding: 0; list-style: none; }
.rail-links li + li { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.rail-links a[aria-current="page"] { font-weight: 600; color: var(--accent); }
.note-list.dark { color: var(--ink); }
.note-list.dark li { color: var(--ink); }

.legal-section { padding: 48px 0 72px; }
.legal-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.page-proof { margin-top: 32px; min-height: 0; padding: 32px; }
.contact-split {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}
.faq-block { margin-top: 48px; border-top: 1px solid var(--ink); padding-top: 32px; }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 20px; margin-bottom: 8px; }
.faq-item p { color: var(--muted); font-size: 16px; line-height: 1.5; }

.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100dvh - var(--util-h) - var(--header-h));
}
.auth-visual {
  position: relative;
  background: #000;
  min-height: 320px;
  color: #fff;
}
.auth-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.auth-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.78));
}
.auth-visual-copy {
  position: relative; z-index: 1;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px;
  max-width: 36ch;
}
.auth-visual-copy h2 { margin: 10px 0 12px; font-size: 36px; }
.auth-visual-copy p { color: rgba(255,255,255,.88); font-size: 16px; line-height: 1.5; }
.auth-panel {
  display: flex; align-items: center;
  padding: 48px var(--gutter);
  background: var(--paper);
}
.auth-box { width: min(440px, 100%); margin: 0; }
.auth-box h1 { font-size: 36px; margin: 8px 0 18px; }
.auth-box form { display: grid; gap: 12px; }
.auth-box label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.auth-box input, .page-form input, .page-form select, .page-form textarea {
  min-height: 44px; border: 1px solid var(--line); padding: 0 12px; background: #fff; width: 100%;
}
.page-form textarea { min-height: 100px; padding: 10px 12px; }
.auth-box .row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.auth-foot { margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.auth-foot a:hover { color: var(--accent); }
.flash { padding: 10px 12px; border: 1px solid var(--line); margin-bottom: 12px; }
.rfq .flash { border-color: var(--line-dark); color: #fff; }
.google {
  display: block; text-align: center;
  border: 1px solid var(--ink);
  min-height: 44px; line-height: 44px;
  margin-top: 12px; font-weight: 600;
}
.google:hover { background: var(--ink); color: #fff; }
.empty { color: var(--muted); padding: 24px 0; font-size: 16px; }
.empty a { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--ink); }

.sheet-dl { margin: 0; }
.sheet-dl > div {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.sheet-dl dt {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted);
}
.sheet-dl dd {
  margin: 0; text-align: right;
  font-family: var(--mono);
  font-size: 16px; font-weight: 500;
}
.plant-points { margin: 16px 0 0; padding-left: 1.15em; }
.plant-points li + li { margin-top: 8px; }
.plant-points.tight { padding-left: 1em; font-size: 15px; color: var(--muted); }
.plant-sub { margin: 32px 0 12px; font-size: 20px; }
.plant-duty {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  padding: 48px 0 24px;
  align-items: start;
}
.plant-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
  margin-top: 24px;
}
.plant-faq { margin-top: 12px; border-top: 1px solid var(--ink); }
.plant-faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.plant-faq summary { cursor: pointer; font-size: 20px; font-weight: 650; }
.plant-faq details p { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.plant-faq-ol { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: pf; }
.plant-faq-ol li { counter-increment: pf; padding: 20px 0 20px 48px; border-bottom: 1px solid var(--line); position: relative; }
.plant-faq-ol li::before {
  content: counter(pf, decimal-leading-zero);
  position: absolute; left: 0; top: 22px;
  font-family: var(--mono); font-size: 13px; color: var(--accent);
}
.plant-faq-ol h3 { font-size: 20px; margin: 0 0 8px; }
.plant-faq-ol p { color: var(--muted); font-size: 16px; line-height: 1.5; margin: 0; }
.plant-faq-band { padding-bottom: 24px; }
.dossier-flip { direction: rtl; }
.dossier-flip > * { direction: ltr; }

.spec-index { padding-bottom: 72px; }
.spec-index h2 {
  margin: 40px 0 12px;
  font-size: 22px;
}
.spec-index-lede { max-width: 62ch; margin-bottom: 8px; }
.spec-strip { padding: 56px 0 24px; }
.spec-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.spec-table th, .spec-table td {
  padding: 16px 24px 16px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-family: var(--font);
}
.spec-table th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-table th:nth-child(1),
.spec-table td:nth-child(1) { width: 34%; font-weight: 600; }
.spec-table td:nth-child(2) { color: var(--muted); font-size: 15px; line-height: 1.5; }
.spec-table th:nth-child(3),
.spec-table td:nth-child(3) {
  width: 88px;
  padding-right: 0;
  padding-left: 16px;
  text-align: right;
  white-space: nowrap;
}
.spec-table td.row-actions { display: table-cell; }
.listing-note {
  margin: 0 auto 8px;
  max-width: var(--wrap);
  padding: 0 var(--gutter) 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.spec-dl { margin: 0 0 20px; }

@media (max-width: 980px) {
  .mast-stage, .sheet, .dossier, .note-feature, .article-grid, .legal-grid,
  .filterbar-grid, .auth-split, .contact-split, .note-row,
  .plant-duty, .plant-split, .sheet-dl > div {
    grid-template-columns: 1fr;
  }
  .sheet-dl dd { text-align: left; }
  .dossier-flip { direction: ltr; }
  .mast h1 { max-width: 14ch; }
  .auth-visual { min-height: 240px; }
  .auth-panel { padding: 32px var(--gutter) 64px; }
  .sheet-photo img, .note-feature img { min-height: 240px; }
  .filter-submit .btn { width: 100%; min-height: 48px; }
  .filter-field { border-right: 0; border-bottom: 1px solid var(--line); }
  .legal-grid .article-rail { order: 2; }
}

@media (max-width: 640px) {
  .auth-box .row { grid-template-columns: 1fr; }
}
