/* Unemployment Experiment -- one shared X/Y chart (AllCountiesOverlayChart)
   with all 55 upstate counties' unemployment-rate lines superimposed.
   Reuses similar-counties.css's .ue-trend-chart/.chart-watermark/etc.
   styling as-is; this file only adds what's specific to the overlay
   itself -- the per-county line style and a bit more chart height since
   there's no per-panel padding to share here. */

.ue-experiment-overlay-panel .ue-trend-chart svg{
  height:520px;
}

.ue-trend-chart path.overlay-county-line{
  fill:none;
  stroke:var(--sc-green, #34563e);
  stroke-width:1;
  stroke-linecap:round;
  stroke-linejoin:round;
  opacity:.22;
}

/* The state baseline needs to read clearly on top of 55 overlapping
   county lines -- thicker than CountyTrendChart's own reference line
   (2px there) and fully opaque. */
.ue-experiment-overlay-panel .ue-trend-chart path.trend-line-reference{
  stroke-width:2.5;
}

/* Second (seasonally adjusted) chart + the shared "highlight a county"
   control. Highlight = bright lime stroke over a dark casing so it stays
   visible on the pale page and the dense gray-green line mass;
   non-scaling-stroke because the chart SVG uses preserveAspectRatio=none,
   which would otherwise squash a thick line unevenly. */
.ue-experiment-highlight{
  margin:16px 0 4px;
}

.ue-experiment-highlight label{
  font-size:11px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--sc-green, #34563e);
}

.ue-experiment-heading{
  margin:22px 0 6px;
  font-size:15px;
  font-weight:800;
  color:var(--sc-green-dark, #123e2f);
}

.ue-experiment-note{
  margin:10px 0 0;
  max-width:820px;
  font-size:12px;
  line-height:1.5;
  color:var(--sc-muted, #607488);
}

.ue-trend-chart path.overlay-highlight-casing,
.ue-trend-chart path.overlay-highlight-line{
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}

.ue-trend-chart path.overlay-highlight-casing{
  stroke:#123e2f;
  stroke-width:5;
}

.ue-trend-chart path.overlay-highlight-line{
  stroke:#39ff14; /* fallback; the chart sets each county's own color inline */
  stroke-width:2.6;
}

.ue-legend-swatch.highlight{
  background:#39ff14; /* fallback; the chart sets each county's own color inline */
  box-shadow:0 0 0 1px #123e2f;
}

/* Multi-county picker: dropdown adds a county, each pick becomes a
   removable chip carrying the same color as its line. */
.ue-highlight-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}

.ue-highlight-chip,
.ue-highlight-clear{
  height:38px;
  padding:0 12px;
  border:1px solid #8da697;
  background:#fff;
  color:var(--sc-green-dark, #123e2f);
  font:700 13px var(--font-body);
  cursor:pointer;
}

.ue-highlight-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.ue-highlight-chip i{
  width:14px;
  height:14px;
  border-radius:50%;
  box-shadow:0 0 0 1px #123e2f;
}

.ue-highlight-chip span{
  font-size:16px;
  line-height:1;
  color:var(--sc-muted, #607488);
}

.ue-highlight-chip:hover,
.ue-highlight-clear:hover{
  background:var(--sc-wash, #f3f7f4);
}

.ue-highlight-clear{
  border-color:transparent;
  background:transparent;
  color:var(--sc-muted, #607488);
  text-decoration:underline;
}

/* Unemployment page: the all-counties chart taller, so 37 years of months are not squeezed (Robert, 2026-11-19). */
.ue-all-counties-panel .ue-trend-chart svg{height:540px}

/* Mouse-over box on the all-counties chart (2026-11-19). */
.ue-all-counties-panel .ue-trend-chart{position:relative}
