/* CityCounts — gaps in the record (LAND_GAPS_1). One marker, one coverage strip, used on every page.
   Ink only: a gap is neither good nor bad, so it never takes For/Against colour and never takes red. */

/* the marker: open ring + sentence-case words (tags like DRAFT are CityCounts' own status, in caps; a gap is the record's) */
.gap { vertical-align: 1px; }   /* the look is the site's one chip (cc.css) */
.gap .gap-ring { width: 13px; height: 13px; flex: none; color: var(--ink-3); }
.gap.sm .gap-ring { width: 12px; height: 12px; }
.gap-only { display: inline-grid; place-items: center; width: 16px; height: 16px; color: var(--ink-3); cursor: default; vertical-align: -3px; }
.gap-only .gap-ring { width: 14px; height: 14px; }
.gap-only:hover { color: var(--ink); }
.gaps { display: flex; flex-wrap: wrap; gap: 6px; }

/* the coverage strip: what share of the items on this page the record gives each thing for */
.cov { display: grid; gap: 3px; }
.cov-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 11px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 6px; margin-bottom: 3px; border-bottom: 1px solid var(--line); }
.cov-sub { text-transform: none; letter-spacing: 0; font-weight: 450; font-size: 12px; }
.cov-r { display: grid; grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1.25fr) 16px; gap: 10px; align-items: center; min-height: 22px; font-size: 13px; }
.cov-l { line-height: 1.25; }
.cov-n { text-align: right; color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.cov-n b { color: var(--ink); font-weight: 650; font-size: 13px; }
.cov-cells { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 1px; height: 12px; }
.cov-c { display: block; border-radius: 1px; box-shadow: inset 0 0 0 1px var(--line-2); background: transparent; }
.cov-c.on { background: var(--ink-2); box-shadow: none; }
.cov-c:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.cov-c.dim { opacity: .25; }
.cov-bar { display: block; height: 10px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.cov-bar i { display: block; height: 100%; background: var(--ink-2); }
.cov-foot { font-size: 12px; color: var(--ink-3); padding-top: 6px; line-height: 1.45; }
.cov-r.one, .cov.stack .cov-r.one { grid-template-columns: minmax(0, 1fr) auto; margin-bottom: 0; min-height: 28px; border-bottom: 1px solid var(--line); }
.cov-r.one:last-child { border-bottom: 0; }
.cov-r.one > .gap { justify-self: start; }
.cov-yes { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-2); }
.cov-yes svg { width: 12px; height: 12px; }
.cov.compact .cov-r { grid-template-columns: 170px 62px minmax(0, 1fr) 16px; }
.cov.stack .cov-r { grid-template-columns: minmax(0, 1fr) 58px 16px; row-gap: 3px; margin-bottom: 4px; }
.cov.stack .cov-cells, .cov.stack .cov-bar { grid-column: 1 / -1; grid-row: 2; }

@media (max-width: 860px) {
  .cov-r, .cov-r.one, .cov.stack .cov-r.one { grid-template-columns: minmax(0, 1fr) auto; margin-bottom: 0; min-height: 28px; border-bottom: 1px solid var(--line); }
.cov-r.one:last-child { border-bottom: 0; }
.cov-r.one > .gap { justify-self: start; }
.cov-yes { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-2); }
.cov-yes svg { width: 12px; height: 12px; }
.cov.compact .cov-r { grid-template-columns: minmax(0, 1fr) 58px 16px; row-gap: 3px; }
  .cov-r .cov-cells, .cov-r .cov-bar { grid-column: 1 / -1; grid-row: 2; }
}

/* money-who: the coverage strip sits in its own slim card under the header */
.mcov { padding: 12px 22px 10px; margin-bottom: 14px; }
.mcov .cov.compact .cov-r { grid-template-columns: minmax(0, 330px) 62px minmax(0, 360px) 16px; }
@media (max-width: 860px) { .mcov { padding: 12px 14px; } .mcov .cov.compact .cov-r { grid-template-columns: minmax(0, 1fr) 58px 16px; } }

/* a marker with its detail printed beside it (nothing hover-only) */
.gapw { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; max-width: 100%; }
.gap-d { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); white-space: normal; min-width: 0; overflow-wrap: anywhere; }
.gap-s { color: var(--ink-3); }
.cov-d { font-size: 12px; line-height: 1.45; color: var(--ink-2); padding: 0 0 6px; border-bottom: 1px solid var(--line); }
