/* v0.20.5 - search truthfulness, evidence specificity, environmental applicability */
.fbp-pathogen-card[hidden]{display:none!important}
.fbp-pathogen-typeahead{position:absolute;z-index:10020;left:0;right:0;top:calc(100% + 6px);max-height:330px;overflow:auto;background:#fff;border:1px solid #ccd8eb;border-radius:14px;box-shadow:0 18px 45px rgba(19,47,99,.18);padding:7px}
.fbp-pathogen-typeahead[hidden]{display:none!important}
.fbp-pathogen-typeahead button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border:0;border-radius:10px;background:#fff;text-align:left;color:#173d86;font-size:14px;cursor:pointer}
.fbp-pathogen-typeahead button:hover,.fbp-pathogen-typeahead button.active{background:#edf4ff}
.fbp-pathogen-typeahead button span{color:#6b7890;font-size:13px}
.fbp-typeahead-empty{padding:14px;color:#69768c;font-size:14px}

.fbp-em-decision-card{border-left:5px solid #7890b4!important;background:linear-gradient(180deg,#fff,#f9fbff)}
.fbp-em-decision-card.is-not_routine,.fbp-em-decision-card.is-source_water,.fbp-em-decision-card.is-product_process_hygiene{border-left-color:#7b8799!important}
.fbp-em-decision-card.is-handler_hygiene{border-left-color:#7a62c8!important}
.fbp-em-decision-card.is-conditional_spore,.fbp-em-decision-card.is-targeted{border-left-color:#d39022!important}
.fbp-em-decision-head{margin:12px 0}
.fbp-em-decision-badge,.fbp-em-program-status b{display:inline-flex;align-items:center;max-width:100%;padding:7px 11px;border-radius:999px;background:#eef3fb;color:#173d86;font-weight:800;font-size:13px;line-height:1.25}
.fbp-em-decision-main,.fbp-em-decision-reason{margin:12px 0;padding:14px;border:1px solid #dbe4f1;border-radius:13px;background:#fff}
.fbp-em-decision-main b,.fbp-em-decision-reason b{display:block;margin-bottom:6px;color:#173d86}
.fbp-em-decision-main p,.fbp-em-decision-reason p{margin:0;line-height:1.55}
.fbp-em-decisions-section .fbp-em-zone-bar.is-decision{background:linear-gradient(135deg,#eaf1fb,#f7f9fd);color:#173d86;border-bottom-color:#bac9df}
.fbp-env-summary-table tr.priority-not-applicable{background:#fbfcfe}
.fbp-env-priority-pill.priority-not-applicable{background:#eef1f5;color:#596579}
.fbp-env-summary-table td small{display:block;margin-top:5px;line-height:1.35;color:#718096}
.fbp-env-decision-summary{grid-column:1/-1;background:#f4f8ff;border-left:4px solid #275db8}
.fbp-control-classification .fbp-em-applicability-text{font-weight:800;color:#173d86}

.fbp-rasff-context-notice{margin:0 0 14px;padding:15px 17px;border:1px solid #bfcde2;border-left:5px solid #2e63b7;border-radius:13px;background:#f6f9fe}
.fbp-rasff-context-notice.is-broader{border-left-color:#d18b17;background:#fff9ec}
.fbp-rasff-context-notice b{display:block;color:#173d86;font-size:17px;margin-bottom:5px}
.fbp-rasff-context-notice p{margin:0;line-height:1.5;color:#53647f}
.fbp-drawer-scope-chart>div{grid-template-columns:minmax(190px,1fr) minmax(150px,4fr) auto}
.fbp-drawer-scope-chart .scope-broader_category b{background:linear-gradient(90deg,#d6901b,#f1b83a)}
.fbp-drawer-scope-chart .scope-exact b{background:linear-gradient(90deg,#1f6e3d,#4fbd75)}
.fbp-drawer-scope-chart .scope-specific_under_category b,.fbp-drawer-scope-chart .scope-related_context b{background:linear-gradient(90deg,#245bb4,#52a0df)}
.fbp-rasff-table{min-width:1120px!important}
.fbp-rasff-table th:nth-child(1){width:17%}.fbp-rasff-table th:nth-child(2){width:22%}.fbp-rasff-table th:nth-child(3){width:15%}.fbp-rasff-table th:nth-child(4){width:29%}.fbp-rasff-table th:nth-child(5){width:17%}
.fbp-rasff-table td:last-child,.fbp-rasff-table th:last-child{position:sticky;right:0;z-index:2;background:#fff;box-shadow:-10px 0 18px rgba(31,57,99,.07)}
.fbp-rasff-table thead th:last-child{z-index:4;background:#eaf0f9}
.fbp-rasff-table tr.scope-broader_category{background:#fffdf8}
.fbp-scope-badge{display:inline-flex;padding:6px 9px;border-radius:999px;background:#eef3fb;color:#173d86;font-weight:800;line-height:1.3}
.fbp-rasff-table td span,.fbp-rasff-table td small{display:block;margin-top:5px;line-height:1.4;overflow-wrap:anywhere}
.fbp-rasff-table td:last-child a{display:inline-flex;padding:8px 10px;border-radius:9px;background:#173d86;color:#fff!important;text-decoration:none;font-weight:800}

@media(max-width:760px){
 .fbp-pathogen-typeahead{position:fixed;left:10px;right:10px;top:auto;bottom:calc(env(safe-area-inset-bottom) + 12px);max-height:42vh}
 .fbp-drawer-scope-chart>div{grid-template-columns:1fr;gap:5px}
 .fbp-rasff-context-notice b{font-size:15px}
}

/* v0.20.6 — make reviewed inherited food context explicit in Environmental Monitoring. */
.fbp-env-context-basis,
.fbp-no-results > small {
    display: block;
    margin-top: 6px;
    color: #5f6f89;
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
