/* Layout only. Every color / font / border / shadow is a var set by skin.js from skins/<name>.js. */
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; background: var(--page); color: var(--ink); font-family: var(--font-body); overflow: hidden; }
a { color: var(--link); } a:hover { color: var(--link-hover); }
::-webkit-scrollbar { display: none; }
.app { position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--surface); }
.top { background: var(--accent); padding: 10px 14px 8px; border-bottom: var(--bw) solid var(--ink); display: flex; align-items: center; gap: 10px; }
.top .t { flex: 1; min-width: 0; }
.top h1 { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1; letter-spacing: .5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-label); font-size: 10px; letter-spacing: .6px; opacity: .75; }
.top button { background: var(--ink); color: var(--paper); border: 0; font-family: var(--font-label); font-size: 11px; padding: 7px 10px; border-radius: 3px; }
.top .skin { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); font-size: 9px; padding: 5px 7px; }
.kw { background: var(--kwbar); border-bottom: var(--bw) solid var(--ink); display: flex; align-items: center; }
.kw button { background: none; border: 0; font: 20px var(--font-display); width: 48px; height: 42px; color: var(--ink); }
.kw .name { flex: 1; text-align: center; font-family: var(--font-display); font-size: 19px; letter-spacing: .5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kw .cnt { font-family: var(--font-label); font-size: 10px; opacity: .7; margin-left: 6px; }
.mapwrap { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.map { position: absolute; inset: 0; }
.tag { position: absolute; top: 10px; z-index: 5; background: var(--ink); color: var(--paper); font: 15px var(--font-display); letter-spacing: 1px; padding: 4px 9px; border-radius: 2px; pointer-events: none; }
.tag.l { left: 10px; } .tag.r { right: 10px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); }
.zoomhint { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 5; background: var(--scrim); color: var(--paper); font-family: var(--font-label); font-size: 10px; letter-spacing: .5px; padding: 5px 9px; border-radius: 12px; pointer-events: none; white-space: nowrap; }
.months { background: var(--monthbar); border-top: var(--bw) solid var(--ink); display: flex; padding: 8px 10px 4px; gap: 6px; }
.month { flex: 1; font: 18px var(--font-display); letter-spacing: 1px; background: var(--surface); color: var(--ink); border: 2px solid var(--ink); border-radius: 3px; padding: 6px 0; }
.month.on { background: var(--ink); color: var(--accent); }
.month.prev { background: var(--paper); outline: 2px dashed var(--ink); outline-offset: -6px; }
.month:disabled { opacity: .45; }
.hint { background: var(--monthbar); color: var(--paper); font-family: var(--font-label); font-size: 10px; letter-spacing: .5px; text-align: center; padding: 2px 0 8px; }
.stats { background: var(--ink); color: var(--paper); display: flex; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
[data-skin="night"] .stats, [data-skin="night"] .tag.l, [data-skin="night"] .top button:not(.skin) { background: var(--paper); color: var(--ink); }
.stat { flex: 1; text-align: center; }
.stat b { display: block; font: 22px var(--font-display); }
.stat span { font-family: var(--font-label); font-size: 9px; letter-spacing: .6px; opacity: .7; }
.up { color: var(--up); } .down { color: var(--down); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--paper); border-top: var(--bw) solid var(--ink); max-height: 70%; overflow: auto; transform: translateY(105%); transition: transform .2s; }
.sheet.open { transform: none; }
.sheet h3 { font: 16px var(--font-display); padding: 12px 14px 6px; letter-spacing: .5px; }
.sheet button { display: flex; width: 100%; justify-content: space-between; background: none; border: 0; border-top: 1px solid var(--surface); color: var(--ink); font-family: var(--font-label); font-size: 13px; padding: 11px 14px; text-align: left; }
.sheet button b { font-family: var(--font-display); font-weight: 400; color: var(--up); }
.home-pin { width: 22px; height: 22px; background: var(--pin-you); border: 3px solid var(--ink); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.home-pin.pin-rival { background: var(--pin-rival); }
.seg { display: flex; border: 2px solid var(--ink); border-radius: 3px; overflow: hidden; }
.seg button { border-radius: 0; background: var(--surface); color: var(--ink); padding: 6px 8px; }
.seg button.on { background: var(--ink); color: var(--accent); }
/* compare plugin slider in skin colors */
.mapboxgl-compare .compare-swiper-vertical { background-color: var(--accent); border: 3px solid var(--ink); width: 44px; height: 44px; margin: -22px 1px 0; box-shadow: none; }
.mapboxgl-compare { background-color: var(--ink); width: 4px; }

/* ---- linked (head-to-head) layout: Claude Design "Map Dominance Linked Maps" ---- */
.h2h .bar { height: 56px; background: var(--accent); border-bottom: var(--bw) solid var(--ink); display: flex; align-items: center; gap: 10px; padding: 0 10px; flex: none; }
.h2h .back { width: 44px; height: 44px; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-size: 20px; flex: none; }
.h2h .addr { font-family: var(--font-display); font-size: 17px; line-height: 1.2; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2h .sub { font-family: var(--font-label); font-size: 11px; letter-spacing: .08em; margin-top: 4px; }
.h2h .btn { height: 36px; padding: 0 10px; border: var(--bw) solid var(--ink); background: var(--paper); color: var(--ink); display: grid; place-items: center; flex: none; font-family: var(--font-label); font-size: 9px; letter-spacing: .08em; cursor: pointer; }
.h2h .pane { flex: 1; position: relative; overflow: hidden; background: var(--surface); }
.h2h .badge { position: absolute; top: 8px; left: 8px; z-index: 5; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: var(--bw) solid var(--ink); font-family: var(--font-label); font-size: 9px; letter-spacing: .08em; cursor: pointer; max-width: 80%; box-shadow: var(--chip-shadow); }
.h2h .badge.you { background: var(--hl-bg); color: var(--on-hl); }
.h2h .badge.rival { background: var(--rival); color: var(--on-rival); }
.h2h .badge .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2h .badge .v { font-family: var(--font-display); font-size: 15px; }
.h2h .badge .u { opacity: .8; }
.h2h .band { flex: none; border-top: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); background: var(--paper); }
.h2h .row { height: 37px; display: flex; align-items: stretch; background: var(--paper); }
.h2h .row.kwrow { background: var(--kwbar); border-bottom: var(--bw) solid var(--ink); }
.h2h .arr { width: 44px; display: grid; place-items: center; font-size: 18px; background: var(--accent); color: var(--ink); cursor: pointer; flex: none; } /* header yellow so they read as buttons (owner #82) */
.h2h .arr.l { border-right: var(--bw) solid var(--ink); } .h2h .arr.r { border-left: var(--bw) solid var(--ink); }
/* chips are flat segments split by vertical rules (no box-in-a-band), so the type can be bigger */
.h2h .chips { flex: 1; display: flex; align-items: stretch; overflow-x: auto; min-width: 0; scrollbar-width: none; }
.h2h .chip { flex: none; padding: 0 14px; display: flex; align-items: center; gap: 8px; border-right: 2px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--font-label); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.h2h .chip:last-child { border-right: 0; }
.h2h .chip .rk { font-family: var(--font-display); font-size: 16px; }
.h2h .kwrow .chip.on { background: var(--ink); color: var(--accent); }
/* selected competitor: ink, not gold (owner #15/D4: gold read as the "4–10" dot colour) */
.h2h .firmrow .chip.on { background: var(--accent); color: var(--ink); } /* yellow bg, black type (owner #156, 2026-11-01; was black per #83) */
.h2h .modal { position: absolute; inset: 0; background: var(--scrim); display: none; align-items: flex-end; z-index: 30; }
.h2h .modal.open { display: flex; }
.h2h .card { width: 100%; max-height: 70%; background: var(--paper); border-top: var(--bw) solid var(--ink); display: flex; flex-direction: column; }
.h2h .card .hd { padding: 8px 14px 10px; border-bottom: var(--bw) solid var(--ink); display: flex; align-items: flex-end; gap: 8px; }
.h2h .card h2 { font-family: var(--font-display); font-weight: 400; font-size: 20px; text-transform: uppercase; line-height: 1; }
.h2h .card .ms { font-size: 11px; color: var(--ink2); margin-top: 3px; }
.h2h .card .x { width: 36px; height: 36px; display: grid; place-items: center; background: var(--ink); color: var(--accent); font-size: 14px; cursor: pointer; flex: none; }
.h2h .rows { overflow-y: auto; }
.h2h .fr { height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 2px solid var(--ink); background: var(--paper); }
.h2h .fr.me { background: var(--me-row); }
.h2h .fr .sq { width: 28px; height: 28px; display: grid; place-items: center; font-family: var(--font-display); font-size: 15px; border: 2px solid var(--ink); flex: none; }
.h2h .fr .fn { flex: 1; min-width: 0; font-family: var(--font-label); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2h .fr .tg { font-family: var(--font-label); font-size: 8px; letter-spacing: .1em; padding: 3px 6px; }
/* Target Firm picker: review count readable and explained (owner #166: "77 REV" was ~2pt and meant nothing) */
.h2h .fr .tg.rev { font-size: 15px; letter-spacing: .02em; padding: 0; text-align: right; line-height: 1; flex: none; }
.h2h .fr .tg.rev small { display: block; font-size: 8px; letter-spacing: .1em; margin-top: 3px; }
.h2h .fr .tg.you { background: var(--you); color: var(--on-you); }
.h2h .fr .tg.rival { background: var(--rival); color: var(--on-rival); }
/* share-of-local-voice table: one stacked share bar, YOU pinned, rows = share + change + top-3 points */
.h2h .pie { padding: 10px 14px 8px; border-bottom: var(--bw) solid var(--ink); }
.h2h .pie .stack { display: flex; height: 22px; border: 2px solid var(--ink); background: var(--surface); }
.h2h .pie .stack i { min-width: 2px; background: var(--ink2); opacity: .45; border-right: 1px solid var(--paper); }
.h2h .pie .stack i:last-child { border-right: 0; }
.h2h .pie .stack i.me { background: var(--accent); opacity: 1; } /* YOU = header yellow (owner #75/#77) */
.h2h .pie .lab { font-family: var(--font-label); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); margin-bottom: 3px; }
.h2h .pie .lab.ld { color: var(--ink); margin: 3px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2h .sv { display: grid; grid-template-columns: 30px 1fr 76px; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 2px solid var(--ink); background: var(--paper); cursor: pointer; }
.h2h .sv.me { background: var(--accent); cursor: default; }
.h2h .sv.rv { box-shadow: inset 5px 0 0 var(--ink); }
.h2h .sv .pos { font-family: var(--font-display); font-size: 18px; text-align: center; color: var(--ink2); }
.h2h .sv .nm { font-family: var(--font-label); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2h .sv .t3 { font-size: 11px; color: var(--ink2); margin-top: 3px; }
.h2h .sv .pc { font-family: var(--font-display); font-size: 22px; text-align: right; line-height: 1; }
.h2h .sv .pc .dl { display: block; font-family: var(--font-label); font-size: 9px; letter-spacing: .04em; color: var(--ink2); margin-top: 3px; }
.h2h .card .note { padding: 10px 14px 14px; font-size: 10px; color: var(--ink2); }
.mapboxgl-ctrl-logo { display: none !important; }
/* headline banner over the top map (replaces the SOLV badge): the verdict in one sentence + competitors button */
.h2h .headline { position: absolute; top: 8px; left: 8px; right: 8px; z-index: 5; display: flex; align-items: stretch; background: var(--hl-bg); color: var(--on-hl); border: var(--bw) solid var(--ink); box-shadow: var(--chip-shadow); cursor: pointer; }
.h2h .headline .hl { flex: 1; min-width: 0; padding: 6px 10px; display: flex; align-items: center; gap: 10px; }
.h2h .headline .tx { min-width: 0; }
.h2h .headline .l1 { font-family: var(--font-label); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.h2h .headline .v { font-family: var(--font-display); font-size: 34px; line-height: 1; flex: none; }
.h2h .headline .mom { margin-left: 4px; opacity: .9; }
.h2h .headline .l2 { font-family: var(--font-label); font-size: 13px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2h .headline .see { flex: none; display: grid; place-items: center; padding: 0 10px; border-left: var(--bw) solid var(--ink); background: var(--paper); color: var(--ink); font-family: var(--font-label); font-size: 8px; letter-spacing: .08em; line-height: 1.4; text-align: center; }
/* colour key strip above the months */
.h2h .legend { flex: none; display: flex; justify-content: space-between; gap: 6px; padding: 5px 10px; background: var(--paper); border-top: var(--bw) solid var(--ink); font-family: var(--font-label); font-size: 8px; letter-spacing: .06em; color: var(--ink); }
.h2h .legend .k { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.h2h .legend i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--ink); flex: none; }
/* target-firm picker: the header title is the button */
.h2h .target { flex: 1; min-width: 0; cursor: pointer; padding-left: 4px; }
.h2h .tq { margin: 10px 14px; padding: 10px 12px; border: var(--bw) solid var(--ink); background: var(--surface); color: var(--ink); font: 14px var(--font-body); outline: none; }
.h2h .fr .fa { font-family: var(--font-body); font-size: 10px; letter-spacing: 0; text-transform: none; color: var(--ink2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; }
.h2h .fr .tg { color: var(--ink2); }
.h2h .mrow { display: flex; gap: 6px; padding: 6px 8px; background: var(--monthbar); border-top: var(--bw) solid var(--ink); }
.h2h .mrow button { flex: 1; font: 15px var(--font-display); letter-spacing: 1px; background: var(--ink); color: var(--muted); border: 2px solid var(--ink); padding: 4px 0; }
.h2h .mrow button.on { background: var(--accent); color: var(--ink); }
/* header (owner #54): name + practice area left, address on two small lines right, menu button (#56) */
.h2h .loc { flex: none; max-width: 38%; text-align: right; font-family: var(--font-label); font-size: 9px; line-height: 1.35; letter-spacing: .04em; text-transform: uppercase; }
.h2h .loc div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2h .btn.menu { width: 36px; padding: 0; font-size: 18px; }
.h2h a.fr { color: var(--ink); text-decoration: none; }
.h2h .fr.skins { gap: 6px; }
.h2h .fr.skins .tg { border: 2px solid var(--ink); cursor: pointer; }
.h2h .fr.skins .tg.on { background: var(--ink); color: var(--paper); }
.h2h .headline .l2 b.up { color: var(--hl-up); } .h2h .headline .l2 b.down { color: var(--hl-down); }
.h2h .badge .mo { font-size: 11px; white-space: nowrap; } .h2h .badge .mo b.up { color: var(--hl-up); } .h2h .badge .mo b.down { color: var(--hl-down); }
/* top tile in the bottom tile's design (owner #72): one 36px row, small display number, label pushed back to grey */
.h2h .headline .hl { padding: 0 10px; height: 36px; gap: 8px; }
.h2h .headline .v { font-size: 15px; }
.h2h .headline .tx { display: flex; align-items: center; gap: 8px; overflow: hidden; }
.h2h .headline .l1 { font-size: 9px; letter-spacing: .08em; opacity: .8; }
.h2h .headline .l2 { font-size: 11px; margin-top: 0; }
/* per-row share bar (owner #79): 3px, full width = the #1 firm's share; overlaps the row padding so rows do not grow */
/* both map tiles on two lines (owner #81): number, then label over the change; same type in both */
.h2h .headline .hl { height: auto; padding: 6px 10px; }
.h2h .headline .tx { display: block; }
.h2h .headline .l2 { margin-top: 2px; }
.h2h .headline .v, .h2h .badge .v { font-size: 20px; }
.h2h .badge { height: auto; padding: 6px 10px; }
.h2h .badge .tx { min-width: 0; }
.h2h .badge .u { text-transform: uppercase; white-space: nowrap; }
.h2h .badge .mo { display: block; margin-top: 2px; }
/* per-row share bar (owner #79/#84): thick outlined box, empty = white, filled with ink from the left; full = the #1 firm's share */
.h2h .sv .sb { height: 10px; margin: 5px 0 -11px; border: 2px solid var(--ink); background: var(--bar-empty); }
.h2h .sv .sb i { display: block; height: 100%; background: var(--ink); }
/* settings gear, lower-left of the top map (owner #88) */
.h2h .gear { position: absolute; left: 8px; bottom: 8px; z-index: 5; width: 36px; height: 36px; display: grid; place-items: center; background: var(--paper); color: var(--ink); border: var(--bw) solid var(--ink); box-shadow: var(--chip-shadow); font-size: 20px; line-height: 1; cursor: pointer; }
.h2h .gearmenu { display: none; position: absolute; left: 8px; bottom: 52px; z-index: 6; padding: 10px 12px; background: var(--paper); color: var(--ink); border: var(--bw) solid var(--ink); box-shadow: var(--chip-shadow); font-family: var(--font-label); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.h2h .gearmenu.open { display: block; }
.h2h .gearmenu label { display: flex; align-items: center; gap: 8px; white-space: nowrap; cursor: pointer; }
.h2h .gearmenu span { opacity: .7; }
.h2h .gear { border-radius: 50%; background: var(--accent); color: var(--ink); } /* yellow disc, ink outline gear, yellow centre (owner #89) */
/* shorter map tiles (owner #90): tight padding and line height */
.h2h .headline .hl, .h2h .badge { padding: 3px 10px; }
.h2h .headline .l1, .h2h .headline .l2, .h2h .badge .u, .h2h .badge .mo { line-height: 1.15; }
.h2h .headline .l2, .h2h .badge .mo { margin-top: 1px; }
.h2h .headline .see { padding: 0 10px; line-height: 1.25; }
/* #91: the change line keeps its row even when empty (JUN has no prior month) so the tiles never change height */
.h2h .headline .l2, .h2h .badge .mo { min-height: 1.15em; }
/* #92: 3px less padding top and bottom; both tiles the same fixed height, number and text centred */
.h2h .headline .hl, .h2h .badge { padding: 0 10px; align-items: center; }
.h2h .headline .hl { height: calc(29px - 2 * var(--bw)); }
.h2h .badge { height: 29px; }
.h2h .headline .v, .h2h .badge .v { line-height: 1; }
.h2h .headline .l1, .h2h .headline .l2, .h2h .badge .u, .h2h .badge .mo { line-height: 1.1; }
.h2h .headline .l2, .h2h .badge .mo { min-height: 1.1em; }
.h2h .headline .hl { height: calc(30px - 2 * var(--bw)); } /* #92: measured 28 vs badge 29 live */
/* #96: dot tally at the right of each tile, three rows packed into the 29px tile */
.h2h .tally { flex: none; margin-left: auto; display: grid; grid-template-columns: 6px auto; column-gap: 4px; align-items: center; font-family: var(--font-label); font-size: 8px; line-height: 7px; letter-spacing: .04em; }
.h2h .tally i { width: 6px; height: 6px; border-radius: 50%; }
.h2h .tally b { font-weight: 700; }
.h2h .badge .tally { margin-left: 4px; }
/* #97: tiles back to 36px (supersedes #92 29px); bigger tally; bottom tile full width like the top, tally at its right edge */
.h2h .headline .hl { height: calc(36px - 2 * var(--bw)); }
.h2h .badge { height: 36px; right: 8px; max-width: none; }
.h2h .badge .tally { margin-left: auto; }
.h2h .tally { grid-template-columns: 8px auto; column-gap: 5px; font-size: 10px; line-height: 9px; }
.h2h .tally i { width: 8px; height: 8px; }
.h2h .headline .hl { height: calc(37px - 2 * var(--bw)); } /* #97: measured 35 vs badge 36 live */
.h2h .arr { font-size: 25px; } /* 18 -> 25px, ~40% larger (owner #102) */
.h2h .gear { background: var(--ink); border-color: var(--ink); } /* black disc, yellow 6-tooth gear, black centre (owner #103) */
.h2h .target { text-align: center; position: relative; top: 4px; } /* firm name centred, 4px lower (owner #104) */
.h2h .sub { font-size: 13px; color: #333; } /* practice label larger, 80% black (owner #106) */
.h2h .gear { left: auto; right: 8px; width: 40px; height: 40px; } .h2h .gearmenu { left: auto; right: 8px; bottom: 56px; } /* bottom right, 10% larger (owner #107) */
.h2h b.flat { color: #fff; } /* zero change: "0% since <month>", no arrow, white (owner #108) */
.h2h .firmrow .chip { font-family: var(--font-display); font-size: 14px; letter-spacing: .03em; } /* band names in the header title's condensed face, same visible size (owner #109) */
/* both black tiles 36 -> 42px; tally scaled x1.17 with them (owner #110) */
.h2h .headline .hl { height: calc(43px - 2 * var(--bw)); }
.h2h .badge { height: 42px; }
.h2h .tally { grid-template-columns: 9.5px auto; column-gap: 6px; font-size: 12px; line-height: 10.5px; }
.h2h .tally i { width: 9.5px; height: 9.5px; }
.h2h .headline .l1, .h2h .badge .u { font-size: 9.6px; } .h2h .headline .l2, .h2h .badge .mo { font-size: 11.8px; } /* both tile lines ~7% larger (owner #111) */
.h2h .chip .rk { font-size: 18.5px; } /* band rank numbers ~15% larger (owner #112) */
.h2h .target { text-align: left; } /* flush left (owner #113, reverses #104 centring) */
.h2h .sub { margin-top: 0; } /* practice area up 4px (owner #114) */
/* black bars same width (owner #115): SEE box fixed at 84px, so the black (incl. the SEE ink border) ends 8 + 3 + 84 - 3 = 92px from the right edge; bottom bar stops there too */
.h2h .headline .see { width: 84px; box-sizing: border-box; padding: 0 4px; }
.h2h .badge { right: 92px; }
/* full-map checkbox as big as the white box allows (owner #116): 32px square, menu padding trimmed so it fills the height */
.h2h .gearmenu { padding: 5px 14px 5px 5px; }
.h2h .gearmenu input { width: 32px; height: 32px; margin: 0; flex: none; cursor: pointer; }
.h2h .target { top: 0; } /* name + practice block centred top to bottom: drop the #104 4px push-down (owner #117) */
.h2h .loc { font-size: 9.9px; } /* address ~10% larger (owner #118) */
/* ink-centred top to bottom (owner #117/#118), measured from the live screenshot by ink_center.py: name block was 2 device px low, address 4 */
.h2h .target { top: 0.33px; } .h2h .loc { position: relative; top: -0.67px; }
/* competitor rows: ▲ green / ▼ red (owner #120) */
.h2h .sv .pc .dl b.up { color: var(--up); } .h2h .sv .pc .dl b.down { color: var(--down); }
/* competitor rows: five-colour dot tally in one line, replacing "Top 3 at N of M points" (owner #121) */
.h2h .sv .tl { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-family: var(--font-label); font-size: 12px; color: var(--ink); white-space: nowrap; }
.h2h .sv .tl i { width: 11px; height: 11px; border-radius: 50%; flex: none; border: 1px solid rgba(0, 0, 0, .35); }
.h2h .sv .tl b { font-weight: 700; margin-right: 6px; }
/* YOU row: dot counts on a white full-length strip below the name, inside the yellow row (owner #124) */
.h2h .sv.me .tl { background: #fff; border: 2px solid var(--ink); padding: 4px 8px; margin-top: 5px; }
/* firm picker (owner #125): caret + name + address are one tap area, the bar's full height, from the left edge to 10px short of the menu button;
   the caret glyph is 10px wide because the hit target is the whole strip, which leaves long firm names their room */
.h2h .pick { flex: 1; min-width: 0; align-self: stretch; display: flex; align-items: center; gap: 8px; margin-left: -10px; padding-left: 10px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.h2h .pick:active { background: rgba(0, 0, 0, .08); }
.h2h .pick:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.h2h .pick .caret { flex: none; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--ink); }
.h2h .pick .target { padding-left: 0; }
.h2h .pick .loc { max-width: 43%; } /* was 38% of the bar; the strip is narrower, so 43% keeps the address at its old width */

/* first-visit tour (owner #136/#137): the page dims except the highlighted part; four .tb blockers (placed by linked.html)
   cover everything around the .tspot hole so the highlight keeps taking taps. Restored 2026-11-02: these rules were lost in
   the 2026-11-01 rollback (never committed); check = checks/live_check32.py on live. */
.tour { display: none; position: fixed; inset: 0; z-index: 40; pointer-events: none; font-family: var(--font-body); }
.tour.open { display: block; }
.tour .tb { position: fixed; background: var(--scrim); pointer-events: auto; }
.tour .tspot { position: fixed; box-sizing: border-box; outline: 3px solid var(--accent); outline-offset: 2px; pointer-events: none; }
.tour.center .tspot { display: none; }
.tour .tip { position: fixed; box-sizing: border-box; background: var(--paper); color: var(--ink); border: var(--bw) solid var(--ink); box-shadow: var(--chip-shadow); padding: 14px 16px 12px; pointer-events: auto; }
.tour .tt { margin: 0 0 12px; font: 16px/1.35 var(--font-body); }
.tour .tft { display: flex; align-items: center; gap: 10px; }
.tour .tn { flex: 1; font-family: var(--font-label); font-size: 11px; letter-spacing: .08em; opacity: .7; }
.tour .tft button { height: 36px; padding: 0 14px; border: var(--bw) solid var(--ink); font-family: var(--font-label); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.tour .tskip { background: var(--paper); color: var(--ink); }
.tour .tnext { background: var(--accent); color: var(--ink); }
.tour .tarr { position: absolute; display: none; width: 0; height: 0; margin-left: -10px; border-left: 10px solid transparent; border-right: 10px solid transparent; }
.tour .tarr.up { display: block; top: -11px; border-bottom: 11px solid var(--ink); }
.tour .tarr.down { display: block; bottom: -11px; border-top: 11px solid var(--ink); }
