/* Map prototype. Everything else comes from the site's stylesheet (site.css).
   The map is one smooth shade from white (no lawyers) through blue to purple (most); js/map.js works it out and
   paints it on a canvas. Regions, states, counties and names are drawn over it in the page's ink.
   Bars stay in the page's ink: black for partners, two greys for associates and for everyone else.
   Text never takes a fill's colour. */

.nav-off { padding: 0.15rem 0; color: var(--graphite); }

/* The top of the Map (JQ, 2026-11-22, 22:50: no question there; 2026-11-23, 17:06: places only in the trail, every other
   choice a menu in one row under it): the trail, the last place the page's title, and the row of choices. It stays at
   the top of the screen as the page scrolls on a desk; on a phone, where the row takes several lines, it scrolls away. */
.view-map .map-head { position: sticky; top: 0; z-index: 6; margin: 1.6rem 0 1.1rem; padding: 0.55rem 0 0.5rem;
  background: var(--paper); border-bottom: 1px solid var(--hairline); }
.view-map .map-head.is-stuck { box-shadow: var(--lift); }      /* while the page scrolls under it (css/site.css --lift) */
@media (max-height: 520px) { .view-map .map-head { position: static; } }
.view-map .crumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.5rem; margin: 0;
  font: 400 clamp(1.15rem, 0.9rem + 1.1vw, 1.7rem)/1.5 var(--serif); }
.view-map .crumbs .crumb-sep { color: var(--graphite); }
.view-map .crumbs .crumb-here { display: inline; margin: 0; font: inherit; font-weight: 700; }
/* The choices, each a menu after its name, wrapping as the width allows; "Clear choices" at the end. The rows of
   menus are 0.6rem apart, and the trail's lines 1.5 (JQ, 2026-11-24, 08:46 Pacific: more room between the lines at the
   top of each section; 0.25rem and 1.35 until then). */
.view-map .map-scope { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 1.9rem; margin: 0.45rem 0 0; font-size: 0.9375rem; }
.view-map .map-scope .clear-choices { white-space: nowrap; }
/* The lawyers the rest of the site counts, when the Map has no count of them (fix brief, 2026-11-24, item 3). */
.view-map .map-scope .lens-note { color: var(--graphite); font-size: 0.875rem; }

/* ---- the map --------------------------------------------------------------------------- */

/* The question stays at the top of the screen as the page scrolls (JQ, 2026-11-22), so what is chosen can be
   read and changed from anywhere on the page. It is set smaller here than on the other pages, to take little
   room up there. Everything else scrolls together. */
.view-map .question { position: sticky; top: 0; z-index: 6; max-width: none; margin: 1.6rem 0 1.1rem; padding: 0.55rem 0 0.5rem;
  font-size: clamp(1.15rem, 0.9rem + 1.1vw, 1.7rem); line-height: 1.6; background: var(--paper); border-bottom: 1px solid var(--hairline); }
@media (max-height: 520px) { .view-map .question { position: static; } }
/* The drawing, and under it the scale and the notes. The whole page scrolls together (JQ, 2026-11-22). The drawing is
   at most 928 px wide, beside the strip of its zoom buttons; js/map.js sets the width of the two together. */
.view-map .map-under { max-width: 58rem; }
.view-map .map-wrap { position: relative; }
.view-map .map-draw { position: relative; overflow: hidden; }
/* Zoom buttons, + over −, then "Whole map" in two lines, in a strip of their own at the map's left (JQ, 2026-11-23:
   at 12:24 Pacific they moved with each map's width and "Whole map" pushed them aside; at 13:16 a dragged map ran
   under them). Every map starts right of the strip, so they stay under the pointer at every step and on every map,
   and the drawing never runs under them. The strip's width is ZOOM_STRIP in js/map.js: these 2.6rem and a gap. Once
   zoomed in, the map can be dragged. */
.view-map .map-zoom { position: absolute; left: 0; top: 0; z-index: 2; display: flex; flex-direction: column; gap: 0.3rem; width: 2.6rem; }
.view-map .map-zoom button { width: 100%; height: 2rem; padding: 0; font: 600 1.05rem/1 var(--sans); color: var(--ink); background: var(--paper);
  border: 1px solid var(--ink); border-radius: 0; cursor: pointer; }
.view-map .map-zoom button.zoom-word { height: auto; padding: 0.3rem 0; font: 600 0.75rem/1.15 var(--sans); }
.view-map .map-zoom button:disabled { color: #9A9A9A; border-color: #BDBDBD; cursor: default; }
.view-map .map-zoom button:not(:disabled):hover { background: var(--marker-soft); }
[data-input="keys"] .view-map .map-zoom button:focus { box-shadow: 0 0 0 3px var(--marker); outline: none; }
/* On a phone the buttons stand over the map's top left corner, so the map takes the screen's width (R4-12; js/map.js
   stripRem). */
@media (max-width: 40rem) {
  .view-map .map-zoom { top: 0.25rem; left: 0.25rem; width: 2.3rem; }
  .view-map .map-zoom button { height: 1.9rem; background: rgb(255 255 255 / 0.92); }
}
/* On a touch screen one finger scrolls the page and two fingers move and zoom the map (js/map.js, JQ, 2026-11-23, 15:08
   Pacific): the browser pans the page for the map but does not zoom the page for a pinch on it. */
.view-map .map { touch-action: pan-x pan-y; }
.view-map .map-wrap.is-dragging .map, .view-map .map-wrap.is-dragging .map * { cursor: grabbing; }
.view-map .map-shade { display: block; width: 100%; height: auto; }                      /* the shade; it gives the map its height */
.view-map .map { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }   /* the lines and names, over it */
/* A shape is there to be pointed at: its fill is white and clear, so the shade shows through. */
.view-map .map .state { fill: #FFFFFF; fill-opacity: 0; stroke: #A6A6A6; stroke-width: 0.6px; vector-effect: non-scaling-stroke; cursor: pointer; outline: none; }
.view-map .map .state.is-far { stroke-opacity: 0.3; }
.view-map .map .state.is-hover, [data-input="keys"] .view-map .map .state:focus { stroke: var(--ink); stroke-width: 2px; stroke-opacity: 1; }
.view-map .map .state.is-open { stroke: var(--ink); stroke-width: 3px; }
.view-map .map .region-line { fill: none; stroke: var(--ink); stroke-width: 1.4px; vector-effect: non-scaling-stroke; pointer-events: none; }
.view-map .map .region-line.is-far { opacity: 0.3; }
/* The country by region. Pointing at a region lays a white veil over the others and draws its edge heavy. */
.view-map .map .region { cursor: pointer; outline: none; }
.view-map .map .region .state { stroke: #BDBDBD; transition: fill-opacity 0.12s; }
.view-map .map .region .region-line { transition: opacity 0.12s; }
.view-map .map.has-hover .region:not(.is-hover) .state { fill-opacity: 0.62; }
.view-map .map.has-hover .region:not(.is-hover) .region-line { opacity: 0.35; }
.view-map .map .region-hot { fill: none; stroke: var(--ink); stroke-width: 3px; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }
[data-input="keys"] .view-map .map .region:focus .region-line { stroke-width: 3.5px; }
.view-map .map .region-count { font-family: var(--sans); font-weight: 600; font-size: 0.86em; }
/* One state. A county shows its outline only under the pointer, or when it is the one opened. */
.view-map .map .county { fill: #FFFFFF; fill-opacity: 0; stroke: none; vector-effect: non-scaling-stroke; outline: none; }
.view-map .map .county.has-lawyers { cursor: pointer; }
/* A map drawn large (round 20, JQ 19:02): faint county lines, the counties of the states around, their names, and the
   cities with offices over the state line in grey. */
.view-map .map.detail .county:not(.is-hover):not(.is-open) { stroke: #D4D4D4; stroke-width: 0.75px; }
.view-map .map .county.is-near-state { cursor: pointer; }
.view-map .map .county-name { font-family: var(--sans); font-weight: 400; font-style: italic; fill: var(--graphite); dominant-baseline: central;
  pointer-events: none; paint-order: stroke; stroke: #FFFFFF; stroke-linejoin: round; }
.view-map .map .city-dot.is-other { stroke: var(--graphite); }
.view-map .map .city-name.is-other { fill: var(--graphite); font-weight: 400; }
.view-map .map .county.is-hover, [data-input="keys"] .view-map .map .county:focus { stroke: var(--ink); stroke-width: 2px; }
.view-map .map .county.is-open { stroke: var(--ink); stroke-width: 3px; }
.view-map .map .state-line { fill: none; stroke: var(--ink); stroke-width: 1.6px; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.view-map .map .county-dot { fill: #FFFFFF; fill-opacity: 0; stroke: none; vector-effect: non-scaling-stroke; cursor: pointer; outline: none; }
.view-map .map .county-dot.is-hover { stroke: var(--ink); stroke-width: 2px; }
.view-map .map .county-dot.is-open { stroke: var(--ink); stroke-width: 3px; }
.view-map .map .city-dot { fill: #FFFFFF; stroke: var(--ink); stroke-width: 1px; vector-effect: non-scaling-stroke; pointer-events: none; }
/* One firm's offices, each a pin (round 33, JQ 18:36): a red head with a light on it, on a grey pin whose point is on the
   office, and a faint shadow where it goes in. The head is ringed in black under the pointer or the keys; an office's
   own pin opens nothing more. */
.view-map .map .pin { cursor: pointer; outline: none; }
.view-map .map .pin.is-open { cursor: default; }
.view-map .map .pin-shadow { fill: #000000; fill-opacity: 0.25; pointer-events: none; }
.view-map .map .pin-needle { stroke: #6B6F76; stroke-width: 1.5px; stroke-linecap: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.view-map .map .pin-head { stroke: #7A140F; stroke-width: 0.75px; vector-effect: non-scaling-stroke; pointer-events: none; }
.view-map .map .pin-hit { fill: #FFFFFF; fill-opacity: 0; stroke: none; }
.view-map .map .pin.is-hover .pin-head, [data-input="keys"] .view-map .map .pin:focus .pin-head { stroke: var(--ink); stroke-width: 2px; }
/* Names are black with a white edge, so they read on any shade. */
.view-map .map .map-label, .view-map .map .city-name { font-family: var(--sans); font-weight: 600; dominant-baseline: central; pointer-events: none; fill: var(--ink);
  paint-order: stroke; stroke: #FFFFFF; stroke-linejoin: round; }
.view-map .map .map-label { text-anchor: middle; }
/* On a state's map, the name of the largest city of a county too small to point at opens the county (round 20). */
.view-map .map .callout { pointer-events: auto; cursor: pointer; text-decoration: underline; text-decoration-thickness: 0.06em; }
.view-map .map .callout:hover, .view-map .map .callout:focus-visible { fill: var(--graphite); outline: none; }
.view-map .map .leader { stroke: var(--graphite); fill: none; pointer-events: none; }
/* County lines on a map of the country or of a region drawn large (round 34, JQ 19:22): as faint as a state map's. */
.view-map .map .county-lines { fill: none; stroke: #D4D4D4; stroke-width: 0.75px; vector-effect: non-scaling-stroke; pointer-events: none; }
.view-map .map .region-name { font-family: var(--serif); font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none;
  fill: var(--ink); paint-order: stroke; stroke: #FFFFFF; stroke-linejoin: round; }
.map-tip { position: absolute; z-index: 4; max-width: 17rem; padding: 0.4rem 0.6rem; font-size: 0.875rem; line-height: 1.4; pointer-events: none;
  background: var(--paper); border: 1px solid var(--ink); }
.map-tip b { display: block; font-weight: 700; }

/* The scale: the run from white through blue to purple, with the figures it stands for marked beneath. */
.view-map .map-foot { margin-top: 0.7rem; font-size: 0.8125rem; color: var(--graphite); }
.view-map .shade-key { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.3rem 1rem; }
.view-map .legend-title { font-weight: 600; color: var(--ink); }
.view-map .shade-run { position: relative; display: block; flex: 0 1 20rem; min-width: 12rem; height: 2.3rem; }
.view-map .shade-bar { display: block; height: 0.8rem; border: 1px solid #9A9A9A; }
.view-map .shade-mark { position: absolute; top: 1.1rem; transform: translateX(-50%); line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.view-map .shade-mark::before { content: ""; position: absolute; left: 50%; top: -0.3rem; height: 0.25rem; border-left: 1px solid var(--graphite); }
.view-map .shade-bar + .shade-mark { transform: none; }                 /* the 0, set flush with the bar's left end */
.view-map .shade-bar + .shade-mark::before { left: 0; }
.view-map .shade-key .tip-pop { font-weight: 400; color: var(--ink); }
.view-map .chips { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem; margin: 0.6rem 0 0; font-size: 0.8125rem; }
.view-map .chips-label { color: var(--graphite); }
.view-map .chip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.15rem 0.45rem; font: inherit; font-weight: 600; color: var(--ink);
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 0; cursor: pointer; font-variant-numeric: tabular-nums lining-nums; }
.view-map .chip:hover { border-color: var(--ink); }
.view-map .chip.is-open { border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--marker); }
[data-input="keys"] .view-map .chip:focus { box-shadow: 0 0 0 3px var(--marker); }
.view-map .chip .chip-n { font-weight: 400; color: var(--graphite); }
/* The first places only, and a button for the rest (js/map.js chips): four on a phone (JQ, 2026-11-25, 13:38 Pacific),
   eight on a wider screen (14:21). A place in view stays shown. The button's words are those of the fold on show. */
.view-map .chips-toggle { display: none; align-items: center; min-height: 1.75rem; font-size: inherit; }
.view-map .chips-toggle > span { display: none; }
@media (min-width: 40.01rem) {
  .view-map .chips.fold-wide .chips-toggle { display: inline-flex; }
  .view-map .chips.fold-wide:not(.is-unfolded) .chip-more-wide:not(.is-open) { display: none; }
  .view-map .chips.fold-wide:not(.is-unfolded) .chips-toggle .more-wide,
  .view-map .chips.fold-wide.is-unfolded .chips-toggle .fewer { display: inline; }
}
@media (max-width: 40rem) {
  .view-map .chips.fold-phone .chips-toggle { display: inline-flex; }
  .view-map .chips.fold-phone:not(.is-unfolded) .chip-more:not(.is-open) { display: none; }
  .view-map .chips.fold-phone:not(.is-unfolded) .chips-toggle .more-phone,
  .view-map .chips.fold-phone.is-unfolded .chips-toggle .fewer { display: inline; }
}

/* ---- sections and tables --------------------------------------------------------------- */

/* A count under "All lawyers": the number is a button, and its bar is in three tones with a gap between them.
   The tones are one ink from dark to light (checked: even steps, the lightest still 2:1 on white). */
.view-map .bar-button { display: block; width: 100%; margin: 0; padding: 0; font: inherit; color: inherit; text-align: left; white-space: nowrap;
  background: none; border: 0; border-radius: 0; cursor: pointer; }
.view-map .bar-button:hover .bar-value, .view-map .bar-button[aria-expanded="true"] .bar-value { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
[data-input="keys"] .view-map .bar-button:focus { box-shadow: 0 0 0 3px var(--marker); }
.view-map .bar-split { position: absolute; top: 0; bottom: 0; left: 0; display: flex; gap: 2px; min-width: 2px; }
.view-map .bar-seg { position: relative; flex: 1 1 0; min-width: 1px; }
.view-map .bar-seg::after { content: ""; position: absolute; inset: -0.45rem 0; }   /* a taller strip to point at than the bar itself */
.bar-tip { position: fixed; z-index: 6; }
.view-map .bar-seg.is-partner { background: var(--ink); }
.view-map .bar-seg.is-associate { background: #6B6B6B; }
.view-map .bar-seg.is-other { background: #B0B0B0; }
.view-map .bar-split .bar-seg:last-child { border-radius: 0 4px 4px 0; }
.view-map .split-line { display: block; margin-top: 0.25rem; font-size: 0.8125rem; line-height: 1.4; color: var(--graphite); white-space: normal; }
.view-map .set-note { margin: -0.5rem 0 0.9rem; font-size: 0.875rem; color: var(--graphite); }
/* The order of a table (JQ, 2026-11-23: a law school table at 00:19, every table at 14:54): a column's name with a small
   ▾, drawn as the question's blanks draw theirs; black on the column the table is in order of, light grey on the others. */
.view-map thead .sort-button { padding: 0; font: inherit; color: inherit; white-space: nowrap; background: none; border: 0; cursor: pointer; }
.view-map thead .sort-button:hover, .view-map thead .sort-button.is-on { color: var(--ink); }
.view-map thead .sort-mark::after { content: ""; display: inline-block; width: 0.62em; height: 0.38em; margin-left: 0.3em; vertical-align: 0.12em;
  background: #B0B0B0; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.view-map thead .sort-button.is-on .sort-mark::after, .view-map thead .sort-button:hover .sort-mark::after { background: var(--ink); }
.view-map .sort-button.is-reversed .sort-mark::after { transform: rotate(180deg); }   /* pressed again: the order turned round (R4-16) */
/* The find box beside the name of a table's first column (JQ, 2026-11-22, 23:30, and 23:57: beside the label). */
.view-map thead .find { width: 11rem; margin: 0 0 0 1rem; padding: 0 0 0.1rem; font: 400 0.875rem/1.3 var(--sans); color: var(--ink); vertical-align: baseline; }
.view-map .find-none { margin: 0.4rem 0 0; }

/* The tables, as tabs side by side: one shows at a time, right under the map. */
.view-map .tabs { display: flex; flex-wrap: wrap; gap: 0 1.6rem; margin: 1.6rem 0 1.1rem; border-bottom: 1px solid var(--ink); }
.view-map .tab { margin: 0 0 -1px; padding: 0.45rem 0 0.4rem; font: 600 1rem/1.3 var(--sans); color: var(--graphite); background: none; border: 0; border-bottom: 4px solid transparent;
  border-radius: 0; cursor: pointer; }
.view-map .tab:hover { color: var(--ink); }
.view-map .tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
[data-input="keys"] .view-map .tab:focus { background: var(--marker-soft); outline: none; }
.view-map .tab-panel { min-height: 14rem; }
.view-map .about .text-button { font-weight: 600; }

.view-map h2 { margin-top: 2.5rem; }
.view-map .summary { margin-top: 1.4rem; }
/* The list of firms: the firm's name has room for a line, and a cell that lists practices puts each on its own line. */
.view-firms .ranking .col-school { min-width: 15rem; }
.view-firms .ranking td .line { display: block; white-space: nowrap; }
@media (max-width: 64rem) { .view-firms .ranking .col-school { min-width: 10rem; } }
@media (max-width: 700px) { .view-firms .ranking .col-school { min-width: 7.5rem; } }
/* Which lawyers are counted, under the page's count and over the tables (the key to the bars is in the (i) of each
   column of counts since 23:33). */
.view-map .counting { margin-top: 1.2rem; }
.view-map .counting .controls { margin: 0 0 0.9rem; }
.view-map h3 { margin: 0 0 0.5rem; }
.view-map .ranking .place-name, .view-map .ranking .firm-name { font: 400 1.0625rem/1.35 var(--serif); }
.view-map .ranking a { text-decoration: none; }
/* A link inside a note keeps its underline, as everywhere else ("See the full list of elite firms"). */
.view-map .ranking .tip-pop a.elite-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
/* The link out to the firm's website: "site" and the arrow in a thin box, apart from the name (JQ, 19:52). */
.view-map .ranking a.out { display: inline-block; margin-left: 0.25em; padding: 0.05em 0.35em; font: 400 0.75rem/1.3 var(--sans); color: var(--graphite);
  text-decoration: none; white-space: nowrap; vertical-align: 0.12em; border: 1px solid #BDBDBD; border-radius: 2px; }
.view-map .ranking a.out:hover, .view-map .ranking a.out:focus-visible { color: var(--ink); border-color: var(--ink); text-decoration: none; }
/* A larger area to tap than to see, as the guides' (fix brief, round 6, R6-17; round 9, R9-2: 43 by 19 on the Firms page,
   18 tall on the Map, 3 pixels under the firm's name): about 28 tall, grown downward, clear of the name above. */
.view-map .ranking a.out { position: relative; }
.view-map .ranking a.out::after { content: ""; position: absolute; inset: -0.15rem -0.1rem -0.45rem; }
.view-map .ranking a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.view-map .ranking tr.is-marked .school-name a, .view-map .ranking tr.is-marked .place-name a { padding: 0.08em 0.25em; margin: 0 -0.25em; background: var(--marker);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.view-map .ranking .sub { display: block; font: 400 0.8125rem/1.45 var(--sans); color: var(--graphite); }
.view-map .ranking .sub a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.view-map .ranking .sub .text-button { font-weight: 400; }
/* The button that shows a firm's other offices here, on a line of its own under them, so that it does not read as one
   more office (JQ, 2026-11-23, 14:51). */
.view-map .ranking .offices-more { display: block; margin-top: 0.2rem; }
.view-map .ranking .offices-more .text-button { font-weight: 600; color: var(--ink); }
.view-map .ranking .col-n { width: 5.5rem; }
.view-map .ranking tr.is-child .place-name { padding-left: 1.25rem; font-size: 1rem; }
.view-map .more { margin: 0.6rem 0 0 calc(var(--num-col) + 0.4rem); font-size: 0.9375rem; }
.view-map .more-top { margin: 0 0 0.5rem calc(var(--num-col) + 0.4rem); }   /* an open table folds from its top too (R4-14) */
.view-map .table-note { margin: 0.6rem 0 0; font-size: 0.875rem; color: var(--graphite); }
.view-firms .summary + .scroll { margin-top: 0.9rem; }   /* the list of firms under its count line, now that no Order menu stands between */
/* The one line under a map runs the map's width, so that it stays one line on a desk. */
.view-map .empty { margin: 0.25rem 0 0; color: var(--graphite); }
/* The notes take the page's width (JQ, 2026-11-25, 02:27 Pacific: "没有自适应宽度"). */
.view-map .about { margin-top: 3rem; font-size: 0.9375rem; }
.view-map .about li { margin-bottom: 0.4rem; }

@media (max-width: 40rem) {
  /* The Map's own page only: on the site this rule came after css/site.css and undid its phone sizes, so "Method"
     fell to a second line at 360 to 400 px (bug check, 2026-11-23). */
  [data-map="alone"] .masthead nav { column-gap: 0.8rem; font-size: 0.875rem; }
  .view-map .ranking.bars-wide .col-bar { width: 44%; }
  .view-map .map-head { position: static; margin-top: 1rem; }
  .view-map .question { line-height: 1.7; }
  /* The question (the list of firms) as on the other pages on a phone (JQ, 2026-11-25, 16:53 Pacific: on Firms it stayed
     at the top 208 px tall, a quarter of the screen): in its place until scrolled past, then one line across the top,
     whole on a tap (js/narrow.js; css/site.css .is-floating and .is-compact, which this sheet's rules above outweigh). */
  .view-map .question { position: static; }
  .view-map .question.is-floating { position: fixed; top: 0; left: 0; right: 0; margin: 0; padding-top: 0.3rem; padding-bottom: 0.3rem;
    border-bottom: 0; }
  .view-map .question.is-compact { font-size: 1rem; line-height: 1.6; }
  .view-map .map-scope { column-gap: 1.3rem; }
  .view-map thead .find { display: block; width: 100%; min-width: 8rem; margin: 0.35rem 0 0; }
  .view-map .ranking .col-n { width: auto; }
  .view-map .ranking .place-name, .view-map .ranking .firm-name { font-size: 1rem; }
  /* Every column stays on a phone, and a table wider than the screen is swiped sideways (JQ, 2026-11-23, 15:09 and
     15:10 Pacific: the columns on the right could not be seen or dragged to). A shadow at an edge shows that more of
     the table lies that way; it goes when the table is swiped to that end. */
  .view-map .ranking .col-school:not(.col-lead) { min-width: 8.5rem; }
  .view-map .ranking .col-bar { min-width: 10rem; }
  .view-map .ranking .col-lead { min-width: 10rem; }
  .view-map .scroll { -webkit-overflow-scrolling: touch;
    background: linear-gradient(to right, var(--paper) 30%, rgb(255 255 255 / 0)), linear-gradient(to left, var(--paper) 30%, rgb(255 255 255 / 0)) 100% 0,
      radial-gradient(farthest-side at 0 50%, rgb(0 0 0 / 0.16), rgb(0 0 0 / 0)), radial-gradient(farthest-side at 100% 50%, rgb(0 0 0 / 0.16), rgb(0 0 0 / 0)) 100% 0;
    background-repeat: no-repeat; background-size: 2.5rem 100%, 2.5rem 100%, 0.8rem 100%, 0.8rem 100%; background-attachment: local, local, scroll, scroll; }
  .view-map .more { margin-left: calc(var(--num-col) + 0.4rem); }
}

/* Round of 2026-11-22, evening (JQ). */
/* A line between the map and the counts under it, so the two read as sections of their own. */
.view-map .map-page .summary { padding-top: 1.1rem; border-top: 1px solid var(--hairline); }
/* Columns of words in a table (Chambers USA, Elite in): left-aligned, each item on a line. */
.view-map .ranking td.col-list { min-width: 11rem; text-align: left; vertical-align: top; }
@media (max-width: 64rem) { .view-map .ranking td.col-list { min-width: 8.5rem; } }
.view-map .ranking td.col-list .line { display: block; white-space: normal; }
.view-map .ranking td.col-list .sub { display: block; margin-top: 0.15rem; white-space: normal; }
/* No pies (JQ, 2026-11-25: on a phone at 13:40 Pacific, everywhere at 15:50). On a phone the top feeder schools' lines
   stay unbroken, as the table is swiped sideways anyway: a row is three lines high, not seven. */
@media (max-width: 40rem) {
  .view-map .feeder-line, .view-map .ranking .col-lead .sub { white-space: nowrap; }
}
/* The firm in brief, under the count line of a firm's page (js/map.js firmFacts; JQ, 2026-11-25, 17:08 Pacific): one fact
   a line, the labels in a column of their own; on a phone each label above its figure. */
.view-map .firm-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.3rem 0.85rem; max-width: 52rem;
  margin: 0.9rem 0 0; font-size: 0.9375rem; line-height: 1.45; }
.view-map .firm-facts .fact { display: contents; }
.view-map .firm-facts dt { color: var(--graphite); }
.view-map .firm-facts dt::after { content: ":"; }
.view-map .firm-facts dd { margin: 0; min-width: 0; }
@media (max-width: 40rem) {
  .view-map .firm-facts { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .view-map .firm-facts dd { margin-bottom: 0.45rem; }
}
/* What an office's lawyers do, in the Offices table of a firm's page (js/map.js officesTable; JQ, 2026-11-25, 18:30
   Pacific): one practice group a line, its lawyers and share after it; the largest three, and the rest on a click. */
.view-map .ranking .col-groups { min-width: 12rem; text-align: left; vertical-align: top; }
/* Its room comes from the bars, which take less of the table's width there. */
@media (min-width: 40rem) { .view-map .ranking.with-groups .col-bar { width: 15%; } }
/* Beside it, so the table keeps to the page's width, Associates per partner's name takes two lines. */
.view-map .ranking th.col-wrap { width: 8.5rem; min-width: 8.5rem; }
.view-map thead th.col-wrap .sort-button { white-space: normal; text-align: inherit; }
.view-map .group-line { display: block; white-space: normal; font-size: 0.875rem; line-height: 1.35; margin-bottom: 0.2rem;
  padding-left: 0.75rem; text-indent: -0.75rem; }
.view-map .group-line .feeder-n { white-space: nowrap; }
/* On a phone the lines stay unbroken, as the table is swiped sideways anyway, as the top feeder schools' lines do. */
@media (max-width: 40rem) {
  .view-map .ranking .col-groups { min-width: 0; }
  .view-map .group-line { white-space: nowrap; }
}
.view-map .lead-figure { color: #767676; }   /* the leading schools' figures, light grey (JQ, 22:33) */
/* Ranked in: who ranks the firm in the practice, after its name (round 20). */
.view-map .ranking td.col-list .by { font: 400 0.8125rem/1.45 var(--sans); color: var(--graphite); white-space: nowrap; }
.view-map .ranking td.col-list .line + .line { margin-top: 0.2rem; }
.view-map .sub-toggle { font-size: 0.8125rem; color: var(--graphite); }
/* A number that lists what it counts (a firm's offices): the number with a dotted line under it; its list opens
   right under it, so the pointer can move into it, and scrolls when long. */
.view-map .list-number { color: var(--ink); font: inherit; font-variant-numeric: tabular-nums lining-nums;
  text-decoration: underline dotted; text-underline-offset: 0.2em; }
.view-map .list-tip { position: relative; }
.view-map .list-tip .tip-pop { top: 100%; right: 0; left: auto; max-height: 18rem; overflow-y: auto; }
.view-map .list-tip .tip-line { white-space: nowrap; }
.view-map .see-all { font-size: 0.8125rem; }
/* The top feeder school: a line for the school with the most lawyers and one for the school first after adjusting for
   school size, each with its figure (JQ, 2026-11-24, 19:39 Pacific); the labels and the figures in grey. */
.view-map .feeder-line { display: block; }
.view-map .feeder-label, .view-map .feeder-n { color: var(--graphite); font-size: 0.8125rem; }
.view-map .feeder-n { font-variant-numeric: tabular-nums lining-nums; }
@media (min-width: 64rem) { .view-map .feeder-line { white-space: nowrap; } }
/* The largest firm and the top feeder school of a practice group: each figure on one line. */
/* On a wide screen each figure stays on one line; on a narrower one they wrap, so the table fits. */
@media (min-width: 64rem) { .view-map .ranking .col-lead .sub { white-space: nowrap; } }


/* The first line of a list of a firm's offices: what its numbers count (JQ, 2026-11-22, 20:54). */
.tip-title { display: block; font-weight: 600; margin-bottom: 0.2rem; }

/* ---- the Practice section (JQ, 2026-11-24, 14:01 Pacific) -------------------------------------
   The list of practice areas, and a practice's page: the Map's own parts, with the practice as the page's title, the
   place as a trail in the row of choices, and the Map's tabs under the map (law schools, cities, firms). */
.view-practice .crumbs .crumb-note { font-weight: 400; }
.view-practice .where-trail { white-space: normal; }
.view-practice .where-here { font-weight: 700; }
.view-practice .part-lead { margin: 0.2rem 0 1rem; color: var(--graphite); }
.view-practice .practice-index tr.area-row th { padding: 1.6rem 0 0.35rem; font: 700 1.125rem/1.3 var(--serif); text-align: left; border-bottom: 1px solid var(--ink); }
.view-practice .practice-index tbody:first-of-type tr.area-row th { padding-top: 0.6rem; }
.view-practice .practice-index tr.is-child th.col-school { padding-left: 1.5rem; }
.view-practice .practice-index tr.is-child .place-name { padding-left: 0; font-size: 1rem; }
.view-practice .practice-index .practice-cities, .view-practice .practice-index .practice-feeder { line-height: 1.55; }
.view-practice .practice-index .one-line { display: block; white-space: nowrap; }
/* The cities read as a plain list, underlined only under the pointer or the keyboard's focus (JQ, 2026-11-25, 14:26
   Pacific: clearer without the lines). */
.view-practice .practice-index .practice-cities a { text-decoration: none; }
.view-practice .practice-index .practice-cities a:hover, .view-practice .practice-index .practice-cities a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.view-practice .practice-index .chip-n { color: var(--graphite); font-variant-numeric: tabular-nums lining-nums; }
/* On a state's or a city's map every city opens: a ring round its dot, and its name; the city in view is filled in. */
.view-practice .map .city-hit { fill: #FFFFFF; fill-opacity: 0; stroke: none; cursor: pointer; outline: none; pointer-events: all; }
.view-practice .map .city-hit.is-hover, [data-input="keys"] .view-practice .map .city-hit:focus { stroke: var(--ink); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.view-practice .map .city-name.is-city { pointer-events: auto; cursor: pointer; }
.view-practice .map .city-name.is-city.is-hover { text-decoration: underline; }
.view-practice .map .city-name.is-open { font-weight: 800; pointer-events: none; }
.view-practice .map .city-dot.is-open { fill: var(--ink); }

/* "Compare" under an office's name in the office tables (JQ, 2026-11-25, 14:53 Pacific): it opens Compare offices with
   the office first. */
.ranking .compare-add { margin-left: 0.6rem; font-size: 0.8125rem; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.ranking .compare-add:hover { text-decoration-thickness: 2px; }
.ranking td.col-ratio .sub { display: block; font-size: 0.8125rem; color: var(--graphite); white-space: nowrap; }
.ranking th.col-ratio { min-width: 6rem; white-space: normal; }
