/* History panels: wind-regime / SST-style popups (.wr-pop) and the Sea of
   Cortez norther history (.nh-pop). Shared by the map popup (index.html) and
   the Norther Forecast page. Moved out of map.css 2026-10-22. */
.wr-pop { font-size: 11px; color: #1a2332; min-width: 260px; }
.wr-pop .wr-pop-title { font-weight: 700; text-align: center; margin-bottom: 2px; }
.wr-pop .wr-pop-brand { text-align: center; color: #1e3a8a; font-size: 10px;
  font-weight: 700; margin-bottom: 4px; }
.wr-pop .wr-pop-chip { text-align: center; font-size: 12px; font-weight: 700;
  margin-bottom: 8px; }
.wr-pop .wr-pop-chip .wr-arrow { display: inline-block; margin: 0 4px;
  transform: translateY(1px); }
.wr-pop .wr-pop-row { display: flex; align-items: center; gap: 4px;
  margin-bottom: 1px; }
.wr-pop .wr-pop-ylabel { width: 32px; text-align: right; font-size: 10px;
  font-weight: 700; }
.wr-pop .wr-pop-strip { display: flex; gap: 0; }
.wr-pop .wr-pop-tile { flex: 1 1 0; min-width: 0; height: 14px; }
.wr-pop .wr-pop-arrow-row { font-size: 11px; line-height: 1; margin-left: 36px;
  position: relative; height: 12px; }
.wr-pop .wr-pop-arrow { position: absolute; transform: translateX(-50%); }
.wr-pop .wr-pop-axis { margin-left: 36px; position: relative; height: 12px;
  font-size: 9px; color: #667; }
.wr-pop .wr-pop-axis span { position: absolute; transform: translateX(-50%); }
.wr-pop .wr-pop-legend { margin-top: 6px; display: flex; gap: 10px; font-size: 10px;
  color: #667; justify-content: center; }
.wr-pop .wr-pop-legend i { display: inline-block; width: 10px; height: 10px;
  margin-right: 3px; vertical-align: middle; border: 1px solid #1a2332; }
.wr-pop .wr-pop-upsell { margin-top: 6px; padding: 6px 8px; background: #fff8e1;
  border: 1px solid #f0c419; border-radius: 4px; font-size: 10px; text-align: center; }
.wr-pop .wr-pop-upsell a { color: #b07f00; font-weight: 700; text-decoration: none; }
.wr-pop .wr-pop-upsell a:hover { text-decoration: underline; }
/* Norther history popup (norther_history.js / norther_charts.js) */
.nh-pop .nh-tabs { display: flex; gap: 4px; justify-content: center; margin: 2px 0 6px; }
.nh-pop .nh-tabs button { border: 1px solid #1e3a5f; background: #fff; color: #1e3a5f;
  border-radius: 12px; padding: 2px 10px; font-size: 11px; font-weight: 700; cursor: pointer; }
.nh-pop .nh-tabs button.on { background: #1e3a5f; color: #fff; }
.nh-pop .nh-reach { text-align: center; font-size: 11px; margin-bottom: 6px; }
.nh-pop .nh-h { font-weight: 700; font-size: 11px; margin: 8px 0 3px; }
.nh-pop .nh-sub { font-weight: 400; color: #667; font-size: 10px; }
.nh-pop .nh-ytd { font-size: 9px; color: #b07f00; font-weight: 700; }
.nh-pop .nh-table { border-collapse: collapse; width: 100%; font-size: 10px; }
.nh-pop .nh-table th, .nh-pop .nh-table td { padding: 2px 4px; text-align: center;
  border-bottom: 1px solid #e5e7eb; white-space: nowrap; }
.nh-pop .nh-table th { color: #667; font-weight: 700; }
.nh-pop .nh-table td:first-child { text-align: left; font-weight: 700; }
.nh-pop .nh-table tr.nh-cur td { background: #fff8e1; }
.nh-pop .nh-track { position: relative; height: 14px; background: #eef3f8; }
.nh-pop .nh-bar { position: absolute; top: 1px; height: 12px; border-radius: 2px;
  box-shadow: 0 0 0 1px #fff; cursor: help; }
.nh-pop .nh-chart { display: flex; gap: 4px; align-items: flex-end; justify-content: center; }
.nh-pop .nh-col { width: 44px; text-align: center; cursor: help; }
.nh-pop .nh-stack { display: flex; flex-direction: column-reverse; justify-content: flex-start;
  gap: 2px; background: none; }
.nh-pop .nh-stack div { border-radius: 0; }
.nh-pop .nh-stack div:last-child { border-radius: 4px 4px 0 0; }
.nh-pop .nh-val { font-size: 10px; font-weight: 700; }
.nh-pop .nh-mon { font-size: 10px; color: #667; }
.nh-pop .nh-days { font-size: 10px; color: #1a2332; }
.nh-pop .nh-key { width: 56px; text-align: left; }
.nh-pop .nh-key .nh-days { color: #667; }
.nh-pop .nh-tops { display: flex; gap: 16px; flex-wrap: wrap; }
.nh-pop .nh-top { flex: 1 1 220px; }
.nh-pop .nh-top ol { margin: 0; padding-left: 18px; font-size: 10px; }
.nh-pop .nh-top li i { display: inline-block; width: 8px; height: 8px; margin-right: 4px;
  border: 1px solid #1a2332; }
