.cyprus-lab .cy-cohort-label { display:grid; gap:8px; max-width:620px; min-width:0; }
.cyprus-lab select { min-width:0; width:100%; }
.cyprus-lab .cy-cohort-label { grid-template-columns:minmax(0,1fr); }
.cyprus-lab .cy-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; padding:22px 0; border-block:1px solid #dce3e0; }
.cy-metrics>div { display:grid; align-content:start; gap:10px; }
.cy-metrics span { color:#596564; font-size:12px; line-height:1.5; }
.cy-metrics strong { font:650 25px/1.3 system-ui,sans-serif; font-variant-numeric:tabular-nums; }
.cy-search { display:flex; justify-content:space-between; align-items:end; gap:20px; margin:24px 0 10px; }
.cy-search label { display:grid; gap:8px; width:min(100%,420px); font-size:13px; }
.cy-search input { min-height:44px; padding:10px; border:1px solid #c8d4ce; border-radius:4px; font:inherit; }
.cy-search span { font-size:12px; color:#596564; }
.cyprus-lab .cy-bank-table { min-width:620px; table-layout:fixed; }
.cy-bank-table th:first-child { width:40%; overflow-wrap:anywhere; }
.cy-bank-table td:last-child a { display:block; margin-block:6px; }
.cy-bar { display:block; height:4px; background:#e8eeeb; margin-top:9px; width:100%; }
.cy-bar i { display:block; background:#087560; height:4px; }
.cy-history-controls { display:grid; grid-template-columns:minmax(0,1fr) 160px; gap:12px; max-width:640px; min-width:0; }
.cy-history-controls label { min-width:0; }
#cyHistoryPlot { min-height:300px; }
#cyHistoryName { margin-top:22px; overflow-wrap:anywhere; }
.cyprus-lab input:focus-visible { outline:2px solid #087560; outline-offset:3px; }
@media(max-width:800px) { .cyprus-lab .cy-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } .cy-cohort-label,.cy-history-controls { width:100%; max-width:100%!important; } }
@media(max-width:520px) { .cy-history-controls { grid-template-columns:1fr; } .cy-search { align-items:start; flex-direction:column; } #cyHistoryPlot,#cyHistoryPlot .hl-plot { min-height:260px; height:260px; } .cy-metrics strong { font-size:23px; } }
