/* THE VENDOR TREES, 2026-11-24 (src/lib/vendor.ts). The hubs are service-kit pages (service-kit.css, scoped to `.lf.tx`) and the product
 * pages are the .fs-brand-pdp-* / .fs-pdp-* pages of custom.css; this file is only what those two do not have: the line-up row, the
 * drawings to scale, the finishes, the room links, and the two-column specification band. Every rule is on a class only these pages
 * carry. custom.css zeroes the bottom margin of every <p> with !important, so every gap under a <p> here is PADDING. Inks as the kit's:
 * #c8121f red text on white, #4a4f57 muted (8.3:1). */

/* ── Hub: the line-up under the headline ───────────────────────────────────────────────────────── */
.lf.vn .vn-mast .tx-mast-grid { padding-bottom: 34px; }
.lf.vn .vn-lineup ul { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 12px; }
.lf.vn .vn-lineup a { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: 10px 10px 13px; background: #fff; border: 1px solid var(--tx-line); border-radius: 10px; text-align: center; text-decoration: none; transition: border-color 180ms ease, box-shadow 180ms ease; }
.lf.vn .vn-lineup a:hover, .lf.vn .vn-lineup a:focus-visible { border-color: #dd1421; box-shadow: 0 10px 24px rgba(22, 24, 28, 0.1); }
.lf.vn .vn-lineup-shot { display: block; height: 104px; }
.lf.vn .vn-lineup-shot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lf.vn .vn-lineup strong { display: block; margin: auto 0; padding-top: 9px; font-family: 'Ubuntu', sans-serif; font-size: 14.5px; line-height: 1.3; font-weight: 700; color: #22262d; text-wrap: balance; }
.lf.vn .vn-lineup a:hover strong, .lf.vn .vn-lineup a:focus-visible strong { color: #c8121f; }

.vn-scene img, .lf.vn .vn-lineup-shot.vn-scene img, .vn-related .vn-scene img { object-fit: cover; }
.lf.vn .vn-lineup-shot.vn-scene { border-radius: 6px; overflow: hidden; }

/* ── Hub: cards ────────────────────────────────────────────────────────────────────────────────── */
/* One product in a group is drawn across, photograph beside the words, not as a third of an empty row. */
.lf.vn .vn-cards--1 .tx-cards { grid-template-columns: minmax(0, 1fr); max-width: 980px; margin: 0 auto; }
.lf.vn .vn-cards--1 .tx-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.lf.vn .vn-cards--1 .tx-shot { height: 340px; padding: 24px; }
.lf.vn .vn-cards--1 .tx-card-text { padding: 26px 34px 28px 10px; }
.lf.vn .vn-cards--1 .tx-card-h { font-size: 26px; }
.lf.vn .vn-cards--1 .tx-card-blurb { font-size: 17px; }
.lf.vn .vn-cards--1 .tx-facts { margin-top: 0; }
.lf.vn .vn-cards--4 .tx-shot, .lf.vn .vn-cards--8 .tx-shot { height: 250px; }
/* Five is three and two, centred; seven is four and three. Grid leaves the second row hanging left, flex does not. */
.lf.vn .vn-cards--5 .tx-cards, .lf.vn .vn-cards--7 .tx-cards { display: flex; flex-wrap: wrap; justify-content: center; }
.lf.vn .vn-cards--5 .tx-card { flex: 0 1 calc((100% - 44px) / 3); }
.lf.vn .vn-cards--7 .tx-card { flex: 0 1 calc((100% - 66px) / 4); }
.lf.vn .ox-duo { max-width: none; }
.lf.vn .ox-duo .ox-duo-line { padding-bottom: 18px; }

/* ── Hub: drawn to scale ───────────────────────────────────────────────────────────────────────── */
/* --u is pixels to the inch, the same for every panel in the band; a square is a foot. */
.vn-whole { white-space: nowrap; }
.vn-scale { --u: 1.9px; --up: 1.24px; list-style: none; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 34px 30px; padding: 8px 0 0; }
.vn-scale li { max-width: 100%; }
.lf.vn .vn-scale + .vn-scale { margin-top: 34px; }
.vn-scale-item { display: flex; flex-direction: column; align-items: center; color: inherit; text-decoration: none; }
.vn-scale-frame { display: flex; align-items: flex-end; height: calc(var(--h) * var(--u)); }
.vn-paper { position: relative; display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: calc(var(--w) * var(--u)); height: calc(var(--d) * var(--u)); background-color: #fff; background-image: linear-gradient(to right, #dfe4e9 1px, transparent 1px), linear-gradient(to bottom, #dfe4e9 1px, transparent 1px); background-size: calc(12 * var(--u)) calc(12 * var(--u)); box-shadow: inset 0 0 0 1px #cfd6dd; }
.vn-paper--wall { align-items: flex-end; gap: calc(12 * var(--u)); border-bottom: 3px solid #16181c; height: calc(var(--d) * var(--u) + 3px); background-position: 0 100%; }
.vn-box { display: block; box-sizing: border-box; width: calc(var(--w) * var(--u)); height: calc(var(--d) * var(--u)); background: rgba(221, 20, 33, 0.12); border: 2px solid #c8121f; border-radius: 3px; transition: background-color 180ms ease; }
.vn-nest { position: relative; display: block; width: calc(var(--w) * var(--u)); height: calc(var(--d) * var(--u)); }
.vn-nest .vn-box { position: absolute; left: 0; bottom: 0; }
.vn-door { display: block; box-sizing: border-box; width: calc(var(--w) * var(--u)); height: calc(var(--d) * var(--u)); background: #fff; border: 1.5px solid #5b616b; border-bottom: 0; }
.lf.vn a.vn-scale-item:hover .vn-box, .lf.vn a.vn-scale-item:focus-visible .vn-box { background: rgba(221, 20, 33, 0.26); }
.vn-scale-item strong { display: block; padding-top: 12px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; line-height: 1.25; font-weight: 700; color: #16181c; text-align: center; text-wrap: balance; }
.lf.vn a.vn-scale-item:hover strong, .lf.vn a.vn-scale-item:focus-visible strong { color: #c8121f; text-decoration: underline; text-underline-offset: 0.12em; }
.vn-scale-dim { display: block; padding-top: 2px; font-family: 'Ubuntu', sans-serif; font-size: 14.5px; line-height: 1.45; color: #4a4f57; text-align: center; }
.lf.vn .tx-dark .vn-scale-item strong { color: #fff; }
.lf.vn .tx-dark .vn-scale-dim { color: #cfd5dd; }

.lf.vn .tx-plan a { color: #c8121f; text-decoration: underline; text-underline-offset: 0.15em; }
/* On the dark band the table's own white showed beside its header's first cell. */
.lf.vn .tx-dark .tx-table { background: transparent; }
.lf.vn .tx-dark .tx-table tbody tr { background: #fff; }

/* ── Hub: what each one asks of the ceiling ───────────────────────────────────────────────────── */
.lf.vn .vn-heights { max-width: 1120px; margin: 0 auto; }
.lf.vn .vn-h-key { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center; margin: 0; padding: 4px 0 22px; font-family: 'Ubuntu', sans-serif; font-size: 15px; line-height: 1.45; color: #3d424a; }
.lf.vn .vn-h-key span { display: inline-flex; align-items: center; gap: 9px; }
.lf.vn .vn-h-key i { flex: 0 0 auto; width: 22px; height: 12px; border-radius: 2px; }
.lf.vn .vn-h-a i, .lf.vn .vn-h-bar.vn-h-a { background: #dd1421; }
.lf.vn .vn-h-b i, .lf.vn .vn-h-bar.vn-h-b { background: #f4b9bd; }
.lf.vn .vn-h-top, .lf.vn .vn-heights li { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: center; }
.lf.vn .vn-h-top div { position: relative; height: 24px; }
.lf.vn .vn-h-top b { position: absolute; transform: translateX(-50%); font-family: 'Ubuntu', sans-serif; font-size: 14px; line-height: 1.5; font-weight: 700; color: #4a4f57; white-space: nowrap; }
.lf.vn .vn-heights li { padding: 0; }
.lf.vn .vn-heights li strong { font-family: var(--tx-head); font-size: 18px; line-height: 1.3; font-weight: 700; text-align: right; color: var(--tx-text); }
.lf.vn .vn-heights li strong a { color: #c8121f; text-decoration: underline; text-underline-offset: 0.15em; }
.lf.vn .vn-h-bars { position: relative; display: grid; gap: 4px; padding: 10px 0; border-left: 2px solid #16181c; }
.lf.vn .vn-h-line { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1.5px dashed #9aa1ab; }
.lf.vn .vn-h-bar { position: relative; z-index: 1; display: block; height: 22px; border-radius: 0 3px 3px 0; }
.lf.vn .vn-h-bar b { position: absolute; right: 9px; top: 0; font-family: 'Ubuntu', sans-serif; font-size: 14px; line-height: 22px; font-weight: 700; color: #fff; white-space: nowrap; }
.lf.vn .vn-h-bar.vn-h-b b { color: #16181c; }
.lf.vn .tx-dark .vn-h-key { color: #d7dbe1; }
.lf.vn .tx-dark .vn-heights li strong, .lf.vn .tx-dark .vn-heights li strong a, .lf.vn .tx-dark .vn-h-top b { color: #fff; }
.lf.vn .tx-dark .vn-h-bars { border-color: #8b929c; }
@media (max-width: 760px) {
  .lf.vn .vn-h-top, .lf.vn .vn-heights li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .lf.vn .vn-h-top > span { display: none; }
  .lf.vn .vn-heights li strong { text-align: left; padding-top: 8px; }
  .lf.vn .vn-h-bars { padding: 4px 0 8px; }
  .lf.vn .vn-h-key { justify-content: flex-start; padding-bottom: 14px; }
}

/* ── Hub: finishes ─────────────────────────────────────────────────────────────────────────────── */
.lf.vn .vn-swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lf.vn .vn-swatch { display: block; border-radius: 10px; overflow: hidden; background: #fff; }
.lf.vn .vn-swatch img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; box-sizing: border-box; padding: 10px 12px; }
.lf.vn .vn-swatches li { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--tx-line); padding-bottom: 16px; text-align: center; }
.lf.vn .vn-swatches strong { display: block; padding: 4px 14px 0; font-family: var(--tx-head); font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--tx-text); }
.lf.vn .vn-swatches li > span:not(.vn-swatch) { display: block; padding: 2px 14px 0; font-family: 'Ubuntu', sans-serif; font-size: 15px; line-height: 1.5; color: #3d424a; }

/* ── Hub: a photograph beside numbered points, on the dark band ────────────────────────────────── */
.lf.vn .vn-points { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: 56px; align-items: center; }
.lf.vn .vn-points > div:only-child { grid-column: 1 / -1; }
.lf.vn .vn-points .tx-head { padding-bottom: 24px; }

/* An upright photograph at about its own size, not blown up to half the page. */
.lf.vn .vn-portrait .tx-feature { grid-template-columns: 425px minmax(0, 1fr); max-width: 1080px; margin: 0 auto; }
.lf.vn .vn-portrait .tx-feature-shot img { aspect-ratio: 3 / 4; }
@media (max-width: 1000px) { .lf.vn .vn-portrait .tx-feature { grid-template-columns: minmax(0, 1fr); } .lf.vn .vn-portrait .tx-feature-shot { max-width: 425px; } }

/* ── Hub: the rooms it goes in, and our own ────────────────────────────────────────────────────── */
.lf.vn .vn-rooms { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 14px; }
.lf.vn .vn-rooms a { display: block; height: 100%; box-sizing: border-box; padding: 18px 20px 20px; background: #fff; border: 1px solid var(--tx-line); border-left: 4px solid #dd1421; border-radius: 0 10px 10px 0; text-decoration: none; transition: border-color 180ms ease, box-shadow 180ms ease; }
.lf.vn .vn-rooms a:hover, .lf.vn .vn-rooms a:focus-visible { border-color: #dd1421; box-shadow: 0 12px 30px rgba(22, 24, 28, 0.1); }
.lf.vn .vn-rooms strong { display: block; font-family: var(--tx-head); font-size: 20px; line-height: 1.3; font-weight: 700; color: #c8121f; }
.lf.vn .vn-rooms span { display: block; padding-top: 4px; font-family: 'Ubuntu', sans-serif; font-size: 15.5px; line-height: 1.5; color: #3d424a; text-wrap: pretty; }
.lf.vn .vn-installed .tx-strip, .lf.vn .vn-installed .tx-pair { padding-bottom: 0; }
.lf.vn .vn-one .tx-strip { grid-template-columns: minmax(0, 1fr); max-width: 900px; margin: 0 auto; }

@media (max-width: 1000px) {
  .lf.vn .vn-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lf.vn .vn-lineup ul { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); }
  .lf.vn .vn-points { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lf.vn .vn-cards--5 .tx-card, .lf.vn .vn-cards--7 .tx-card { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 760px) {
  .lf.vn .vn-lineup ul { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -20px; padding: 2px 20px 10px; -webkit-overflow-scrolling: touch; }
  .lf.vn .vn-lineup li { flex: 0 0 124px; scroll-snap-align: start; }
  .lf.vn .vn-lineup-shot { height: 88px; }
}
@media (max-width: 640px) {
  .vn-scale { gap: 26px 16px; }
  .lf.vn .vn-scale { --u: var(--up) !important; }
  .vn-scale-item strong { font-size: 16px; }
  .vn-scale-dim { font-size: 13.5px; }
  .lf.vn .vn-cards--1 .tx-card { display: flex; align-items: stretch; }  /* centered, the photograph was as wide as each engine liked */
  .lf.vn .vn-cards--1 .tx-shot { height: 240px; }
  .lf.vn .vn-cards--1 .tx-card-text { padding: 16px 18px 20px; }
  .lf.vn .vn-cards--1 .tx-card-h { font-size: 22px; }
  .lf.vn .vn-cards--5 .tx-card, .lf.vn .vn-cards--7 .tx-card { flex-basis: 100%; }
  .lf.vn .vn-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .lf.vn .vn-rooms { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

@media (max-width: 560px) {
  /* Two figures a row on a phone: five in one column made each machine a screen of its own. */
  .lf.vn .vn-compare .tx-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lf.vn .vn-compare .tx-table tbody th { grid-column: 1 / -1; }
  .lf.vn .vn-compare .tx-table tbody td { padding: 6px 10px 6px 18px; font-size: 14.5px; line-height: 1.45; }
}

/* ── Product page ──────────────────────────────────────────────────────────────────────────────── */
/* The shared sub-heading greys are under 4.5:1 on white; here they clear it. */
.vn-pdp .fs-brand-pdp-sub, .vn-pdp .fs-brand-pdp-subnav-sub { color: #6b6b6b; }
.vn-pdp .fs-brand-pdp-spec-label { color: #6b6b6b; }
/* Up to eight views, four across, on a page whose product comes in several finishes. */
.vn-pdp .fs-pdp-thumbs { flex-wrap: wrap; }
.vn-pdp .fs-pdp-thumb { flex: 0 1 calc((100% - 48px) / 5); }
.vn-pdp .vn-specs { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 20px 64px; align-items: start; }
.vn-pdp .vn-specs .fs-brand-pdp-spec-table { max-width: none; }
.vn-pdp .vn-specs .fs-brand-pdp-spec-source { padding-bottom: 0; }
.vn-pdp .fs-brand-pdp-features { list-style: disc; }
.vn-fit .fs-pdp-fit-inner { align-items: center; }
.vn-fit .vn-fit-copy { display: grid; gap: 34px; }
.vn-plan { margin: 0; padding: 20px 20px 18px; background: #fff; border: 1px solid #e2e2e2; border-top: 4px solid #dd1421; border-radius: 0 0 8px 8px; }
.vn-plan svg { display: block; width: 100%; height: auto; max-height: 420px; }
.vn-plan svg text { font-family: 'Ubuntu', sans-serif; font-size: 15px; font-weight: 500; fill: #16181c; }
.vn-plan svg .vn-pl-sub { font-size: 13px; fill: #5b616b; }
.vn-plan svg .vn-pl-paper { fill: #fbfcfd; stroke: #cfd6dd; stroke-width: 1; }
.vn-plan svg .vn-pl-grid { fill: none; stroke: #dfe4e9; stroke-width: 1; }
.vn-plan svg .vn-pl-zone { fill: none; stroke: #5b616b; stroke-width: 1.5; stroke-dasharray: 7 5; }
.vn-plan svg .vn-pl-body { fill: rgba(221, 20, 33, 0.12); stroke: #c8121f; stroke-width: 2; }
.vn-plan svg .vn-pl-door { fill: #fff; stroke: #5b616b; stroke-width: 1.5; }
.vn-plan svg .vn-pl-floor { fill: none; stroke: #16181c; stroke-width: 3; }
.vn-plan svg .vn-dim path { fill: none; stroke: #16181c; stroke-width: 1.2; }
.vn-plan svg .vn-dim rect { fill: #fff; }
.vn-plan--sizes { padding-top: 26px; }
.vn-plan--sizes .vn-scale { --u: 1.45px; gap: 24px 20px; }
.vn-plan--sizes .vn-scale-item strong { font-size: 16px; }
.vn-plan--sizes figcaption { padding-top: 18px; }
.vn-plan figcaption { padding-top: 12px; font-family: 'Ubuntu', sans-serif; font-size: 14px; line-height: 1.55; color: #5b616b; }
.vn-related .fs-brand-pdp-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vn-related .fs-brand-pdp-related-name span { color: #6b6b6b; }
.vn-related .vn-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 4px 0 0; list-style: none; }
.vn-related .vn-links a { color: #c8121f; font-family: 'Ubuntu', sans-serif; font-size: 16px; font-weight: 700; text-decoration: underline; text-underline-offset: 0.15em; }
.vn-sizes-h { padding-top: 34px; }
.vn-sizes { width: 100%; margin: 0; border-collapse: collapse; background: #fff; font-family: 'Ubuntu', sans-serif; }
.vn-sizes thead th, .vn-sizes thead td { padding: 12px 16px; background: #16181c; color: #fff; border: 0; text-align: left; font-size: 14px; line-height: 1.4; font-weight: 700; }
.vn-sizes tbody > tr:nth-child(n) > th, .vn-sizes tbody > tr:nth-child(n) > td, .vn-sizes tbody > tr:hover > th, .vn-sizes tbody > tr:hover > td { padding: 13px 16px; background-color: #fff; border: 0; border-bottom: 1px solid #e2e2e2; text-align: left; vertical-align: top; font-size: 15.5px; line-height: 1.5; color: #2b3038; }
.vn-sizes tbody > tr:nth-child(n) > th { font-weight: 700; color: #16181c; border-left: 4px solid #dd1421; }
@media (max-width: 860px) {
  .vn-sizes, .vn-sizes tbody, .vn-sizes tr, .vn-sizes tbody > tr:nth-child(n) > th, .vn-sizes tbody > tr:nth-child(n) > td { display: block; width: auto; }
  .vn-sizes thead { display: none; }
  .vn-sizes { background: transparent; }
  .vn-sizes tbody tr { margin-bottom: 12px; padding: 4px 0 10px; background: #fff; border: 1px solid #e2e2e2; border-left: 4px solid #dd1421; border-radius: 0 8px 8px 0; }
  .vn-sizes tbody > tr:nth-child(n) > th { border: 0; padding: 12px 16px 2px; font-size: 18px; }
  .vn-sizes tbody > tr:nth-child(n) > td { border: 0; padding: 5px 16px; }
  .vn-sizes td::before { content: attr(data-col); display: block; font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #5b6472; }
  .vn-pdp .vn-specs { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .vn-related .fs-brand-pdp-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
