:root {
  --gold: #d8b45b;
  --gold-light: #f0d58f;
  --text: #f5f7fb;
  --muted: #b8c0d4;
  --panel: rgba(7, 12, 24, .72);
  --panel-strong: rgba(2, 4, 10, .84);
  --line: rgba(255, 255, 255, .14);
  --line-gold: rgba(216, 180, 91, .48);
  --danger: #ffbd8a;
  --focus: #ffdf83;
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: #02040a; scroll-behavior: smooth; color-scheme: dark; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; color: var(--text); background: transparent; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.6; }
a { color: var(--gold-light); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #fff2c9; }
button, input { font: inherit; }
button, .btn, .nav-toggle, .icon-button { min-height: 44px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; left: 1rem; top: -8rem; z-index: 1000; padding: .8rem 1rem; color: #02040a; background: var(--focus); font-weight: 900; border-radius: 0 0 10px 10px; }
.skip-link:focus { top: 0; }
.site-bg-video { position: fixed; inset: 0; width: 100vw; height: 100vh; object-fit: cover; z-index: 0; display: block; pointer-events: none; filter: saturate(1.08) contrast(1.08) brightness(.58); transform: scale(1.01); background: #02040a; }
.site-overlay { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at 18% 8%, rgba(216, 180, 91, .20), transparent 33%), linear-gradient(120deg, rgba(1, 4, 12, .88), rgba(4, 8, 18, .62), rgba(1, 4, 12, .90)); }
.site-header, main, .site-footer, .back-to-top { position: relative; z-index: 2; }
.wrap { width: min(1180px, 92vw); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: rgba(2, 4, 10, .70); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.header-row { min-height: 74px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; color: white; text-decoration: none; font-weight: 900; letter-spacing: -.02em; white-space: nowrap; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-video-logo { display:block;flex:0 0 auto;width:82px;height:52px;object-fit:contain;object-position:center;background:transparent; }
.brand small { display: block; color: var(--gold); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.desktop-search { margin-left: auto; position: relative; width: min(320px, 29vw); }
.search-input { width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: 11px 45px 11px 16px; color: var(--text); background: rgba(255, 255, 255, .07); }
.search-input::placeholder { color: #aeb6c9; }
.search-submit { position: absolute; right: 4px; top: 4px; min-width: 38px; height: 36px; min-height: 36px; border: 0; border-radius: 999px; color: #111; background: var(--gold); cursor: pointer; }
.nav-toggle { display: none; margin-left: auto; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 12px; color: white; background: rgba(255, 255, 255, .06); cursor: pointer; }
.site-nav { display: flex; align-items: center; gap: 5px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: thin; }
.site-nav a { flex: 0 0 auto; padding: 8px 10px; border: 1px solid transparent; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 750; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: white; border-color: var(--line-gold); background: rgba(216, 180, 91, .10); }
.mobile-search { display: none; width: 100%; padding: 0 0 12px; }
.hero { min-height: 74vh; display: grid; align-items: center; padding: 72px 0 54px; }
.hero-card { max-width: 980px; padding: clamp(24px, 5vw, 54px); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); background: linear-gradient(135deg, rgba(7, 12, 24, .78), rgba(2, 4, 10, .62)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.eyebrow, .pill { color: var(--gold); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 900; }
.hero h1 { margin: 15px 0 18px; font-size: clamp(44px, 7vw, 82px); line-height: .97; letter-spacing: -.055em; text-shadow: 0 18px 70px rgba(0, 0, 0, .60); }
.hero-copy { max-width: 820px; color: #dce2ef; font-size: clamp(17px, 2vw, 22px); }
.vehicle-data { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0; }
.vehicle-data span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: #e8edf8; background: rgba(255,255,255,.05); font-size: 13px; }
.cta-row, .toolbar { display: flex; flex-wrap: wrap; gap: 10px; }
.btn, .toolbar button, .toolbar a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line-gold); border-radius: 999px; padding: 11px 16px; color: white; background: linear-gradient(135deg, rgba(216, 180, 91, .24), rgba(255, 255, 255, .06)); font-weight: 850; text-decoration: none; cursor: pointer; }
.btn.secondary, .toolbar button, .toolbar a { border-color: var(--line); background: rgba(255, 255, 255, .06); }
.section { padding: 34px 0 74px; }
.section-heading { margin: 0 0 18px; font-size: clamp(28px, 4vw, 46px); letter-spacing: -.04em; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .notice, .search-panel, .manual-shell, .pdf-viewer { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.card { padding: 24px; }
.card h2, .card h3 { margin: 8px 0 10px; line-height: 1.2; letter-spacing: -.025em; }
.card p { margin: 0 0 14px; color: var(--muted); }
.card-link { display: inline-flex; margin-top: 8px; font-weight: 850; }
.notice { margin: 22px auto; padding: 18px 20px; color: #f2dfc3; border-color: rgba(255, 181, 96, .45); background: rgba(74, 40, 7, .55); }
.notice strong { color: #ffd49b; }
.safety-notice { border-color: rgba(255, 189, 138, .46); }
.recent-list, .recent-searches { padding-left: 1.2rem; }
.recent-list li, .recent-searches li { margin: .45rem 0; }
.breadcrumbs { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.breadcrumbs a { color: #dbe5fa; }
.manual-layout { padding: 28px 0 70px; }
.manual-shell { overflow: hidden; }
.manual-top { padding: 18px 22px; border-bottom: 1px solid var(--line); background: rgba(2, 4, 10, .40); }
.toolbar { margin-top: 14px; }
.toolbar button, .toolbar a { padding: 8px 12px; font-size: 13px; }
.manual-content { padding: clamp(20px, 4vw, 44px); overflow-wrap: anywhere; }
.manual-content h1 { margin-top: 0; color: white; font-size: clamp(30px, 5vw, 50px); line-height: 1.08; letter-spacing: -.04em; }
.manual-content h2, .manual-content h3 { color: #fff; margin-top: 1.5em; line-height: 1.2; }
.manual-content p, .manual-content li { color: #e1e6f1; }
.manual-content ul, .manual-content ol { padding-left: 1.55rem; }
.manual-content li { margin: .28rem 0; }
.manual-content ul ul { margin-top: .3rem; padding-left: 1.3rem; border-left: 1px solid rgba(216,180,91,.18); }
.manual-content .hidden { display: none; }
.manual-content .selected { background: rgba(216, 180, 91, .18); outline: 1px solid rgba(216,180,91,.36); border-radius: 5px; }
.manual-content .li-folder { list-style-image: url('/manual/icons/folder.svg'); }
.manual-content .li-folder.li-folder-open { list-style-image: url('/manual/icons/folder-open.svg'); }
.manual-content table { width: 100%; border-collapse: collapse; margin: 1.1rem 0; background: rgba(2, 4, 10, .42); }
.manual-content th, .manual-content td { border: 1px solid rgba(255,255,255,.2); padding: .65rem; vertical-align: top; }
.manual-content th { color: #fff; background: rgba(216, 180, 91, .15); text-align: left; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1rem 0; border-radius: 12px; }
.manual-content img { max-width: 100%; height: auto; border-radius: 10px; background: white; cursor: zoom-in; }
.manual-content img.folder-icon { width: 20px; height: 20px; display: inline-block; margin-right: 5px; background: transparent; border-radius: 0; cursor: default; }
.manual-content .oxe-image { position: relative; display: inline-block; max-width: 100%; }
.manual-content .oxe-region { position: absolute; display: block; background: rgba(25,122,250,.30); }
.indent-1,.indent-2,.indent-3,.indent-4,.indent-5,.indent-6,.indent-7,.indent-8,.indent-9,.indent-right-align { white-space: pre-wrap !important; }
.missing-link { color: #d3a991 !important; text-decoration: line-through; cursor: not-allowed; }
.missing-link::after { content: " · not supplied"; font-size: .78em; text-decoration: none; }
.missing-asset { padding: 20px; border: 1px dashed rgba(255, 189, 138, .55); border-radius: 12px; color: #ffd6ad; background: rgba(67, 34, 7, .42); text-align: center; }
.search-hero { padding: 52px 0 28px; }
.search-panel { padding: clamp(20px, 4vw, 34px); }
.search-form-large { display: flex; gap: 10px; }
.search-form-large .search-input { border-radius: 14px; padding: 14px 16px; font-size: 18px; }
.search-form-large .btn { border-radius: 14px; }
.search-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 18px 0; color: var(--muted); }
.search-results { display: grid; min-width: 0; gap: 14px; }
.result { min-width: 0; overflow-wrap: anywhere; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(7,12,24,.70); }
.result h2 { margin: 4px 0 8px; font-size: 22px; }
.result p { margin: 0; color: #ced5e5; }
.result mark { padding: 0 .12em; color: #090702; background: #f5d06e; border-radius: 2px; }
.result-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-light); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.empty-state { padding: 36px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); text-align: center; }
.pdf-cover { width: min(100%, 360px); aspect-ratio: 612 / 792; object-fit: cover; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.pdf-viewer { overflow: hidden; min-height: 720px; }
.pdf-viewer object { width: 100%; height: 78vh; min-height: 680px; border: 0; }
.pdf-index { columns: 2; gap: 28px; padding-left: 1.2rem; }
.pdf-index li { break-inside: avoid; margin-bottom: .7rem; }
.site-footer { padding: 30px 0; border-top: 1px solid var(--line); background: rgba(2, 4, 10, .66); color: var(--muted); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.back-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: none; width: 48px; height: 48px; border: 1px solid var(--line-gold); border-radius: 50%; color: white; background: rgba(2,4,10,.86); cursor: pointer; }
.back-to-top.visible { display: block; }
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.92); }
.modal.open { display: flex; }
.modal img { max-width: 94vw; max-height: 86vh; object-fit: contain; background: white; }
.modal-controls { position: absolute; top: 15px; right: 15px; display: flex; gap: 8px; }
.modal-controls button { min-width: 46px; border: 1px solid var(--line); border-radius: 10px; color: white; background: #101522; cursor: pointer; }
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desktop-search { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; flex-direction: column; align-items: stretch; padding: 0 0 12px; }
  .site-nav.open { display: flex; }
  .site-nav a { border-radius: 10px; font-size: 14px; }
  .mobile-search { display: block; }
}
@media (max-width: 680px) {
  .grid, .grid.two { grid-template-columns: 1fr; }
  .brand-video-logo { width:62px;height:44px; }
  .brand span { max-width:190px;white-space:normal;line-height:1.1;font-size:14px; }
  .hero { min-height: auto; padding-top: 42px; }
  .hero h1 { font-size: 43px; }
  .search-form-large { flex-direction: column; }
  .pdf-index { columns: 1; }
  .pdf-viewer { min-height: 520px; }
  .pdf-viewer object { min-height: 500px; height: 70vh; }
  .manual-content { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .site-bg-video { display: none; }
  body { background: #02040a; }
}
@media print {
  :root { color-scheme: light; }
  body { color: #111; background: #fff !important; font-size: 11pt; }
  .site-bg-video, .site-overlay, .site-header, .site-footer, .notice, .toolbar, .back-to-top, .modal { display: none !important; }
  .wrap, .manual-layout { width: 100%; max-width: none; margin: 0; padding: 0; }
  .manual-shell { border: 0; box-shadow: none; background: white; }
  .manual-top { padding: 0 0 12pt; color: #333; background: white; border-bottom: 1px solid #aaa; }
  .manual-content { padding: 14pt 0; color: #111; }
  .manual-content h1, .manual-content h2, .manual-content h3, .manual-content p, .manual-content li, .manual-content a { color: #111 !important; }
  .manual-content table { color: #111; background: white; page-break-inside: avoid; }
  .manual-content th, .manual-content td { border-color: #555; }
  .manual-content th { background: #eee; }
  .manual-content img { max-width: 100%; page-break-inside: avoid; }
  a[href]::after { content: ""; }
}
