:root {
  --ink: #1c1c1c; --soft: #5d6066; --line: #dcdde0; --day1: #b8322a; --day2: #1d5fa6; --here: #0a7cff; --ok: #1f7a45; --sos: #c8102e; --cold: #0f6f9c; --aid: #7b1fa2;
  --top: calc(12px + env(safe-area-inset-top)); --right: calc(12px + env(safe-area-inset-right));
  --bottom: calc(12px + env(safe-area-inset-bottom)); --left: calc(12px + env(safe-area-inset-left));
}
html, body { height: 100%; margin: 0; }
[hidden] { display: none !important; }
body { font: 14px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); }
#map { position: fixed; inset: 0; background: #e2dfda; }
.leaflet-control-attribution { font-size: 10px; padding-left: calc(4px + env(safe-area-inset-left)); padding-bottom: env(safe-area-inset-bottom); }

/* Labels: each is moved to a clear spot beside its point, and is hidden when there is none. */
.label-anchor { pointer-events: none; }
.label { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; visibility: hidden; }
.label.shown { visibility: visible; }
/* The thin line from a label to its point: it starts at the point and is turned and stretched to the label. */
.leader { position: absolute; left: 0; top: 0; height: 1.5px; margin-top: -0.75px; transform-origin: 0 50%; opacity: 0.7; visibility: hidden; }
.leader.shown { visibility: visible; }

/* Place names */
.stop {
  padding: 3px 7px; border-radius: 4px; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.4);
  font: 600 13px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); text-align: center;
}
.stop small { display: none; font-size: 11px; font-weight: 400; }
.stop.close small { display: block; }

/* Summits: a small dark triangle on the road, grey on a stretch not being taken. Tapped, it shows a name with the elevation under it. */
.peak { display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.peak svg { display: block; width: 16px; height: 16px; overflow: visible; }
.peak path { fill: var(--ink); stroke: #fff; stroke-width: 3; stroke-linejoin: round; paint-order: stroke; }
.peak.off path { fill: #9b9ea4; }
.found { width: max-content; max-width: 190px; white-space: normal; } /* a long name takes a second line */
.summit, .found {
  padding: 2px 6px 3px; border-radius: 4px; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.35);
  font: 600 12px/1.25 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); text-align: center;
}
.summit small, .found small { display: block; font-size: 11px; font-weight: 400; color: var(--soft); font-variant-numeric: tabular-nums; }
.summit.off { color: var(--soft); }

/* A dot where there is gas along the road, by what is there: a gas stop small and grey, a town larger and ringed dark,
   a city the largest and dark all through. Pale on a road not being taken. It takes no tap. */
.dot { box-sizing: border-box; border-radius: 50%; pointer-events: none; }
.dot.gas { background: #fff; border: 1.5px solid #8a8d93; }
.dot.town { background: #fff; border: 2px solid var(--ink); }
.dot.city { background: var(--ink); border: 1.5px solid #fff; }
.dot.off { opacity: 0.45; }
.key .dot.gas { width: 5px; height: 5px; }
.key .dot.town { width: 8px; height: 8px; }
.key .dot.city { width: 11px; height: 11px; }

/* A road that could be taken instead: its name over the difference, on a chip beside it. */
.chip {
  pointer-events: auto; cursor: pointer; display: block; padding: 3px 8px 4px; border-radius: 9px; border: 1.5px solid; text-align: left;
  font: 12px/1.25 system-ui, -apple-system, "Segoe UI", sans-serif; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / 0.2);
}
.chip b, .chip span { display: block; }
.chip span { font-size: 11px; font-variant-numeric: tabular-nums; }
.chip.day1 { color: var(--day1); border-color: var(--day1); }
.chip.day2 { color: var(--day2); border-color: var(--day2); }

/* A chain control or a closed road: a band under its stretch of the road, and one round icon beside it that opens a short card. */
.ctl { pointer-events: auto; cursor: pointer; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ctl svg {
  box-sizing: border-box; display: block; width: 28px; height: 28px; padding: 2px; border: 2px solid #fff; border-radius: 50%; background: #c2185b; box-shadow: 0 1px 3px rgb(0 0 0 / 0.5);
  fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round;
}
.ctl.closed svg { background: var(--sos); stroke-width: 3.6; }
.ctl.off svg { background: #f1cfdd; stroke: #a8527a; } /* on a road not being taken: pale, as the road is */
.ctl.closed.off svg { background: #e9a3ae; stroke: #fff; }
.ctl.due svg { background: #fff; stroke: var(--sos); border: 2px dashed var(--sos); } /* a closure that has not started */
.ctl.old svg { border: 2px dashed var(--ink); } /* from a read that is no longer fresh */
/* The card of a control: a small white box beside its icon, placed there again whenever the icon moves. */
.roadcard {
  pointer-events: auto; box-sizing: border-box; width: 236px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 3px 14px rgb(0 0 0 / 0.4);
  font: 13px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); text-align: left; white-space: normal;
}
.roadcard b { display: block; font-size: 17px; }
.roadcard p { margin: 4px 0 0; }
.roadcard .fine { color: var(--soft); font-size: 12px; }
.roadcard a { display: inline-block; margin-top: 6px; color: var(--ink); font-size: 12px; font-weight: 600; }
/* The weather beside the road: a temperature, with a snowflake or ICE, over when it is for. A tap opens the rest. */
.wx {
  pointer-events: auto; cursor: pointer; display: block; padding: 2px 6px; border: 0; border-radius: 8px; text-align: center;
  font: 12px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.3);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.wx b { display: flex; align-items: center; justify-content: center; gap: 3px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.wx svg { width: 11px; height: 11px; color: var(--cold); }
.wx i { padding: 1px 4px; border-radius: 4px; color: #fff; background: #a3261f; font: 800 9px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0.04em; }
.wx small { display: block; font-size: 10px; color: var(--soft); }
.wx small:empty { display: none; }
.cold { color: var(--cold); }
.wxcard p { margin: 0; }
.wxcard .temp { font-size: 15px; }
.wxcard .temp b { font-size: 22px; line-height: 1.25; }
.wxcard .fine { margin-top: 5px; color: var(--soft); font-size: 12px; }
.wxcard a { color: var(--ink); }

/* Small round controls in the corners */
.round {
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--ink); background: #fff; box-shadow: 0 1px 6px rgb(0 0 0 / 0.3);
  font: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.round svg { width: 22px; height: 22px; }
#corner { position: fixed; z-index: 1000; top: var(--top); right: var(--right); display: grid; gap: 8px; }
#about i { font: italic 700 19px/1 Georgia, "Times New Roman", serif; }

#offline .check, #offline #offline-percent { display: none; }
#offline[data-state="pending"] { color: #9a9da3; }
#offline[data-state="detailed"] { color: var(--ok); }
#offline[data-state="detailed"] .arrow { display: none; }
#offline[data-state="detailed"] .check { display: block; }
#offline[data-state="saving"] { background: conic-gradient(var(--here) calc(var(--progress, 0) * 1turn), #d8dade 0); }
#offline[data-state="saving"] .arrow { display: none; }
#offline[data-state="saving"] #offline-percent {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff;
  font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums;
}

/* The position: an arrowhead that points the way of travel. The compass needle points north. */
.cursor svg { display: block; width: 34px; height: 34px; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.45)); }
#north svg { width: 26px; height: 26px; }
.stop.next { color: var(--here); }

/* SOS, alone in its own corner so it is not hit by a tap meant for another control. It asks before dialing. */
#sos {
  position: fixed; z-index: 1000; top: var(--top); left: var(--left); width: 48px; height: 48px; padding: 0; border: 2px solid #fff; border-radius: 50%;
  cursor: pointer; color: #fff; background: var(--sos); box-shadow: 0 1px 6px rgb(0 0 0 / 0.35);
  font: 800 13px/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0.04em; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
/* SOS opens into circles: close takes the SOS button's place and the circles come out from it, on an arc around it.
   Each circle sits at its offset (--x, --y) from the SOS centre and grows out from the centre when it opens. */
#sos-panel {
  position: fixed; top: var(--top); left: var(--left); right: auto; bottom: auto; width: 48px; height: 48px; margin: 0; padding: 0; border: 0;
  overflow: visible; background: none; color: var(--ink);
}
#sos-panel::backdrop { background: rgb(20 20 20 / 0.5); }
#sos-panel form { margin: 0; }
#sos-panel form button {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid #fff; border-radius: 50%; cursor: pointer;
  color: var(--ink); background: #fff; box-shadow: 0 1px 6px rgb(0 0 0 / 0.35); -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
#sos-panel form button svg { width: 22px; height: 22px; }
#sos-panel a {
  position: absolute; left: calc(24px + var(--x) - 28px); top: calc(24px + var(--y) - 28px); width: 56px; height: 56px;
  color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
#sos-panel[open] a { animation: sos-out 180ms cubic-bezier(0.2, 0.8, 0.3, 1.2) both; }
@keyframes sos-out { from { transform: translate(calc(-1 * var(--x)), calc(-1 * var(--y))) scale(0.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #sos-panel[open] a { animation: none; } }
#sos-panel .dot {
  box-sizing: border-box; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  color: #fff; font: 700 16px/1 system-ui, -apple-system, "Segoe UI", sans-serif; box-shadow: 0 2px 8px rgb(0 0 0 / 0.4);
}
/* Roadside's word, beside its circle on the outside of the arc, in the white tag the map's place names use. */
#sos-panel .cap {
  position: absolute; top: 50%; left: calc(100% + 6px); transform: translateY(-50%); padding: 2px 7px; border-radius: 4px;
  color: var(--ink); background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.4); font: 600 12px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; white-space: nowrap;
}
/* On an arc of 170px around the SOS centre, a circle every 30 degrees from beside it to below it: 911 first, a ride last. */
#sos-911 { --x: 170px; --y: 0px; }
#sos-roadside { --x: 147px; --y: 85px; }
#sos-uber { --x: 85px; --y: 147px; }
#sos-lyft { --x: 0px; --y: 170px; }
#sos-911 .dot { background: var(--sos); font-size: 19px; font-weight: 800; letter-spacing: 0.02em; }
#sos-roadside .dot { color: #111; background: #fff; border: 2px solid #111; }
#sos-roadside .dot svg { width: 34px; height: 34px; }
#sos-uber .dot { background: #000; font-size: 15px; font-weight: 600; }
#sos-lyft .dot { background: #ff00bf; font-size: 17px; font-weight: 800; font-style: italic; }
/* The one line about no service, white on the dimmed map under the circles. */
#sos-panel p {
  position: absolute; top: 250px; left: 0; width: min(260px, calc(100vw - var(--left) - var(--right))); margin: 0;
  color: #fff; font-size: 13px; line-height: 1.35; text-shadow: 0 1px 3px rgb(0 0 0 / 0.6);
}

/* The one bar along the bottom, from edge to edge and thin: the words, the Next button and the locate button in one row. */
#bar {
  position: fixed; z-index: 1000; left: var(--left); right: var(--right); bottom: calc(var(--bottom) + 14px); box-sizing: border-box; max-width: 460px;
  display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 1px 6px rgb(0 0 0 / 0.3);
  font-size: 13px; font-variant-numeric: tabular-nums;
}
#bar p { margin: 0; }
#bar .base { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; }
#bar .info { flex: 1; min-width: 0; margin-right: 2px; }
/* With no position: each day's miles, side by side. */
#bar[data-mode="plan"] .info { display: flex; flex-wrap: wrap; column-gap: 16px; font-size: 14px; line-height: 19px; }
#bar .day { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
#bar .day b { font-weight: 400; color: var(--soft); }
#bar .day b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--day1); }
#bar .day[data-day="2"] b::before { background: var(--day2); }
#bar .day span { font-weight: 600; }
/* On the road, two rows with a hairline between: the countdown and the rest to spend, the next town and the miles left.
   What is beside each is at the right. One that has no room goes to a second line that is cut off, so it is whole or not there. */
#bar .head, #bar .line { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: space-between; column-gap: 8px; overflow: hidden; white-space: nowrap; }
#bar .head { height: 18px; line-height: 18px; }
#bar .head b { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
#bar .head span { font-weight: 600; color: var(--ok); }
#bar[data-leave] .head b { font-size: 14px; } /* "Leave 7 AM Dec 19" is longer than a countdown: the margin beside it still has to fit */
#bar .strip { height: 3px; margin: 2px 0; border-radius: 2px; background: #b5dfc3; overflow: hidden; } /* the daylight left: driving, then rest */
#bar .strip i { display: block; height: 100%; background: var(--day1); }
#bar[data-day="2"] .strip i { background: var(--day2); }
#bar .line { height: 16px; line-height: 16px; }
#bar .line b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-weight: 600; } /* the next town and when */
#bar .line span { color: var(--soft); }
#bar[data-mode="note"] .line, #bar.off .line { display: block; height: auto; white-space: normal; font-weight: 600; } /* word on the position, and the warning off the path, take the lines they need */
#bar[data-mode="note"] .line { padding: 3px 0; }
#bar.late .head b, #bar.late .head span { color: #a3261f; }
#bar.late .strip i { background: #a3261f; }
#bar.off { color: #fff; background: #a3261f; }
#bar.off .head b, #bar.off .head span, #bar.off .line b { color: #fff; }

/* Next and the locate button, the two pieces at the right of the bar. They are quiet until used. */
#bar .more, #locate {
  flex: none; display: flex; align-items: center; justify-content: center; height: 40px; padding: 0; border: 0; border-radius: 20px; cursor: pointer;
  color: var(--ink); background: #eceef1; font: 600 14px/1 system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
#bar .more { gap: 5px; padding: 0 10px 0 13px; }
#bar .more svg { width: 12px; height: 8px; }
#bar .more[aria-expanded="true"] { color: #fff; background: var(--ink); }
#bar .more[aria-expanded="true"] svg { transform: rotate(180deg); }
#locate { width: 40px; color: #7b7e85; }
#bar > #locate { margin: 6px 6px 6px auto; } /* before the words are in */
#locate svg { width: 20px; height: 20px; }
#locate[data-mode="on"] { color: var(--here); }
#locate[data-mode="follow"] { color: #fff; background: var(--here); }
#bar.off .more { color: #a3261f; background: #fff; }
#bar.off #locate { color: #fff; background: rgb(255 255 255 / 0.2); }
#bar.off #locate[data-mode="follow"] { color: var(--here); background: #fff; }

/* Next opens the bar upward on a row a kind of stop, soonest first: an icon, the kind, and how long until the next one.
   Under the rows is the rest of what the bar knows: the driving left, and how far the next town is. */
/* The start of each day: a time to pick, with the light there and the end of the drive under it. */
#bar .leave { padding: 6px 14px 2px; border-bottom: 1px solid var(--line); }
#bar .when { display: grid; grid-template-columns: 52px auto; justify-content: start; column-gap: 10px; align-items: center; padding: 3px 0 6px; }
#bar .when label { font-weight: 600; }
#bar .when input { font: inherit; font-weight: 600; color: var(--ink); background: #f1efeb; border: 0; border-radius: 9px; padding: 5px 8px; min-width: 112px; }
#bar .when small { grid-column: 2; color: var(--soft); font-size: 12px; line-height: 15px; }
#bar .info.startable { cursor: pointer; }
#bar .info.startable .head b { text-decoration: underline dotted; text-underline-offset: 3px; }
#bar.off .leave { border-color: rgb(255 255 255 / 0.4); }
#bar .nexts { padding-top: 4px; border-bottom: 1px solid var(--line); }
#bar .next {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; box-sizing: border-box; width: 100%; height: 44px;
  padding: 0 16px 0 14px; border: 0; color: var(--ink); background: none; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
#bar .next svg { display: block; width: 24px; height: 24px; }
#bar .next .what { display: grid; min-width: 0; }
#bar .next b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#bar .next small { color: var(--soft); font-size: 11px; }
#bar .next small:empty { display: none; }
#bar .next .far { font-size: 14px; font-weight: 600; }
#bar .next[aria-pressed="true"] svg, #bar .next[aria-pressed="true"] small { color: var(--ok); }
#bar .next[data-kind="hospital"] svg, #bar .next[data-kind="hospital"][aria-pressed="true"] small, #bar .line.aid b { color: var(--aid); } /* the hospital, and the road to it, have a colour of their own */
#bar .next:disabled { cursor: default; color: #9a9da3; }
#bar .next:disabled b { font-weight: 400; }
#bar .next:active:enabled { background: #f0f1f3; }
#bar .detail { padding: 7px 14px 0; color: var(--soft); font-size: 12px; line-height: 16px; }
#bar.off .next, #bar.off .next small, #bar.off .next:disabled, #bar.off .next[aria-pressed="true"] svg, #bar.off .next[data-kind="hospital"] svg, #bar.off .next[data-kind="hospital"] small, #bar.off .detail { color: #fff; }
#bar.off .nexts { border-color: rgb(255 255 255 / 0.4); }
#bar.off .next:active:enabled { background: rgb(255 255 255 / 0.15); }

/* A narrow phone: a little less room around the words. */
@media (max-width: 374px) {
  #bar .base { padding-left: 10px; gap: 4px; }
  #bar .info { margin-right: 0; }
  #bar .head, #bar .line { column-gap: 6px; }
  #bar .head b { font-size: 14px; }
  #bar .head span { font-size: 12px; }
  #bar .more { gap: 4px; padding: 0 7px 0 9px; }
}

/* A small popover beside the corner buttons. It closes when anything outside it is tapped. */
#pop {
  position: fixed; z-index: 1001; top: var(--top); right: calc(var(--right) + 52px); width: min(250px, calc(100vw - 100px));
  padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 2px 12px rgb(0 0 0 / 0.3); font-size: 13px;
}
#pop p { margin: 0 0 7px; }
#pop p:last-child { margin-bottom: 0; }
#pop .fine { color: var(--soft); font-size: 12px; }
#pop button { font: inherit; font-weight: 600; color: #fff; background: var(--ink); border: 0; border-radius: 9px; padding: 8px 12px; cursor: pointer; }
#pop button:disabled { opacity: 0.6; cursor: default; }
#pop button + p { margin-top: 7px; }
#pop progress { width: 100%; height: 8px; }
#pop button.plain { display: block; margin: 0 0 9px; padding: 0; color: var(--ink); background: none; text-align: left; text-decoration: underline; }

/* The legend in the about popover: each mark as it is drawn on the map, beside what it is. */
.key { margin: 0 0 9px; padding: 0 0 7px; border-bottom: 1px solid var(--line); list-style: none; }
.key li { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 10px; align-items: center; min-height: 27px; }
.key .swatch { display: grid; place-items: center; }
.key b { font-weight: 600; }
.key small { margin-left: 6px; color: var(--soft); font-size: 12px; }
.key .when { display: block; min-height: 0; margin: 8px 0 3px; color: var(--soft); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.key .road { width: 30px; height: 5px; border-radius: 3px; background: var(--c); opacity: 0.95; }
.key .road.faint { height: 3px; opacity: 0.4; background: linear-gradient(90deg, var(--day1) 50%, var(--day2) 50%); }
.key .road.edge { box-shadow: 0 0 0 3.5px #f0a202; }
.key .road.dark { box-shadow: 0 0 0 3.5px rgb(28 37 65 / 0.55); }
.key .cam, .key .wx, .key .ctl { cursor: default; }
.key .ctl { width: 28px; height: 28px; }

/* A road camera: a small square on the map, with room around it for a finger */
.cam { display: grid; place-items: center; cursor: pointer; }
.cam::before {
  content: ""; width: 9px; height: 9px; border-radius: 3px; border: 2px solid #fff;
  background: radial-gradient(circle, #fff 0 1.4px, var(--ink) 2px); box-shadow: 0 1px 3px rgb(0 0 0 / 0.5);
}
.campop .leaflet-popup-content { margin: 8px; font: 13px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); }
.campop .leaflet-popup-content-wrapper { border-radius: 12px; }
/* The picture is the way to the live camera. Nothing is drawn over it. */
.camcard .shot { display: block; border-radius: 7px; overflow: hidden; background: #d8dade; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.camcard .shot img { display: block; width: 100%; height: auto; }
.camcard[data-state="loading"] .shot img { aspect-ratio: 16 / 13; }
.camcard p { margin: 0; }
.camcard b { display: block; margin-top: 7px; }
.camcard .fine { color: var(--soft); font-size: 12px; }
.camcard a { color: var(--ink); }
.camcard .failed { display: none; }
.camcard[data-state="failed"] .shot { display: none; }
.camcard[data-state="failed"] .failed { display: block; }
/* The cameras that share a square, each a small picture. The one shown large is outlined. */
.camcard .views { display: flex; gap: 6px; margin-top: 7px; }
.camcard .views:empty { display: none; }
.camcard .small { flex: 1 1 0; max-width: 96px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 7px; overflow: hidden; background: #d8dade; cursor: pointer; }
.camcard .small img { display: block; width: 100%; height: 100%; object-fit: cover; }
.camcard .small[aria-pressed="true"] { border-color: var(--ink); }

/* Traffic: a card about the road where it was tapped. The hours of the day are thin bars, as tall as the road is full. */
/* What is at a dot: its name over a row a kind, each an icon, the kind and the names on one line. */
.place > b { display: block; font-size: 14px; }
.place p { display: grid; grid-template-columns: 16px max-content minmax(0, max-content) max-content; column-gap: 7px; align-items: center; justify-content: start; margin: 5px 0 0; }
.place svg { display: block; width: 16px; height: 16px; }
.place span { overflow: hidden; color: var(--soft); white-space: nowrap; text-overflow: ellipsis; }
.place i { color: var(--soft); font-style: normal; font-variant-numeric: tabular-nums; }
.traffic p { margin: 3px 0 0; }
.traffic > b { display: block; }
.traffic .fine { color: var(--soft); font-size: 12px; }
