/* Measure the Earth with your shadow (/learn/measure-the-earth, ADR 0101),
   light theme, on top of learn.css. measure-earth-dark.css overrides it for
   the dark theme; night vision is the site-wide filter (ADR 0086). */

.me-today, .me-campaign { margin: 8px 0 0; line-height: 1.5; }
.me-today { font-weight: 600; }
.me-campaign { color: var(--muted); }

/* ---- Measuring ---- */
.me-steps { margin: 0 0 14px; padding-left: 1.3em; line-height: 1.55; }
.me-steps li + li { margin-top: 4px; }
.me-form { margin: 0; }
.me-form[hidden] { display: none; }
.me-place { margin: 0 0 10px; color: var(--muted); }
.me-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px 14px; margin: 0 0 12px; }
.me-fields label { display: grid; gap: 4px; font-size: 0.88rem; color: var(--muted); }
.me-fields input {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 10px;
  min-height: 38px;
  min-width: 0;
}
.me-fields input:focus-visible { outline: 2px solid var(--accent-moon); outline-offset: 1px; }
.me-choice { border: 0; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.me-choice legend { float: left; margin-right: 10px; font-size: 0.88rem; color: var(--muted); padding: 0; }
.me-choice label { display: inline-flex; gap: 6px; align-items: center; min-height: 32px; }
.me-choice input { accent-color: var(--accent-moon); margin: 0; }
.me-buttons { margin: 8px 0 0; }
.me-buttons .lx-btn { font-size: 0.95rem; padding: 8px 18px; }
.me-status { margin: 8px 0 0; color: var(--muted); min-height: 1.2em; }
.me-status.me-bad { color: var(--lx-accent); }

.me-result { margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--lx-panel); border: 1px solid var(--line); }
.me-result[hidden], .me-remove[hidden], .me-receipt[hidden] { display: none; }
.me-numbers p { margin: 0 0 8px; line-height: 1.55; }
.me-big { font-size: 1.35rem; font-weight: 700; }
.me-bad { color: var(--lx-accent); }
.me-receipt { margin: 10px 0 0; }
.me-receipt input { width: 100%; font: inherit; font-size: 0.85rem; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); }

/* ---- The world's answer ---- */
.me-campaigns { margin: 0 0 10px; }
.me-summary { margin: 0 0 12px; line-height: 1.55; font-weight: 600; }
.me-chart { margin: 0 0 12px; }
.me-svg { display: block; width: 100%; height: 340px; }
@media (max-width: 560px) { .me-svg { height: 260px; } }
.me-dot { fill: var(--accent-moon); fill-opacity: 0.8; }
.me-dot.me-mine { fill: var(--accent-sun); stroke: var(--text); stroke-width: 1.5; }
.me-dot.me-out { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.me-fit { stroke: var(--lx-accent); stroke-width: 2.5; }
.me-truth { stroke: #1f8f6e; stroke-width: 1.5; stroke-dasharray: 5 4; }
.me-zero { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 2 3; }
.me-list { list-style: none; margin: 0 0 12px; padding: 0; columns: 3 160px; column-gap: 20px; font-size: 0.88rem; }
.me-list[hidden] { display: none; }
.me-list li { break-inside: avoid; padding: 2px 0; }
.me-list .me-n { color: var(--muted); }
.me-data { color: var(--muted); font-size: 0.88rem; margin: 0; }
