/* Ebola & Filovirus Vaccine Pipeline tracker — accessible version (ebola.html, WCAG 2.2 AA).
   Same look as ebola-tracker.css; changes are marked "a11y:". Scoped under .ebt so it does not clash with styles.css.
   a11y summary: text colours ≥ 4.5:1 (also on the page background #C5D8E8), minimum text size 12px,
   cards/chips/rows are real buttons, the pulsing dot stops, visible focus everywhere (ring from styles.css). */
.ebt{
  --bg:#C5D8E8;
  --bg2:#B0C8DC;
  --panel:#FFFFFF;
  --panel2:#EBF4FB;
  --panel3:#D6EAF5;
  --ink:#0C3144;
  --muted:#3E5A6E;   /* a11y: was #5A7A92 (3.1:1 to 4.5:1) → ≥ 5:1 on every background */
  --muted2:#2E5470;  /* a11y: was #3A6480 (4.3:1 on the page background) */
  --line:#C5D8E8;
  --line2:#A8C4D8;
  --accent:#006BA7;
  --shadow:0 4px 16px rgba(0,107,167,.10);
  --shadow-sm:0 2px 6px rgba(0,107,167,.08);
  background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.5;overflow-x:clip;max-width:100vw
}
.ebt *{box-sizing:border-box;margin:0;padding:0}
.ebt h1,.ebt h2,.ebt h3{color:inherit;line-height:1.3}
.ebt a{color:var(--accent)}

/* ── SITE NAV (top-level tabs) ── */
.ebt .sipr-nav{background:linear-gradient(90deg,#0C3144,#08202C);padding:16px 24px;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;border-bottom:4px solid #EE7F00;box-shadow:0 3px 12px rgba(0,0,0,.18);position:relative}
.ebt .sipr-tab{font-family:inherit;padding:14px 32px;border-radius:10px;border:2px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:#C5EDFF;font-weight:700;font-size:15px;letter-spacing:.02em;cursor:pointer;transition:all .15s}
.ebt .sipr-tab:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.32);color:#fff}
.ebt .sipr-tab.sipr-active{background:#EE7F00;border-color:#EE7F00;color:#0C3144;box-shadow:0 2px 10px rgba(238,127,0,.45)} /* a11y: navy text on orange (5:1); white was 2.7:1 */
/* PROSPERO protocol (HTML, styles in styles.css): undo the tracker's reset and light-blue page background */
.ebt #ebt-tab-prospero{background:#fff}
.ebt .protocol{margin:0 auto;padding:36px 20px 56px;font-size:17px;line-height:1.6;color:var(--c-text)}
.ebt .protocol ul{padding-left:1.4em;margin:0 0 .5em}
/* Hidden dashboard tab stays rendered off-screen so the preloaded report is ready when opened */
.ebt #ebt-tab-dashboard[hidden]{display:block!important;position:absolute;top:0;left:-300vw;width:100%;visibility:hidden;pointer-events:none}
.ebt .sipr-panel iframe{display:block;width:100%;height:calc(100vh - var(--header-h));min-height:600px;border:0;background:#fff var(--frame-loading) center 120px/56px no-repeat}
.ebt .sipr-panel iframe[src*="app.powerbi.com"],.ebt .sipr-panel iframe[data-src*="app.powerbi.com"],.ebt .sipr-panel iframe[data-dashboard]{--pbi-gutter:clamp(16px,4vw,64px);width:calc(100% - 2 * var(--pbi-gutter));margin:0 var(--pbi-gutter);min-height:0;height:calc((100vw - 2 * var(--pbi-gutter)) * 9 / 16 + 36px)}

/* ── BANNER ── */
.ebt .pheic-banner{background:linear-gradient(90deg,#0C3144,#006BA7);border-bottom:2px solid #EE7F00;padding:8px 24px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
/* a11y: the dot pulses 3 times and stops (WCAG 2.2.2); no motion at all with "reduce motion" */
.ebt .pheic-banner .pulse{width:10px;height:10px;border-radius:50%;background:#EE7F00;box-shadow:0 0 0 0 rgba(238,127,0,.6);animation:ebt-pulse 1.8s 3}
@media (prefers-reduced-motion: reduce){ .ebt .pheic-banner .pulse{animation:none} }
@keyframes ebt-pulse{0%{box-shadow:0 0 0 0 rgba(239,68,68,.6)}70%{box-shadow:0 0 0 8px rgba(239,68,68,0)}100%{box-shadow:0 0 0 0 rgba(239,68,68,0)}}
.ebt .pheic-banner .txt{font-size:13.5px;color:#E6F6FF;flex:1} /* a11y: 12.5px → 13.5px; lighter text (5.2:1 on the blue end) */
.ebt .pheic-banner .txt b{color:#fff}
.ebt .pheic-banner .cepi-pill{font-size:12px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:#fff;padding:3px 10px;border-radius:99px;white-space:nowrap}

/* ── HEADER ── */
.ebt .ebt-header{padding:18px 24px 12px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,rgba(0,107,167,.06) 0%,transparent 100%)}
.ebt .ebt-header h2{font-size:20px;font-weight:700;letter-spacing:-.01em;display:flex;align-items:center;gap:10px;flex-wrap:wrap} /* a11y: h1 → h2 (one h1 per page) */
.ebt .ebt-header h2 .tag{font-size:12px;background:#EBF4FB;border:1px solid var(--line);color:#17699C;padding:2px 9px;border-radius:99px;font-weight:600;letter-spacing:.04em}
.ebt .ebt-header .sub{color:var(--muted);font-size:14px;margin-top:5px;max-width:860px}
.ebt .ebt-header .sub b{color:var(--ink)}

/* ── STATS ── */
.ebt .stats{display:flex;gap:8px;flex-wrap:wrap;padding:12px 24px;border-bottom:1px solid var(--line);background:#EBF4FB}
.ebt .stat{background:var(--panel);border:1px solid var(--line2);border-radius:10px;padding:7px 14px;display:flex;flex-direction:column;min-width:85px}
.ebt .stat .n{font-size:21px;font-weight:700;line-height:1.15}
.ebt .stat .l{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-top:2px}

/* ── CONTROLS ── */
.ebt .controls{display:flex;gap:14px;flex-wrap:wrap;align-items:flex-start;padding:12px 24px;border-bottom:1px solid var(--line);background:rgba(235,244,251,.95);position:sticky;top:0;z-index:30;backdrop-filter:blur(10px)}
.ebt .fg{display:flex;flex-direction:column;gap:5px}
.ebt .fg .gl{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:700}
.ebt .chips{display:flex;gap:5px;flex-wrap:wrap}
.ebt .chip{font:inherit;font-size:13px;font-weight:600;padding:5px 13px;min-height:30px;border-radius:99px;border:1px solid #006BA7;background:#006BA7;color:#fff;cursor:pointer;transition:all .12s;user-select:none;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.ebt .chip:hover{background:#0A5D8F;border-color:#0A5D8F;color:#fff} /* a11y: hover was #1F82C0 (4.2:1 with white) */
.ebt .chip .dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.ebt .chip.active{background:#0C3144;border-color:#0C3144;color:#fff}
/* a11y: unselected chips while another is selected stay readable (were 45% opacity) */
.ebt .chip.off{background:#fff;border-color:#A8C4D8;color:var(--muted)}
.ebt .chip.off:hover{border-color:#006BA7;color:var(--ink);background:#fff}
.ebt .controls .spacer{flex:1 1 20px}
.ebt .searchGroup{flex-direction:row;align-items:flex-end;gap:10px;flex-wrap:nowrap}
.ebt .searchGroup > div{display:flex;flex-direction:column;gap:5px}
.ebt .controls input[type=search]{background:#FFFFFF;border:1px solid #6B8BA3;border-radius:8px;color:var(--ink);padding:6px 11px;font:inherit;font-size:14px;width:200px;height:36px;transition:border-color .15s} /* a11y: border 3:1 (1.4.11) */
.ebt .controls input[type=search]::placeholder{color:#5E7488}
.ebt .controls .views{display:flex;gap:5px}
.ebt .vbtn{background:#FFFFFF;border:1px solid #6B8BA3;color:#0C3144;font:inherit;font-size:13px;font-weight:600;padding:6px 12px;min-height:32px;border-radius:7px;cursor:pointer;transition:all .12s}
.ebt .vbtn:hover{border-color:#006BA7}
.ebt .vbtn.active{background:#6B5CE7;border-color:#6B5CE7;color:#ffffff}
.ebt button.reset{background:transparent;border:1px solid #6B8BA3;color:#0C3144;font:inherit;font-size:13px;font-weight:600;padding:6px 12px;min-height:32px;border-radius:7px;cursor:pointer;align-self:flex-end;transition:all .12s}
.ebt button.reset:hover{border-color:#006BA7}

/* ── BOARD (pipeline view) ── */
.ebt .board-wrap{overflow-x:auto;padding:16px 24px 40px}
.ebt .board{display:grid;grid-template-columns:repeat(5,minmax(220px,1fr));gap:12px;min-width:1200px}
.ebt .col{background:#EDF3F8;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column}
.ebt .col-head{padding:11px 12px 9px;border-bottom:1px solid var(--line)}
.ebt .col-head .ct{font-size:14px;font-weight:700;letter-spacing:.02em;display:flex;align-items:center;gap:7px}
.ebt .col-head .ct .bar{width:24px;height:4px;border-radius:2px;flex-shrink:0}
.ebt .col-head .cn{font-size:12px;color:var(--muted);margin-top:3px}
.ebt .col-body{padding:9px;display:flex;flex-direction:column;gap:9px;min-height:50px}
.ebt .col-empty{font-size:12px;color:var(--muted);text-align:center;padding:16px 6px} /* a11y: no 55% opacity */

/* ── CARDS (a11y: <button> elements) ── */
.ebt .card{display:block;width:100%;text-align:left;font:inherit;color:inherit;background:var(--panel);border:1px solid var(--line);border-left-width:4px;box-shadow:0 1px 4px rgba(0,107,167,.06);border-radius:9px;padding:10px 11px;cursor:pointer;transition:transform .12s,box-shadow .12s,border-color .12s;position:relative}
.ebt .card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.ebt .card .name{display:block;font-size:14px;font-weight:600;line-height:1.3;padding-right:20px}
.ebt .card .dev{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.ebt .card .tags{display:flex;gap:4px;flex-wrap:wrap;margin-top:7px}
.ebt .card .tag{font-size:12px;padding:2px 7px;border-radius:99px;border:1px solid var(--line);background:rgba(0,107,167,.05);display:inline-flex;align-items:center;gap:3px;white-space:nowrap}
.ebt .card .tag .dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}
.ebt .card .plat{display:block;font-size:12px;color:var(--muted2);margin-top:5px;font-style:italic}
.ebt .card .badges{display:flex;gap:4px;flex-wrap:wrap;margin-top:6px}
/* a11y: badges ≥ 12px and darker text (were 8.5px, 2.8:1 to 4.3:1); also used in the legend */
.ebt .badge{font-size:12px;padding:1.5px 7px;border-radius:99px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.ebt .badge.appr{background:rgba(49,167,170,.12);border:1px solid rgba(49,167,170,.6);color:#18696B}
.ebt .badge.clin{background:rgba(31,130,192,.1);border:1px solid rgba(31,130,192,.5);color:#17699C}
.ebt .badge.pre{background:rgba(90,122,146,.1);border:1px solid rgba(90,122,146,.45);color:var(--muted)}

/* ── SPECIES VIEW ── */
.ebt .grid-view{padding:16px 24px 40px;display:none}
.ebt .grid-view.active{display:block}
.ebt .board-wrap.hidden{display:none}
.ebt .gv-section{margin-bottom:28px}
.ebt .gv-head{display:flex;align-items:center;gap:10px;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.ebt .gv-head .dot{width:12px;height:12px;border-radius:50%;flex-shrink:0}
.ebt .gv-head h3{font-size:15px;font-weight:700}
.ebt .gv-head .cnt{font-size:12px;color:var(--muted);margin-left:4px}
.ebt .gv-cards{display:flex;flex-wrap:wrap;gap:9px}

/* ── TABLE VIEW ── */
.ebt .table-view{padding:16px 24px 40px;display:none;overflow-x:auto}
.ebt .table-view.active{display:block}
.ebt .pipeline-table{width:100%;border-collapse:collapse;font-size:13px;min-width:900px;background:var(--panel)}
.ebt .pipeline-table thead th{background:var(--panel2);color:var(--muted2);font-size:12px;text-transform:uppercase;letter-spacing:.06em;padding:8px 12px;border-bottom:1px solid var(--line2);text-align:left;white-space:nowrap}
.ebt .pipeline-table tbody th,.ebt .pipeline-table td{padding:8px 12px;border-bottom:1px solid var(--line);vertical-align:top;cursor:pointer;text-align:left;font-weight:400}
.ebt .pipeline-table tr:hover td,.ebt .pipeline-table tr:hover th{background:var(--panel2)}
.ebt .pipeline-table .row-open{font:inherit;font-weight:600;color:var(--ink);background:none;border:0;padding:0;text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:var(--line2);text-underline-offset:3px}
.ebt .pipeline-table .row-open:hover{text-decoration-color:var(--accent)}
.ebt .stage-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;vertical-align:middle}

/* ── DRAWER (a11y: modal dialog) ── */
.ebt .drawer-bg{position:fixed;inset:0;background:rgba(12,49,68,.45);display:none;z-index:80;backdrop-filter:blur(2px)}
.ebt .drawer-bg.open{display:block}
.ebt .drawer{position:fixed;top:0;right:0;bottom:0;width:480px;max-width:96vw;background:#FFFFFF;border-left:2px solid var(--line);box-shadow:-6px 0 32px rgba(0,107,167,.12);transform:translateX(100%);visibility:hidden;transition:transform .22s cubic-bezier(.22,1,.36,1),visibility 0s .22s;z-index:90;display:flex;flex-direction:column}
.ebt .drawer.open{transform:translateX(0);visibility:visible;transition:transform .22s cubic-bezier(.22,1,.36,1)}
@media (prefers-reduced-motion: reduce){ .ebt .drawer,.ebt .drawer.open{transition:none} }
.ebt .drawer .dh{padding:16px 18px 12px;border-bottom:1px solid var(--line);position:relative}
.ebt .drawer .dh .cls{position:absolute;top:12px;right:14px;background:var(--panel);border:1px solid #6B8BA3;color:var(--muted2);font-size:16px;cursor:pointer;border-radius:6px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;transition:all .12s;line-height:1}
.ebt .drawer .dh .cls:hover{color:var(--ink);border-color:var(--accent)}
.ebt .drawer .dh .stage-bar{height:3px;border-radius:2px;margin-bottom:10px}
.ebt .drawer .dh h2{margin:0 36px 0 0;font-size:17px;line-height:1.3}
.ebt .drawer .dh .dev{color:var(--muted);font-size:13px;margin-top:4px}
.ebt .drawer .db{padding:14px 18px;overflow-y:auto;flex:1}
.ebt .drawer .row{display:flex;gap:8px;padding:8px 0;border-bottom:1px solid var(--line)}
.ebt .drawer .row .k{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600;width:115px;flex-shrink:0;padding-top:2px}
.ebt .drawer .row .v{font-size:14px;flex:1}
.ebt .drawer .desc{margin:12px 0;font-size:14px;color:var(--muted2);line-height:1.65;background:var(--panel);border-radius:8px;padding:12px;border-bottom:1px solid var(--line)}
.ebt .pill{display:inline-flex;align-items:center;gap:5px;font-size:12px;padding:2px 8px;border-radius:99px;border:1px solid var(--line2);margin:2px 3px 2px 0;background:rgba(255,255,255,.025)}
.ebt .pill .dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}
.ebt .ev-meter{margin-top:8px}
.ebt .ev-bar{height:6px;border-radius:3px;background:var(--panel2);overflow:hidden;margin-bottom:3px}
.ebt .ev-bar .fill{height:100%;border-radius:3px;transition:width .5s}
.ebt .ev-bar-label{font-size:12px;color:var(--muted);display:flex;justify-content:space-between}

/* NCT pills / refs */
.ebt .nct-row{display:flex;flex-wrap:wrap;gap:5px;margin-top:4px}
.ebt .nct-pill{display:inline-block;padding:3px 9px;min-height:24px;border-radius:6px;background:#EBF4FB;color:var(--accent);font-size:12.5px;font-weight:600;border:1px solid var(--line2);text-decoration:none}
.ebt .nct-pill:hover{background:var(--panel3);text-decoration:underline}
.ebt .nct-plain{cursor:default;color:var(--muted)}
.ebt .ref-link{display:inline-block;font-size:13px;color:var(--accent);margin:2px 0}
.ebt .ref-block{font-size:13px;color:var(--muted)}

/* ── LEGEND ── */
.ebt .legend{padding:14px 24px;border-top:1px solid var(--line);background:#EBF4FB;display:flex;gap:24px;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.ebt .legend .lg{display:flex;align-items:center;gap:6px}
.ebt .legend .lg .dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.ebt .legend-div{color:var(--line2);margin:0 4px}

/* ── FOOTER ── */
.ebt .ebt-footer{padding:16px 24px 36px;color:var(--muted);font-size:13px;border-top:1px solid var(--line);line-height:1.65}
.ebt .ebt-footer b{color:var(--muted2)}

/* Tablets / small notebooks: the 3 tabs in one even row (same behaviour as the other disease pages) */
@media(min-width:701px) and (max-width:1339px){
  .ebt .sipr-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
  .ebt .sipr-tab{padding:10px 12px;font-size:14px;line-height:1.25;text-align:center}
}
@media(max-width:700px){
  .ebt .sipr-nav{padding:12px 12px;gap:8px}
  .ebt .sipr-tab{padding:11px 16px;font-size:13px;flex:1 1 auto;text-align:center}
  .ebt .controls{position:static}
  .ebt .board{grid-template-columns:repeat(5,minmax(200px,1fr))}
  .ebt .pheic-banner,.ebt .ebt-header,.ebt .stats,.ebt .controls,.ebt .legend,.ebt .ebt-footer,.ebt .board-wrap,.ebt .grid-view,.ebt .table-view{padding-left:12px;padding-right:12px}
  .ebt .fg.searchGroup{flex-direction:column;flex-wrap:nowrap;align-items:stretch;width:100%;gap:10px}
  .ebt .fg.searchGroup > div{width:100%}
  .ebt .fg.searchGroup input[type=search]{width:100%}
  .ebt .fg.searchGroup .views{width:100%;display:flex;gap:5px}
  .ebt .fg.searchGroup .views .vbtn{flex:1 1 0;text-align:center;padding-left:6px;padding-right:6px}
  .ebt .fg.searchGroup button.reset{width:100%;align-self:stretch}
  .ebt .chips{max-width:100%}
}
@media(max-width:480px){
  .ebt .board{grid-template-columns:repeat(5,minmax(180px,1fr))}
  .ebt .stat{min-width:70px;padding:6px 10px}
}
