/* Data tables (Organizations, Lawyers, Moves): filter bar, chips, column menu and pager. Uses the page's tokens. */
.x-filters { display: grid; gap: var(--sp-2); }
.x-filter-row { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); align-items: flex-end; }
.x-filter-row.x-more { padding-block-start: var(--sp-1); }
.x-route-pair { display: flex; align-items: flex-end; gap: var(--sp-1); }
.x-route-arrow { display: grid; place-items: center; height: var(--control-height); color: var(--muted); }
.x-field { display: grid; gap: var(--sp-1); min-width: 0; max-width: 100%; }
.x-label { font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--muted); }
.x-field input { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-ui); padding: var(--sp-1) var(--sp-2); font-size: var(--fs-field); line-height: var(--lh-ui); color: var(--ink); min-width: 0; min-height: var(--control-height); }
.x-field select { max-width: min(230px, 100%); }
.x-search { flex: 1 1 200px; }
.x-search input { width: 100%; }
.x-field > input[type="text"] { width: 170px; }
.x-range { display: flex; align-items: center; gap: var(--sp-2); min-height: var(--control-height); }
.x-range input { width: 68px; text-align: right; font-variant-numeric: tabular-nums; }
.x-range-to, .x-range-unit { font-size: var(--fs-small); color: var(--muted); }
.x-check { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-control); color: var(--ink); min-height: var(--control-height); }
.x-control { min-height: var(--control-height); padding: var(--sp-1) var(--sp-3); white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-1);
  border: 1px solid var(--rule); border-radius: var(--r-ui); background: var(--surface); color: var(--ink);
  font-size: var(--fs-control); line-height: var(--lh-ui); font-weight: var(--fw-medium); cursor: pointer; }
.x-control-icon { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.x-control:hover { border-color: var(--rule-hover); }
.x-control[aria-expanded="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.x-clear { border: 0; background: none; color: var(--accent); font-weight: var(--fw-medium); font-size: var(--fs-control); cursor: pointer; min-height: var(--control-height); }
.x-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.x-chips:empty, .x-more[hidden], .x-menu-panel[hidden] { display: none; }
.x-chip { border: 1px solid var(--rule); background: var(--accent-soft); color: var(--accent); border-radius: var(--r-ui); padding: 3px 10px; font-size: var(--fs-small); font-weight: var(--fw-strong); cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-chip:hover { border-color: var(--rule-hover); }

/* organization picker: type to find a firm or employer, or pick a group */
.x-type { position: relative; }
.x-type-btn { width: 200px; }
.x-place { position: relative; display: flex; align-items: center; }
.x-place input { width: 215px; max-width: 100%; padding-left: 28px; padding-right: 9px; }
.x-place.has-value input { padding-right: 26px; }
.x-place-icon { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: var(--muted); pointer-events: none; }
.x-place.has-value .x-place-icon { color: var(--accent); }
.menu-hint { padding: var(--sp-1) 10px var(--sp-2); font-size: var(--fs-small); line-height: var(--lh-ui); color: var(--muted); border-bottom: 1px solid var(--rule-soft); margin-bottom: var(--sp-1); }
.x-place.has-value input { color: var(--accent); font-weight: var(--fw-strong); }
.x-place-clear { position: absolute; right: 4px; border: 0; background: none; color: var(--muted); font-size: var(--fs-heading); line-height: var(--lh-none); cursor: pointer; padding: 4px 6px; }

.x-bar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2) var(--sp-4); margin: var(--sp-1) 0 var(--sp-2); }
.x-count { margin: 0; font-size: var(--fs-body); line-height: var(--lh-ui); }
.x-count b { font-size: var(--fs-title); font-variant-numeric: tabular-nums; }
.x-scope { margin: 0; font-size: var(--fs-small); color: var(--muted); }
.x-context { margin-block-end: var(--sp-2); }
.x-bar .x-count { font-size: var(--fs-ui); font-weight: var(--fw-regular); font-variant-numeric: tabular-nums; }
.x-views { flex-wrap: wrap; margin-block-end: var(--sp-2); }
.x-tools { display: flex; align-items: center; gap: var(--sp-1); }
.x-tool { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-1);
  min-width: var(--control-height); min-height: var(--control-height); padding: 0 var(--sp-2);
  border: 0; border-radius: var(--r-ui); background: transparent; color: var(--muted);
  font-size: var(--fs-control); font-weight: var(--fw-medium); line-height: var(--lh-ui); cursor: pointer; }
.x-tool[aria-expanded="true"] { background: var(--hover); color: var(--ink); }
@media (hover: hover) { .x-tool:hover { background: var(--hover); color: var(--ink); } }
.x-menu-panel { position: absolute; inset-inline-end: 0; z-index: 20; top: calc(100% + var(--sp-1)); width: min(560px, 100%); max-height: 70vh; overflow: auto; padding: var(--sp-4); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); gap: var(--sp-3) var(--sp-4);
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-ui); box-shadow: var(--shadow-popover); }
.x-menu-panel fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.x-menu-panel legend { font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--muted); margin-bottom: var(--sp-1); }
.x-menu-panel label { display: flex; gap: var(--sp-2); align-items: center; font-size: var(--fs-control); cursor: pointer; }
.x-menu-panel .x-control { grid-column: 1 / -1; justify-self: start; }

.x-table th { vertical-align: middle; }
/* A table header stays in view under the masthead (and under a profile's section bar) while the page scrolls. --stick-line is where its
   top edge sits: tucked 1px under whatever is above it, so no sliver of the rows shows between them. A table that fits its box is
   natively sticky (JS sets .is-fit, which takes the box out of the scroll containers; collapsed borders do not travel with a sticky
   cell, so the header's line is a shadow). A table wider than its box scrolls sideways, and a scroll container takes a sticky header
   with it, so a copy of the header (.x-sticky-head) is fixed at the same line while the real one is out of sight. */
.x-table { --stick-line: calc(var(--mast-bottom, 0px) - 1px); }
.employer-profile .x-table.is-fit thead th, .employer-profile .x-sticky-head { transition: top .25s ease; }   /* they follow the section bar when the masthead tucks away */
@media (prefers-reduced-motion: reduce) { .employer-profile .x-table.is-fit thead th, .employer-profile .x-sticky-head { transition: none; } }
.employer-profile .x-table { --stick-line: calc(var(--mast-bottom, 0px) + var(--firm-nav-height, 0px) - 2px); }   /* the section bar already overlaps the masthead by 1px */
.x-table.is-fit { overflow: visible; }
.x-table.is-fit thead th { top: var(--stick-line); z-index: 2; border-bottom: 0; box-shadow: inset 0 -1px 0 var(--rule); }
.x-table.is-fit thead th:first-child { z-index: 3; }
.x-sticky-head { position: fixed; top: var(--stick-line); z-index: 4; overflow: hidden; visibility: hidden; pointer-events: none; background: var(--surface); box-shadow: inset 0 -1px 0 var(--rule); }
.x-sticky-head.is-on { visibility: visible; pointer-events: auto; }
.x-sticky-head table { width: auto; transform: translateX(calc(-1 * var(--x-scroll-left, 0px))); }
.x-sticky-head thead th { position: static; border-bottom: 0; box-shadow: inset 0 -1px 0 var(--rule); }
.x-sticky-head thead th:first-child { position: relative; z-index: 1; transform: translateX(var(--x-scroll-left, 0px)); }
.x-table .x-heading { display: flex; width: 100%; flex-direction: column; justify-content: center; align-items: flex-end; min-height: var(--control-height); text-align: inherit; }
.x-table th.l .x-heading { align-items: flex-start; }
.x-table th:not(.l) .table-sort { padding-inline-start: var(--sp-2); }
.x-table th:not(.l) .table-sort .x-head::after { margin-inline-end: var(--sp-1); }
.x-head-buttons { display: flex; gap: var(--sp-1); }
.x-head-group .x-heading { width: auto; min-width: 44px; padding-inline-end: var(--sp-3); color: var(--muted); }
.x-head-group .x-heading.on { color: var(--ink); box-shadow: inset 0 -2px var(--accent); }
.x-head-group .table-sort .x-head::after { margin-inline-start: var(--sp-1); }
.x-results .x-table th { padding-block: 0; }
.x-results .x-table tbody td { height: var(--control-height); padding-block: var(--sp-1); }
/* a date after a header's label ("Current employer  Nov 17, 2026"): a step smaller and lighter than the label, on the same line */
.x-date { display: inline-block; margin-inline-start: var(--sp-2); font-size: var(--fs-micro); font-weight: var(--fw-regular); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* a faint row tint under the pointer, so the eye can follow a row across a wide table (not on touch, where there is no pointer to follow) */
@media (hover: hover) {
  .x-table tbody tr:not(.is-open, .person-detail):hover > td { background: var(--hover); }
}
.x-table td.x-first { min-width: 180px; max-width: 320px; white-space: normal; }
.x-name { font-weight: var(--fw-strong); }
/* A lawyer's name expands their history in place (the chevron says so; a link would say "goes to another page"). The chevron is
   the same drawn shape as the sort caret's family, muted, and turns to point down when open. The whole row is the click target
   (a click on a link or button inside it keeps its own job), so the row shows a pointer and its name turns blue under the mouse. */
.x-person, .employer-lawyer { display: inline-flex; align-items: center; border: 0; background: none; padding: 0; font: inherit; font-weight: var(--fw-regular); color: var(--ink); cursor: pointer; text-align: left; }
.x-surname { font-weight: var(--fw-strong); }   /* the surname is the bold part: it is the word the list is in order of */
.x-person::before, .employer-lawyer::before { content: ""; flex: none; width: 5px; height: 5px; margin: 0 9px 0 3px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0;
  transform: rotate(-45deg); transition: transform .12s; }
.x-person[aria-expanded="true"]::before, .employer-lawyer[aria-expanded="true"]::before { transform: rotate(45deg); }
.x-person:hover, .employer-lawyer:hover, .x-table tr.is-expandable:hover .x-person { color: var(--accent); }
.x-person:hover::before, .employer-lawyer:hover::before, .x-table tr.is-expandable:hover .x-person::before { border-color: var(--accent); }
.x-table tr.is-expandable { cursor: pointer; }
/* An open row's history spans the whole table, which on a phone is wider than the screen: the panel stays as wide as the box and
   holds its place while the table scrolls sideways, instead of running off the edge. */
/* The open history is not a data row: the touch rule that fixes every cell at 44px with no padding must not reach it, or the panel
   sits flush against the row below with no space under "Source observations". */
.x-results .x-table tbody tr.person-detail td { height: auto; padding: var(--sp-1) var(--sp-4) var(--sp-3); }
.x-table tr.person-detail .career { position: sticky; left: var(--sp-4); width: min(860px, calc(100vw - 4 * var(--sp-4))); max-width: 100%; }
.x-table .trunc { max-width: 300px; }   /* a wide table has room for a long employer name; 230px cut most of them short */
.x-source-cell { display: flex; align-items: center; gap: var(--sp-1); min-width: 0; }
.x-site-mark { flex: none; display: inline-flex; padding: 5px; margin: -5px; color: var(--muted); }
.x-site-icon { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .x-site-mark:hover { color: var(--accent); } }
.x-empty { color: var(--muted); padding: 18px 10px !important; }
.x-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 14px 0 4px; font-size: var(--fs-ui); }
.x-pager .more-btn { margin: 0; }
.x-pager .more-btn[disabled] { opacity: .45; cursor: default; }
.x-table-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2) var(--sp-4); margin-block-start: var(--sp-3); }
.x-table-footer .x-pager { margin: 0; gap: var(--sp-2); }
.x-status { padding: 24px 0; }
.x-loading > .x-status { padding: var(--sp-3) 0 var(--sp-4); }   /* sits close to the placeholder rows under it */
.x-embed { margin: 8px 0 18px; }
.x-embed h3 { margin-bottom: 8px; }

/* every chart and stat that has a table behind it gets the same footer link */
a.stat-link { text-decoration: none; color: inherit; display: block; }
a.stat-link:hover .k, a.stat-link:hover .v { color: var(--accent); }
.home-more-row { display: flex; flex-wrap: wrap; gap: 4px 18px; }

@media (max-width: 640px) {
  .explore-page .page-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-4); padding-top: 0; }
  .explore-page .period { width: auto; }
  .explore-page .period-panel { inset-inline: 0 auto; width: min(340px, calc(100vw - 2 * var(--sp-4))); }
  .x-filter-row > .x-field { flex: 1 1 145px; }
  .x-primary-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
  .x-filter-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--sp-3); }
  .x-filter-actions > .x-search { flex: 1 1 0; }
  .x-filter-actions .x-search .x-label { display: none; }
  .x-field select, .x-place input, .x-field > input[type="text"] { width: 100%; max-width: none; }
  .x-range input { flex: 1 1 52px; width: 0; }   /* width 0: a box's own default width would make the whole filter bar wider than the screen */
  .x-range-unit { display: none; }
  .x-place { width: 100%; }
  .x-type, .x-type-btn { width: 100%; }
  .x-place-list, .x-type .menu-pop { width: 100%; max-width: none; }   /* explore-ui.js fitPopup widens these to the whole filter bar and caps their height */
  .x-more > .x-field:has(.x-place, .x-type) { flex-basis: 100%; }
  .x-more { border-top: 1px solid var(--rule-soft); }
  .explore-page .x-subpages { margin-block: 0; }
  .x-field { scroll-margin-top: calc(var(--mast-bottom, 56px) + var(--sp-3)); }
  .x-bar { gap: var(--sp-2); }
  .x-bar .x-count { flex: 1 1 140px; }
  .x-tools { gap: 0; }
  .x-tool-label { display: none; }
  .x-tool .x-control-icon { width: 16px; height: 16px; }
  .x-more-toggle::after { content: ""; flex: none; width: 6px; height: 6px; margin-inline-start: var(--sp-1); border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
  .x-more-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
  .x-menu-panel { width: min(330px, 100%); max-height: min(360px, 50dvh); overscroll-behavior: contain; }
  .x-table td.x-first { min-width: 128px; max-width: 155px; }
  .x-table { --x-person-width: clamp(124px, 39vw, 152px); }
  .x-table td.x-first.x-first-person { min-width: var(--x-person-width); max-width: var(--x-person-width); }
  .x-table .trunc { max-width: 150px; }
  .x-results .x-table td[data-column="route"] { min-width: 156px; max-width: 188px; padding-block: var(--sp-2); }
  .x-results .x-table td.x-first-person ~ td[data-column="route"] {
    min-width: calc(100vw - 2 * var(--sp-4) - var(--x-person-width) - var(--sp-2));
    max-width: calc(100vw - 2 * var(--sp-4) - var(--x-person-width) - var(--sp-2));
  }
  .x-table td[data-column="current"] .trunc { white-space: normal; overflow-wrap: anywhere; }
  .x-person-with-date { padding-block-end: var(--sp-2); }
  .x-person-date { display: block; margin-inline-start: var(--sp-4); color: var(--muted); font-size: var(--fs-small); }
  .x-head-group[data-column="name"] .x-head-buttons { gap: var(--sp-2); }
  .x-head-group[data-column="name"] .x-heading:last-child { padding-inline-end: var(--sp-2); }
  .x-route-leg { display: grid; grid-template-columns: 2.5em minmax(0, 1fr); align-items: baseline; }
  .x-route-leg + .x-route-leg { margin-top: var(--sp-1); }
  .x-route-label { color: var(--muted); font-size: var(--fs-small); }
  .x-route-leg .trunc { max-width: none; white-space: normal; overflow-wrap: anywhere; }
  .x-route-field .x-place-icon { display: none; }
  .x-route-field .x-place input { padding-inline-start: var(--sp-2); }
  .x-route-field .x-place.has-value input { padding-inline-end: var(--control-height); }
}
@media (pointer: coarse) {
  .x-check input, .x-menu-panel input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); flex: none; }
  .x-place-clear { right: 0; min-width: var(--control-height); min-height: var(--control-height); padding: 0; }
  .x-place-icon { left: 12px; }
  .x-place input { padding-inline-start: 34px; }
  .x-filters .x-chip, .x-menu-panel label, .x-table-footer button { min-height: var(--control-height); }
  .x-results .x-table .x-person { min-height: var(--control-height); }
}
/* a list's "See all" sits under it; a section's "Explore …" link closes the section */
.home-more.see-all { margin: 10px 0 0; font-size: var(--fs-small); }

/* Moves / Routes tabs */
.x-subpages { margin-block: calc(var(--sp-2) * -1) var(--sp-4); }
/* "More lists" after the Firms & Employers table: links to the lists search engines index */
.x-lists { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: var(--sp-5); padding-top: var(--sp-3); border-top: 1px solid var(--rule-soft); font-size: var(--fs-small); }
.x-lists[hidden] { display: none; }
.x-lists-label { color: var(--muted); font-weight: var(--fw-strong); }
/* The reported employer names disclosure sits under the list links on firm pages. */
.firm-footnote .names-included { margin-top: var(--sp-3); }
.firm-footnote .names-included > summary { font-size: var(--fs-small); font-weight: var(--fw-medium); }
@media (max-width: 640px) {
}

/* Weekly moves signup (lib/signup.js): an outlined button with a popover in page headers, a tool beside Export CSV on Moves, and a card
   that closes a firm profile. Same hairline controls and popover as the period control; no filled buttons, no banners. */
.signup-pop { position: relative; display: inline-block; min-width: 0; max-width: 100%; }
/* The notify buttons (page header, and the Moves tool) are the solid primary action, the same block as a field bar's action, so they cannot be
   mistaken for a selector like the period control beside them. Once joined, the header button drops back to a hairline. */
.signup-pop > .signup-trigger, .signup-pop > .x-tool { background: var(--fill-action); border: 1px solid var(--fill-action); color: var(--on-action); font-weight: var(--fw-medium); }
.signup-pop > .x-tool { padding: 0 var(--sp-3); }
.signup-trigger .x-control-icon, .signup-pop > .x-tool .x-control-icon { width: 16px; height: 16px; color: inherit; }
.signup-pop > .signup-trigger:hover:not(:disabled), .signup-pop.is-open > .signup-trigger, .signup-pop.is-open > .x-tool { background: color-mix(in srgb, var(--fill-action) 84%, var(--ink)); border-color: transparent; color: var(--on-action); }
@media (hover: hover) { .signup-pop > .x-tool:hover { background: color-mix(in srgb, var(--fill-action) 84%, var(--ink)); color: var(--on-action); } }
.signup-pop > .signup-trigger.is-on { background: transparent; border-color: var(--rule); color: var(--accent); }
.signup-panel { display: none; position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 20; box-sizing: border-box;
  width: min(340px, calc(100vw - 2 * var(--sp-4))); padding: var(--sp-4); background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--r-ui); box-shadow: var(--shadow-popover); text-align: start; white-space: normal; }
.signup-pop.is-open > .signup-panel { display: block; animation: period-in .12s ease-out; }
.signup-title { margin: 0 0 var(--sp-1); font-size: var(--fs-control); font-weight: var(--fw-strong); line-height: var(--lh-ui); }
.signup-line { margin: 0 0 var(--sp-3); font-size: var(--fs-small); line-height: var(--lh-ui); color: var(--muted); }
.signup-field { min-height: 42px; padding-left: var(--sp-3); }
.signup-field input[type="email"] { min-height: 40px; font-size: var(--fs-control); }
.signup-field .btn.inset { min-height: 42px; }
.signup-msg { margin: var(--sp-2) 0 0; font-size: var(--fs-small); color: var(--loss); }
.signup-roles { margin: var(--sp-2) 0 var(--sp-3); }
/* the form: the field, then a sentence that says what the button signs the reader up for ("Get notified of [arrivals and departures] at
   [Kirkland]"), then the fine print. The two choices are text dropdowns: link blue with the site's dotted underline for an interactive value
   (as on the headcount numbers) and a small chevron; they open the shared menu list. The sentence wraps; a long name is cut with an ellipsis. */
.signup-group { min-width: 0; }
.signup-scope { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--sp-1); row-gap: 0; margin: var(--sp-2) 0 0; font-size: var(--fs-control); line-height: var(--lh-ui); color: var(--muted); }
.signup-select { position: relative; display: inline-flex; min-width: 0; max-width: 100%; }
.signup-at { display: inline-flex; align-items: baseline; gap: var(--sp-1); min-width: 0; max-width: 100%; }
.firm-pick-btn.signup-pick { min-height: 0; padding: 2px 15px 2px 2px; border: 0; border-radius: var(--r-ui); background-color: transparent; background-position: right 1px center; background-size: 12px 12px; color: var(--accent); font-size: inherit; font-weight: var(--fw-medium); }
.signup-pick .firm-pick-value { text-decoration: underline dotted; text-underline-offset: 3px; }
.firm-pick-btn.signup-pick:hover, .firm-pick-btn.signup-pick[aria-expanded="true"] { border: 0; }
.firm-pick-btn.signup-pick:hover .firm-pick-value, .firm-pick-btn.signup-pick[aria-expanded="true"] .firm-pick-value { text-decoration-style: solid; }
@media (pointer: coarse) { .firm-pick-btn.signup-pick { min-height: var(--control-height); } }   /* a phone gets a full-size target; the text stays where it was */
.signup-select .menu-pop { white-space: normal; }
/* inside the small popover a list is as wide as the panel's contents, so it never hangs outside the panel */
.signup-panel .signup-scope { position: relative; }
.signup-panel .signup-select { position: static; }
.signup-panel .signup-select .menu-pop { left: 0; right: 0; width: auto; min-width: 0; max-width: none; }
.signup-fine { margin: var(--sp-1) 0 0; font-size: var(--fs-small); line-height: var(--lh-ui); color: var(--muted); }
.signup-roles button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.signup-undo { margin: 0; padding: 0; border: 0; background: none; font: inherit; font-size: var(--fs-small); color: var(--muted); text-decoration: underline; cursor: pointer; }
.signup-undo:hover { color: var(--ink); }
/* The closing card is the page's last ask, set like a section of the page (grey line, serif title and its short underline), with the field bar as
   the thing that makes it different. It comes after the page's own reference links and just before the site footer, with more room above and
   below than a chapter has, so it neither runs into the links above nor sits against the footer's line. No box and no tint. */
.signup-card { margin-top: var(--sp-6); margin-bottom: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--rule); }
.signup-card .signup-title { font: var(--fw-medium) var(--fs-section)/var(--lh-tight) var(--display); margin-bottom: var(--sp-2); }
.signup-card .signup-line { font-size: var(--fs-title); line-height: var(--lh-ui); color: var(--ink); }
.signup-card .signup-field { min-height: 48px; padding-left: var(--sp-4); }
.signup-card .signup-field input[type="email"] { min-height: 46px; font-size: var(--fs-title); }
.signup-card .signup-field .btn.inset { min-height: 48px; }
.signup-card .signup-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: var(--sp-6); align-items: center; }
.signup-card .signup-title, .signup-card .signup-line, .signup-card .signup-roles, .signup-card .signup-undo { grid-column: 1; }
.signup-card .signup-line { margin-bottom: 0; align-self: start; }   /* the title and the line meet in the middle of the rows the form spans */
.signup-card .signup-title { align-self: end; }
.signup-card .signup-group { grid-column: 2; grid-row: 1 / span 2; }
.signup-card .signup-undo { justify-self: start; }
@media (max-width: 640px) {
  .signup-panel { inset-inline: 0 auto; }
  .x-tools .signup-panel { inset-inline: auto 0; }   /* the table tools sit at the right edge, so their panel opens leftward */
  .signup-card .signup-body { grid-template-columns: minmax(0, 1fr); }
  .signup-card .signup-group { grid-column: 1; grid-row: auto; margin-top: var(--sp-4); }
  /* short labels: keep them as pills that wrap in rows (the global phone rule stacks long example questions full width) */
  .signup-roles.try { flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
  .signup-roles.try > span { flex-basis: 100%; min-width: 0; margin-block-end: 0; }
  .signup-roles.try button { border-radius: var(--r-ui); padding: var(--sp-2) var(--sp-3); min-height: 44px; }
}
/* the design sheet puts the demos at the left edge, so their panels open rightward instead */
.signup-demo .signup-pop > .signup-panel { inset-inline: 0 auto; }
