/* ============================================================================
   ROUTE MAP: a business trip's small quiet map (Peter, 8 Oct 2026)
   Drawn by src/js/payroll-expenses.js from the route /api/distance answers,
   over a faint outline of the island (src/data/ireland-outline.js, Natural
   Earth, public domain). Only in the trip drawer and on the mileage receipt
   document, never in a list. Calm on purpose: pale water, paler land, the
   route as ONE line, a dot at each end, the two place names and nothing else.
   No route = the slot stays empty and takes no room.
   ============================================================================ */
.route-map:empty { display: none; }
.route-map { margin: 4px 0 2px; }
.route-map svg {
  display: block;
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-info) 7%, var(--color-surface));   /* pale water */
}
.route-map__land {
  fill: var(--color-bg-subtle-light);
  stroke: color-mix(in srgb, var(--color-info) 16%, var(--color-surface));
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.route-map__route {
  fill: none;
  stroke: var(--color-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.route-map__route--demo { stroke-dasharray: 5 5; stroke: var(--color-text-muted); }
.route-map__dot { fill: var(--color-text); }
.route-map__dot--from { fill: var(--color-surface); stroke: var(--color-text); stroke-width: 1.5; }
.route-map__lbl {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  fill: var(--color-text-muted);
  paint-order: stroke;
  stroke: var(--color-bg-subtle-light);
  stroke-width: 3px;
  stroke-linejoin: round;
}
.route-map__cap {
  margin: 6px 0 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
/* on the receipt document: a touch of room above and below */
.route-map--doc { margin: 20px 0 4px; }
