/* Road work on the console's maps (roadWork.js): the coverage chip and the card a sign opens.
   On the console's tokens; amber only when part or all of the view could not be checked. */

.rw-chip.maplibregl-ctrl { display: flex; align-items: center; gap: 6px; max-width: min(260px, calc(100vw - 96px)); min-height: 32px;
  padding: 4px 10px 4px 6px; border-radius: 999px; background: var(--card); color: var(--dim); box-shadow: 0 1px 4px rgba(0,0,0,.25);
  font-size: 12.5px; line-height: 1.3; font-variant-numeric: tabular-nums; pointer-events: none; }
.rw-chip img { flex: none; }
.rw-chip.is-warn { color: var(--amber); }

.rw-pop .maplibregl-popup-content { background: var(--card); color: var(--text); border-radius: 16px; padding: 14px 16px 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,.28); }
.rw-pop .maplibregl-popup-tip { display: none; }
.rw-pop .maplibregl-popup-close-button { width: 44px; height: 44px; top: 2px; right: 2px; border-radius: 50%; color: var(--dim); font-size: 22px; }
.rw-pop .maplibregl-popup-close-button:hover { background: var(--raised-2); color: var(--text); }
.rw-card { display: flex; flex-direction: column; gap: 10px; width: 300px; max-width: calc(100vw - 48px); max-height: 60vh; overflow-y: auto; font-size: 14px; }
.rw-head { display: flex; align-items: center; gap: 12px; padding-right: 36px; }
.rw-head div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rw-head b { font-size: 18px; font-weight: 600; }
.rw-dim { margin: 0; color: var(--dim); font-size: 13px; }
.rw-rows { display: flex; flex-direction: column; margin: 0; }
.rw-rows dt { padding-top: 8px; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: 12.5px; }
.rw-rows dd { margin: 2px 0 8px; overflow-wrap: anywhere; white-space: pre-line; }
.rw-legal { margin: 0; color: var(--dim); font-size: 11.5px; line-height: 1.45; white-space: pre-line; }
