/* Listings: state, city and company pages (7 Oct 2026 redesign).

   Chris: "clean, simple, directly to the point, with a small bit of visual
   support. Think Bloomberg, Wall Street-style listings." No tiles, no cards,
   no display faces: one typeface, one size scale (12/14/16/20/32), ruled
   tables, Elite members first at every level. Approved prototype:
   https://claude.ai/artifact/W5B7jrc86J7SGW9EGf4zP6

   Everything is scoped under .ul so the site header, footer and older pages
   are untouched. Plain CSS on purpose: main.css is a precompiled Tailwind
   bundle and silently lacks most utilities. */

.ul {
  --bg: #ffffff;
  --fg: #16191d;
  --muted: #5b636e;
  --rule: #e3e6ea;
  --rule-strong: #c9ced5;
  --row-hover: #f5f7f9;
  --link: #1356c2;
  --bar: #9fb4d3;
  --call: #1356c2;
  --call-fg: #ffffff;
  --tag: #eef2f7;
  --tint: #f2f6fc;
  --star-fill: #e0a100;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.ul *, .ul *::before, .ul *::after { box-sizing: border-box; }
.ul a { color: var(--link); text-decoration: none; }
.ul a:hover { text-decoration: underline; }
.ul :focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.ul h1, .ul h2, .ul h3 { font-family: var(--sans); color: var(--fg); }
.ul p { margin: 0; }

.ul .wrap { max-width: 1100px; margin: 0 auto; padding: 24px 16px 96px; }
.ul .crumb { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 6px; }
.ul .crumb span[aria-hidden] { color: var(--rule-strong); }
.ul h1 { font-size: 32px; font-weight: 600; margin: 4px 0 6px; line-height: 1.25; letter-spacing: -0.012em; text-wrap: balance; }
.ul h2 { font-size: 20px; font-weight: 600; margin: 0; line-height: 1.3; letter-spacing: -0.005em; }
.ul h3 { font-size: 16px; font-weight: 600; margin: 0; line-height: 1.35; }
.ul .lede { color: var(--muted); max-width: 70ch; margin-top: 8px; }
.ul .muted { color: var(--muted); }
.ul .small { font-size: 14px; }

/* key figures row */
.ul .facts { display: flex; flex-wrap: wrap; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); margin: 20px 0 8px; }
.ul .fact { padding: 12px 24px 12px 0; margin-right: 24px; border-right: 1px solid var(--rule); }
.ul .fact:last-child { border-right: 0; }
.ul .fact b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.ul .fact span { font-size: 14px; color: var(--muted); }

.ul section { margin-top: 40px; }
.ul .sec-head { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 2px solid var(--fg); }
.ul .sec-head p { color: var(--muted); font-size: 14px; }
.ul .sec-head .right { margin-left: auto; }
.ul input[type="search"] { font: inherit; font-size: 16px; color: var(--fg); background: var(--bg);
  border: 1px solid var(--rule-strong); border-radius: 4px; padding: 7px 10px; width: 240px; max-width: 100%; }

/* tables */
.ul .tbl-wrap { overflow-x: auto; }
.ul table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ul th, .ul td { text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.ul th:first-child, .ul td:first-child { padding-left: 0; }
.ul th:last-child, .ul td:last-child { padding-right: 0; }
.ul th { font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--rule-strong); white-space: nowrap; }
.ul th.num, .ul td.num { text-align: right; white-space: nowrap; }
.ul th button { all: unset; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.ul th button:focus-visible { outline: 2px solid var(--link); }
.ul th button::after { content: "\2195"; font-size: 12px; opacity: .45; }
.ul th button[data-dir="asc"]::after { content: "\2191"; opacity: 1; }
.ul th button[data-dir="desc"]::after { content: "\2193"; opacity: 1; }
.ul tbody tr:hover > td { background: var(--row-hover); }
.ul td.name { font-weight: 500; min-width: 180px; }
.ul td.nowrap { white-space: nowrap; }
.ul .barcell { width: 160px; }
.ul .bar { height: 6px; background: var(--rule); border-radius: 3px; overflow: hidden; }
.ul .bar i { display: block; height: 100%; background: var(--bar); }

/* tags */
.ul .elite { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 1px 6px; border-radius: 3px;
  background: var(--fg); color: var(--bg); border: 1px solid var(--fg); vertical-align: 1px; white-space: nowrap; }
.ul .roletag { font-size: 14px; font-weight: 600; color: var(--call); white-space: nowrap; }
.ul .ecount { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 1px 7px; background: var(--fg); color: var(--bg); border-radius: 2px; }
.ul .openspots { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 0 6px; border: 1px dashed var(--muted); color: var(--muted); border-radius: 2px; }

/* buttons */
.ul .btn-call { display: inline-block; background: var(--call); color: var(--call-fg); font-weight: 600; font-size: 16px; padding: 8px 14px;
  border-radius: 3px; white-space: nowrap; letter-spacing: .005em; border: 0; }
.ul .btn-call:hover { text-decoration: none; filter: brightness(1.08); color: var(--call-fg); }
.ul .btn-call.sm { padding: 5px 10px; font-size: 14px; }
.ul .btn-call.lg { padding: 11px 20px; }
.ul .btn-line { display: inline-block; border: 1px solid var(--rule-strong); color: var(--fg); background: var(--bg); padding: 7px 14px; border-radius: 3px; font-size: 16px; font-weight: 500; white-space: nowrap; }
.ul .btn-line:hover { text-decoration: none; border-color: var(--fg); }
.ul .btn-line.sm { padding: 5px 10px; font-size: 14px; }
.ul .tel { white-space: nowrap; color: var(--fg); }

/* call line */
.ul .callline { display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; padding: 16px 20px; margin-top: 20px;
  background: var(--tint); border-left: 3px solid var(--call); }
.ul .callline > div { flex: 1 1 320px; min-width: 0; }
.ul .callline b { display: block; font-size: 20px; font-weight: 600; }
.ul .callline span { color: var(--muted); }
.ul .callline.end { margin-top: 48px; }

/* Elite rows and open spots (city page, state city panels) */
.ul .cpanel { padding: 18px 20px 20px; border-left: 3px solid var(--call); background: var(--tint); }
.ul .ptitle { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.ul .erow { display: flex; gap: 12px 20px; align-items: center; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--rule-strong); }
.ul .erow .logo { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid var(--rule); flex: none; }
.ul .einfo { flex: 1 1 300px; min-width: 0; }
.ul .ename { font-size: 20px; font-weight: 600; }
.ul .ename a { color: var(--fg); }
.ul .emeta { color: var(--muted); margin-top: 2px; }
.ul .eoffer { font-size: 14px; margin-top: 4px; color: var(--call); font-weight: 500; }
.ul .equote { font-size: 14px; margin-top: 6px; color: var(--fg); max-width: 70ch; }
.ul .equote cite { font-style: normal; color: var(--muted); }
.ul .erow .acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ul .erow .btn-call { padding: 10px 18px; }
.ul .erow.spot { border-bottom-style: dashed; }
.ul .erow.spot .ename { color: var(--muted); }
.ul .erow.spot .emeta { font-size: 14px; }
.ul .seeall { margin-top: 14px; font: inherit; font-size: 16px; font-weight: 500; color: var(--link); background: var(--bg);
  border: 1px solid var(--rule-strong); border-radius: 3px; padding: 8px 14px; cursor: pointer; }
.ul .seeall::after { content: " \2193"; }
.ul .seeall[aria-expanded="true"]::after { content: " \2191"; }

/* every company in a city / state: Elite rows full size, basic rows smaller */
.ul .all { margin-top: 12px; background: var(--bg); }
.ul .all td { padding: 9px 12px; }
.ul .all td:first-child { padding-left: 12px; }
.ul .all td:last-child { padding-right: 12px; }
.ul .all tr.lead td { padding-block: 13px; }
.ul .all tr.lead td.name { font-weight: 600; }
.ul .all tr.basic td { font-size: 14px; color: var(--muted); padding-block: 7px; }
.ul .all tr.basic td.name { font-weight: 400; color: var(--fg); }
.ul .all tr.basic td.name a { color: var(--fg); }
.ul .all tr.more td { text-align: center; padding: 12px; }

/* state page */
.ul .statehead { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-top: 8px; }
.ul .stateicon { height: 50px; width: auto; max-width: 120px; flex: none; }
.ul .statehead h1 { margin: 0; }
.ul .snav { display: flex; flex-wrap: wrap; gap: 4px; margin-left: 12px; padding-left: 16px; border-left: 1px solid var(--rule-strong); }
.ul .snav button { font: inherit; font-size: 16px; font-weight: 500; color: var(--muted); background: none; border: 0;
  border-bottom: 2px solid transparent; padding: 6px 10px; cursor: pointer; }
.ul .snav button span { font-size: 14px; color: var(--muted); margin-left: 2px; font-weight: 400; }
.ul .snav button:hover { color: var(--fg); }
.ul .snav button[aria-current="true"] { color: var(--fg); border-bottom-color: var(--call); font-weight: 600; }
.ul .board-tbl td { padding-block: 16px; }
.ul .person b { display: block; font-weight: 600; }
.ul tr.city { cursor: pointer; }
.ul tr.city td:first-child::before { content: "+"; display: inline-block; width: 16px; color: var(--muted); }
.ul tr.city[aria-expanded="true"] td:first-child::before { content: "\2013"; }
.ul tr.city.has-elite td.name { font-weight: 600; }
.ul tr.city td.name a { color: var(--fg); }
.ul tr.detail > td { padding: 0 !important; background: var(--tint); }
.ul tr.detail:hover > td { background: var(--tint); }
.ul .empty { color: var(--muted); padding: 16px 0; }

/* profile */
.ul .phead { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--rule-strong); margin-top: 10px; }
.ul .phead .plogo { width: 56px; height: 56px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid var(--rule); flex: none; }
.ul .phead .who { min-width: 0; flex: 1 1 280px; }
.ul .phead h1 { margin: 0; }
.ul .phead .meta { color: var(--muted); display: flex; gap: 6px 10px; align-items: center; flex-wrap: wrap; }
.ul .phead .legal { color: var(--muted); font-size: 14px; margin-top: 2px; }
.ul .phead .act { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ul .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.ul .cols > * { min-width: 0; }
.ul .kv td { white-space: normal; }
.ul .kv td:first-child { color: var(--muted); }
.ul .kv td:last-child { text-align: right; font-weight: 500; }
.ul .note { font-size: 14px; color: var(--muted); margin-top: 8px; }
.ul .svc td:first-child { width: 130px; color: var(--muted); vertical-align: top; }
.ul .taglist { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.ul .taglist span, .ul .taglist a { background: var(--tag); color: var(--fg); padding: 3px 9px; border-radius: 3px; font-size: 14px; }
.ul .prose { max-width: 75ch; margin-top: 14px; }
.ul .score { display: flex; gap: 16px; align-items: center; padding: 16px 0 12px; }
.ul .score b { font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.ul .stars { position: relative; display: inline-block; width: 110px; height: 20px; margin-bottom: 4px; background: var(--rule-strong);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='M10 0l3 6.3 6.9.9-5 4.8 1.2 6.8L10 15.6 3.9 18.8 5.1 12 0 7.2l6.9-.9z'/%3E%3C/svg%3E") 0 0 / 22px 20px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='M10 0l3 6.3 6.9.9-5 4.8 1.2 6.8L10 15.6 3.9 18.8 5.1 12 0 7.2l6.9-.9z'/%3E%3C/svg%3E") 0 0 / 22px 20px repeat-x; }
.ul .stars i { position: absolute; inset: 0 auto 0 0; background: var(--star-fill); }
.ul .quote { margin: 0; padding: 14px 0; border-top: 1px solid var(--rule); }
.ul .qhead { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.ul .qstars { color: var(--star-fill); letter-spacing: 1px; font-size: 14px; }
.ul .qhead cite { font-style: normal; font-weight: 600; font-size: 14px; }
.ul .qhead time { color: var(--muted); font-size: 14px; margin-left: auto; }
.ul .quote p { max-width: 60ch; }
.ul .promo { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.ul .promo img { width: 132px; height: 74px; object-fit: cover; flex: none; border-radius: 2px; }
.ul .promo > div { min-width: 0; }
.ul .promo h3 { margin: 4px 0; }
.ul .promo h3 a { color: var(--fg); }
.ul .promo p { color: var(--muted); font-size: 14px; }
.ul .otag { font-size: 14px; font-weight: 600; color: var(--call); }
.ul .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin-top: 14px; }
.ul .gallery figure { margin: 0; }
.ul .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; display: block; }
.ul .gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 4px; }
.ul .linkrow { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; }
.ul .panel { border: 1px solid var(--rule-strong); border-left: 3px solid var(--fg); padding: 16px 20px; margin-top: 20px; }
.ul .panel h2 { font-size: 20px; }
.ul .panel p { margin-top: 6px; max-width: 75ch; }
.ul .panel .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.ul .panel ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.ul .foot { margin-top: 48px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); max-width: 90ch; }
.ul details.faq { border-bottom: 1px solid var(--rule); padding: 12px 0; }
.ul details.faq summary { cursor: pointer; font-weight: 600; }
.ul details.faq p { margin-top: 6px; max-width: 75ch; color: var(--muted); }

/* the shared profile partials, restyled into the same system */
.ul .bl-label, .ul .pl-title, .ul .dv-fact dt { text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 500 !important; }
.ul .pl-wrap { border-top: 0 !important; padding-top: 0 !important; }
.ul .pl-link { border-radius: 3px !important; font-weight: 500 !important; font-size: 14px !important; }
.ul .dv-block { border: 0 !important; border-top: 2px solid var(--fg) !important; border-radius: 0 !important; padding: 12px 0 0 !important; font-family: var(--sans) !important; color: var(--fg) !important; }
.ul .dv-block h2 { font-family: var(--sans) !important; font-size: 20px !important; font-weight: 600 !important; }
.ul .dv-block h2 svg { display: none; }
.ul .dv-block p { color: var(--muted); font-size: 14px !important; }
.ul .dv-fact { border-bottom: 1px solid var(--rule) !important; }
.ul .dv-fact dd { font-weight: 500 !important; }
.ul .dv-related { border-radius: 0 !important; border-left: 3px solid #b45309 !important; }

/* phone: the call button stays on screen */
.ul .callbar { display: none; }
@media (max-width: 720px) {
  .ul h1 { font-size: 26px; }
  .ul .cols { grid-template-columns: 1fr; }
  .ul .cols > div + div { margin-top: 32px; }
  .ul .fact { padding-right: 16px; margin-right: 16px; }
  .ul .barcell { display: none; }
  .ul .sec-head .right { margin-left: 0; width: 100%; }
  .ul input[type="search"] { width: 100%; }
  .ul .sec-head.spacer { display: none; }
  .ul .snav { margin-left: 0; padding-left: 0; border-left: 0; width: 100%; }
  .ul .snav button { padding-left: 0; padding-right: 12px; }
  .ul .cpanel { padding: 14px 12px 16px; }
  .ul .erow .acts, .ul .erow .acts a { width: 100%; text-align: center; }
  .ul .callline .btn-call { width: 100%; text-align: center; }
  .ul .promo img { width: 96px; height: 54px; }
  .ul .phead .act .btn-call { display: none; }
  .ul .hide-sm { display: none; }
  .ul .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; gap: 10px; align-items: center;
    background: var(--bg); border-top: 1px solid var(--rule-strong);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 50; }
  .ul .callbar .btn-call { flex: 1; text-align: center; padding: 12px; }
}

/* the claim-flow founding offer (partials/_claim_offer.html), flattened into the same system */
.ul .panel ul { list-style: disc; }
.ul .offer { border-radius: 0 !important; box-shadow: none !important; margin-top: 20px !important; font-family: var(--sans) !important; }
.ul .offer h3 { font-family: var(--sans) !important; }
