:root {
  color-scheme: dark;
  --base: #101416;
  --surface: #181e20;
  --raised: #202729;
  --text: #f1f2ec;
  --muted: #b5bdb8;
  --line: #384043;
  --amber: #e3b571;
  --edge: clamp(20px, 5.5vw, 90px);
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--base);
}
*,*::before,*::after {box-sizing:border-box}
body,h1,h2,h3,p {margin:0}
body {font-size:16px;line-height:1.5}
a {color:inherit;text-decoration:none}
button,input,select,textarea {font:inherit;color:inherit}
button {cursor:pointer}
[hidden] {display:none!important}
:focus-visible {outline:3px solid var(--amber);outline-offset:3px}
.wrap {width:min(1344px,calc(100% - var(--edge) * 2));margin-inline:auto}
.skip {position:absolute;left:10px;top:10px;padding:8px 14px;background:var(--amber);color:var(--base);z-index:3;transform:translateY(-160%)}
.skip:focus {transform:none}
.mast {border-bottom:1px solid var(--line);background:#111617}
.mast-inner,.foot,.foot nav,.language,.wordmark,.section-heading,.card-foot,.crumbs,.source-link {display:flex;align-items:center}
.mast-inner {min-height:70px;gap:23px}
.wordmark,.footname {font-weight:780;font-size:1.04rem;letter-spacing:.11em}
.wordmark {min-height:44px;gap:9px}
.monogram {display:inline-block;width:29px;height:22px;overflow:hidden;font-size:0;background:var(--amber);clip-path:polygon(14% 6%,100% 6%,95% 26%,46% 72%,75% 72%,96% 53%,85% 92%,0 92%,6% 70%,55% 25%,30% 25%,8% 44%)}
.mast-section {border-left:1px solid var(--line);padding-left:22px;color:var(--muted);font-size:.9rem}
.language {margin-left:auto;gap:3px}
.language a {display:grid;place-items:center;min-width:44px;min-height:44px;position:relative;color:var(--muted);font-size:.81rem;font-weight:650}
.language a[aria-current] {color:var(--amber)}
.language a[aria-current]::after {content:"";position:absolute;width:16px;height:2px;bottom:5px;background:var(--amber)}
.mast a:hover,.foot a:hover,.crumbs a:hover {color:var(--amber)}
.intro {position:relative;isolation:isolate;overflow:hidden;border-bottom:1px solid var(--line);background:#151a1b}
.intro::before {content:"";position:absolute;z-index:-1;right:-4%;top:0;bottom:0;width:47%;background:repeating-linear-gradient(128deg,transparent 0 46px,#b09c7918 46px 47px,transparent 47px 56px);mask-image:linear-gradient(90deg,transparent,#000 46%)}
.intro::after {content:"";position:absolute;bottom:0;left:var(--edge);width:clamp(46px,6vw,96px);height:2px;background:var(--amber)}
.intro-grid {padding-block:clamp(42px,5.2vw,84px)}
h1,h2,h3 {overflow-wrap:anywhere}
h1,h2 {font-weight:600;letter-spacing:-.053em;line-height:1.07}
h1 {font-size:clamp(2.7rem,5.5vw,5.65rem)}
.intro p,.lead {color:var(--muted);max-width:51ch;margin-top:17px;font-size:clamp(1rem,1.3vw,1.2rem);line-height:1.55}
.catalog {padding-block:clamp(31px,3.7vw,64px) clamp(50px,7vw,108px)}
.section-heading {justify-content:space-between;gap:16px}
h2 {font-size:clamp(1.7rem,2.45vw,2.7rem)}
.count,.meta,.hash {font-size:.83rem;color:var(--muted)}
.count {font-variant-numeric:tabular-nums}
.filters {display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.32fr);align-items:end;gap:12px;margin:22px 0}
.filters label,.request label {display:grid;gap:6px;min-width:0}
.filters label>span:first-child,.request label>span {font-size:.82rem;color:var(--muted);font-weight:600}
input,select,textarea {border:1px solid #50595a;border-radius:3px;background:#131819;padding:11px 13px;width:100%;min-height:46px;line-height:1.35}
input::placeholder,textarea::placeholder {color:#a4afab;opacity:1}
.search-box {display:block;position:relative}
.search-box input {padding-left:42px}
.search-box i {position:absolute;top:14px;left:15px;width:13px;height:13px;border:1.5px solid var(--muted);border-radius:50%}
.search-box i::after {content:"";position:absolute;width:7px;height:1.5px;background:var(--muted);right:-5.5px;bottom:-2.5px;transform:rotate(45deg)}
.device-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;margin:22px 0 0;padding:0}
.device-grid li {display:flex;min-width:0}
.device-card {display:flex;flex-direction:column;align-items:flex-start;width:100%;min-height:192px;border:1px solid var(--line);border-top:2px solid #6b736c;border-radius:2px;background:var(--surface);padding:clamp(15px,1.65vw,27px)}
.device-card:hover,.device-card:focus-visible {background:var(--raised);border-color:var(--amber)}
.card-type,.type {color:var(--amber);font-weight:630;font-size:.72rem;letter-spacing:.07em;text-transform:uppercase}
.device-card h3 {font-size:clamp(1.38rem,1.75vw,2.2rem);line-height:1.13;letter-spacing:-.035em;margin-top:15px;font-weight:620}
.card-brand {font-size:.91rem;color:var(--muted);margin-top:4px}
.card-foot {align-self:stretch;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:12px;margin-top:auto;font-size:.83rem}
.card-brand + .card-foot {margin-top:22px}
.chevron {width:.49em;height:.49em;border:solid var(--amber);border-width:1.5px 1.5px 0 0;transform:rotate(45deg);display:inline-block;flex:none;margin-right:.12em}
.outward {display:inline-block;width:.65rem;height:.65rem;border-top:1.5px solid var(--amber);border-right:1.5px solid var(--amber);position:relative;flex:none}
.outward::before {content:"";position:absolute;right:-1px;top:-1px;width:.8rem;height:1.5px;background:var(--amber);transform-origin:right center;transform:rotate(-45deg)}
.crumbs {gap:12px;min-height:54px;font-size:.85rem;color:var(--muted)}
.crumbs .chevron {color:var(--muted);border-color:currentColor}
.detail-head {background:#151a1b;border-block:1px solid var(--line);padding-block:clamp(30px,4.5vw,72px)}
.detail-head h1 {font-size:clamp(2.55rem,4.45vw,4.7rem)}
.detail-layout {display:flex;justify-content:space-between;align-items:flex-end;gap:22px}
.type {margin-bottom:8px}
.manufacturer {margin-top:10px;color:var(--muted);font-size:1.09rem}
.source-link {align-self:flex-end;min-height:44px;gap:13px;font-size:.93rem;border-bottom:1px solid var(--amber)}
.detail-body {display:grid;grid-template-columns:minmax(0,2.45fr) minmax(210px,.8fr);align-items:start;gap:clamp(28px,4vw,68px);padding-block:clamp(34px,4.3vw,78px)}
.detail-primary {min-width:0}
.detail-primary section + section {margin-top:35px;border-top:1px solid var(--line);padding-top:26px}
.detail-primary h2,.file-guide h2,.request-box h2 {margin-bottom:16px}
.empty {border-left:2px solid var(--amber);padding:17px 19px;background:var(--surface)}
.empty p,.muted,.file-guide p {color:var(--muted)}
.empty button,.request button {border-radius:2px;min-height:44px;padding:8px 17px;font-weight:650}
.empty button {border:1px solid var(--line);background:var(--raised);margin-top:12px}
.file-guide {border-top:2px solid var(--amber);padding:22px;background:var(--surface)}
.file-guide h2 {font-size:1.27rem;letter-spacing:-.025em}
.file-guide p {margin-block:12px;font-size:.94rem}
.file-guide code {display:inline-block;background:#101415;padding:4px 9px;font-size:.94rem}
.file-guide a,.accent-link {color:var(--amber);text-decoration:underline;text-underline-offset:.23em;overflow-wrap:anywhere}
.file-guide>a {display:inline-flex;align-items:center;gap:9px;min-height:44px;font-size:.85rem}
.table-scroll {overflow-x:auto}
table {width:100%;border-collapse:collapse}
th,td {text-align:left;vertical-align:top;border-bottom:1px solid var(--line);padding:11px 9px;font-size:.89rem}
thead {background:var(--surface)}
th {font-weight:600}
.hash,.hash code {display:block;margin-top:5px}
.hash code {overflow-wrap:anywhere;max-width:22ch}
.notes,.vehicle-list {margin:0;padding:0;list-style:none}
.notes li,.vehicle-list li {border-bottom:1px solid var(--line);padding:12px 0}
.notes h3 {font-size:1.12rem;font-weight:600}
.notes p {margin:6px 0;color:var(--muted)}
.request {display:grid;gap:15px;max-width:64ch}
.request textarea {resize:vertical}
.request button {justify-self:start;border:0;background:var(--amber);color:#181917}
.request .meta {max-width:58ch}
footer {border-top:1px solid var(--line)}
.foot {justify-content:space-between;gap:20px;padding-block:22px}
.footname {display:inline-flex;align-items:center;min-height:44px;font-size:.92rem}
.foot nav {gap:20px;flex-wrap:wrap;color:var(--muted)}
.foot nav a {font-size:.86rem;display:inline-flex;align-items:center;min-height:44px}
@media (max-width:1050px) {.device-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px) {
 .mast-inner{min-height:60px;gap:10px}.mast-section{display:none}
 .intro-grid{padding-block:38px}.intro p{max-width:38ch}.intro::before{width:35%;opacity:.7}
 .device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .detail-body{grid-template-columns:minmax(0,1fr)}.detail-layout{align-items:start;flex-direction:column}.source-link{align-self:flex-start}
 .filters{grid-template-columns:1fr 1fr}.foot{align-items:flex-start;flex-direction:column;gap:3px}
}
@media (max-width:500px) {
 .filters{grid-template-columns:1fr;gap:10px;margin:15px 0}.device-grid{gap:9px;margin-top:15px}
 .device-card{min-height:160px;padding:13px 11px}.card-type{font-size:.66rem;letter-spacing:.025em}
 .device-card h3{margin-top:11px;font-size:1.31rem}.card-foot{font-size:.77rem}.card-brand{font-size:.81rem}
 .card-brand + .card-foot{margin-top:auto;padding-top:9px}.card-brand{margin-bottom:14px}
}
@media (max-width:345px) {.device-grid{grid-template-columns:1fr}.device-card{min-height:130px}}
@media (forced-colors:active) {.monogram{background:CanvasText}.language a[aria-current]{text-decoration:underline}}
