/* LoonMonitor history views (js/loonmonitor_chart.js) */
.lm-header { padding-right: 6px; }
.lm-controls { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 11px; color: #5c5b57; margin: 2px 0 4px; }
.lm-control { display: flex; align-items: center; gap: 4px; margin: 0; font-size: 11px; font-weight: 400; }
.lm-controls select { font-size: 12px; padding: 1px 4px; max-width: 190px; }
.lm-view-controls { padding-top: 4px; border-top: 1px solid #e6e6e3; }
.lm-table-toggle { font-size: 11px; padding: 1px 8px; border: 1px solid #c9c8c3; border-radius: 4px; background: #fff; color: #1f1f1e; }
.lm-table-toggle[aria-pressed="true"] { background: #1f1f1e; color: #fff; border-color: #1f1f1e; }
.lm-kpi-season { font-size: 11px; color: #5c5b57; margin-bottom: 2px; }
/* the season's numbers in one row where they fit (6 across on the LoonMonitor page), else 3 or 2 */
.lm-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 4px 8px; margin-bottom: 4px; }
.lm-season-note { font-size: 11px; color: #5c5b57; }
.lm-view-controls .lm-legend { margin-left: 8px; }
.lm-kpi { min-width: 0; }
.lm-kpi-label { font-size: 10.5px; color: #5c5b57; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-kpi-value { font-size: 17px; font-weight: 600; color: #1f1f1e; line-height: 1.15; }
.lm-delta, .lm-kpi-sub { display: block; font-size: 10px; color: #5c5b57; white-space: nowrap; }
.lm-lifetime { font-size: 11.5px; color: #1f1f1e; margin: 2px 0 4px; line-height: 1.35; }
.lm-body.lm-scroll { overflow: auto; -webkit-overflow-scrolling: touch; min-height: 160px; }
.lm-foot { flex-shrink: 0; font-size: 10.5px; color: #5c5b57; padding: 2px 6px 4px 10px; }
.lm-message { padding: 10px; font-size: 13px; color: #5c5b57; }
.lm-group-title { font-size: 12px; font-weight: 600; color: #1f1f1e; margin: 8px 0 2px 4px; }
.lm-lane-title { font-size: 11px; color: #1f1f1e; margin: 0 0 0 6px; }
.lm-lane-title .chart-legend-swatch, .lm-card-head .chart-legend-swatch { vertical-align: -1px; }
.lm-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.lm-table th, .lm-table td { padding: 2px 6px; border-bottom: 1px solid #e6e6e3; text-align: left; vertical-align: top; }
.lm-table th { position: sticky; top: 0; background: #fff; color: #5c5b57; font-weight: 600; }
.lm-table td.lm-num { text-align: right; font-variant-numeric: tabular-nums; }
.lm-grid { border-collapse: separate; border-spacing: 2px; font-size: 11.5px; margin: 2px 4px; width: auto; }
.lm-grid th, .lm-grid td { border: 0; padding: 0 4px; line-height: 18px; height: 20px; box-shadow: none; }
.lm-grid tbody th { font-weight: 400; background: #fff; }
.lm-grid .lm-grid-name { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-grid th { position: sticky; top: 0; background: #fff; color: #5c5b57; font-weight: 600; text-align: center; padding: 0 4px; }
.lm-grid th.lm-grid-name { text-align: left; position: sticky; left: 0; z-index: 1; background: #fff; }
.lm-grid thead th.lm-grid-name { top: 0; z-index: 2; }
.lm-lake-link { border: 0; background: none; padding: 0; color: #1f1f1e; text-decoration: underline; text-decoration-color: #c9c8c3; font-size: 11.5px; text-align: left; }
.lm-lake-link:hover { text-decoration-color: currentColor; }
.lm-cell { width: 44px; min-width: 36px; height: 20px; text-align: center; border-radius: 3px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lm-cell-empty { color: #b4b3ad; background: #f4f4f2; font-weight: 400; }
.lm-card { margin: 2px 4px 6px; padding: 4px 8px; border: 1px solid #e6e6e3; border-radius: 6px; font-size: 11.5px; }
.lm-card-head { margin-bottom: 2px; }
.lm-card-body { color: #3b3a37; line-height: 1.4; }
.lm-note { margin: 2px 4px 6px; padding: 3px 8px; border-left: 3px solid #e6e6e3; font-size: 11.5px; line-height: 1.4; }
.lm-note ul { margin: 2px 0 0 0; padding-left: 16px; }
/* an app-wide rule sets list items to 16px; keep observation and nest notes the size of the survey's note */
.lm-note li { font-size: inherit; font-weight: inherit; }
.lm-note-head { color: #5c5b57; font-size: 11px; }
.lm-badge { font-size: 10px; padding: 0 4px; border: 1px solid #c9c8c3; border-radius: 3px; }
.lm-tip-note { display: inline-block; margin-top: 3px; font-style: italic; }
.lm-muted { color: #5c5b57; }
/* "?" by a metric: opens how it's worked out (js/loonmonitor_help.js) */
.lm-q { border: 0; background: none; padding: 0 2px; margin: 0; color: #00654f; font-size: 11px; line-height: 1; cursor: pointer; vertical-align: 0; }
.lm-q:hover, .lm-q:focus-visible { color: #003f38; }
.lm-group-legend { display: inline-flex; flex-wrap: wrap; gap: 2px 0.8em; margin-left: 8px; font-size: 11px; font-weight: 400; vertical-align: 1px; }
/* Season timing zoom: a thick scrollbar (our own track and grip, always shown) pinned at the top drives the chart's sideways scroll */
.lm-zoom { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #5c5b57; }
.lm-hbar { position: sticky; top: 0; z-index: 2; height: 24px; margin: 0 0 4px; background: #e6e6e3; border-radius: 12px;
  cursor: pointer; touch-action: none; box-shadow: 0 0 0 3px #fff; }
.lm-hbar:focus-visible { outline: 2px solid #00654f; outline-offset: 1px; }
.lm-hbar-thumb { position: absolute; top: 3px; bottom: 3px; left: 0; background: #8a8984; border-radius: 9px; cursor: grab; }
.lm-hbar-thumb:hover, .lm-hbar:focus-visible .lm-hbar-thumb { background: #5c5b57; }
.lm-hbar-thumb.lm-dragging { background: #3b3a37; cursor: grabbing; }
.lm-hscroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.lm-hscroll::-webkit-scrollbar { display: none; }
/* small multiples (Nest sites across years, Trends) */
.lm-mini-grid { display: grid; gap: 6px 10px; margin: 2px 4px 8px; }
.lm-mini { min-width: 0; }
.lm-mini-title { font-size: 11.5px; line-height: 1.3; color: #1f1f1e; }
/* Lakes by year: sortable headings, totals */
.lm-sort { border: 0; background: none; padding: 0; font: inherit; color: inherit; font-weight: 600; white-space: nowrap; }
.lm-sort:hover { color: #1f1f1e; text-decoration: underline; }
.lm-grid th.lm-tot, .lm-grid td.lm-tot { text-align: right; padding: 0 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lm-grid td.lm-tot { background: #f4f4f2; border-radius: 3px; }

/* LoonMonitor season status by phase (js/loonmonitor_status.js) */
.lms { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.lms-header { padding-right: 6px; }
/* One line: title, season, Chart|List, link to the full page (wraps when narrow) */
.lms-titlebar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 4px; }
.lms-title { margin: 0; min-width: 0; }
.lms-year { font-size: 12px; padding: 1px 4px; border: 1px solid #c9c8c3; border-radius: 4px; background: #fff; }
.lms-toggle { display: inline-flex; border: 1px solid #c9c8c3; border-radius: 4px; overflow: hidden; }
.lms-toggle button { font-size: 11.5px; padding: 1px 8px; border: 0; background: #fff; color: #1f1f1e; line-height: 1.5; }
.lms-toggle button + button { border-left: 1px solid #c9c8c3; }
.lms-toggle button[aria-pressed="true"] { background: #1f1f1e; color: #fff; }
.lms-toggle .fa-solid { font-size: 10px; }
.lms-help-btn { font-size: 11.5px; padding: 1px 8px; border: 1px solid #c9c8c3; border-radius: 4px; background: #fff; color: #1f1f1e; line-height: 1.5; }
.lms-help-btn .fa-solid { color: #00654f; }
.lms-help { font-size: 13px; line-height: 1.45; text-align: left; }
.lms-help p { margin: 0 0 8px; }
.lms-help ul { margin: 0 0 8px; padding-left: 18px; font-size: 13px; }
.lms-help li { margin-bottom: 3px; font-size: inherit; }
.lms-help-table { width: 100%; border-collapse: collapse; margin: 4px 0 10px; font-size: 12.5px; }
.lms-help-table td { padding: 4px 6px; border-top: 1px solid #e6e6e3; vertical-align: top; }
.lms-help-dates { white-space: nowrap; color: #5c5b57; }
.lms-help-table td { padding: 3px 6px; }
.lms-help-cad { white-space: nowrap; }
.lms-help-cad::before { content: "\00b7  "; }
/* the chart and list notes side by side where there's room */
@media (min-width: 900px) {
  .lms-help-cols { display: grid; grid-template-columns: 1.45fr 1fr; gap: 0 18px; }
  .lms-help-cols > p + p { border-left: 2px solid #c9c8c3; padding-left: 18px; }
}
/* LoonMonitor help popups: a compact title and button so the content gets the height */
.modal-content:has(.lms-help) .modal-header { font-size: 22px; padding: 10px 16px 8px; margin: 0; }
.modal-content:has(.lms-help) .modal-message { margin: 8px 16px 0; }
.modal-content:has(.lms-help) .modal-buttons { margin: 4px 12px 8px; }
.modal-content:has(.lms-help) .modal-buttons button { padding: 4px 18px; font-size: 16px; }
.lms-full-link { font-size: 12px; font-weight: 600; color: #00654f; text-decoration: none; margin-left: auto; white-space: nowrap; }
.lms-full-link:hover { text-decoration: underline; }
.lms-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 0 6px 0 4px; -webkit-overflow-scrolling: touch; }
.lms-season { font-size: 12px; color: #1f1f1e; line-height: 1.4; margin: 0 0 4px 4px; }
.lms-season .chart-legend-swatch { vertical-align: -1px; }
.lms-legend { margin: 0 0 2px 4px; }
.lms-strip { display: block; }
.lms-tip-hr { margin: 4px 0; border: 0; border-top: 1px solid rgba(255,255,255,0.35); opacity: 1; }
.lms-phases { margin: 6px 0 2px; }
.lms-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name cover" "find find";
  gap: 1px 10px; padding: 5px 4px; border-top: 1px solid #e6e6e3; font-size: 12px; align-items: center; }
.lms-name { grid-area: name; min-width: 0; color: #1f1f1e; }
.lms-cover { grid-area: cover; display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.lms-find { grid-area: find; color: #1f1f1e; padding-left: 40px; }
.lms-find:empty { display: none; }
.lms-wide .lms-row { grid-template-columns: minmax(180px, 1.1fr) minmax(150px, auto) minmax(0, 1.3fr); grid-template-areas: "name cover find"; }
.lms-wide .lms-find { padding-left: 0; }
/* Numbered bullet in the phase's color; the active phase's is inverted (solid, white number) */
.lms-num { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-right: 5px;
  border-radius: 50%; background: var(--ph-wash, #e6e6e3); color: var(--ph, #1f1f1e); font-size: 10px; font-weight: 700; vertical-align: 1px; }
.lms-row-now .lms-num, .lms-row-open .lms-num { background: var(--ph, #1f1f1e); color: #fff; }
.lms-icon { width: 15px; margin-right: 4px; font-size: 11px; text-align: center; }
.lms-dates { color: #5c5b57; font-size: 11px; white-space: nowrap; }
.lms-goal { color: #5c5b57; font-size: 11px; padding-left: 40px; }
.lms-row-ahead .lms-name b, .lms-row-ahead .lms-find { color: #5c5b57; }
.lms-pips { display: inline-flex; gap: 3px; align-items: center; }
.lms-pip { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #00826d; background: #fff; }
.lms-pip-on { background: #00826d; }
.lms-pip-ahead { border-style: dashed; border-color: #b4b3ad; }
.lms-pip-more { font-size: 10px; color: #5c5b57; }
.lms-chip { font-size: 11px; font-weight: 600; white-space: nowrap; min-width: 52px; text-align: right; color: #1f1f1e; }
.lms-chip-done { color: #00654f; }
.lms-chip-none { color: #b23c0f; }
.lms-chip-open, .lms-chip-ahead { color: #5c5b57; font-weight: 400; }
.lms-meter { display: inline-flex; gap: 2px; width: 110px; height: 10px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.lms-seg { display: block; height: 100%; flex: 0 0 auto; }
.lms-meter-text { font-size: 11px; color: #1f1f1e; white-space: nowrap; line-height: 1.2; min-width: 92px; }
.lms-meter-sub { display: block; color: #5c5b57; font-size: 10px; }
.lms-foot { padding-left: 4px; }

/* A lake's own phases: why they differ from the state's; the renest editor (loonmonitor_status.js) */
.lms-phase-note { font-size: 11.5px; color: #3b3a37; margin-top: 2px; }
.lms-renest-btn { font-size: 11px; padding: 0 8px; margin-left: 4px; border: 1px solid #c9c8c3; border-radius: 4px; background: #fff; color: #1f1f1e; }
.lms-renest-btn:hover { border-color: #1f1f1e; }
.lms-varies { font-size: 10.5px; color: #5c5b57; border: 1px dashed #b4b3ad; border-radius: 3px; padding: 0 4px; white-space: nowrap; cursor: help; }
.lms-renest-form { display: flex; flex-direction: column; gap: 8px; font-size: 14px; text-align: left; }
.lms-renest-form p { margin: 0; }
.lms-renest-form label { display: flex; align-items: center; gap: 8px; margin: 0; }
.lms-renest-form input[type="text"] { flex: 1 1 auto; min-width: 0; }

/* ===== Explore lake view (loonmonitor_lake.js) ===== */
.lml { padding: 2px 4px 8px 6px; font-size: 16px; }
/* LoonMonitor (lake view, season chart): the whole Summary panel scrolls, the view at its natural
   height, so nothing is cut off when zoomed in or with several nest strips. The stable gutter keeps
   the chart from redrawing as the scrollbar comes and goes. (LoonCount's chart keeps its own layout.) */
#rtab_summary:has(> #looncount_chart > .lml, > #looncount_chart > .lmsc) { overflow-y: auto; overflow-x: hidden; scrollbar-gutter: stable; }
#rtab_summary > #looncount_chart:has(> .lml, > .lmsc) { flex: 0 0 auto; overflow: visible; }
.lml-unit { border-top: 1px solid #e6e6e3; padding: 6px 0 8px; }
.lml-unit:first-child { border-top: 0; }
.lml-unit-name { font-weight: 700; font-size: 16px; margin-bottom: 2px; }
.lml-strip { margin-bottom: 6px; }
.lml-status { margin: 2px 0 4px; }
.lml-status-label { color: #5c5b57; }
.lml-nest-name { display: inline-block; font-weight: 600; margin-right: 8px; padding: 0 6px; border-radius: 8px; background: #f1f1ef; font-size: 14px; }
/* the phase chevrons */
.lml-chevs { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.lml-chev { flex: 1 1 0; min-width: 0; }
.lml-chev button { width: 100%; min-height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  padding: 4px 4px 3px 12px; border: 0; font-size: 10.5px; line-height: 1.15; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%, 9px 50%);
  background: #f1f1ef; color: #8a8984; }
.lml-chev:first-child button { padding-left: 6px; clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%); }
.lml-chev button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lml-chev button .fa-solid { font-size: 12px; }
.lml-done button { background: color-mix(in srgb, var(--ph) 22%, #fff); color: var(--ph-ink); }
.lml-now button { background: var(--ph); color: #fff; font-weight: 700; }
.lml-ahead button { background: #fff; color: #5c5b57; box-shadow: inset 0 0 0 1px #d9d8d3; }
.lml-failed button { background: #fbe1d6; color: #a53f17; }
.lml-failed.lml-current button { background: #d95926; color: #fff; font-weight: 700; }
.lml-skip button { background: #f1f1ef; color: #b4b3ad; text-decoration: line-through; }
.lml-unknown .lml-chev button { background: #e6e6e3; color: #8a8984; font-weight: 400; }
.lml-chev button[aria-pressed="true"] { box-shadow: inset 0 -3px 0 #1f1f1e; }
.lml-chev button:focus-visible { outline: 2px solid #1f1f1e; outline-offset: 1px; }
.lml-typical { margin-top: 4px; color: #5c5b57; }
.lml-phase-text { margin-top: 5px; padding: 6px 8px; background: #f7f7f5; border-radius: 6px; font-size: 16px; }
.lml-facts { margin-top: 3px; font-weight: 600; }
.lml-muted { color: #5c5b57; }
.lml-next { margin: 4px 0 6px; }
.lml-due { color: #c44100; font-weight: 700; }
.lml-sub { font-weight: 700; font-size: 14px; color: #5c5b57; text-transform: uppercase; letter-spacing: .03em; margin-top: 4px; }
.lml-recent { margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lml-recent-label { font-weight: 700; color: #006054; }
.lml-recent-date { font-weight: 600; }
/* the bar above the graphic: status, About, the admins' Admin | Volunteer switch, Explore all surveys at the right */
.lml-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 2px 0 4px; }
.lml-bar .lml-status { margin: 0; }
.lml-bar .lml-explore { margin: 0 0 0 auto; padding: 1px 10px; font-size: 15px; gap: 5px; }
.lml-bar .lml-about { padding: 1px 8px; font-size: 15px; }
.lml-mode.lmsc-toggle button { font-size: 15px; padding: 1px 8px; }
/* admins: Admin shows the season chart, Volunteer the phase row */
.lml[data-mode="admin"] .lml-vol, .lml[data-mode="volunteer"] .lml-adm { display: none; }
.lml-explore { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 2px 10px; border: 1px solid #006054; border-radius: 14px;
  color: #006054; font-weight: 600; font-size: 13px; text-decoration: none; }
.lml-explore:hover { background: #e6f3f1; }

/* ===== Explore state/county/town season chart (loonmonitor_season_chart.js) ===== */
.lmsc { padding: 2px 2px 8px 4px; font-size: 16px; }
.lmsc-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 2px 0 4px; }
.lmsc-year { font-size: 16px; padding: 2px 4px; border: 1px solid #c9c8c3; border-radius: 4px; }
.lmsc-toggle { display: inline-flex; border: 1px solid #c9c8c3; border-radius: 4px; overflow: hidden; }
.lmsc-toggle button { font-size: 15px; padding: 3px 10px; border: 0; background: #fff; color: #1f1f1e; line-height: 1.5; }
.lmsc-toggle button + button { border-left: 1px solid #c9c8c3; }
.lmsc-toggle button[aria-pressed="true"] { background: #1f1f1e; color: #fff; }
.lmsc .lms-full-link { font-size: 16px; }
.lmsc-head { font-size: 16px; margin: 4px 0 2px; }
.lmsc-legend.chart-header-legend { font-size: 15px; gap: 4px 12px; margin: 2px 0 4px; }
.lmsc-legend .chart-legend-swatch { width: 13px; height: 13px; }
.lmsc-plot { width: 100%; }
.lmsc-svg { display: block; }
.lmsc-col { cursor: pointer; }
.lmsc-foot { font-size: 15px; margin-top: 4px; line-height: 1.4; }
/* many boxes (renests) in a narrow pane: names cut short with …, the current phase wider */
.lml-strip { container-type: inline-size; }
@container (max-width: 520px) {
  .lml-many .lml-chev.lml-current { flex-grow: 2.4; }
}

/* ===== Week summary page (loonmonitor_week.html): what's behind one bar of the season chart ===== */
.lmw-title { font-size: 20px; font-weight: 600; margin: 6px 0 8px; color: #1f1f1e; }
.lmw-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 10px; }
.lmw-step { font-size: 14px; padding: 3px 10px; border: 1px solid #c9c8c3; border-radius: 4px; background: #fff; color: #00654f; font-weight: 600; }
.lmw-step:disabled { color: #b4b3ad; }
.lmw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.lmw-chips button { font-size: 14px; padding: 3px 10px; border: 1px solid #c9c8c3; border-radius: 14px; background: #fff; color: #1f1f1e; }
.lmw-chips button[aria-pressed="true"] { background: #1f1f1e; color: #fff; border-color: #1f1f1e; }
.lmw-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; outline: 1px solid rgba(0,0,0,.12); }
.lmw-lead { margin: 4px 0 10px; }
.lmw-table { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 14.5px; }
.lmw-table th { text-align: left; font-size: 13px; color: #5c5b57; font-weight: 700; border-bottom: 2px solid #e6e6e3; padding: 6px 8px; vertical-align: bottom; }
.lmw-table td { border-bottom: 1px solid #e6e6e3; padding: 7px 8px; vertical-align: top; }
.lmw-table .num { text-align: right; white-space: nowrap; }
.lmw-table td:first-child { font-weight: 600; min-width: 130px; }
.lmw-total td { font-weight: 700; border-top: 2px solid #e6e6e3; }
/* a lake with zones (Adults & chicks): its count, then its whole-lake surveys and zones */
.lmw-lake td { font-weight: 600; }
.lmw-part td { color: #5c5b57; border-top-style: dotted; }
.lmw-sub { padding-left: 14px; display: inline-block; }
.lmw-survey { font-size: 14px; padding: 0 6px; border: 1px solid #006054; border-radius: 10px; background: #fff; color: #006054; font-weight: 600; }
.lmw-survey:hover { background: #e6f3f1; }
.lmw-day { font-weight: 600; }
.lmw-all, .lmw-miss { margin-top: 4px; }
.lmw-all summary, .lmw-miss summary { cursor: pointer; color: #00654f; font-size: 13.5px; }
.lmw-all ul { margin: 4px 0 0; padding-left: 18px; }
.lmw-miss { margin: 4px 0 12px; }
.lmw-miss summary { font-size: 15px; font-weight: 600; }
.lmw-foot { font-size: 13px; }
/* a phone: each row is a card, its cells labelled; week steps on one line, the views below */
@media (max-width: 700px) {
  .lmw-table, .lmw-table tbody, .lmw-table tr, .lmw-table td { display: block; width: 100%; }
  .lmw-table thead { display: none; }
  .lmw-table tr { border: 1px solid #e6e6e3; border-radius: 8px; padding: 6px 10px; margin: 0 0 10px; }
  .lmw-table td { border: 0; padding: 3px 0; }
  .lmw-table td.num { text-align: left; }
  .lmw-table td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: #5c5b57; }
  .lmw-table td:empty { display: none; }
  .lmw-total td:first-child { font-size: 15px; }
  .lmw-bar .lmsc-toggle { order: 3; }
  .lmw-bar .lmw-step { flex: 1 1 0; }
}

/* Explore lake view: the season's surveys as a band below the phase strip (lm_survey_band.js) */
.lml-surveys { margin: 8px 0 4px; }
.lml-band-legend.chart-header-legend { font-size: 15px; gap: 4px 12px; margin: 2px 0 2px; }
.lml-band { width: 100%; }
.lml-band-svg { display: block; }
.lml-chart-note { font-size: 14px; margin-top: 2px; }
/* a phase's surveys, in its text below the strip */
.lml-ph-surveys { margin-top: 5px; padding-top: 4px; border-top: 1px solid #e6e6e3; }
.lml-ph-surveys-head { font-weight: 600; margin-bottom: 2px; }
.lml-ph-surveys ul { margin: 0; padding-left: 16px; }
.lml-ph-surveys ul, .lml-ph-surveys li { font-size: 16px; line-height: 1.4; }
.lml-ph-surveys li { margin: 1px 0; }
