/* OEMtronic design system — shared by every page (linked by deploy/build.py).

   The trade's own look: graphite and crate-board bands, steel rules, and one
   orange. Signal orange is the logo's colour and means "you can act on this":
   buttons, links, focus, the selected state. Nothing decorative is orange.
   Orange never carries white text (2.1:1); it carries Graphite (7.6:1).

   Type: Barlow Condensed for headlines (California road-sign lettering),
   IBM Plex Sans for body, IBM Plex Mono for codes and VINs (0 and O differ).
   Self-hosted from /fonts — no visitor's browser asks Google for them.

   No soft shadows, no 20px pills, no hover lift, no fade-ins. */

@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/barlow-condensed-600-latin.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/barlow-condensed-700-latin.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/ibm-plex-sans-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/ibm-plex-sans-500-latin.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/ibm-plex-sans-600-latin.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/ibm-plex-mono-500-latin.woff2) format('woff2'); }

:root {
  /* Palette */
  --ot-signal: #FF9D00;      /* the logo's orange (the old site's header logo and icon): things you can act on, nothing else */
  --ot-signal-ink: #9C5B00;  /* orange text on white and paper (links): 5.4:1 and 5.1:1 */
  --ot-graphite: #1F2328;    /* structure: header, footer, hero overlay, table heads, headings */
  --ot-steel: #5B6670;       /* secondary text: 5.9:1 on white */
  --ot-rule: #C9CED3;        /* lines and borders */
  --ot-rule-soft: #E4E7EA;
  --ot-crate: #E8D3B0;       /* crate board: warm bands */
  --ot-paper: #FAF8F4;       /* page background */
  --ot-white: #FFFFFF;       /* tables and forms */
  --ot-ok: #1E7B45;          /* status only: "added" */

  /* Type */
  --ot-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --ot-body: 'IBM Plex Sans', -apple-system, 'Segoe UI', sans-serif;
  --ot-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --ot-radius: 3px;
  --ot-wrap: 1200px;
  --ot-gutter: 24px;
}
@media (max-width: 600px) { :root { --ot-gutter: 16px; } }

/* ---------- base ---------- */
.ot button, .ot input, .ot select, .ot textarea { font-family: inherit; }   /* form controls don't inherit the page font by default */
body.ot { margin: 0; background: var(--ot-paper); color: var(--ot-graphite); font: 400 16px/24px var(--ot-body); -webkit-font-smoothing: antialiased; }
.ot *, .ot *::before, .ot *::after { box-sizing: border-box; }
.ot-main h1, .ot-main h2, .ot-main h3, .ot-top h2, .site-footer h2 { font-family: var(--ot-display); font-weight: 700; letter-spacing: 0; margin: 0 0 12px; color: inherit; }
.ot-main h1 { font-size: 48px; line-height: 48px; }
.ot-main h2 { font-size: 34px; line-height: 36px; }
.ot-main h3 { font-size: 22px; line-height: 26px; font-weight: 600; }
.ot-main p { margin: 0 0 16px; }
.ot-main .ot-lead { font-size: 18px; line-height: 28px; }
.ot-main .ot-small { font-size: 14px; line-height: 20px; }
.ot-main code, .ot-main .ot-code { font-family: var(--ot-mono); font-weight: 500; }
@media (max-width: 600px) {
  .ot-main h1 { font-size: 34px; line-height: 36px; }
  .ot-main h2 { font-size: 26px; line-height: 28px; }
  .ot-main h3 { font-size: 20px; line-height: 24px; }
  .ot-main .ot-lead { font-size: 17px; line-height: 26px; }
}

/* Links: orange because they act; underlined so a still screenshot shows it.
   Scoped to rebuilt pages' <main>; phase-2 pages get theirs from oemtronic-bridge.css. */
.ot-main a { color: var(--ot-signal-ink); text-decoration: underline; text-underline-offset: 3px; }
.ot-main a:hover { color: var(--ot-graphite); }
.ot a:focus-visible, .ot button:focus-visible, .ot input:focus-visible, .ot select:focus-visible, .ot textarea:focus-visible { outline: 3px solid var(--ot-signal); outline-offset: 2px; }

/* On a crate band the orange ink is too light to read (3.7:1): links there are graphite, underlined in orange. */
.ot-band--crate a:not(.ot-btn):not(.pr-open) { color: var(--ot-graphite); text-decoration-color: var(--ot-signal-ink); }

/* ---------- layout ---------- */
.ot-wrap { max-width: var(--ot-wrap); margin: 0 auto; padding: 0 var(--ot-gutter); }
.ot-band { padding: 56px 0; }
.ot-band--graphite { background: var(--ot-graphite); color: var(--ot-white); }
.ot-band--crate { background: var(--ot-crate); color: var(--ot-graphite); }
.ot-band--white { background: var(--ot-white); }
.ot-band--tight { padding: 28px 0; }
@media (max-width: 600px) { .ot-band { padding: 40px 0; } }
.ot-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.ot .ot-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 2px solid var(--ot-signal); border-radius: var(--ot-radius); background: var(--ot-signal); color: var(--ot-graphite); font: 600 16px/1 var(--ot-body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.ot .ot-btn:hover { background: #FFB33D; border-color: #FFB33D; color: var(--ot-graphite); }
.ot .ot-btn--line { background: transparent; color: var(--ot-signal-ink); }
.ot .ot-btn--line:hover { background: #FFF3E0; }
.ot-band--graphite .ot-btn--line, .ot-hero .ot-btn--line { color: var(--ot-signal); }
.ot-band--graphite .ot-btn--line:hover, .ot-hero .ot-btn--line:hover { background: rgba(255, 157, 0, .12); }
.ot .ot-btn--small { min-height: 44px; padding: 0 16px; font-size: 14px; }

/* ---------- header (put in by deploy/build.py) ---------- */
.ot-top { background: var(--ot-graphite); color: var(--ot-white); position: sticky; top: 0; z-index: 40; border-bottom: 3px solid #000; }
.ot-top-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.ot .ot-logo { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.ot-logo img { display: block; width: 168px; height: auto; }
.ot-nav { display: flex; gap: 4px; flex: 1; }
.ot .ot-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ot-white); font: 500 15px/1 var(--ot-body); text-decoration: none; border-bottom: 3px solid transparent; }
.ot .ot-nav a:hover, .ot .ot-nav a[aria-current="page"] { border-bottom-color: var(--ot-signal); color: var(--ot-white); }
.ot .ot-call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ot-white); font: 600 16px/1 var(--ot-body); text-decoration: none; white-space: nowrap; }
.ot .ot-call:hover { color: var(--ot-signal); }
.ot-call svg { width: 18px; height: 18px; fill: var(--ot-signal); }
.ot .ot-menu { display: none; min-width: 44px; min-height: 44px; border: 1px solid #4A525A; border-radius: var(--ot-radius); background: transparent; color: var(--ot-white); font: 500 14px/1 var(--ot-body); cursor: pointer; }
.ot-mobile { display: none; }
@media (max-width: 1060px) {
  .ot-nav { display: none; }
  .ot .ot-menu { display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; margin-left: auto; }
  .ot-top-in { gap: 12px; }
  .ot-mobile[data-open="true"] { display: block; border-top: 1px solid #3A4148; padding: 8px 0 16px; }
  .ot .ot-mobile a { display: flex; align-items: center; min-height: 48px; color: var(--ot-white); font: 500 17px/1 var(--ot-body); text-decoration: none; border-bottom: 1px solid #2C3238; }
}
@media (max-width: 600px) {
  .ot-logo img { width: 112px; }
  .ot-top-in { gap: 8px; }
  .ot .ot-menu { margin-left: 0; }
  .ot .ot-call .ot-call-number { display: none; }           /* the icon stays: a 44px tap-to-call */
  .ot .ot-call { min-width: 44px; justify-content: center; }
  .ot .ot-top .ot-btn { padding: 0 12px; font-size: 15px; margin-left: auto; }
}

/* ---------- hero: full-bleed photo, headline over it, one action ---------- */
.ot-hero { position: relative; overflow: hidden; background: var(--ot-graphite); color: var(--ot-white); min-height: 560px; display: flex; align-items: center; }
.ot-hero .ot-decor { position: absolute; inset: 0; margin: 0; }
.ot-hero .ot-decor img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; display: block; }
.ot-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31, 35, 40, .94) 0%, rgba(31, 35, 40, .82) 42%, rgba(31, 35, 40, .2) 100%); }
.ot-hero-in { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; width: 100%; }
.ot-hero h1 { font-size: 64px; line-height: 60px; max-width: 640px; margin-bottom: 20px; }
.ot-hero .ot-lead { max-width: 520px; color: #E9ECEF; }
.ot-hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.ot .ot-hero-actions .ot-call-line { color: var(--ot-white); font-weight: 600; text-decoration: none; }
.ot .ot-hero-actions .ot-call-line span { color: var(--ot-signal); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .ot-hero { min-height: 520px; }
  .ot-hero::after { background: linear-gradient(180deg, rgba(31, 35, 40, .7) 0%, rgba(31, 35, 40, .92) 55%); }
  .ot-hero h1 { font-size: 40px; line-height: 40px; }
  .ot-hero-in { padding-top: 48px; padding-bottom: 48px; }
}

/* ---------- facts: three short columns, no cards ---------- */
.ot-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ot-facts h3 { margin-bottom: 6px; }
.ot-facts p { margin: 0; font-size: 15px; line-height: 22px; }
@media (max-width: 760px) { .ot-facts { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- category tiles: image, graphite label bar; the whole tile is a link ---------- */
.ot-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.ot .ot-tile { display: block; background: var(--ot-white); border: 1px solid var(--ot-rule); border-radius: var(--ot-radius); overflow: hidden; color: var(--ot-graphite); text-decoration: none; }
.ot-tile .ot-decor { margin: 0; aspect-ratio: 3 / 2; }
.ot-tile .ot-decor img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ot-tile-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ot-graphite); color: var(--ot-white); }
.ot-tile-bar strong { font: 700 24px/1 var(--ot-display); }
.ot-tile-bar span { font-size: 14px; color: #D3D8DC; }
.ot .ot-tile:hover .ot-tile-bar { box-shadow: inset 0 -4px 0 var(--ot-signal); }
.ot .ot-tile:hover strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ot-signal); }
@media (max-width: 760px) { .ot-tiles { grid-template-columns: 1fr; } .ot-tile .ot-decor { aspect-ratio: 16 / 7; } }

/* ---------- makes: plain links in columns ---------- */
.ot-makes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ot-rule); }
.ot-makes li { border-bottom: 1px solid var(--ot-rule); }
.ot .ot-makes a { display: flex; align-items: center; min-height: 48px; font-weight: 600; }
@media (max-width: 760px) { .ot-makes { grid-template-columns: repeat(2, 1fr); column-gap: 16px; } }

/* ---------- steps: a real sequence, so numbered ---------- */
.ot-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; }
.ot-steps li { counter-increment: step; border-top: 3px solid #3A4148; padding-top: 16px; }
.ot-steps li::before { content: counter(step); display: block; font: 700 40px/1 var(--ot-display); color: var(--ot-crate); margin-bottom: 10px; }
.ot-steps h3 { margin-bottom: 6px; }
.ot-steps p { margin: 0; color: #D3D8DC; font-size: 15px; line-height: 22px; }
@media (max-width: 760px) { .ot-steps { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- the honest claim the catalog rests on: big, not small print ---------- */
.ot-claim { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 22px 24px; background: var(--ot-crate); border-left: 8px solid var(--ot-graphite); }
.ot-claim strong { font: 700 30px/32px var(--ot-display); }
.ot-claim p { margin: 0; font-size: 16px; line-height: 24px; }
@media (max-width: 760px) { .ot-claim { grid-template-columns: 1fr; gap: 8px; } .ot-claim strong { font-size: 26px; line-height: 28px; } }

/* ---------- page title band (category pages) ---------- */
.ot-title { position: relative; background: var(--ot-graphite); color: var(--ot-white); overflow: hidden; }
.ot-title-in { display: grid; grid-template-columns: 1fr 1fr; min-height: 300px; }
.ot-title-text { padding: 40px var(--ot-gutter) 40px 0; display: flex; flex-direction: column; justify-content: center; }
.ot-title-text p { color: #D3D8DC; max-width: 480px; }
.ot-title .ot-decor { margin: 0; position: absolute; top: 0; right: 0; bottom: 0; width: 50%; }
.ot-title .ot-decor img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ot .ot-crumbs { font-size: 14px; color: #B8BEC4; margin-bottom: 12px; }
.ot .ot-crumbs a { color: #E9ECEF; }
@media (max-width: 760px) {
  .ot-title-in { grid-template-columns: 1fr; min-height: 0; }
  .ot-title-text { padding: 28px 0; }
  .ot-title .ot-decor { position: relative; width: 100%; aspect-ratio: 16 / 7; }
}

/* ---------- search ---------- */
.ot-search { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin: 24px 0 12px; }
.ot-search label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.ot-search .ot-field { flex: 1 1 320px; }
.ot-search-count { font-size: 15px; color: var(--ot-steel); margin: 0 0 12px; min-height: 24px; }

/* ---------- the catalog: a spec table, not cards ---------- */
.ot-table-wrap { background: var(--ot-white); border: 1px solid var(--ot-rule); }
.ot-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 21px; }
.ot-table thead th { position: sticky; top: 75px; z-index: 2; background: var(--ot-graphite); color: var(--ot-white); text-align: left; font: 600 14px/1 var(--ot-body); padding: 12px 14px; }
.ot-table td { padding: 12px 14px; border-top: 1px solid var(--ot-rule-soft); vertical-align: top; }
.ot-table tbody tr:nth-child(even) td { background: #FBFAF7; }
.ot-table .ot-c-code { font-family: var(--ot-mono); font-weight: 500; white-space: nowrap; }
.ot-table .ot-c-make { font-weight: 600; white-space: nowrap; }
.ot-table .ot-c-size { white-space: nowrap; color: var(--ot-steel); }
.ot-table .ot-fits { margin: 0; padding: 0; list-style: none; }
.ot-table .ot-fits li + li { margin-top: 4px; }
.ot-table .ot-fits span { color: var(--ot-steel); }
.ot-table .ot-c-act { text-align: right; white-space: nowrap; width: 1%; }
.ot-table tr[hidden] { display: none; }
.ot-table .ot-c-photo { width: 1%; }
.ot-ref { margin: 0; width: 168px; }
.ot-ref img { display: block; width: 168px; height: 112px; object-fit: cover; border: 1px solid var(--ot-rule); background: var(--ot-rule-soft); }
.ot-ref figcaption { margin-top: 4px; font: 400 12px/16px var(--ot-body); color: var(--ot-steel); }
.ot-ref figcaption a { color: var(--ot-steel); text-decoration: underline; text-underline-offset: 2px; }
.ot-ref-note { margin: 0 0 12px; color: var(--ot-steel); font-size: 15px; }
@media (max-width: 760px) {
  .ot-table thead { display: none; }
  .ot-table, .ot-table tbody, .ot-table tr, .ot-table td { display: block; width: auto; }
  .ot-table tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 14px 16px; border-top: 1px solid var(--ot-rule); }
  .ot-table tbody tr:nth-child(even) td { background: none; }
  .ot-table td { padding: 0; border: 0; }
  .ot-table .ot-c-code { grid-column: 1; font-size: 17px; }
  .ot-table .ot-c-make, .ot-table .ot-c-size { grid-column: 1; font-size: 14px; }
  .ot-table .ot-c-fits { grid-column: 1; margin-top: 6px; }
  .ot-table .ot-c-act { grid-column: 2; grid-row: 1 / span 5; align-self: center; width: auto; }
  .ot-table .ot-c-photo { grid-column: 1; width: auto; }
  .ot-table .ot-c-photo .ot-ref { margin-top: 10px; }
}

/* ---------- forms ---------- */
.ot .ot-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.ot .ot-field label span { font-weight: 400; color: var(--ot-steel); }
.ot .ot-field input, .ot .ot-field textarea, .ot .ot-field select { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/22px var(--ot-body); color: var(--ot-graphite); background: var(--ot-white); border: 1px solid #8A949C; border-radius: var(--ot-radius); }
.ot .ot-field textarea { min-height: 96px; resize: vertical; }
.ot .ot-field input.mono { font-family: var(--ot-mono); }
.ot .ot-field [aria-invalid="true"] { border-color: #B42318; border-width: 2px; }
.ot-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ot-form-grid .ot-span { grid-column: 1 / -1; }
@media (max-width: 600px) { .ot-form-grid { grid-template-columns: 1fr; } }
.ot .form-status, .ot .pr-status { font-size: 15px; line-height: 22px; }
.ot .form-status.success, .ot .pr-status.is-ok { color: var(--ot-graphite); }
.ot .form-status.error, .ot .pr-status.is-error { color: #B42318; }
.ot .hp, .ot .pr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- contact: two columns ---------- */
.ot-contact { display: grid; grid-template-columns: 5fr 7fr; grid-template-areas: "call form" "place form"; gap: 24px 40px; align-items: start; margin-top: 24px; }
.ot-contact-call { grid-area: call; } .ot-contact-form { grid-area: form; } .ot-contact-place { grid-area: place; }
.ot-contact-details { background: var(--ot-white); border: 1px solid var(--ot-rule); padding: 24px; }
.ot-contact-details h2 { font-size: 22px; line-height: 26px; margin: 20px 0 6px; }
.ot-contact-details h2:first-child { margin-top: 0; }
.ot a.ot-big-phone { font: 700 34px/1 var(--ot-display); color: var(--ot-graphite); text-decoration: none; display: inline-block; margin-bottom: 12px; }
.ot a.ot-big-phone:hover { color: var(--ot-signal-ink); }
.ot-contact-details address { font-style: normal; }
.ot-map { margin: 16px 0 0; }
.ot-map img { width: 100%; height: auto; display: block; border: 1px solid var(--ot-rule); }
.ot-map figcaption { font-size: 13px; color: var(--ot-steel); margin-top: 6px; }
.ot-contact-form { background: var(--ot-white); border: 1px solid var(--ot-rule); border-top: 6px solid var(--ot-graphite); padding: 28px; }
.ot-contact-form h2 { margin-bottom: 8px; }
@media (max-width: 900px) { .ot-contact { grid-template-columns: 1fr; grid-template-areas: "call" "form" "place"; } }

/* ---------- Request photos (oemtronic-photo-request.js) ---------- */
.ot .pr-open { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--ot-signal); border-radius: var(--ot-radius); background: var(--ot-white); color: var(--ot-signal-ink); font: 600 14px/1 var(--ot-body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.ot .pr-open:hover { background: #FFF3E0; color: var(--ot-graphite); }
.ot .pr-open[aria-pressed="true"] { background: var(--ot-signal); color: var(--ot-graphite); }
.ot .pr-open[aria-pressed="true"]:hover { background: #FFB33D; }
.ot-pr { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; }
.ot-pr .pr-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.ot-pr .pr-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.ot-pr .pr-row label span { font-weight: 400; color: var(--ot-steel); }
.ot-pr .pr-row input { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/22px var(--ot-body); border: 1px solid #8A949C; border-radius: var(--ot-radius); background: var(--ot-white); color: var(--ot-graphite); }
.ot-pr .pr-row input[aria-invalid="true"] { border: 2px solid #B42318; }
.ot-pr .pr-units { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ot-pr .pr-units li { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 4px 0 12px; background: var(--ot-white); border: 1px solid var(--ot-graphite); border-radius: var(--ot-radius); font-family: var(--ot-mono); font-weight: 500; }
.ot .pr-unit-remove { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--ot-signal-ink); font-size: 22px; line-height: 1; cursor: pointer; }
.ot-pr .pr-send, .ot-pr .pr-status { grid-column: 1 / -1; }
.ot-pr .pr-send { justify-self: start; }
.ot .pr-go { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50; display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: var(--ot-radius); background: var(--ot-signal); color: var(--ot-graphite); font: 600 16px/1 var(--ot-body); text-decoration: none; border: 2px solid var(--ot-graphite); white-space: nowrap; }
.ot .pr-go[hidden] { display: none; }
.ot .ot-hdr-photos { display: none; }
@media (min-width: 900px) {
  .ot .pr-go { display: none !important; }
  .ot .ot-hdr-photos:not([hidden]) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 2px solid var(--ot-signal); border-radius: var(--ot-radius); color: var(--ot-signal); font: 600 14px/1 var(--ot-body); text-decoration: none; white-space: nowrap; }
}
@media (max-width: 760px) { .ot-pr { grid-template-columns: 1fr; gap: 24px; } .ot-pr .pr-form { grid-template-columns: 1fr; } }

/* ---------- "Didn't find it": a main path, not a fallback (oemtronic-find.js) ----------
   Under every catalog table, and on the parts page. Under a table it is the
   end of the list; when a search matches nothing it is the empty result,
   on crate so it reads as the answer rather than a footnote. */
.ot-find, .ot-find-form { scroll-margin-top: 96px; }
.ot-find { margin: 24px 0 0; padding: 24px; background: var(--ot-white); border: 1px solid var(--ot-rule); border-radius: var(--ot-radius); }
.ot-find--none { background: var(--ot-crate); border-color: var(--ot-crate); }
.ot-find h2 { margin: 0 0 8px; font-size: 28px; line-height: 32px; overflow-wrap: anywhere; }
.ot-find-lead { margin: 0 0 16px; max-width: 60ch; }
.ot-find-actions { display: flex; gap: 12px; }
.ot .ot-find-actions .ot-btn { flex: 0 1 auto; white-space: normal; text-align: center; line-height: 20px; padding: 6px 20px; gap: 0 6px; flex-wrap: wrap; }
.ot-find-call span { white-space: nowrap; }
.ot-find-next { margin: 12px 0 0; font-size: 15px; color: var(--ot-steel); }
.ot-find--none .ot-find-next { color: var(--ot-graphite); }
.ot-find-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--ot-rule); position: relative; }
.ot-find-form[hidden] { display: none; }
.ot-find-guess { grid-column: 1 / -1; margin: 0; padding: 10px 12px; background: var(--ot-paper); border-left: 3px solid var(--ot-graphite); font-size: 15px; line-height: 22px; }
.ot-find-guess[hidden] { display: none; }
.ot-find .pr-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.ot-find .pr-row label span { font-weight: 400; color: var(--ot-steel); }
/* Marks a guess. White with a graphite edge: it must show on the crate empty result too. */
.ot-find .pr-row label .ot-find-tag { display: inline-block; margin-left: 6px; padding: 0 6px; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--ot-graphite); background: var(--ot-white); border: 1px solid var(--ot-graphite); border-radius: var(--ot-radius); white-space: nowrap; }
.ot-find .pr-row label .ot-find-tag[hidden] { display: none; }
.ot-find .pr-row input, .ot-find .pr-row textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/22px var(--ot-body); border: 1px solid #8A949C; border-radius: var(--ot-radius); background: var(--ot-white); color: var(--ot-graphite); }
.ot-find .pr-row input[aria-invalid="true"] { border: 2px solid #B42318; }
.ot-find .pr-row:has(textarea), .ot-find .pr-send, .ot-find .pr-status { grid-column: 1 / -1; }
.ot-find .pr-send { justify-self: start; }
@media (max-width: 760px) {
  .ot-find { padding: 20px 16px; }
  .ot-find h2 { font-size: 24px; line-height: 28px; }
  .ot .ot-find-actions .ot-btn { flex: 1 1 0; padding: 6px 10px; }
  .ot-find-form { grid-template-columns: 1fr; }
}
