/* css/tools-aviation-ntsb.css */
/* ------------------------------------------------------------------------------------------------------------------------------
   Aviation (FAA) and Accident investigations (NTSB) tool pages (added 2026-10-01).
   Used by includes/lookups/faa-*.php, ntsb-investigations.php, nhtsa-fatal-crashes.php, fra-rail-accidents.php and
   transport-data-sources.php. All the styles for those pages live in this one file, not in the page code.
   Loaded by includes/lookup-page.php.
   (.lookup-card.lookup-xxx is deliberately more specific than .lookup-card, which includes/lookup-page.php sets later in the page.)
   ------------------------------------------------------------------------------------------------------------------------------ */

/* The two tinted cards: Aviation = blue, NTSB and other safety = dark red */
.lookup-card.lookup-aviation { background: #e8f4fb; border-color: #b5d9ee; border-left-color: #0b7bb5; }
.lookup-card.lookup-ntsb { background: #f3ecec; border-color: #dcc7c7; border-left-color: #8c2f39; }

/* Results tables */
.av-table td, .av-table th { vertical-align: top; }
.av-wrap { word-break: break-word; }

/* The "How to use this page" box */
.av-help { background: rgba(255,255,255,.7); border: 1px solid rgba(0,0,0,.14); border-radius: .4rem; padding: .45rem .8rem; margin: 0 0 1rem; max-width: 860px; }
.av-help summary { font-size: .9rem; }
.av-help ul { margin: .5rem 0 .25rem 1.1rem; padding: 0; }
.av-help li { margin-bottom: .3rem; }

/* Every expander on those pages gets a solid red triangle, so it is not mistaken for a bullet point.
   Drawn with borders (not a text character) so it is the same size and colour in every browser and font:
   pointing right when closed, pointing down when open. */
.lookup-aviation details > summary, .lookup-ntsb details > summary { cursor: pointer; list-style: none; }
.lookup-aviation details > summary::-webkit-details-marker, .lookup-ntsb details > summary::-webkit-details-marker { display: none; }
.lookup-aviation details > summary::before, .lookup-ntsb details > summary::before {
    content: ""; display: inline-block; width: 0; height: 0; margin-right: .65rem; vertical-align: middle;
    border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid #c0152b;
}
.lookup-aviation details[open] > summary::before, .lookup-ntsb details[open] > summary::before {
    border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid #c0152b; border-bottom: 0;
}
