.search-results-host { margin-top: 1.25rem; min-width: 0; color: inherit; }
.search-batch { margin-block: 1.5rem; min-width: 0; }
.search-batch h3, .search-card h4, .search-presentation h4 { margin: 0 0 .45rem; line-height: 1.35; overflow-wrap: anywhere; }
.search-batch h3 { font-size: 1.2rem; }
.search-batch-status { margin: .4rem 0 1.2rem; }
.search-cards { display: flex; flex-direction: column; }
.search-card { min-width: 0; padding: 1.7rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent); overflow-wrap: anywhere; background: transparent; }
.search-card:first-child { padding-top: .5rem; }
.search-card:last-child { border-bottom: 0; }
.search-has-media { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.search-row-content { min-width: 0; }
.search-result-title { font-size: 1.12rem; font-weight: 700; }
.search-ordinal { font-variant-numeric: tabular-nums; }
.search-card p { margin: .5rem 0; }
.search-label { font-size: .72rem; font-weight: 500; letter-spacing: .01em; }
.search-muted { font-size: .82rem; }
.search-byline { line-height: 1.55; }
.search-results-host a { color: inherit; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.search-result-title a { text-decoration: none; }
.search-result-title a:hover { text-decoration: underline; }
.search-results-host a:focus-visible, .search-results-host summary:focus-visible, .search-table-scroll:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 3px; }
.search-summary { line-height: 1.65; font-size: .92rem; }
.search-summary .search-label { font-size: .75rem; }
.search-outbound { display: inline-block; font-size: .82rem; margin: .4rem .7rem .5rem 0; }
.search-result-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.search-youtube-play, .search-youtube-close { font: inherit; font-size: .82rem; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: .35rem; padding: .55rem .75rem; cursor: pointer; }
.search-youtube-play:focus-visible, .search-youtube-close:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.search-youtube-player { grid-column: 1 / -1; min-width: 0; width: 100%; margin-top: .8rem; }
.search-youtube-player[hidden] { display: none; }
/* Full card width, not the narrow thumbnail/content column. YouTube requires
	at least 200 x 200; the height floor intentionally overrides 16:9 on mobile. */
.search-youtube-frame { display: block; box-sizing: border-box; width: 100%; min-width: 200px; aspect-ratio: 16 / 9; min-height: 200px; border: 0; background: #111; margin-block: .6rem; }
.search-youtube-help { line-height: 1.55; }
.search-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: .8rem; min-width: 0; }
.search-has-media > .search-gallery { grid-template-columns: minmax(0, 1fr); }
.search-gallery figure { margin: 0; min-width: 0; }
.search-image-enlarge { display: block; width: 100%; max-width: 100%; padding: 0; margin: 0; border: 0; border-radius: 3px; background: transparent; color: inherit; cursor: zoom-in; }
.search-image-enlarge:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.search-gallery img { display: block; width: 100%; max-width: 100%; height: auto; max-height: 260px; object-fit: contain; }
.search-card-book > .search-gallery img, .search-card-book > .search-gallery .search-image-placeholder { width: 124px; height: 164px; object-fit: contain; }
.search-card-video > .search-gallery img { aspect-ratio: 16 / 9; object-fit: contain; }
.search-card-image > .search-gallery { margin-top: 1rem; }
.search-gallery figcaption { font-size: .7rem; line-height: 1.45; margin-top: .4rem; }
.search-gallery figcaption p { margin: .3rem 0; }
.search-image-placeholder { box-sizing: border-box; width: 100%; display: grid; place-items: center; padding: .5rem; border: 1px dashed color-mix(in srgb, currentColor 30%, transparent); font-size: .72rem; overflow-wrap: anywhere; }
.search-specs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: .3rem .7rem; font-size: .82rem; }
.search-specs dt { font-weight: 600; text-transform: capitalize; }
.search-specs dd { margin: 0; min-width: 0; }
.search-results-host details { margin-top: .35rem; }
.search-results-host summary { cursor: pointer; width: fit-content; max-width: 100%; }
.search-results-host details[open] > summary { margin-bottom: .5rem; }
.search-analysis { margin-top: .6rem; }
.search-relevance { line-height: 1.55; margin: .65rem 0; }
.search-relevance > .search-label { display: block; margin-bottom: .15rem; }
.search-relevance > strong { font-size: .88rem; }
.search-citations { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: .65rem 0 .3rem; }
.search-source-pill { display: inline-flex; align-items: baseline; gap: .3rem; max-width: 100%; box-sizing: border-box; padding: .1rem .45rem; border: 1px solid color-mix(in srgb, currentColor 20%, transparent); border-radius: 1rem; font-size: .7rem; line-height: 1.65; text-decoration: none !important; vertical-align: baseline; }
.search-source-pill > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.search-source-pill:hover { border-color: currentColor; }
.search-analysis > .search-source-pill, .search-presentation .search-source-pill { margin: .2rem 0 .2rem .2rem; }
.search-source-icon { flex-shrink: 0; }
.search-citation-claims .search-analysis { padding-inline-start: .6rem; border-inline-start: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.search-presentation { min-width: 0; margin-top: 1.3rem; overflow-wrap: anywhere; }
.search-table-scroll { max-width: 100%; overflow-x: auto; }
.search-table-scroll table { border-collapse: collapse; width: 100%; font-size: .85rem; }
.search-table-scroll th, .search-table-scroll td { padding: .6rem; text-align: start; border-bottom: 1px solid color-mix(in srgb, currentColor 20%, transparent); min-width: 100px; }
.search-presentation li { padding: .3rem; }
.search-warning { border-inline-start: 2px solid #b98300; padding-inline-start: .7rem; font-size: .82rem; }
@media (max-width: 600px) {
	.search-has-media { grid-template-columns: 80px minmax(0, 1fr); gap: .8rem; }
	.search-card { padding-block: 1.3rem; }
	.search-card-book > .search-gallery img, .search-card-book > .search-gallery .search-image-placeholder { width: 80px; height: 106px; }
	.search-result-title { font-size: 1rem; }
}
@media (max-width: 350px) {
	.search-has-media { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
	.search-has-media > .search-gallery { width: 80px; }
}