/* Search-page details on the shared Prism/Human Navy palette. */
body.prism-site .theme8-search-page {
    --t8-bg: var(--prism-bg);
    --t8-surface: var(--prism-surface);
    --t8-soft: var(--prism-surface-2);
    --t8-text: var(--prism-text);
    --t8-muted: var(--prism-muted);
    --t8-border: var(--prism-line);
    --t8-border-strong: var(--prism-line-strong);
    --t8-primary: var(--prism-button);
    --t8-accent: var(--prism-accent);
    font-family: inherit;
}
body.prism-site .theme8-search-page .theme8-search-logo {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 10px;
}
body.prism-site .theme8-search-page .theme8-search-box {
    padding: 24px;
    border: 1px solid var(--prism-line);
    border-radius: 22px;
    margin-bottom: 24px;
}
body.prism-site .theme8-search-page .theme8-search-box form { margin: 0; }
body.prism-site .theme8-search-page .theme8-field { min-width: 0; }
body.prism-site .theme8-search-page .theme8-field :is(input, select):focus-visible {
    outline: 2px solid var(--prism-accent);
    outline-offset: 2px;
    box-shadow: none;
}
body.prism-site .theme8-search-page .theme8-btn {
    min-height: 44px;
    border-radius: 999px;
    font-weight: 650;
}
body.prism-site .theme8-search-page .theme8-btn--dark {
    background: var(--prism-button) !important;
    color: var(--prism-button-text) !important;
    border-color: var(--prism-button) !important;
}
body.prism-site .theme8-search-page :is(.theme8-btn--light, .theme8-btn--ghost) {
    background: transparent !important;
    color: var(--prism-text) !important;
    border-color: var(--prism-line-strong) !important;
}
body.prism-site .theme8-search-page :is(.theme8-btn--light, .theme8-btn--ghost):hover {
    background: var(--prism-soft) !important;
    border-color: var(--prism-accent) !important;
}
body.prism-site .theme8-search-page :is(a, button):focus-visible {
    outline: 2px solid var(--prism-accent);
    outline-offset: 3px;
}
body.prism-site .theme8-search-page :is(.theme8-sidebar__stat, .theme8-empty, .theme8-contact-box, .theme8-contact-box--compact) {
    background: var(--prism-surface-2);
    border-color: var(--prism-line);
}
body.prism-site .theme8-search-page .theme8-rescue {
    background: var(--prism-surface);
    border-color: var(--prism-line);
    border-radius: 22px;
}
body.prism-site .theme8-search-page .theme8-empty > div:first-child {
    background: var(--prism-soft);
    color: var(--prism-accent);
}
body.prism-site .theme8-search-page .theme8-provider-code {
    background: var(--prism-soft);
    color: var(--prism-accent);
}
body.prism-site .theme8-search-page .theme8-provider-code span { color: var(--prism-muted); }
body.prism-site .theme8-search-page :is(.theme8-badge--info, .theme8-badge--scope) {
    background: var(--prism-soft);
    color: var(--prism-text);
    border-color: var(--prism-line);
}
body.prism-site .theme8-search-page .theme8-fav-btn:not(.is-fav):not(:hover) {
    background: var(--prism-surface-2);
    border-color: var(--prism-line);
    color: var(--prism-muted);
    box-shadow: none;
}
body.prism-site .theme8-search-page :is(.theme8-toolbar-chips a, .theme8-sort-group > a, .theme8-view-toggle) {
    background: var(--prism-surface-2);
    border-color: var(--prism-line);
    color: var(--prism-muted);
}
body.prism-site .theme8-search-page :is(.theme8-toolbar-chips a.is-active, .theme8-sort-group > a.is-active, .theme8-view-btn.is-active, .theme8-page-btn.is-active) {
    background: var(--prism-button);
    border-color: var(--prism-button);
    color: var(--prism-button-text);
    box-shadow: none;
}
body.prism-site .theme8-search-page :is(.theme8-page-btn:not(.is-active), .theme8-pagination__size a, .theme8-active-filters__chips a, .theme8-rescue__chip-count) {
    background: var(--prism-surface-2);
    border-color: var(--prism-line);
    color: var(--prism-accent);
}
body.prism-site .theme8-search-page :is(.theme8-rescue__relax-link, .theme8-rescue__chip):hover {
    background: var(--prism-soft);
    border-color: var(--prism-accent);
}
body.prism-site .theme8-search-page .theme8-pagination__size a.is-active { background: var(--prism-soft); }
body.prism-site .theme8-search-page .rfq-pick {
    background: var(--prism-surface-2);
    color: var(--prism-text);
    border-color: var(--prism-line);
    border-radius: 999px;
}
body.prism-site .theme8-search-page .rfq-pick input { accent-color: var(--prism-accent); }
body.prism-site #rfqBar {
    max-width: calc(100% - 32px);
    flex-wrap: wrap;
    justify-content: center;
    background: var(--prism-surface) !important;
    color: var(--prism-text) !important;
    border: 1px solid var(--prism-line-strong);
}
body.prism-site #rfqGo {
    background: var(--prism-button) !important;
    border-color: var(--prism-button) !important;
    color: var(--prism-button-text) !important;
}
body.prism-site .theme8-map-section :is(.leaflet-popup-content-wrapper, .leaflet-popup-tip, .leaflet-control-zoom a) {
    background: var(--prism-surface);
    color: var(--prism-text);
}
body.prism-site .theme8-map-section .leaflet-popup-close-button { color: var(--prism-muted); }
body.prism-site .theme8-map-section .search-map-popup { font-family: inherit; color: var(--prism-text); }
body.prism-site .theme8-map-section .leaflet-popup-content { font-family: inherit; }
body.prism-site .theme8-map-empty :is(pre, summary) { color: var(--prism-muted) !important; }
body.prism-site .theme8-map-empty pre { background: var(--prism-surface-2) !important; }
@media (max-width: 720px) {
    body.prism-site .theme8-search-page .theme8-search-box { padding: 18px; border-radius: 18px; }
    body.prism-site .theme8-search-page .theme8-rescue { padding: 24px 18px; border-radius: 18px; }
}

/* Matching approval evidence */
.theme8-filter-hint{font-size:12px;line-height:1.6;margin:0 0 16px;opacity:.85}.theme8-cert-evidence{margin:12px 0;max-width:100%;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.theme8-cert-evidence summary{cursor:pointer;font-weight:600}.theme8-cert-evidence p{margin:8px 0}.theme8-cert-proof{border-top:1px solid currentColor;padding:10px 0;margin-top:10px}.theme8-cert-proof a{text-decoration:underline}
