@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/MaterialIcons-Regular.woff2") format("woff2");
}

:root {
  --blue: #3d728f;
  --blue-dark: #285f7d;
  --blue-link: #3c708a;
  --line: #ccc;
  --soft: #e3e4de;
  --muted: #999;
  font-family: Roboto, Arial, sans-serif;
  color: #111;
  background: #fff;
}

* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 16px; background: #fff; }
button, input { font: inherit; }
a { color: var(--blue-link); }
button, a { -webkit-tap-highlight-color: transparent; }

.topbar { height: 39px; padding: 7px 10px; background: var(--blue); }
.return-button { display: inline-block; padding: 2px 7px; border: 1px solid #888; color: #111; background: #efefef; font: 13px Arial, sans-serif; line-height: 18px; text-decoration: none; box-shadow: inset 1px 1px #fff; }
.shell { width: 100%; min-height: calc(100vh - 118px); padding: 0 8px 70px; }

.breadcrumbs { display: flex; align-items: stretch; flex-wrap: wrap; gap: 7px; min-height: 48px; padding: 15px 0 8px; }
.breadcrumbs a { position: relative; min-width: 98px; height: 22px; padding: 3px 18px 3px 16px; border: 0; color: #4c4c4c; background: #e4e4e4; font-size: 12px; line-height: 16px; text-align: center; text-decoration: none; cursor: pointer; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%); transition: color .15s ease-in-out, background-color .15s ease-in-out; }
.breadcrumbs a:first-child { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); }
.breadcrumbs a:last-child { color: var(--blue-link); }
.breadcrumbs a:hover { background: #d7d7d7; }
.breadcrumbs i { display: none; }

.hero { padding-top: 4px; }
.search-card { width: 383px; max-width: 100%; margin: 0 0 18px; padding: 16px; background: #e1e2dc; }
.search-card label { display: block; margin-bottom: 6px; font-size: 17px; }
.search-row { display: grid; grid-template-columns: 1fr 63px; height: 26px; }
.search-row input { width: 100%; min-width: 0; border: 1px solid #ddd; border-radius: 0; padding: 2px 5px; outline: none; text-transform: uppercase; transition: border-color .3s ease-in-out, box-shadow .3s ease-in-out; }
.search-row input:focus { border-color: var(--blue); }
.search-submit { border: 0; background: var(--blue); color: transparent; cursor: pointer; position: relative; }
.search-submit::before { content: ""; position: absolute; left: 25px; top: 6px; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; }
.search-submit::after { content: ""; position: absolute; left: 37px; top: 17px; width: 8px; height: 2px; background: #fff; transform: rotate(48deg); transform-origin: left center; }
.hint { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.15; }

.catalog-list { display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 0 54px; max-width: 940px; }
.catalog-column { margin: 0; padding: 0; list-style: none; }
.catalog-row { display: grid; grid-template-columns: 30px 1fr; min-height: 44px; align-items: start; }
.catalog-letter { color: #999; font-size: 24px; font-weight: 300; line-height: 30px; }
.catalog-name { border: 0; padding: 5px 0; color: #222; background: transparent; text-align: left; font-size: 17px; cursor: pointer; transition: color .15s ease-in-out; }
.catalog-name:hover { color: var(--blue-link); text-decoration: underline; }

#contentView { padding: 0 0 40px; }
.page-head { margin: 10px 0 22px; }
.page-head h2 { margin: 0; font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif; font-size: 29px; font-weight: 400; line-height: 1.1; }
.page-head p { margin: 6px 0 0; }
.eyebrow { display: none; }
.vehicle-summary { margin: 0 0 20px; line-height: 1.18; }
.action-button, .primary { display: inline-block; padding: 7px 9px; border: 0; border-radius: 0; color: #fff; background: var(--blue); cursor: pointer; text-decoration: none; transition: color .15s ease-in-out, background-color .15s ease-in-out, transform .15s ease-in-out; }
.action-button:hover, .primary:hover { background: var(--blue-dark); }
.action-button:active, .primary:active { transform: translateY(1px); }

.result-table, .parts-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.result-table th, .result-table td { padding: 6px 8px; border-bottom: 1px solid #ddd; text-align: left; font-weight: 400; white-space: nowrap; }
.result-table th { color: #111; font-weight: 500; }
.result-table tbody tr { cursor: pointer; transition: background-color .15s ease-in-out; }
.result-table tbody tr:hover { background: #eef5f8; }
.result-table a { color: var(--blue-link); text-decoration: none; }
.table-scroll { width: 100%; overflow-x: auto; }

.vehicle-tools { margin: 0 0 20px; }
.quick-search { width: 280px; max-width: 100%; height: 26px; border: 1px solid #ccc; padding: 3px 5px; }
.group-tree { width: min(400px, 100%); margin: 3px 0 0; padding: 0; list-style: none; }
.group-tree ul { margin: 0 0 0 18px; padding: 0; list-style: none; border-left: 1px solid #c7c7c7; }
.group-tree li { position: relative; }
.group-tree li::before { content: ""; position: absolute; left: -10px; top: 14px; width: 10px; border-top: 1px solid #c7c7c7; }
.group-tree > li::before { display: none; }
.tree-row { display: flex; align-items: flex-start; min-height: 22px; }
.tree-toggle { flex: 0 0 13px; width: 13px; height: 13px; margin: 3px 0 0; padding: 0; border: 1px solid #9baab2; color: var(--blue-link); background: #eef2f4; font: 12px/10px Arial, sans-serif; text-align: center; cursor: pointer; transition: color .2s ease-in-out, background-color .2s ease-in-out, transform .2s ease-in-out; }
.tree-toggle:hover { color: #fff; background: var(--blue); }
.tree-toggle[aria-expanded="true"] { transform: rotate(180deg); }
.tree-label, .tree-link { display: block; border: 0; padding: 2px 0 2px 5px; color: #111; background: transparent; text-align: left; line-height: 1.05; cursor: pointer; position: relative; transition: color .2s ease-in-out, transform .2s ease-in-out; }
.tree-link:hover { color: var(--blue-link); }
.tree-children { display: grid; grid-template-rows: 0fr; opacity: 0; pointer-events: none; transition: grid-template-rows .32s ease-in-out, opacity .24s ease-in-out; }
.tree-children.open { grid-template-rows: 1fr; opacity: 1; pointer-events: auto; }
.tree-children-inner { min-height: 0; overflow: hidden; }

.unit-catalog { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 4px; align-items: start; }
.unit-tiles { display: grid; grid-template-columns: repeat(2, minmax(180px, 1fr)); gap: 4px; }
.unit-tile { min-height: 350px; border: 1px solid #ccc; background: #fff; padding: 10px; text-align: center; cursor: pointer; transition: background-color .2s ease-in-out, border-color .2s ease-in-out, transform .2s ease-in-out, box-shadow .2s ease-in-out; }
.unit-tile:hover { background: #f7fbfd; }
.unit-tile:hover { border-color: #9db5c1; box-shadow: 0 3px 10px rgba(19, 96, 133, .12); transform: translateY(-1px); }
.unit-tile img { width: 100%; height: 245px; object-fit: contain; display: block; }
.unit-tile-placeholder { height: 245px; }
.unit-tile span { display: block; color: var(--blue-link); font-size: 14px; line-height: 1.18; }
.category-sidebar { border-left: 4px solid #f5f5f5; }
.category-sidebar h3 { margin: 0; padding: 9px 7px; background: #f4f4f4; font-size: 16px; font-weight: 400; }
.category-button { display: block; width: 100%; min-height: 35px; border: 0; border-bottom: 3px solid #fff; padding: 7px 10px; color: var(--blue-link); background: #f3f3f3; text-align: center; font-size: 12px; cursor: pointer; transition: color .3s ease-out, background-color .3s ease-out; }
.category-button.active, .category-button:hover { color: #fff; background: var(--blue); }
.empty { padding: 32px 12px; color: #888; text-align: center; }

.unit-heading { margin: 16px 0 20px; font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif; font-size: 20px; font-weight: 400; }
.unit-note-row { display: grid; grid-template-columns: minmax(280px, 1fr) 145px; gap: 16px; align-items: center; margin-bottom: 8px; }
.unit-note { line-height: 1.15; }
.unit-layout { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(330px, 1fr); gap: 6px; align-items: start; }
.diagram-card { border: 1px solid var(--line); background: #fff; padding: 0; position: relative; }
.diagram-zoom { position: absolute; z-index: 2; left: 7px; top: 6px; width: 24px; height: 24px; border: 3px solid var(--blue); border-radius: 50%; background: #fff; }
.diagram-zoom::after { content: ""; position: absolute; width: 12px; height: 3px; right: -9px; bottom: -6px; background: var(--blue); transform: rotate(45deg); }
.diagram-stage { position: relative; width: 100%; overflow: auto; }
.diagram-stage img { display: block; width: 100%; height: auto; min-height: 360px; object-fit: contain; }
.hotspot { position: absolute; min-width: 20px; min-height: 20px; border: 1px solid transparent; background: rgba(61,114,143,.04); cursor: pointer; transition: border-color .2s ease-in-out, background-color .2s ease-in-out; }
.hotspot:hover, .hotspot.active { border-color: var(--blue); background: rgba(61,114,143,.2); }
.diagram-help { display: none; }

.parts-table th { padding: 5px; color: #fff; background: rgba(19, 96, 133, .94); font-weight: 500; text-align: left; }
.parts-table td { padding: 5px; border-bottom: 1px solid #ddd; vertical-align: top; }
.parts-table .position { width: 34px; }
.parts-table .oem-cell { width: 165px; }
.parts-table a { color: var(--blue-link); text-decoration: none; }
.parts-table a:hover { text-decoration: underline; }
.parts-table tbody tr { transition: background-color .2s ease-in-out; }
.parts-table tr.selected td { background: #dceaf1; }
.variant { color: #999; font-size: 12px; white-space: nowrap; }
.oem-wrap { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.copy-oem { position: relative; flex: 0 0 24px; width: 24px; height: 22px; padding: 0; border: 1px solid transparent; color: var(--blue-link); background: transparent; cursor: pointer; transition: color .18s ease-in-out, background-color .18s ease-in-out, border-color .18s ease-in-out; }
.copy-oem:hover, .copy-oem:focus-visible { border-color: #9baab2; background: #eef2f4; outline: none; }
.copy-oem.copied { border-color: var(--blue); color: #fff; background: var(--blue); }
.copy-glyph { display: block; font-family: "Material Icons"; font-size: 17px; font-weight: 400; font-style: normal; line-height: 20px; -webkit-font-smoothing: antialiased; }
.copy-glyph::before { content: "\e14d"; }
.copy-oem[data-feedback]::after { content: attr(data-feedback); position: absolute; z-index: 35; left: 50%; bottom: calc(100% + 7px); padding: 5px 7px; color: #fff; background: rgba(55,55,55,.97); box-shadow: 0 3px 10px rgba(0,0,0,.18); font: 11px/1.2 Arial, sans-serif; white-space: nowrap; transform: translateX(-50%); animation: view-enter .18s ease-out both; }
.part-amount { width: 58px; color: #333; text-align: center; white-space: nowrap; font-weight: 500; }
.part-actions { position: relative; width: 64px; white-space: nowrap; text-align: right; }
.linked-unit-link, .detail-help { display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 21px; margin-left: 4px; padding: 0; border: 1px solid #9baab2; color: var(--blue-link); background: #eef2f4; font: 600 13px/1 Arial, sans-serif; vertical-align: top; cursor: pointer; transition: color .18s ease-in-out, background-color .18s ease-in-out, border-color .18s ease-in-out; }
.linked-unit-link { font-size: 15px; text-decoration: none; }
.linked-unit-link:hover, .detail-help:hover, .detail-help:focus-visible { border-color: var(--blue); color: #fff; background: var(--blue); text-decoration: none; outline: none; }
.detail-help { position: relative; border-radius: 50%; }
.detail-tooltip { position: absolute; z-index: 30; right: -3px; bottom: calc(100% + 9px); width: min(310px, 76vw); padding: 9px 11px; color: #fff; background: rgba(55, 55, 55, .97); box-shadow: 0 4px 14px rgba(0,0,0,.2); font: 12px/1.35 Arial, sans-serif; text-align: left; white-space: normal; opacity: 0; visibility: hidden; transform: translateY(5px); pointer-events: none; transition: opacity .2s ease-in-out, transform .2s ease-in-out, visibility .2s ease-in-out; }
.detail-tooltip::after { content: ""; position: absolute; right: 7px; top: 100%; border: 6px solid transparent; border-top-color: rgba(55, 55, 55, .97); }
.detail-help:hover .detail-tooltip, .detail-help:focus .detail-tooltip, .detail-help:focus-visible .detail-tooltip { opacity: 1; visibility: visible; transform: translateY(0); }
.tooltip-item { display: block; }
.tooltip-item + .tooltip-item { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.22); }
.tooltip-item strong, .tooltip-item span { display: block; }
.tooltip-item strong { margin-bottom: 1px; color: #dbeaf1; font-weight: 600; }
.linked-unit-tiles { max-width: 980px; }
.quick-result-tiles { max-width: 980px; }

.status { width: 390px; max-width: 100%; margin: 0; padding: 18px; background: var(--soft); }
.status.error { color: #8e2417; }
.status p { margin: 8px 0 14px; }
.status-spinner { display: inline-block; width: 16px; height: 16px; margin: 0 8px -3px 0; border: 2px solid #bbb; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
footer { min-height: 90px; padding: 22px 8px; color: #777; background: #e2e4dc; font-size: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes view-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.view-enter { animation: view-enter .28s cubic-bezier(.2,.65,.3,1) both; }
.unit-tile, .group-tree > li { animation: view-enter .32s cubic-bezier(.2,.65,.3,1) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (max-width: 560px) {
  .catalog-list { grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 0 20px; }
  .catalog-column:nth-child(3) { grid-column: 1 / -1; columns: 2; column-gap: 20px; }
  .unit-catalog { grid-template-columns: 1fr; }
  .category-sidebar { grid-row: 1; display: grid; grid-template-columns: repeat(2, 1fr); border: 0; }
  .category-sidebar h3 { grid-column: 1 / -1; }
  .unit-layout { grid-template-columns: 1fr; }
  .unit-note-row { grid-template-columns: 1fr; }
  .unit-note-row .action-button { justify-self: start; }
}
@media (max-width: 480px) {
  .catalog-list { grid-template-columns: 1fr; }
  .catalog-column:nth-child(3) { grid-column: auto; columns: auto; }
  .unit-tiles { grid-template-columns: 1fr; }
  .unit-tile { min-height: 300px; }
  .unit-tile img, .unit-tile-placeholder { height: 220px; }
  .page-head h2 { font-size: 26px; }
}
