/* Reference chart stays neutral within the selected apricot workspace. */
body .trend-reference{min-width:0;overflow:hidden;background:#fff;border:1px solid #e4e8ef;border-radius:8px}
body .trend-reference .trend-reference-head{display:flex;align-items:center;gap:12px;padding:20px 18px 0;flex-wrap:wrap}
body .trend-reference .trend-reference-head h2{margin:0;margin-right:auto;padding:0;color:#192330;font-size:18px;font-weight:650;white-space:nowrap}
body .trend-reference .trend-reference-head h2::before{display:none}
body .trend-reference .trend-reference-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
body .trend-reference .trend-reference-legend button{display:inline-flex;gap:6px;align-items:center;padding:4px 0;border:0;background:none;color:#4d5868;border-radius:0;font-size:12px;font-weight:400;box-shadow:none;white-space:nowrap}
body .trend-reference .trend-reference-legend i{display:inline-block;flex:none;width:9px;height:9px;border-radius:50%}
body .trend-reference .trend-reference-legend button[aria-pressed=false]{opacity:.38;text-decoration:line-through}
body .trend-reference .trend-reference-range{display:flex;border:1px solid #e2e7ef;border-radius:5px;overflow:hidden;padding:2px;background:#fff;flex:none}
body .trend-reference .trend-reference-range button{margin:0;padding:6px 11px;border:0;border-radius:3px;box-shadow:none;background:#fff;color:#485567;font-size:12px;font-weight:500;white-space:nowrap}
body .trend-reference .trend-reference-range button[aria-pressed=true]{color:#fff;background:#306bff}
body .trend-reference .trend-reference-dates{margin:7px 18px 0;font-size:12px;color:#8590a0;line-height:18px;font-variant-numeric:tabular-nums}
body .trend-reference .trend-reference-plot{height:324px;width:100%;min-width:0;touch-action:pan-y}
body .trend-reference .trend-reference-plot:focus-visible{outline:2px solid #306bff;outline-offset:-3px}
body .trend-reference .trend-reference-message{margin:0 18px 16px;color:#a04c24;background:#fff4ec;border-radius:5px;padding:12px;font-size:13px}
body .trend-reference .trend-reference-message[hidden]{display:none}
body .trend-reference .chart-data{margin:0;border-top:1px solid #edf0f4}
body .trend-reference .chart-data summary{padding:10px 18px;color:#7f8998;font-size:12px;cursor:pointer}
body .trend-reference .chart-data .table-wrap{max-height:320px;overflow:auto}
body .trend-reference .chart-data th{position:sticky;top:0}
body .trend-reference[aria-busy=true] .trend-reference-dates{opacity:.6}
@media(min-width:1450px){body .trend-reference .trend-reference-plot{height:350px}}
@media(max-width:720px){
 body .trend-reference .trend-reference-head{padding:16px 13px 0;gap:10px}
 body .trend-reference .trend-reference-head h2{font-size:17px}
 body .trend-reference .trend-reference-legend{order:3;width:100%;gap:15px}
 body .trend-reference .trend-reference-legend button{font-size:12px;padding:2px 0}
 body .trend-reference .trend-reference-range{margin-left:auto}
 body .trend-reference .trend-reference-dates{margin:7px 13px 0;font-size:11px}
 body .trend-reference .trend-reference-plot{height:285px}
 body .trend-reference .chart-data summary{padding:10px 13px}
}
