.obd-card-tools { margin: 0 0 1.25rem; }
.obd-print-button { padding: .55rem .9rem; border: 1px solid #174d73; border-radius: .35rem; background: #fff; color: #174d73; font: inherit; font-weight: 600; cursor: pointer; }
.obd-print-button:hover { background: #edf3f7; }
.obd-print-button:focus-visible { outline: 3px solid #de8b20; outline-offset: 2px; }
.obd-card-note { margin: 2rem 0 0; padding: 1rem 1.25rem; border: 1px solid #d8e1e7; border-left: 4px solid #174d73; background: #f5f8fa; font-size: .95rem; line-height: 1.5; }
.obd-card-note h2 { margin: 0 0 .5rem; font-size: 1.1rem; }
.obd-card-note p { margin: 0; }
.obd-card-photo { width: min(100%, 300px); max-width: 300px; margin: .75rem 0 1.25rem; }
.obd-card-photo__image { display: block; width: auto; max-width: 100%; height: auto; border-radius: .35rem; }
.obd-card-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 220px)); gap: .75rem 1rem; margin: .75rem 0 1.25rem; }
.obd-card-photos .obd-card-photo { width: 100%; max-width: 220px; margin: 0; }
.obd-card-photo figcaption { font-size: .85rem; line-height: 1.35; margin-top: .3rem; overflow-wrap: anywhere; }
.obd-card-photos__more { grid-column: 1 / -1; margin: 0; font-size: .9rem; }
/* Scoped to the two diagnostic post types: classic themes render these outside the content filter. */
body:is(.single-obd_model, .single-obd_fault) :is(
    .entry-meta, .post-meta, .posted-on, .byline, .post-info,
    .wp-block-post-author, .wp-block-post-author-name,
    .wp-block-post-date, .wp-block-post-modified-date, .wp-block-post-excerpt
) { display: none !important; }
body:is(.single-obd_model, .single-obd_fault) :is(.entry-header, .post-header) :is(.entry-summary, .post-excerpt) { display: none !important; }
#obd-print-root { display: none; }
@media print {
    body.obd-print-mode > :not(#obd-print-root) { display: none !important; }
    body.obd-print-mode #obd-print-root { display: block !important; max-width: none; margin: 0; padding: 0; color: #000; background: #fff; font: 12pt/1.3 Arial, sans-serif !important; }
    #obd-print-root :is(p, li, dt, dd, td, th, blockquote) { font-size: 12pt !important; line-height: 1.3 !important; }
    #obd-print-root h1 { font-size: 17pt !important; line-height: 1.2 !important; margin: 0 0 .5rem !important; }
    #obd-print-root h2 { font-size: 14pt !important; line-height: 1.2 !important; margin: .85rem 0 .3rem !important; }
    #obd-print-root h3 { font-size: 12pt !important; line-height: 1.2 !important; margin: .65rem 0 .25rem !important; }
    #obd-print-root p { margin: 0 0 .4rem !important; }
    #obd-print-root ul, #obd-print-root ol { margin: .2rem 0 .5rem; padding-left: 1.5rem; }
    #obd-print-root li { margin: 0 0 .2rem !important; }
    #obd-print-root .obd-card-note { break-inside: avoid; margin: .85rem 0 0; padding: .4rem .6rem; border: 1px solid #bbb; background: #fff; font-size: 12pt !important; }
    #obd-print-root .obd-card-note h2 { font-size: 12pt !important; margin: 0 0 .2rem !important; }
    #obd-print-root .obd-card-note p { margin: 0 !important; }
    #obd-print-root .obd-card-tools, #obd-print-root .obd-content-trail,
    #obd-print-root .obd-card-photo, #obd-print-root .obd-card-photos { display: none !important; }
    #obd-print-root a { color: #000 !important; text-decoration: none !important; }
    #obd-print-root a[href]::after { content: none !important; }
}
