/* OBD surfaces only. Native navigation, footer and consent retain shared styling. */
.obd-page { --obd-ink: #07172c; --obd-action: #0a2342; --obd-muted: #526071; --obd-rule: #d7dfec; --obd-paper: #f4f6fb; }
.obd-page [hidden] { display: none !important; }
.obd-page ::selection { color: #07172c; background: #d7dfec; }
.obd-page :is(a, button, input, summary):focus-visible { outline: 3px solid #4d86c7; outline-offset: 3px; }
.obd-skip { position: fixed; top: -100px; left: 20px; z-index: 1400; padding: 14px 20px; color: #07172c; background: white; }
.obd-skip:focus { top: 10px; }
.obd-shell { width: min(100% - 40px, 1080px); margin-inline: auto; }
.obd-main { padding-block: 32px 80px; }
.obd-main :is(h1, h2, h3) { color: var(--obd-ink); letter-spacing: -.025em; text-wrap: balance; overflow-wrap: anywhere; }
.obd-main h1 { max-width: 24ch; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; margin: 0 0 20px; }
.obd-main h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.2; margin: 0 0 18px; }
.obd-main h3 { font-size: 1.15rem; line-height: 1.35; margin: 0 0 12px; }
.obd-main p { max-width: 72ch; margin: 0 0 16px; line-height: 1.7; }
.obd-main :is(a, button, input, [role="option"]) { scroll-margin-block: 96px 20px; }
.obd-main [role="option"] { cursor: pointer; }
.obd-main :is(a, button) { -webkit-tap-highlight-color: rgba(46, 110, 181, .12); }
.obd-main a { color: #245a97; text-decoration: underline; text-underline-offset: .22em; }
.obd-main a:hover { color: #07172c; }
.obd-main button { font: inherit; cursor: pointer; }
.obd-main button:disabled { opacity: .62; cursor: default; }
.obd-breadcrumb { font-size: .875rem; color: var(--obd-muted); margin-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px 12px; }
.obd-cover { margin: 0 0 24px; overflow: hidden; border-radius: 8px; background: #18202a; }
.obd-cover img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: cover; object-position: 50% 72%; }
@media (max-width: 699px) { .obd-cover img { aspect-ratio: 1672 / 941; } }
.obd-hero { padding-block: 12px 28px; }
.obd-main .obd-intro { font-size: 1.1rem; color: var(--obd-muted); max-width: 66ch; }
.obd-search { background: var(--obd-paper); padding: 28px; border-radius: 8px; }
.obd-search label { display: block; color: var(--obd-ink); font-weight: 700; margin-bottom: 10px; }
.obd-search-row { display: flex; gap: 12px; align-items: stretch; }
.obd-input-wrap { position: relative; flex: 1; min-width: 0; }
.obd-query { display: block; width: 100%; min-height: 58px; padding: 14px 50px 14px 18px; background: white; border: 1px solid #8694a6; border-radius: 8px; font: inherit; font-size: 1.1rem; color: #0f1520; caret-color: #245a97; }
.obd-query::placeholder { color: var(--obd-muted); opacity: 1; }
.obd-query::-webkit-search-cancel-button { -webkit-appearance: none; }
.obd-clear { position: absolute; right: 6px; top: 7px; width: 44px; height: 44px; background: transparent; border: 0; color: var(--obd-action); display: grid; place-items: center; border-radius: 4px; }
.obd-clear:hover { background: var(--obd-paper); }
.obd-clear svg { width: 20px; height: 20px; }
.obd-action { border: 0; border-radius: 8px; min-height: 56px; padding: 14px 22px; color: white; background: var(--obd-action); font-weight: 600 !important; }
.obd-action:hover { background: #245a97; }
.obd-main .obd-hint { font-size: .875rem; color: var(--obd-muted); margin: 12px 0 16px; line-height: 1.55; }
.obd-examples { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.obd-examples > span { font-size: .875rem; color: var(--obd-muted); margin-right: 4px; }
.obd-example { background: white; border: 1px solid #a9b7cb; border-radius: 4px; color: var(--obd-action); padding: 9px 13px; min-height: 44px; font-variant-numeric: tabular-nums; }
.obd-example:hover { border-color: #245a97; background: #e9eef6; }
.obd-suggestions { list-style: none; margin: 12px 0 0; max-height: 370px; overflow-y: auto; scrollbar-color: #8694a6 #f4f6fb; padding: 0; background: white; border: 1px solid var(--obd-rule); }
.obd-match { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 3px 16px; text-align: left; width: 100%; border: 0; border-bottom: 1px solid var(--obd-rule); border-radius: 0; background: white; padding: 16px; color: #0f1520; min-height: 66px; }
.obd-match:hover, .obd-match[aria-selected="true"] { background: #e9eef6; }
.obd-match-code { color: var(--obd-action); font-variant-numeric: tabular-nums; }
.obd-match-title { line-height: 1.45; overflow-wrap: anywhere; }
.obd-match-category { grid-column: 2; color: var(--obd-muted); font-size: .8rem; }
.obd-main .obd-status { color: var(--obd-muted); font-size: .9rem; margin-block: 18px; min-height: 1.7em; }
[data-obd-state="invalid"] .obd-status, [data-obd-state="error"] .obd-status { color: #8a2424; }
.obd-matches { list-style: none; padding: 0; margin: 0 0 20px; border-top: 1px solid var(--obd-rule); }
.obd-more, .obd-retry { margin-bottom: 24px; }
.obd-result { padding-top: 24px; padding-bottom: 44px; max-width: 800px; }
.obd-main .obd-code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(2.5rem, 7vw, 4rem); font-weight: 650; line-height: 1.15; letter-spacing: -.035em; margin-bottom: 12px; font-variant-numeric: tabular-nums; scroll-margin-top: 100px; }
.obd-main .obd-result-title p { color: var(--obd-ink); font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.35; font-weight: 650; letter-spacing: -.02em; }
.obd-system { color: var(--obd-muted); }
.obd-detail-link { display: inline-block; margin-bottom: 20px; }
.obd-result-section { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--obd-rule); }
.obd-result-section ul { padding-left: 22px; }
.obd-result-section li { margin-bottom: 8px; }
.obd-result-section li p { margin: 0; }
.obd-related-buttons { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 !important; list-style: none; }
.obd-reading { max-width: 760px; }
.obd-section { border-top: 1px solid var(--obd-rule); padding-block: 40px 12px; margin-top: 28px; }
.obd-section h3 { margin-top: 28px; }
.obd-section ul:not(.obd-related-list) { padding-left: 22px; }
.obd-section li { margin-bottom: 10px; line-height: 1.7; }
.obd-note { background: var(--obd-paper); border-radius: 4px; padding: 22px; margin-block: 28px; }
.obd-note p:last-child { margin-bottom: 0; }
.obd-main .obd-source { font-size: .875rem; color: var(--obd-muted); line-height: 1.65; }
.obd-related-list { padding: 0; list-style: none; }
.obd-related-list li { border-bottom: 1px solid var(--obd-rule); margin: 0; }
.obd-related-list a { display: flex; gap: 20px; padding-block: 15px; min-height: 48px; text-decoration: none; }
.obd-related-list a:hover { text-decoration: underline; }
.obd-related-list strong { min-width: 64px; font-variant-numeric: tabular-nums; }
.obd-code-table { width: 100%; border-collapse: collapse; margin-block: 20px; }
.obd-code-table th, .obd-code-table td { border-bottom: 1px solid var(--obd-rule); text-align: left; padding: 12px 10px 12px 0; }
.obd-code-table th { width: 45px; color: var(--obd-action); }
.obd-fleet { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--obd-rule); }
.obd-fleet a { display: inline-block; padding-block: 10px; font-weight: 600; }
@media (min-width: 980px) { .obd-main { padding-top: 40px; } .obd-search { max-width: 960px; } }
@media (max-width: 699px) { .obd-main { padding-top: 24px; } .obd-breadcrumb { margin-bottom: 24px; } .obd-hero { padding-bottom: 16px; } .obd-search { padding: 20px; } .obd-search-row { flex-direction: column; gap: 12px; } .obd-action { width: 100%; } .obd-main .obd-intro { font-size: 1rem; } .obd-match { grid-template-columns: 62px minmax(0, 1fr); gap: 5px 10px; padding: 12px; } .obd-section { padding-top: 32px; } }
@media (max-width: 369px) { .obd-shell { width: calc(100% - 28px); } .obd-search { padding: 16px; } .obd-main h1 { font-size: 1.9rem; } .obd-examples { gap: 8px; } .obd-example { padding-inline: 10px; } }
@media (prefers-reduced-motion: no-preference) { .obd-result:not([hidden]) { animation: obd-result-appear 180ms cubic-bezier(.16, 1, .3, 1); } @keyframes obd-result-appear { from { transform: translateY(4px); } to { transform: translateY(0); } } }
