/* Local Intelligence (UI). Sits on the copy's CEC3 language (cec.css): black/white/red, Lato, white rounded cards, KPI tiles, pill tabs.
   All selectors are prefixed li- or scoped to .li-page. Hyphens only in copy. */

body.ux.cec .li-page { --li-ink: #121314; --li-line: var(--c-line, rgba(18,19,20,.10)); --li-soft: #f6f6f4; }
body.ux.cec .li-page .wrap { max-width: 1220px; margin: 0 auto; padding-left: 1.75rem; padding-right: 1.75rem; }
body.ux.cec .li-page .wrap > .cec-card, body.ux.cec .li-page .wrap > .li-ov-grid, body.ux.cec .li-page .wrap > .li-feats { margin-bottom: 1.25rem; }
body.ux.cec .li-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.ux.cec .li-page .r { text-align: right; }
body.ux.cec .li-page .tnum { font-variant-numeric: tabular-nums; }
body.ux.cec .li-page :focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- hero ---------- */
body.ux.cec .li-hero { margin: 1.6rem 0 1.1rem; padding: 2.1rem 2.2rem; border-radius: 22px; color: #fff; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.8rem; align-items: end;
  background: radial-gradient(120% 140% at 100% 0%, rgba(200,16,46,.30) 0%, rgba(200,16,46,0) 55%), linear-gradient(180deg, #1b1c1e, #050506); box-shadow: var(--c-sh-md); position: relative; overflow: hidden; }
body.ux.cec .li-hero::after { content: ""; position: absolute; inset: auto -60px -90px auto; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(255,255,255,.10); box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 80px rgba(255,255,255,.02); pointer-events: none; }
body.ux.cec .li-hero .eyebrow { color: #ff7a8d; }
body.ux.cec .li-hero h1 { color: #fff; font-weight: 300; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); line-height: 1.1; margin: 0.4rem 0 0.5rem; overflow-wrap: anywhere; }
body.ux.cec .li-hero .li-name { font-weight: 900; }
body.ux.cec .li-hero .li-tag { color: #fff; font-size: 1.15rem; font-weight: 400; margin: 0 0 0.6rem; opacity: .92; }
body.ux.cec .li-hero .li-desc { color: rgba(255,255,255,.78); margin: 0 0 0.7rem; max-width: 60ch; }
body.ux.cec .li-hero .li-geoline { color: rgba(255,255,255,.9); margin: 0; font-size: 0.9rem; }
body.ux.cec .li-hero .li-geoline strong { color: #fff; }
body.ux.cec .li-hero-s { position: relative; z-index: 1; }
body.ux.cec .li-hero-s label { display: block; font-size: 0.74rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 0.4rem; }
body.ux.cec .li-sbox, body.ux.cec .li-bigsearch { display: flex; gap: 0.5rem; }
body.ux.cec .li-sbox .ux-input, body.ux.cec .li-bigsearch .ux-input, body.ux.cec .li-hero input[type=search], body.ux.cec .li-hero input[type=text] { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 1.1rem; font-size: 1rem; color: var(--li-ink); background: #fff; border: 1px solid transparent; border-radius: 999px; }
body.ux.cec .li-sbox .btn, body.ux.cec .li-bigsearch .btn { height: 48px; justify-content: center; white-space: nowrap; border: 0; cursor: pointer; font-family: inherit; font-size: 0.95rem; }
body.ux.cec .li-hero-land { grid-template-columns: minmax(0, 1fr); align-items: start; padding: 2.6rem 2.4rem; }
body.ux.cec .li-hero-land .li-hero-t { max-width: 760px; position: relative; z-index: 1; }
body.ux.cec .li-bigsearch { margin: 1.1rem 0 0.9rem; max-width: 640px; }
body.ux.cec .li-bigsearch .ux-input { height: 54px; font-size: 1.05rem; }
body.ux.cec .li-bigsearch .btn { height: 54px; padding: 0 1.6rem; }
body.ux.cec .li-egs { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,.7); }
body.ux.cec .li-eg-chip, body.ux.cec .cec-page .li-eg-chip { display: inline-block; padding: 0.38rem 0.9rem; border-radius: 999px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); color: #fff; font-weight: 700; font-size: 0.86rem; text-decoration: none; transition: background 200ms var(--c-ease), color 200ms var(--c-ease); }
body.ux.cec .li-eg-chip:hover, body.ux.cec .cec-page .li-eg-chip:hover { background: #fff; color: var(--li-ink); }
body.ux.cec .li-eg-chip small { opacity: .7; font-weight: 400; }
body.ux.cec .li-spread { margin: 0 0 0.9rem; padding: 0.7rem 1rem; background: #fff; border: 1px solid var(--li-line); border-left: 3px solid var(--c-accent); border-radius: 12px; font-size: 0.9rem; color: #2b2d31; }

/* ---------- geography chips, nearby, tabs ---------- */
body.ux.cec .li-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: stretch; margin: 0 0 0.8rem; }
body.ux.cec .li-chips-h { align-self: center; font-size: 0.74rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent); padding-right: 0.3rem; }
body.ux.cec .li-chip, body.ux.cec .cec-page a.li-chip { display: flex; flex-direction: column; gap: 0.05rem; padding: 0.5rem 0.95rem; border-radius: 14px; background: #fff; border: 1px solid var(--li-line); box-shadow: var(--c-sh-sm); text-decoration: none; color: var(--li-ink); min-width: 0; max-width: 100%; transition: transform 200ms var(--c-ease), box-shadow 200ms var(--c-ease); }
body.ux.cec a.li-chip:hover { transform: translateY(-1px); box-shadow: var(--c-sh-md); color: var(--li-ink); }
body.ux.cec .li-chip small { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; color: var(--c-accent); }
body.ux.cec .li-chip b { font-weight: 700; font-size: 0.92rem; overflow-wrap: anywhere; }
body.ux.cec .li-chip em { font-style: normal; font-size: 0.72rem; color: var(--ux-muted); }
body.ux.cec .li-chip.on, body.ux.cec .cec-page a.li-chip.on { background: var(--li-ink); border-color: var(--li-ink); color: #fff; }
body.ux.cec .li-chip.on small { color: #ff8da0; } body.ux.cec .li-chip.on em { color: rgba(255,255,255,.7); }
body.ux.cec .li-near { margin: 0 0 0.9rem; }
body.ux.cec .li-near summary, body.ux.cec .li-how summary, body.ux.cec .li-tbl summary, body.ux.cec .li-meth summary { cursor: pointer; font-weight: 700; font-size: 0.82rem; color: var(--c-accent-ink); list-style: none; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0; }
body.ux.cec .li-near summary::before, body.ux.cec .li-how summary::before, body.ux.cec .li-tbl summary::before, body.ux.cec .li-meth summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 200ms var(--c-ease); margin-right: 0.15rem; }
body.ux.cec details[open] > summary::before { transform: rotate(45deg); }
body.ux.cec .li-near summary::-webkit-details-marker, body.ux.cec .li-how summary::-webkit-details-marker { display: none; }
body.ux.cec .li-near ul { list-style: none; margin: 0.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; }
body.ux.cec .li-near li { background: #fff; border: 1px solid var(--li-line); border-radius: 999px; padding: 0.2rem 0.75rem; font-size: 0.84rem; }
body.ux.cec .li-near small { color: var(--ux-muted); }
body.ux.cec .li-nav { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem 1rem; flex-wrap: wrap; margin: 0.4rem 0 1.25rem; }
body.ux.cec .li-nav .cec-tabs { margin: 0; }
body.ux.cec .li-tools { display: flex; gap: 0.5rem; flex-wrap: wrap; }
body.ux.cec .li-tools .btn { padding: 0.5rem 1.05rem; font-size: 0.86rem; }
body.ux.cec .li-note { margin: 0 0 1.25rem; }

/* ---------- cards, tiles ---------- */
body.ux.cec .li-card .li-lede, body.ux.cec .li-lede { margin: -0.3rem 0 1rem; color: #2f3236; max-width: 70ch; }
body.ux.cec .li-card h3 { font-size: 0.78rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ux-ink-2); margin: 1.6rem 0 0.6rem; }
body.ux.cec .li-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.9rem; margin: 0 0 0.6rem; }
body.ux.cec .li-tile { background: var(--li-soft); box-shadow: none; padding: 1rem 1.1rem; min-width: 0; }
body.ux.cec .li-tile .kpi-num { font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2rem); overflow-wrap: anywhere; }
body.ux.cec .li-tile .kpi-label { overflow-wrap: anywhere; }
body.ux.cec .li-geo { display: inline-block; margin-top: 0.4rem; padding: 0.15rem 0.6rem; background: var(--c-accent-tint); color: var(--c-accent-ink); border-radius: 999px; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
body.ux.cec .li-geo-line { margin: 0 0 0.5rem; }
body.ux.cec .li-cmp { margin-top: 0.55rem; font-size: 0.8rem; color: #3a3c40; line-height: 1.45; }
body.ux.cec .li-cmp strong { display: block; font-weight: 700; color: var(--li-ink); }
body.ux.cec .li-cmp-vals { color: var(--ux-muted); display: flex; flex-wrap: wrap; gap: 0 0.8rem; } body.ux.cec .li-cmp small { opacity: .8; }
body.ux.cec .li-cap, body.ux.cec .li-fine { font-size: 0.8rem; color: var(--ux-muted); line-height: 1.5; margin: 0.5rem 0 0; }
body.ux.cec .li-fine { margin-top: 0.15rem; }
body.ux.cec .li-intro { margin: 0 0 0.9rem; color: #2f3236; max-width: 75ch; }
body.ux.cec .li-glance { font-size: 1.12rem; line-height: 1.65; color: var(--li-ink); max-width: 75ch; margin: 0; }
body.ux.cec .li-intro-card .cec-card-h h2 { font-size: 1.3rem; }
body.ux.cec .li-missing { margin: -0.4rem 0 1.25rem; font-size: 0.85rem; color: var(--ux-muted); }
body.ux.cec .li-stage { display: inline-block; margin: 1rem 0 0; padding: 0.3rem 0.8rem; border-radius: 999px; background: #fff; border: 1px dashed var(--c-accent); font-size: 0.78rem; color: var(--c-accent-ink); }
body.ux.cec .li-stage strong { font-weight: 700; }

/* overview cards */
body.ux.cec .li-ov-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
body.ux.cec .li-ov { padding: 1.25rem 1.3rem; display: flex; flex-direction: column; min-width: 0; }
body.ux.cec .li-ov-h { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.7rem; }
body.ux.cec .li-ov-h h3 { margin: 0; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; color: var(--c-accent); }
body.ux.cec .li-fig-n { font-size: 2rem; font-weight: 300; line-height: 1.1; color: var(--c-deep); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
body.ux.cec .li-fig-l { font-size: 0.86rem; color: #3a3c40; margin-top: 0.1rem; } body.ux.cec .li-fig-l small { color: var(--ux-muted); }
body.ux.cec .li-ov .li-how { margin-top: 0.9rem; border-top: 1px solid var(--li-line); padding-top: 0.5rem; }
/* 29 Oct 2026 (Jason): one layout for every overview card. Each card is six rows (header, figure 1, comparison 1, figure 2, comparison 2, footer) taken from
   the grid with subgrid, so the same row starts at the same height across a row of cards; an empty comparison keeps its row. Cards carry their own bottom
   margin because a row gap would also open up between the rows inside a card. */
body.ux.cec .li-ov-grid { gap: 0 1.1rem; }
body.ux.cec .li-page .wrap > .li-ov-grid { margin-bottom: 0.15rem; }
body.ux.cec .li-ov-grid > .li-ov { margin-bottom: 1.1rem; }
@supports (grid-template-rows: subgrid) {
  body.ux.cec .li-ov-grid > .li-ov { display: grid; grid-row: span 6; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); }
}
body.ux.cec .li-ov .li-fig-2 { padding-top: 1rem; }
body.ux.cec .li-ov .li-fig-l { overflow-wrap: break-word; }
body.ux.cec .li-ov .li-fig-nw { white-space: nowrap; }
body.ux.cec .li-ov .li-fig-p { color: var(--ux-muted); font-size: 0.78rem; }
body.ux.cec .li-ov .li-cmp-slot { min-width: 0; }
body.ux.cec .li-ov .li-ov-f { min-width: 0; align-self: start; }
body.ux.cec .li-ov-future .li-ov-fbody { grid-row: 2 / span 5; min-width: 0; }

/* insights */
body.ux.cec .li-ins-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
body.ux.cec .li-ins { background: var(--li-soft); border-radius: 16px; padding: 1.15rem 1.25rem 0.9rem; display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
body.ux.cec .li-ins h3 { margin: 0.35rem 0 0.2rem; font-size: 1.08rem; font-weight: 700; letter-spacing: -0.005em; text-transform: none; color: var(--li-ink); }
body.ux.cec .li-ins p { margin: 0 0 0.5rem; color: #2f3236; }
body.ux.cec .li-ins-top { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
body.ux.cec .li-ins-cat { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent); }
body.ux.cec .li-conf { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.15rem 0.55rem; border-radius: 999px; background: #fff; border: 1px solid var(--c-line-strong); color: #44464a; }
body.ux.cec .li-conf.c-high { background: var(--li-ink); color: #fff; border-color: var(--li-ink); } body.ux.cec .li-conf.c-low { border-style: dashed; }
body.ux.cec .li-ins-cmp { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; font-size: 0.85rem; margin: 0 0 0.4rem; color: var(--ux-muted); } body.ux.cec .li-ins-cmp b { color: var(--li-ink); font-weight: 900; font-size: 1.05rem; }
body.ux.cec .li-ins-more { margin-top: 0.2rem; font-size: 0.8rem; }
body.ux.cec .li-how { margin-top: 0.4rem; }
body.ux.cec .li-how-b { margin-top: 0.4rem; padding: 0.9rem 1rem; background: #fff; border: 1px solid var(--li-line); border-radius: 12px; font-size: 0.84rem; overflow-wrap: anywhere; }
body.ux.cec .li-dl { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.5rem 1rem; margin: 0; }
body.ux.cec .li-dl dt { font-size: 0.74rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ux-muted); padding-top: 0.15rem; } body.ux.cec .li-dl dd { margin: 0; } body.ux.cec .li-dl ul { margin: 0; padding-left: 1.1rem; }
body.ux.cec .li-prov th, body.ux.cec .li-prov td { vertical-align: top; font-size: 0.82rem; } body.ux.cec .li-meth { margin-top: 0.6rem; } body.ux.cec .li-meth p { font-size: 0.82rem; margin: 0.3rem 0 0; }
body.ux.cec .li-lims { margin: 0.4rem 0 0; padding-left: 1.2rem; font-size: 0.88rem; } body.ux.cec .li-lims li { margin: 0.2rem 0; }

/* pending (honest empty) */
body.ux.cec .li-pending { display: flex; flex-direction: column; gap: 0.2rem; padding: 1rem 1.2rem; border: 1px dashed var(--c-line-strong); border-radius: 14px; background: rgba(18,19,20,.02); color: #44464a; font-size: 0.9rem; }
body.ux.cec .li-pending strong { color: var(--li-ink); }

/* ---------- charts ---------- */
body.ux.cec .li-chart { margin: 0 0 1.4rem; min-width: 0; } body.ux.cec .li-chart:last-child { margin-bottom: 0.2rem; }
body.ux.cec .li-chart h3 { margin-top: 1.2rem; }
body.ux.cec .li-bars { list-style: none; margin: 0.3rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
body.ux.cec .li-bars li { display: grid; grid-template-columns: minmax(7rem, 14rem) minmax(0, 1fr) 4.6rem; gap: 0.7rem; align-items: center; font-size: 0.86rem; padding: 0; }
body.ux.cec .li-bl { color: #2b2d31; overflow-wrap: anywhere; line-height: 1.3; } body.ux.cec .li-bl small { display: block; color: var(--ux-muted); font-size: 0.74rem; }
body.ux.cec .li-bt { position: relative; height: 14px; background: #ececea; border-radius: 999px; overflow: visible; }
body.ux.cec .li-bf { display: block; height: 100%; background: var(--li-ink); border-radius: 999px; }
body.ux.cec .li-bref { position: absolute; top: -3px; bottom: -3px; width: 3px; margin-left: -1.5px; background: var(--c-accent); border-radius: 2px; }
body.ux.cec .li-bv { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--li-ink); }
body.ux.cec .li-legend { font-size: 0.76rem; color: var(--ux-muted); margin: 0.6rem 0 0; display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
body.ux.cec .li-key { display: inline-block; width: 12px; height: 12px; border-radius: 4px; background: var(--li-ink); vertical-align: -1px; margin-right: 0.1rem; }
body.ux.cec .li-key.ref { width: 3px; height: 14px; border-radius: 2px; background: var(--c-accent); margin-left: 0.6rem; }
body.ux.cec .li-cols { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 4px; align-items: end; }
body.ux.cec .li-cols li { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; min-width: 0; font-size: 0.7rem; padding: 0; }
body.ux.cec .li-cv { font-weight: 700; font-size: 0.74rem; color: var(--li-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
body.ux.cec .li-ct { position: relative; width: 100%; height: 150px; background: transparent; display: flex; align-items: flex-end; border-bottom: 1px solid var(--c-line-strong); }
body.ux.cec .li-cf { display: block; width: 100%; background: var(--li-ink); border-radius: 6px 6px 0 0; }
body.ux.cec .li-cref { position: absolute; left: -2px; right: -2px; height: 3px; margin-bottom: -1px; background: var(--c-accent); border-radius: 2px; }
body.ux.cec .li-cl { color: var(--ux-muted); white-space: nowrap; font-size: 0.74rem; }
body.ux.cec .li-line { margin: 0.3rem 0 0; } body.ux.cec .li-line svg { width: 100%; height: auto; display: block; overflow: visible; }
body.ux.cec .li-line text { font-size: 11px; fill: #5d5f63; font-family: inherit; }
body.ux.cec .li-grid { stroke: rgba(18,19,20,.10); stroke-width: 1; } body.ux.cec .li-path { fill: none; stroke: var(--li-ink); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; } body.ux.cec .li-area { fill: rgba(18,19,20,.06); stroke: none; } body.ux.cec .li-dot { fill: var(--c-accent); stroke: #fff; stroke-width: 2; }
body.ux.cec .li-tbl { margin-top: 0.4rem; }
body.ux.cec .li-stack { display: flex; height: 38px; border-radius: 999px; overflow: hidden; background: #ececea; gap: 2px; }
body.ux.cec .li-seg { display: flex; align-items: center; justify-content: center; min-width: 0; font-size: 0.74rem; color: #fff; overflow: hidden; } body.ux.cec .li-seg b { font-weight: 700; white-space: nowrap; }
body.ux.cec .li-seg.sa, body.ux.cec .li-key.sa { background: #cfd1d4; color: var(--li-ink); } body.ux.cec .li-seg.sb, body.ux.cec .li-key.sb { background: #7d8087; } body.ux.cec .li-seg.sc, body.ux.cec .li-key.sc { background: var(--li-ink); }
body.ux.cec .li-seg.sn, body.ux.cec .li-key.sn { background: repeating-linear-gradient(135deg, #fff, #fff 4px, #e2e2df 4px, #e2e2df 8px); color: var(--li-ink); box-shadow: inset 0 0 0 1px var(--c-line-strong); }
body.ux.cec .li-seg.s0, body.ux.cec .li-key.s0 { background: var(--li-ink); } body.ux.cec .li-seg.s1, body.ux.cec .li-key.s1 { background: #5b5e64; } body.ux.cec .li-seg.s2, body.ux.cec .li-key.s2 { background: #9a9da3; color: var(--li-ink); } body.ux.cec .li-seg.s3, body.ux.cec .li-key.s3 { background: #cfd1d4; color: var(--li-ink); }
body.ux.cec .li-keys { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; padding: 0; margin: 0.7rem 0 0; font-size: 0.84rem; } body.ux.cec .li-keys li { padding: 0; } body.ux.cec .li-keys small { color: var(--ux-muted); }

/* lists */
body.ux.cec .li-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem 1.6rem; }
body.ux.cec .li-list h3 { margin-top: 0; } body.ux.cec .li-list ul, body.ux.cec .li-nets, body.ux.cec .li-indlist, body.ux.cec .li-related, body.ux.cec .li-eg, body.ux.cec .li-srclist, body.ux.cec .li-secs ul { list-style: none; margin: 0; padding: 0; }
body.ux.cec .li-list li { padding: 0.55rem 0; border-top: 1px solid var(--li-line); display: flex; flex-direction: column; font-size: 0.9rem; } body.ux.cec .li-list li:first-child { border-top: 0; } body.ux.cec .li-list small, body.ux.cec .li-nets small { color: var(--ux-muted); font-size: 0.78rem; }
body.ux.cec .li-nets li { padding: 0.65rem 0; border-top: 1px solid var(--li-line); font-size: 0.92rem; } body.ux.cec .li-nets li:first-child { border-top: 0; } body.ux.cec .li-nets small { display: block; } body.ux.cec .li-link { color: var(--ux-muted); font-size: 0.8rem; }
body.ux.cec .li-indlist li { padding: 1rem 0; border-top: 1px solid var(--li-line); } body.ux.cec .li-indlist li:first-child { border-top: 0; padding-top: 0.2rem; }
body.ux.cec .li-indh { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.5rem; } body.ux.cec .li-indh span { color: var(--ux-muted); font-size: 0.86rem; }
body.ux.cec .li-indlist .li-stack { height: 28px; } body.ux.cec .li-indlist .li-keys { margin-top: 0.4rem; font-size: 0.78rem; }
body.ux.cec .li-eg { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; } body.ux.cec .li-eg li { padding: 0; }
body.ux.cec .li-eg a, body.ux.cec .cec-page .li-eg a { display: inline-block; padding: 0.4rem 0.95rem; border-radius: 999px; background: var(--li-soft); border: 1px solid var(--li-line); font-weight: 700; font-size: 0.85rem; text-decoration: none; color: var(--li-ink); }
body.ux.cec .li-eg a:hover { background: var(--li-ink); color: #fff; }
body.ux.cec .li-related { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-top: 1rem; } body.ux.cec .li-related li { padding: 0; }
body.ux.cec .li-srclist li { padding: 0.55rem 0; border-top: 1px solid var(--li-line); font-size: 0.88rem; } body.ux.cec .li-srclist li:first-child { border-top: 0; } body.ux.cec .li-srclist small { display: block; color: var(--ux-muted); font-size: 0.78rem; margin-top: 0.1rem; }
body.ux.cec .li-schools td, body.ux.cec .li-schools th { font-size: 0.88rem; }

/* changes */
body.ux.cec .li-month h3 { margin: 1.4rem 0 0.3rem; }
body.ux.cec .li-changes { list-style: none; margin: 0; padding: 0; }
body.ux.cec .li-changes li { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: 0.8rem; padding: 0.65rem 0; border-top: 1px solid var(--li-line); font-size: 0.9rem; align-items: start; } body.ux.cec .li-changes li:first-child { border-top: 0; }
body.ux.cec .li-ch-d { color: var(--ux-muted); font-variant-numeric: tabular-nums; font-size: 0.82rem; padding-top: 0.1rem; }
body.ux.cec .li-ch-t { display: inline-block; margin-right: 0.35rem; padding: 0.1rem 0.55rem; border-radius: 999px; background: var(--li-soft); border: 1px solid var(--li-line); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: #44464a; }
body.ux.cec .li-ch-b small { display: block; color: var(--ux-muted); font-size: 0.78rem; margin-top: 0.1rem; }
body.ux.cec .li-filter { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.8rem; } body.ux.cec .li-filter[hidden] { display: none; }
body.ux.cec .li-filter button { font-family: inherit; font-weight: 700; font-size: 0.82rem; padding: 0.35rem 0.9rem; border-radius: 999px; border: 1px solid var(--c-line-strong); background: #fff; color: #44464a; cursor: pointer; } body.ux.cec .li-filter button.on { background: var(--li-ink); color: #fff; border-color: var(--li-ink); }
body.ux.cec .li-changes li[hidden] { display: none; }

/* map */
body.ux.cec .li-map { height: 360px; border-radius: 14px; overflow: hidden; background: #e8e8e5; border: 1px solid var(--li-line); position: relative; z-index: 0; }
body.ux.cec .li-map-fb { margin: 0; padding: 1rem; color: var(--ux-muted); font-size: 0.85rem; }
body.ux.cec .li-map .leaflet-tooltip { font-family: inherit; }

/* forms: ask, compare */
body.ux.cec .li-ask-f { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: end; }
body.ux.cec .li-ask-f .ux-input { height: 48px; padding: 0 1.1rem; width: 100%; } body.ux.cec .li-ask-f > input { flex: 1 1 280px; }
body.ux.cec .li-ask-f .btn { height: 48px; border: 0; cursor: pointer; font-family: inherit; justify-content: center; }
body.ux.cec .li-ask-f.big { margin-top: 1rem; background: transparent; position: relative; z-index: 1; } body.ux.cec .li-ask-f.big label, body.ux.cec .li-cmp-f label { display: block; font-size: 0.74rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 0.35rem; }
body.ux.cec .li-ask-p { flex: 1 1 200px; max-width: 280px; } body.ux.cec .li-ask-q { flex: 3 1 320px; }
body.ux.cec .li-cmp-f { display: flex; gap: 0.7rem; align-items: end; flex-wrap: wrap; margin-top: 1.1rem; position: relative; z-index: 1; } body.ux.cec .li-cmp-f > div:not(.li-vs) { flex: 1 1 220px; }
body.ux.cec .li-cmp-f .ux-input { width: 100%; height: 48px; padding: 0 1.1rem; } body.ux.cec .li-cmp-f .btn { height: 48px; border: 0; cursor: pointer; font-family: inherit; justify-content: center; }
body.ux.cec .li-vs { align-self: center; color: rgba(255,255,255,.6); font-weight: 900; padding-top: 1.1rem; }
body.ux.cec .li-answer { font-size: 1.02rem; line-height: 1.65; color: var(--li-ink); max-width: 75ch; } body.ux.cec .li-answer p, body.ux.cec .li-answer li { color: #2b2d31; } body.ux.cec .li-answer ul, body.ux.cec .li-answer ol { padding-left: 1.3rem; }
body.ux.cec .li-cmp-links { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0 0 1.25rem; }
body.ux.cec .li-cmp-t td, body.ux.cec .li-cmp-t th { font-size: 0.88rem; }

/* landing */
body.ux.cec .li-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; } body.ux.cec .li-feats h2 { font-size: 1.1rem; margin: 0 0 0.4rem; } body.ux.cec .li-feats p { margin: 0; }
body.ux.cec .li-secs ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.2rem 2rem; } body.ux.cec .li-secs li { display: flex; flex-direction: column; padding: 0.7rem 0; border-top: 1px solid var(--li-line); font-size: 0.9rem; } body.ux.cec .li-secs span { color: var(--ux-muted); }
body.ux.cec .li-honest p { max-width: 75ch; }

/* tables: stack on phones */
@media (max-width: 720px) {
  body.ux.cec .li-page table.li-prov thead, body.ux.cec .li-page table.li-schools thead, body.ux.cec .li-page table.li-cmp-t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.ux.cec .li-page table.li-prov tr, body.ux.cec .li-page table.li-schools tr, body.ux.cec .li-page table.li-cmp-t tr { display: block; padding: 0.6rem 0; border-top: 1px solid var(--li-line); }
  body.ux.cec .li-page table.li-prov td, body.ux.cec .li-page table.li-schools td, body.ux.cec .li-page table.li-cmp-t td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: 0.15rem 0; text-align: right; }
  body.ux.cec .li-page table.li-prov td > *, body.ux.cec .li-page table.li-schools td > *, body.ux.cec .li-page table.li-cmp-t td > * { text-align: right; }
  body.ux.cec .li-page table.li-prov td::before, body.ux.cec .li-page table.li-schools td::before, body.ux.cec .li-page table.li-cmp-t td::before { content: attr(data-l); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ux-muted); text-align: left; padding-top: 0.2rem; flex: 0 0 5.5rem; }
  body.ux.cec .li-page table.li-prov td:first-child, body.ux.cec .li-page table.li-schools td:first-child { padding-left: 0; }
}
@media (max-width: 1100px) { body.ux.cec .li-ov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } body.ux.cec .li-feats { grid-template-columns: 1fr; } }
@media (max-width: 900px) { body.ux.cec .li-hero { grid-template-columns: minmax(0, 1fr); padding: 1.6rem 1.4rem; gap: 1.2rem; } body.ux.cec .li-ins-grid { grid-template-columns: 1fr; } body.ux.cec .li-secs ul { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  body.ux.cec .li-page .wrap { padding-left: 1rem; padding-right: 1rem; }
  body.ux.cec .li-ov-grid { grid-template-columns: 1fr; }
  body.ux.cec .li-hero { margin-top: 1rem; border-radius: 18px; } body.ux.cec .li-hero-land { padding: 1.7rem 1.3rem; }
  body.ux.cec .li-sbox, body.ux.cec .li-bigsearch { flex-direction: column; } body.ux.cec .li-sbox .btn, body.ux.cec .li-bigsearch .btn { width: 100%; }
  body.ux.cec .li-nav { flex-direction: column; align-items: stretch; } body.ux.cec .li-nav .cec-tabs { display: flex; border-radius: 14px; }
  body.ux.cec .li-tools .btn { flex: 1; justify-content: center; }
  body.ux.cec .li-bars li { grid-template-columns: minmax(0, 1fr) 3.8rem; grid-template-areas: "l v" "b b"; gap: 0.15rem 0.6rem; } body.ux.cec .li-bars .li-bl { grid-area: l; } body.ux.cec .li-bars .li-bv { grid-area: v; } body.ux.cec .li-bars .li-bt { grid-area: b; }
  body.ux.cec .li-cols { gap: 2px; } body.ux.cec .li-cl { font-size: 0.7rem; } body.ux.cec .li-cols li[data-alt] .li-cl { visibility: hidden; } body.ux.cec .li-cv { font-size: 0; } body.ux.cec .li-ct { height: 120px; }
  body.ux.cec .li-dl { grid-template-columns: 1fr; gap: 0.1rem; } body.ux.cec .li-dl dd { margin-bottom: 0.5rem; }
  body.ux.cec .li-changes li { grid-template-columns: 1fr; gap: 0.1rem; }
  body.ux.cec .li-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; } body.ux.cec .li-tile { padding: 0.8rem 0.85rem; }
  body.ux.cec .li-map { height: 280px; }
  body.ux.cec .li-vs { display: none; }
}
@media (prefers-reduced-motion: reduce) { body.ux.cec .li-chip, body.ux.cec .li-eg-chip { transition: none; } }

/* additions: future, changes, compare */
body.ux.cec .li-keys-top { margin: 0 0 1rem; }
body.ux.cec .li-typeblk { padding: 1rem 0; border-top: 1px solid var(--li-line); } body.ux.cec .li-typeblk:first-of-type { border-top: 0; }
body.ux.cec .li-typeh { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; } body.ux.cec .li-typeh h3 { margin: 0 0 0.3rem; font-size: 1rem; text-transform: none; letter-spacing: 0; font-weight: 700; color: var(--li-ink); } body.ux.cec .li-typeh .muted { font-size: 0.82rem; }
body.ux.cec .li-latest { margin: 0.8rem 0 0.2rem; font-weight: 700; }
body.ux.cec .li-notes { margin: 0 0 1.25rem; }
body.ux.cec .li-cmp-t tr.li-mat td { background: var(--c-accent-tint); }
body.ux.cec .li-card h3 .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
@media (max-width: 620px) {
  body.ux.cec .li-chips-h { flex-basis: 100%; }
  body.ux.cec .li-chip, body.ux.cec .cec-page a.li-chip { flex: 1 1 calc(50% - 0.3rem); }
}

/* review round: warnings, did-you-mean, grouped compare, picker, provenance overflow */
body.ux.cec .li-warn { margin-top: 0.45rem; display: inline-block; padding: 0.12rem 0.55rem; border-radius: 999px; border: 1px dashed var(--c-accent); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-accent-ink); }
body.ux.cec .li-conf.li-small { border-style: dashed; border-color: var(--c-accent); color: var(--c-accent-ink); }
body.ux.cec .li-didyou { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin: 0 0 0.9rem; padding: 0.7rem 1rem; background: #fff; border: 1px solid var(--li-line); border-left: 3px solid var(--c-accent); border-radius: 12px; font-size: 0.9rem; color: #2b2d31; }
body.ux.cec .li-didyou-t { flex: 1 1 100%; }
body.ux.cec .li-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.6rem; }
body.ux.cec .li-grp { border-top: 1px solid var(--li-line); padding: 0.2rem 0; } body.ux.cec .li-grp:first-of-type { border-top: 0; }
body.ux.cec .li-grp > summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 0.8rem 0; list-style: none; font-size: 1rem; }
body.ux.cec .li-grp > summary::-webkit-details-marker { display: none; }
body.ux.cec .li-grp > summary b { font-weight: 700; color: var(--li-ink); } body.ux.cec .li-grp > summary span { font-size: 0.82rem; color: var(--ux-muted); }
body.ux.cec .li-grp > summary::after { content: "+"; font-weight: 900; color: var(--c-accent); margin-left: auto; font-size: 1.2rem; } body.ux.cec .li-grp[open] > summary::after { content: "\2212"; }
body.ux.cec .li-sep { margin: 0.8rem 0 0; padding: 0.7rem 1rem; background: var(--li-soft); border-radius: 12px; font-size: 0.88rem; }
body.ux.cec .li-prov { table-layout: fixed; width: 100%; } body.ux.cec .li-prov th:nth-child(1), body.ux.cec .li-prov td:nth-child(1) { width: 20%; } body.ux.cec .li-prov th:nth-child(2), body.ux.cec .li-prov td:nth-child(2) { width: 27%; } body.ux.cec .li-prov th:nth-child(3), body.ux.cec .li-prov td:nth-child(3) { width: 12%; } body.ux.cec .li-prov th:nth-child(4), body.ux.cec .li-prov td:nth-child(4) { width: 16%; }
body.ux.cec .li-prov td, body.ux.cec .li-prov th { overflow-wrap: anywhere; word-break: break-word; }
@media (max-width: 720px) { body.ux.cec .li-prov { table-layout: auto; } body.ux.cec .li-prov th:nth-child(n), body.ux.cec .li-prov td:nth-child(n) { width: auto; } }

/* phones: chart text scaled with the 640-wide viewBox is unreadable (about 6px), so enlarge it and let the labels sit outside the plot (13 Oct 2026) */
@media (max-width: 600px) { body.ux.cec .li-line text { font-size: 17px; } body.ux.cec .li-line svg { overflow: visible; } }
/* QA 13 Oct: long council names ("North Northamptonshire figure") pushed the scope chip past narrow KPI tiles on phones */
body.ux.cec .li-geo { max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; }
@media (max-width: 520px) { body.ux.cec .li-geo { letter-spacing: 0.02em; border-radius: 10px; padding: 0.15rem 0.5rem; } }
/* QA 13 Oct: section tabs wrap on phones like the record tabs, so "People & organisations" is not cut mid-word */
@media (max-width: 760px) { body.ux.cec .li-nav .cec-tabs { flex-wrap: wrap; overflow: visible; row-gap: 0.15rem; } body.ux.cec .li-nav .cec-tabs a { padding: 0.4rem 0.7rem; } }

/* 17 Oct 2026: data notes say what the limitation is; neutral styling, explanation shown under the label */
body.ux.cec .li-warn { border: 1px dashed var(--c-line-strong, #b9bcc2); color: var(--c-muted, #5b5f66); text-transform: none; letter-spacing: 0; font-weight: 700; border-radius: 10px; padding: 0.2rem 0.6rem; }
body.ux.cec .li-warn .li-warn-tip { display: block; font-weight: 400; font-size: 0.72rem; line-height: 1.35; margin-top: 0.15rem; }

/* constituency / town cover: councils it covers parts of, map legend, council figures beside a borrowed figure (20 Oct 2026) */
body.ux.cec .li-cov { list-style: none; margin: 0.6rem 0 0.4rem; padding: 0; display: grid; gap: 0.5rem; }
body.ux.cec .li-cov li { display: grid; grid-template-columns: minmax(8rem, 14rem) 1fr 3.2rem; align-items: center; gap: 0.8rem; }
body.ux.cec .li-cov-bar { display: block; height: 0.6rem; background: var(--li-line, #e3e3df); border-radius: 999px; overflow: hidden; }
body.ux.cec .li-cov-bar i { display: block; height: 100%; background: var(--c-accent, #c8102e); border-radius: 999px; }
body.ux.cec .li-cov b { text-align: right; font-variant-numeric: tabular-nums; }
body.ux.cec .li-covfig { margin-top: 0.4rem; font-size: 0.8rem; color: var(--ux-muted, #5c5c58); line-height: 1.4; }
body.ux.cec .li-covfig small { display: block; font-size: 0.72rem; }
body.ux.cec .li-covfig span { display: inline-block; margin-right: 0.8rem; font-weight: 700; color: inherit; }
body.ux.cec .li-legend { list-style: none; margin: 0.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; font-size: 0.82rem; color: var(--ux-muted, #5c5c58); }
body.ux.cec .li-legend li { display: inline-flex; align-items: center; gap: 0.45rem; }
body.ux.cec .li-sw { display: inline-block; width: 1.1rem; height: 0.7rem; border-radius: 2px; box-sizing: border-box; }
body.ux.cec .li-sw-pcon { border: 2.5px solid #c8102e; background: rgba(200, 16, 46, 0.14); }
body.ux.cec .li-sw-lad { border: 1.5px dashed #555; }
body.ux.cec .li-sw-pt { width: 0.75rem; height: 0.75rem; border-radius: 50%; background: #c8102e; border: 2px solid #fff; box-shadow: 0 0 0 1px #888; }
@media (max-width: 520px) { body.ux.cec .li-cov li { grid-template-columns: 1fr 3.2rem; } body.ux.cec .li-cov-bar { grid-column: 1 / -1; grid-row: 2; } body.ux.cec .li-cov li b { grid-row: 1; grid-column: 2; } }

/* ---------- 29 Oct 2026 (Jason): Local Intelligence menus redesign (mock-up G) ---------- */
/* banner: "Discover NN15 | North Northamptonshire" and one eyebrow line */
body.ux.cec .li-hero .li-eb-sep { margin: 0 0.6em; opacity: 0.55; }
body.ux.cec .li-hero h1 .li-name { display: inline; }
body.ux.cec .li-hero h1 .li-h1-area { display: inline-block; font-size: 0.6em; font-weight: 300; color: rgba(255,255,255,.88); overflow-wrap: anywhere; max-width: 100%; vertical-align: baseline; }
body.ux.cec .li-hero h1 .li-h1-sep { margin: 0 0.45em 0 0.55em; color: rgba(255,255,255,.45); }
body.ux.cec .li-hero h1.li-h1-wrapped .li-h1-sep { display: none; }
body.ux.cec .li-hero h1.li-h1-wrapped .li-h1-area { display: block; margin-top: 0.15em; }
/* slim bar under the banner */
body.ux.cec .li-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem 1.25rem; margin: 0 0 0.9rem; }
body.ux.cec .li-bar-l { display: flex; align-items: center; flex-wrap: wrap; gap: 0.2rem 0.5rem; min-width: 0; flex: 1 1 auto; font-size: 0.84rem; color: #5f6368; }
body.ux.cec .li-bar-note { min-width: 0; }
body.ux.cec .li-bar-r { flex: 0 0 auto; }
body.ux.cec .li-bar .li-near { margin: 0; position: relative; }
body.ux.cec .li-bar .li-near summary { color: var(--c-accent-ink, #b81f14); font-weight: 700; font-size: 0.84rem; padding-left: 0.55rem; border-left: 2px solid var(--c-accent, #c8102e); line-height: 1.1; }
body.ux.cec .li-bar .li-near summary::before { display: none; }
body.ux.cec .li-bar .li-near ul { position: absolute; z-index: 55; left: 0; top: calc(100% + 8px); width: min(34rem, 86vw); max-height: 60vh; overflow: auto; margin: 0; padding: 0.8rem; background: #fff; border: 1px solid var(--li-line); border-radius: 14px; box-shadow: var(--c-sh-md); }
body.ux.cec .li-dd { display: inline-flex; align-items: center; gap: 0.5rem; position: relative; }
body.ux.cec .li-dd-l { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #6b6d70; white-space: nowrap; }
body.ux.cec .li-ddm > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; height: 36px; padding: 0 0.85rem 0 1rem; border-radius: 999px; border: 1px solid var(--li-line); background: #fff; color: var(--li-ink); font-weight: 700; font-size: 0.86rem; white-space: nowrap; }
body.ux.cec .li-ddm > summary::-webkit-details-marker { display: none; }
body.ux.cec .li-ddm > summary:hover, body.ux.cec .li-ddm[open] > summary { border-color: var(--c-line-strong); background: var(--c-pale); }
body.ux.cec .li-ddm-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 55; margin: 0; padding: 0.35rem; list-style: none; width: max-content; min-width: 14rem; max-width: min(24rem, 90vw); background: #fff; border: 1px solid var(--li-line); border-radius: 14px; box-shadow: var(--c-sh-md); }
body.ux.cec .li-ddm-list a { display: flex; flex-direction: column; padding: 0.5rem 0.75rem; border-radius: 9px; color: var(--li-ink); text-decoration: none; }
body.ux.cec .li-ddm-list a:hover { background: var(--c-pale); }
body.ux.cec .li-ddm-list a[aria-current] { background: var(--li-ink); color: #fff; }
body.ux.cec .li-ddm-list small { font-size: 0.7rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; color: var(--c-accent); }
body.ux.cec .li-ddm-list a[aria-current] small { color: #ff8da0; }
body.ux.cec .li-ddm-list b { font-size: 0.9rem; font-weight: 700; overflow-wrap: anywhere; }
body.ux.cec .li-ddm-list em { font-style: normal; font-size: 0.72rem; color: var(--ux-muted); }
body.ux.cec .li-ddm-list a[aria-current] em { color: rgba(255,255,255,.7); }
@media (max-width: 1199px) { body.ux.cec .li-note-cav { display: none; } }
@media (max-width: 700px) { body.ux.cec .li-bar { flex-direction: column; align-items: flex-start; } body.ux.cec .li-bar-r { align-self: flex-start; } }
/* one tab row: tabs, divider, Compare and Ask, then the round bell and feed buttons */
body.ux.cec .li-nav-one { flex-wrap: nowrap; align-items: center; }
body.ux.cec .li-nav-one .li-tabs { flex: 0 1 auto; min-width: 0; }
body.ux.cec .li-tab-sep { flex: 0 0 auto; align-self: center; width: 1px; height: 22px; margin: 0 0.35rem; background: #d9d9d6; }
body.ux.cec .li-tools { flex: 0 0 auto; flex-wrap: nowrap; margin-left: auto; }
body.ux.cec .li-ib { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--li-line); background: #fff; color: var(--li-ink); cursor: pointer; padding: 0; text-decoration: none; box-shadow: var(--c-sh-sm); }
body.ux.cec .li-ib:hover { border-color: var(--c-line-strong); background: var(--c-pale); }
body.ux.cec .li-ib[aria-pressed="true"] { background: var(--li-ink); color: #fff; border-color: var(--li-ink); }
body.ux.cec .li-ib[aria-pressed="true"] svg { fill: currentColor; }
body.ux.cec .li-tools .li-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 620px) {
  body.ux.cec .li-nav-one { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  body.ux.cec .li-nav-one .li-tabs { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; max-width: 100%; border-radius: 999px; }
  body.ux.cec .li-nav-one .li-tools { margin-left: 0; justify-content: flex-end; }
}
@media (min-width: 621px) and (max-width: 1100px) { body.ux.cec .li-nav-one .li-tabs { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; } }
/* the Map+ card on the overview */
body.ux.cec .li-mapplus-card { margin: 0 0 1.25rem; }
body.ux.cec .li-mapplus { height: 440px; }
@media (max-width: 620px) { body.ux.cec .li-mapplus { height: 340px; } }
/* the title gets the wider column so "Discover NN15 | North Northamptonshire" fits on one line beside the search; a longer name wraps under, never over the box */
@media (min-width: 901px) { body.ux.cec .li-hero:not(.li-hero-land) { grid-template-columns: minmax(0, 1fr) minmax(19rem, 24rem); } }
@media (max-width: 520px) { body.ux.cec .li-hero .eyebrow { flex-wrap: wrap; row-gap: 0.2rem; } body.ux.cec .li-hero .li-eb-sep { display: none; } body.ux.cec .li-hero .li-eb-tag { flex-basis: 100%; padding-left: 1.05rem; } }
/* the note stays on one line beside the Wards link and the dropdown; if it is too long it is cut with an ellipsis (the full text is the tooltip), and wraps on phones */
@media (min-width: 701px) { body.ux.cec .li-bar-l { flex-wrap: nowrap; } body.ux.cec .li-bar-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; } body.ux.cec .li-bar .li-near { flex: 0 0 auto; } }

/* 29 Oct 2026 (Jason): the place's own rate beside the verdict on the overview comparisons */
body.ux.cec .li-ov .li-cmp-own { color: var(--ux-muted); font-size: 0.85em; }
body.ux.cec .li-ov .li-cmp-own::before { content: '\00b7  '; }
body.ux.cec .li-ov .li-cmp > strong { display: inline; }
body.ux.cec .li-ov .li-cmp-own { display: inline; white-space: nowrap; }
body.ux.cec .li-ov .li-cmp-vals { display: flex; flex-wrap: wrap; gap: 0 0.9rem; }
