/* cp_embed.css — GENERATED by tools/build_webtrial_native_page.py from cp.css.
 * Widget-only subset (cpmap and cpchart rules), no global body rules; dark theme
 * vars answer to body.dark AND the site's body.dark-mode. Do not hand-edit. */

:root {
  --cp-surface: #ffffff;
  --cp-map-bg: #e8edf2;     
  --cp-page: #f2f5f8;
  --cp-ink: #26313c;   
  --cp-muted: #6a7683;
  --cp-line: rgba(0, 0, 0, 0.12);
  --cp-card: rgba(255, 255, 255, 0.95);
  --cp-accent: #1f5fa8;
}
body.dark, body.dark-mode{
  --cp-surface: #151b22;
  --cp-map-bg: #1b2129;
  --cp-page: #10151b;
  --cp-ink: #dfe6ee;
  --cp-muted: #8b99a8;
  --cp-line: rgba(255, 255, 255, 0.14);
  --cp-card: rgba(21, 27, 34, 0.95);
  --cp-accent: #7fb3e8;
}
.cpmap { position: relative; width: 100%; height: 100%; min-height: 480px; }
.cpmap-canvas { position: absolute; inset: 0; }
.cpmap-title {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  
  background: var(--cp-surface); border-radius: 8px; padding: 6px 16px;
  text-align: center; font-weight: 600; font-size: 13px;
  
  color: var(--cp-ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); pointer-events: none; z-index: 5;
  max-width: 90%;
  white-space: pre-wrap;  
}
.cpmap-title-sub { font-weight: 400; font-size: 12px; color: var(--cp-muted); }
.cpmap-tooltip {
  position: absolute; z-index: 8; pointer-events: none;
  background: var(--cp-card); border-radius: 6px; padding: 6px 10px;
  font-size: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}
.cpmap-tip-name { font-weight: 600; }
.cpmap-tip-val { font-size: 14px; }
.cpmap-tip-muted { color: var(--cp-muted); font-size: 11px; }
.cpmap-legend {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: var(--cp-card); border-radius: 8px; padding: 8px 12px 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); pointer-events: none; z-index: 5;
  text-align: center; color: var(--cp-ink);
}
.cpmap-legend-label { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.cpmap-legend-bar { display: flex; height: 16px; border-radius: 3px;
  overflow: hidden; }
.cpmap-legend-bar div { flex: 1; min-width: 34px; }
.cpmap-legend-ticks { position: relative; height: 14px; font-size: 11px;
  color: var(--cp-muted); margin: 2px 0 0; }
.cpmap-legend-ticks span { position: absolute; top: 0;
  transform: translateX(-50%); white-space: nowrap; }
.cpmap-natpanel {
  position: absolute; bottom: 18px; right: 12px;
  background: var(--cp-card); border-radius: 8px; padding: 9px 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); z-index: 5; font-size: 13px;
  color: var(--cp-ink);
  
  pointer-events: auto;
}
.cpmap-natpanel tr[data-crop] { cursor: default; }
.cpmap-natpanel tr.cpmap-nat-active td { background: rgba(0,128,0,0.14); }
.cpmap-natpanel tr.cpmap-nat-active td:first-child {
  color: var(--cp-ink); box-shadow: inset 3px 0 0 #008000; }
.cpmap-nat-head { font-weight: 600; text-align: center; margin-bottom: 4px; }
.cpmap-nat-head span { font-weight: 400; color: var(--cp-muted); font-size: 12px; }
.cpmap-nat-cc { font-weight: 700; color: var(--cp-ink); margin-top: 6px;
  letter-spacing: 0.3px; }
body.dark .cpmap-nat-cc, body.dark-mode .cpmap-nat-cc, body.dark-mode .cpmap-nat-cc {color: #c2ccd6; }
.cpmap-natpanel table { border-spacing: 0; width: 100%; }
.cpmap-natpanel td:first-child { padding-right: 10px; color: var(--cp-muted);
  text-transform: capitalize; }
.cpmap-natpanel td:last-child { text-align: right; font-weight: 600; }
.cpmap .maplibregl-ctrl-group button:hover,
.cpmap .maplibregl-ctrl-group button:active {
  background-color: #397b2f; }
.cpmap .maplibregl-ctrl-group button:hover:not(.maplibregl-ctrl-zoom-in):not(.maplibregl-ctrl-zoom-out),
.cpmap .maplibregl-ctrl-group button:active:not(.maplibregl-ctrl-zoom-in):not(.maplibregl-ctrl-zoom-out) {
  color: #eef2f6 !important; }
.cpmap .maplibregl-ctrl button.maplibregl-ctrl-zoom-in:hover .maplibregl-ctrl-icon,
.cpmap .maplibregl-ctrl button.maplibregl-ctrl-zoom-in:active .maplibregl-ctrl-icon {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23eef2f6' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E"); }
.cpmap .maplibregl-ctrl button.maplibregl-ctrl-zoom-out:hover .maplibregl-ctrl-icon,
.cpmap .maplibregl-ctrl button.maplibregl-ctrl-zoom-out:active .maplibregl-ctrl-icon {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23eef2f6' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E"); }
.cpchart { width: 100%; min-height: 480px; background: var(--cp-surface); }
.cpchart { position: relative; }
.cpchart-lgd {
  position: absolute; z-index: 6; font-size: 13.5px; line-height: 1.5;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.87); border: 1px solid rgba(51,51,51,0.6);
  border-radius: 2px; padding: 4px 9px; cursor: default; user-select: none;
}
body.dark .cpchart-lgd, body.dark-mode .cpchart-lgd {background: rgba(21, 27, 34, 0.87);
  border-color: rgba(139,153,168,0.6); }
.cpchart-lgd-row { display: grid; grid-template-columns: 40px auto 1fr;
  column-gap: 7px; align-items: center; cursor: pointer; white-space: nowrap; }
.cpchart-lgd-row.off { opacity: 0.4; }
.cpchart-lgd-row .lgd-right { text-align: right; padding-left: 18px; }
.cpchart-lgd-row svg { display: block; }
.cpmap-legend-np { display: flex; align-items: center; justify-content: center;
  gap: 5px; font-size: 10px; color: var(--cp-muted); margin-top: 3px; }
.cpmap-legend-np i { width: 13px; height: 13px; background: #cccccc;
  border-radius: 2px; }
.cpmap-logo { position: absolute; left: 12px; bottom: 14px; height: 29px;
  width: auto; z-index: 5; pointer-events: none; }
.cpchart-title { position: absolute; top: 3px; left: 0; right: 0;
  text-align: center; z-index: 5; pointer-events: none;
  font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--cp-ink); }
.cpchart-title b { font-size: 20px; font-weight: 700; }
.cpchart-select { position: relative; width: 100%; }
.cpchart-select-btn { width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 8px 12px; border: 1px solid #d1d5db; border-radius: 6px; background: #fbbf24;
  color: #111827; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; }
.cpchart-select-btn:focus-visible { outline: 2px solid rgb(54,124,43); outline-offset: 1px; }
.cpchart-select-arrow { font-size: 10px; }
.cpchart-select-list { position: fixed; z-index: 1000;   
  margin: 0; padding: 4px 0; list-style: none; background: #ffffff; border: 1px solid #d1d5db;
  border-radius: 6px; box-shadow: 0 6px 16px rgba(0,0,0,.12); max-height: 320px; overflow-y: auto; }
.cpchart-select-list li { padding: 7px 12px; cursor: pointer; color: #111827; font-size: 14px;
  font-weight: 500; white-space: nowrap; }
.cpchart-select-list li.active { background: #fde68a; }
.cpchart-select-list li.selected { background: #fbbf24; font-weight: 600; }
body.dark .cpchart-select-list, body.dark-mode .cpchart-select-list {background: #1f2937; border-color: #4b5563; }
body.dark .cpchart-select-list li, body.dark-mode .cpchart-select-list li {color: #e5e7eb; }
body.dark .cpchart-select-list li.active, body.dark-mode .cpchart-select-list li.active {background: #b45309; color: #111827; }
body.dark .cpchart-select-list li.selected, body.dark-mode .cpchart-select-list li.selected {background: #fbbf24; color: #111827; }
/* site-embed surface alignment: the map canvas blends with the
   card in BOTH themes (light card is white; dark card = #1f2937) */
:root { --cp-map-bg: #ffffff; }
body.dark-mode {
  --cp-surface: #1f2937;
  --cp-map-bg: #1f2937;
  --cp-card: rgba(31, 41, 55, 0.95);
}
