/* The companies site (מכרזיה.חברות): the jobs board's tokens and chrome
   (style.css), plus what a registry needs: one search box, a ledger of
   companies, and a company page whose identity is its number and whose one
   graphic is its life on a line. Linked only by public/_companies_shell.html.
   Theme tokens only, so dark mode follows. */

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; }
.co-main { padding-bottom: 56px; }
.tnum { font-variant-numeric: tabular-nums; }

/* ── the menu in the bar ──────────────────────────────────────────────── */
.co-nav { display: flex; gap: 4px; margin-inline-end: 8px; }
.co-nav a { padding: 7px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  color: var(--ink-soft); text-decoration: none; }
.co-nav a:hover { color: var(--ink); background: var(--wash); }
.co-nav a[aria-current="page"] { color: var(--seal); background: var(--seal-wash); }

/* the typeahead's rows: the tender search's listbox, a company each */
.co-sg-item .co-pill { flex: none; padding: 1px 8px; font-size: 11.5px; }
.co-sg-item .co-pill::before { width: 6px; height: 6px; }
.co-sg-meta { direction: rtl; }

/* ── the front door ───────────────────────────────────────────────────── */
.co-door { max-width: 760px; margin: clamp(12px, 3vw, 40px) auto clamp(24px, 3vw, 40px); text-align: center; }
.co-door-h { margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 3.6vw, 50px); line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.co-door-lead { margin: 12px auto 0; max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.co-door-lead b { color: var(--ink); font-weight: 700; }
.co-door-slim { margin-block: 8px 20px; }

.co-search { position: relative; display: flex; align-items: center; gap: 8px; margin: 24px auto 0;
  max-width: 720px; padding: 6px; padding-inline-start: 48px; border: 1.5px solid var(--line);
  border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-card);
  transition: border-color .15s ease, box-shadow .15s ease; }
.co-search:focus-within { border-color: var(--seal);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--seal) 16%, transparent); }
.co-search-ic { position: absolute; inset-inline-start: 18px; width: 20px; height: 20px; color: var(--ink-soft); }
.co-search input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; outline: none;
  font: inherit; font-size: 18px; color: var(--ink); }
.co-search input:focus, .co-search input:focus-visible { outline: none; border: 0; box-shadow: none; }
.co-search input::placeholder { color: var(--ink-soft); opacity: .8; }
.co-search input::-webkit-search-cancel-button { display: none; }
.co-search-go { flex: none; height: 48px; padding-inline: 26px; border: 0; border-radius: 999px;
  background: var(--seal); color: var(--seal-ink); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
  transition: transform .16s cubic-bezier(.23, 1, .32, 1), background-color .15s ease; }
.co-search-go:hover { background: color-mix(in srgb, var(--seal) 88%, #000); }
.co-search-go:active { transform: scale(.97); }
.co-search-go:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; }

.co-door-grid, .co-body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px; align-items: start; }
.co-side { display: grid; gap: 20px; min-width: 0; }
.co-main-col { display: grid; gap: 20px; min-width: 0; }

/* ── panels ───────────────────────────────────────────────────────────── */
.co-panel { min-width: 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); }
.co-panel h2 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.co-panel-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.co-panel-n { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.co-panel-more { margin-inline-start: auto; font-size: 14px; font-weight: 600; color: var(--seal); }
.co-panel-lead { margin: -4px 0 14px; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.co-h3 { margin: 24px 0 10px; font-size: 15px; font-weight: 700; color: var(--ink); }
.co-empty { margin: 4px 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.co-quiet { color: var(--ink-soft); font-size: 13px; }
.co-sep::before { content: "·"; margin-inline: 7px; color: var(--line-hover); }

/* ── the ledger: one company a row ────────────────────────────────────── */
.co-ledger { list-style: none; margin: 0 -24px; padding: 0; }
.co-row + .co-row { border-top: 1px solid var(--line); }
.co-row a { display: flex; align-items: center; gap: 14px; padding: 12px 24px; color: inherit;
  text-decoration: none; transition: background-color .12s ease; }
.co-row a:hover { background: var(--wash); }
.co-row a:focus-visible { outline: 2px solid var(--seal); outline-offset: -2px; }
.co-row-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.co-row-name { font-size: 16px; font-weight: 600; color: var(--ink); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.co-row a:hover .co-row-name { color: var(--seal); }
.co-row-meta { font-size: 13px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-row-side { flex: none; display: flex; align-items: center; gap: 10px; }
.co-row-date { font-size: 13px; color: var(--ink-soft); }
.co-ledger-tight .co-row a { padding-block: 10px; }
.co-ledger-tight .co-row-date { display: none; }

/* status pills */
.co-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; line-height: 1.4; white-space: nowrap;
  background: var(--wash); color: var(--ink-soft); }
.co-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.co-pill.is-ok { background: var(--ok-wash); color: var(--ok); }
.co-pill.is-bad { background: var(--bad-wash); color: var(--bad); }
.co-pill.is-gone { background: var(--wash); color: var(--ink-soft); }

/* bars: city counts, a company's buyers */
.co-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.co-bars a, .co-bar-row { display: grid; grid-template-columns: minmax(0, 1fr) 80px auto; align-items: center;
  gap: 12px; padding: 7px 8px; margin-inline: -8px; border-radius: 8px; color: inherit; text-decoration: none; }
.co-bars a:hover { background: var(--wash); }
.co-bar-l { font-size: 14.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-bar-t { height: 6px; border-radius: 999px; background: var(--wash); overflow: hidden; }
.co-bar-f { display: block; height: 100%; min-width: 3px; border-radius: inherit; background: var(--seal); }
.co-bar-n { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); text-align: end; min-width: 3ch; }

.co-changes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.co-changes a { display: grid; gap: 4px; color: inherit; text-decoration: none; }
.co-change-name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.co-changes a:hover .co-change-name { color: var(--seal); }
.co-change-what { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); }

.co-why h2 { margin-bottom: 10px; font-size: 16px; }
.co-why ul { margin: 0; padding-inline-start: 18px; display: grid; gap: 6px; font-size: 14px;
  line-height: 1.55; color: var(--ink-soft); }

/* how a described search was read */
.co-reading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 16px;
  padding: 12px 16px; border-radius: 14px; background: var(--seal-wash); }
.co-reading-k { font-size: 13.5px; font-weight: 700; color: var(--seal); }
.co-reading-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.co-reading-chips li { padding: 4px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink); }
.co-reading-plain { margin-inline-start: auto; font-size: 13px; color: var(--seal); }
.co-row-value { font-size: 14px; font-weight: 700; color: var(--ink); }

/* ── the new-companies list's filters ─────────────────────────────────── */
.co-list-head h1 { margin: 6px 0 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 3vw, 42px); line-height: 1.15; }
.co-list-head .co-door-lead { margin: 8px 0 18px; }
.co-filters { display: grid; gap: 10px; margin-bottom: 18px; }
.co-seg { display: inline-flex; justify-self: start; padding: 3px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--surface); }
.co-seg a { padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--ink-soft); text-decoration: none; }
.co-seg a[aria-current="true"] { background: var(--seal); color: var(--seal-ink); }
.co-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.co-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; color: var(--ink);
  text-decoration: none; }
.co-chip span { font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.co-chip:hover { border-color: var(--seal); }
.co-chip.is-on { background: var(--seal); border-color: var(--seal); color: var(--seal-ink); }
.co-chip.is-on span { color: inherit; opacity: .8; }
.co-chips-quiet .co-chip { font-size: 13px; }
.co-toggle { margin-inline-start: auto; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.co-toggle.is-on { background: var(--ok-wash); border-color: transparent; color: var(--ok); }
.co-pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 16px;
  font-size: 14px; color: var(--ink-soft); }
.co-pager a { font-weight: 600; color: var(--seal); }

/* ── a company ────────────────────────────────────────────────────────── */
.co-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px;
  padding: 26px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 4%, transparent),
              0 12px 32px -18px color-mix(in srgb, var(--ink) 18%, transparent); }
.co-mono { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px;
  background: var(--seal-wash); color: var(--seal); font-family: var(--font-display); font-size: 30px;
  line-height: 1; letter-spacing: .02em; }
.co-mono.is-bad { background: var(--bad-wash); color: var(--bad); }
.co-mono.is-gone { background: var(--wash); color: var(--ink-soft); }
.co-hero-id { min-width: 0; }
.co-name { margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 3vw, 44px); line-height: 1.12; letter-spacing: -.01em; color: var(--ink);
  overflow-wrap: anywhere; text-wrap: balance; }
.co-name-en { margin: 4px 0 0; font-size: 14.5px; letter-spacing: .03em; color: var(--ink-soft); text-align: right; }
.co-tags { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 0; padding: 0; }
.co-tag { padding: 4px 11px; border-radius: 999px; background: var(--wash); font-size: 13.5px; color: var(--ink); }
.co-tags .co-pill { font-size: 13.5px; padding: 4px 12px; }

/* the number is the company's name in every form it will ever fill in */
.co-hero-no { display: grid; justify-items: start; gap: 2px; padding: 4px 0 4px 4px;
  padding-inline-start: 22px; border-inline-start: 1px solid var(--line); }
.co-no-k { font-size: 13px; font-weight: 700; color: var(--seal); }
.co-no-v { font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: .06em; color: var(--ink); direction: ltr; }
.co-copy { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--seal) 30%, transparent); border-radius: 999px;
  background: var(--surface); color: var(--seal); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: transform .16s cubic-bezier(.23, 1, .32, 1), background-color .15s ease; }
.co-copy svg { width: 15px; height: 15px; }
.co-copy:active { transform: scale(.97); }
.co-copy.is-done { background: var(--ok-wash); color: var(--ok); border-color: transparent; }
.co-copy:focus-visible { outline: 2px solid var(--seal); outline-offset: 2px; }

/* the section bar: sticky under the top bar */
.co-tabs { position: sticky; top: 0; z-index: 5; display: flex; gap: 4px; margin: 14px 0 0; padding: 6px;
  overflow-x: auto; scrollbar-width: none; border: 1px solid var(--line); border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); }
.co-tabs::-webkit-scrollbar { display: none; }
.co-tabs a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft); text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease; }
.co-tabs a span { font-size: 12.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--wash); }
.co-tabs a:hover { background: var(--wash); color: var(--ink); }
.co-tabs a:focus-visible { outline: 2px solid var(--seal); outline-offset: -2px; }
[id^="co-"] { scroll-margin-top: 72px; }

/* the company check: six answers in a grid */
.co-check { margin: 14px 0 0; }
.co-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; background: var(--line); }
.co-ck { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; row-gap: 2px;
  align-items: center; padding: 15px 18px; background: var(--surface); }
.co-ck-ic { grid-row: 1 / span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--wash); color: var(--ink-soft); }
.co-ck-ic svg { width: 18px; height: 18px; }
.co-ck.is-ok .co-ck-ic { background: var(--ok-wash); color: var(--ok); }
.co-ck.is-warn .co-ck-ic { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent-ink); }
.co-ck.is-bad .co-ck-ic { background: var(--bad-wash); color: var(--bad); }
.co-ck-t { font-size: 13px; color: var(--ink-soft); }
.co-ck-v { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.co-ck.is-bad .co-ck-v { color: var(--bad); }
.co-ck.is-warn .co-ck-v { color: var(--accent-ink); }
.co-check-notes { display: grid; gap: 6px; margin: 10px 0 0; }
.co-check-notes p { margin: 0; padding: 0 4px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.co-check-notes b { color: var(--ink); }

/* the life line: incorporation to today, contracts standing on it */
.co-life { margin: 14px 0 20px; padding: 18px 28px 12px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); }
.co-life-track { position: relative; height: 112px; margin-inline: 4px; }
.co-life-line { position: absolute; inset-inline: 0; top: 64px; height: 2px; border-radius: 2px;
  background: linear-gradient(to left, var(--line-hover), var(--seal)); }
.co-life-bar { position: absolute; bottom: 48px; width: max(3px, min(16px, calc(var(--yw) * .62))); height: calc(var(--h) * .52);
  min-height: 4px; translate: 50% 0; border-radius: 3px 3px 0 0;
  background: color-mix(in srgb, var(--seal) 70%, var(--surface));
  transform-origin: bottom; animation: co-grow 420ms cubic-bezier(.23, 1, .32, 1) both;
  animation-delay: calc(var(--i) * 30ms); }
.co-life-bar:hover { background: var(--seal); }
@keyframes co-grow { from { transform: scaleY(.06); opacity: .4; } }
.co-life-tick { position: absolute; top: 60px; translate: 50% 0; display: grid; justify-items: center; }
.co-life-tick::before { content: ""; width: 1px; height: 10px; background: var(--line-hover); }
.co-life-tick b { margin-top: 8px; font-size: 12px; font-weight: 500; color: var(--ink-soft); opacity: .75; }
.co-life-pt { position: absolute; top: 57px; display: grid; justify-items: center; gap: 1px;
  translate: 50% 0; text-align: center; white-space: nowrap; }
.co-life-pt i { width: 14px; height: 14px; border-radius: 50%; background: var(--surface);
  border: 3px solid var(--seal); }
.co-life-pt b { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.co-life-pt span { font-size: 12.5px; color: var(--ink-soft); }
.co-life-pt.is-start { translate: 0 0; justify-items: start; text-align: start; }
.co-life-pt.is-end { translate: 100% 0; justify-items: end; text-align: end; }
.co-life-pt.is-end.is-ok i { border-color: var(--ok); background: var(--ok); }
.co-life-pt.is-end.is-bad i { border-color: var(--bad); background: var(--bad); }
.co-life-pt.is-end.is-gone i { border-color: var(--ink-soft); background: var(--ink-soft); }
.co-life-pt.is-report i { width: 12px; height: 12px; border-width: 2px; margin-top: 1px; }
.co-life-pt.is-report.is-late i { border-color: var(--accent); }
.co-life-pt.is-report.is-late span { color: var(--accent-ink); }
.co-life.is-flat .co-life-track { height: 64px; }
.co-life.is-flat .co-life-line { top: 16px; }
.co-life.is-flat .co-life-pt { top: 9px; }
.co-life.is-flat .co-life-tick { top: 12px; }
.co-life-key { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: 12.5px; color: var(--ink-soft); }
.co-life-key-bar { width: 8px; height: 12px; border-radius: 2px 2px 0 0;
  background: color-mix(in srgb, var(--seal) 70%, var(--surface)); }

/* public sector */
.co-facts { margin: 0 -24px; border-bottom: 1px solid var(--line); }
.co-facts .emp2-fact-v { font-size: clamp(18px, 1.4vw, 24px); }
.co-facts .emp2-fact-v.is-word { font-size: 17px; }
.co-ps .co-panel-head { margin-bottom: 16px; }
.co-awards { list-style: none; margin: 0; padding: 0; }
.co-awards li { display: flex; align-items: flex-start; gap: 16px; padding: 11px 0; }
.co-awards li + li { border-top: 1px solid var(--line); }
.co-aw-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.co-aw-title { font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--ink); text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.co-aw-title:hover { color: var(--seal); text-decoration: underline; }
.co-aw-meta { font-size: 13px; color: var(--ink-soft); }
.co-aw-money { flex: none; font-size: 15px; font-weight: 700; color: var(--ink); }
.co-ps-more { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 18px 0 0;
  padding-top: 14px; border-top: 1px solid var(--line); }
.co-ps-more a { font-size: 15px; font-weight: 700; color: var(--seal); }
.co-ps-none h2 { margin-bottom: 8px; }
.co-ps-none p { margin: 0 0 14px; max-width: 68ch; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.co-ps-cta { display: inline-flex; padding: 9px 18px; border-radius: 999px; background: var(--seal-wash);
  color: var(--seal); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.co-ps-cta:hover { background: var(--seal); color: var(--seal-ink); }

/* contractor grades */
.co-grades { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.co-grades li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  background: var(--wash); }
.co-grade { flex: none; min-width: 52px; padding: 6px 8px; border-radius: 8px; background: var(--seal);
  color: var(--seal-ink); font-size: 17px; font-weight: 700; text-align: center; direction: rtl; }
.co-grade-l { font-size: 14px; line-height: 1.4; color: var(--ink); }

.co-more { margin-top: 8px; }
.co-more summary { cursor: pointer; padding: 8px 2px; font-size: 14px; font-weight: 600; color: var(--seal); }
.co-more[open] summary { margin-bottom: 8px; }

/* the registry's facts, as a list */
.co-facts-dl h2 { margin-bottom: 12px; }
.co-facts-dl dl { margin: 0; display: grid; }
.co-facts-dl dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px;
  padding: 9px 0; border-top: 1px solid var(--line); }
.co-facts-dl dl > div:first-child { border-top: 0; }
.co-facts-dl dl > div.is-wide { grid-template-columns: minmax(0, 1fr); gap: 3px; }
.co-facts-dl dt { font-size: 13.5px; color: var(--ink-soft); }
.co-facts-dl dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.co-src { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px;
  line-height: 1.5; color: var(--ink-soft); }
.co-src a { color: inherit; text-decoration: underline; }

/* ── large screens: the frame and the type grow together ──────────────── */
@media (min-width: 1700px) {
  .ps-main.co-main { max-width: 1360px; }
  .co-body .ps-topbar-inner { max-width: 1360px; }
  .co-door-grid, .co-body-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; }
  .co-panel { padding: 26px 30px; }
  .co-ledger { margin-inline: -30px; }
  .co-row a { padding-inline: 30px; }
  .co-facts { margin-inline: -30px; }
  .co-row-name { font-size: 17px; }
  .co-door { max-width: 860px; }
  .co-search { max-width: 820px; }
  .co-search input, .co-search-go { height: 54px; }
  .co-no-v { font-size: 34px; }
}
@media (min-width: 2300px) {
  .ps-main.co-main { max-width: 1600px; }
  .co-body .ps-topbar-inner { max-width: 1600px; }
  .co-door-grid, .co-body-grid { grid-template-columns: minmax(0, 1fr) 460px; }
  .co-name { font-size: 52px; }
  .co-mono { width: 84px; height: 84px; font-size: 34px; }
  .co-door-h { font-size: 58px; }
  .co-row-name, .co-aw-title { font-size: 18px; }
}

/* ── tablets and phones ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  .co-door-grid, .co-body-grid { grid-template-columns: minmax(0, 1fr); }
  .co-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .co-nav { margin-inline-end: 2px; }
  .co-nav a { padding: 6px 9px; font-size: 13.5px; }
  .co-door { text-align: start; }
  .co-door-lead { font-size: 15.5px; margin-inline: 0; }
  .co-search { padding-inline-start: 40px; }
  .co-search-ic { inset-inline-start: 14px; }
  .co-search input { font-size: 16px; height: 44px; }
  .co-search-go { height: 44px; padding-inline: 18px; }
  .co-panel { padding: 18px 16px; border-radius: 12px; }
  .co-ledger, .co-facts { margin-inline: -16px; }
  .co-row a { padding-inline: 16px; gap: 10px; }
  .co-row-date { display: none; }
  .co-hero { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px 16px; }
  .co-mono { width: 52px; height: 52px; border-radius: 14px; font-size: 22px; align-self: start; }
  .co-hero-no { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
    padding: 12px 0 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .co-tabs { margin-inline: -16px; border-radius: 0; border-inline: 0; }
  .co-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-ck { grid-template-columns: minmax(0, 1fr); padding: 12px 14px; }
  .co-ck-ic { grid-row: auto; width: 26px; height: 26px; margin-bottom: 4px; }
  .co-no-v { font-size: 24px; }
  .co-copy { margin-top: 0; }
  .co-life { padding: 14px 18px 10px; }
  .co-life-pt span, .co-life-tick { display: none; }
  .co-life-pt.is-start span, .co-life-pt.is-end span { display: block; }
  .co-facts.emp2-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-facts.emp2-facts li:nth-child(3) { border-inline-start: 0; }
  .co-facts.emp2-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .co-awards li { flex-direction: column; gap: 4px; }
  .co-bars a, .co-bar-row { grid-template-columns: minmax(0, 1fr) 56px auto; }
  .co-facts-dl dl > div { grid-template-columns: 100px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .co-life-bar { animation: none; }
  .co-search, .co-search-go, .co-copy, .co-row a, .co-tabs a { transition: none; }
}

/* the registered address on a map: the UK jobs board's overlay (uk-jobs.css),
   Google Maps' keyless embed loaded only on the click */
.co-map-btn { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px;
  font-size: 13.5px; font-weight: 500; line-height: 1.3; color: var(--seal); text-decoration: none; }
.co-map-btn:hover span { text-decoration: underline; text-underline-offset: 3px; }
.co-map-btn svg { flex: none; }
dialog.co-map { width: calc(100vw - 48px); max-width: 960px; max-height: none;
  margin: auto; padding: 0; border: 0; background: transparent; overflow: visible; color: var(--ink); }
dialog.co-map::backdrop { background: rgb(15 20 30 / .5); backdrop-filter: blur(3px); }
html:has(dialog.co-map[open]) { overflow: hidden; }
.co-map-card { display: flex; flex-direction: column; height: min(680px, calc(100dvh - 80px));
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 64px rgb(0 0 0 / .28); }
dialog.co-map[open] .co-map-card { animation: co-map-in .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes co-map-in { from { opacity: 0; transform: translateY(8px) scale(.985); } }
.co-map-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px;
  border-bottom: 1px solid var(--line); }
.co-map-pin { flex: none; display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 12px; background: var(--seal-wash); color: var(--seal); }
.co-map-t { flex: 1; min-width: 0; }
.co-map-kicker { margin: 0; font-size: 12.5px; color: var(--ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-map-t h2 { margin: 1px 0 0; font-size: 17px; font-weight: 600; line-height: 1.3;
  overflow-wrap: anywhere; }
.co-map-note { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-soft); }
.co-map-open { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 36px;
  padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--ink); font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.co-map-open:hover { border-color: var(--seal); color: var(--seal); }
.co-map-x { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%; background: var(--wash); color: var(--ink); cursor: pointer; }
.co-map-x:hover { background: color-mix(in srgb, var(--ink) 10%, var(--wash)); }
.co-map-open:focus-visible, .co-map-x:focus-visible, .co-map-btn:focus-visible {
  outline: 2px solid var(--seal); outline-offset: 2px; }
.co-map-frame { position: relative; flex: 1; min-height: 0; background: var(--wash); }
.co-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  opacity: 0; transition: opacity .25s; }
dialog.co-map.is-loaded iframe { opacity: 1; }
.co-map-load { position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 13.5px; color: var(--ink-soft); }
@media (width >= 1800px) {
  dialog.co-map { width: 68vw; max-width: 1240px; }
  .co-map-card { height: min(860px, calc(100dvh - 120px)); }
}
@media (max-width: 640px) {
  dialog.co-map { width: 100vw; max-width: none; margin: auto 0 0; }
  .co-map-card { height: 86dvh; border-radius: 20px 20px 0 0; border-bottom: 0; }
  dialog.co-map[open] .co-map-card { animation-name: co-map-up; animation-duration: .28s; }
  .co-map-head { position: relative; padding: 18px 12px 12px 14px; gap: 10px; }
  .co-map-head::before { content: ""; position: absolute; top: 6px; left: 50%; width: 36px; height: 4px;
    margin-left: -18px; border-radius: 2px; background: var(--line); }
  .co-map-pin { display: none; }
  .co-map-open { padding: 0 12px; }
  .co-map-open-long { display: none; }
}
@keyframes co-map-up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
  dialog.co-map[open] .co-map-card { animation: none; }
  .co-map-frame iframe { transition: none; }
}

/* == the company page, 2026-11-07 redesign ==============================
   A full-width navy band (who, the number, the life line), the company
   check lifted over its edge, then the record beside a sticky registration
   card. The band is navy in both themes: the page's one dark moment. */
.co-body { overflow-x: clip; }
.cx-band { position: relative; isolation: isolate; margin: -8px 0 0; padding: 26px 0 92px; color: #EAF1F6; }
.cx-band::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw);
  background:
    radial-gradient(900px 320px at 85% -10%, rgb(93 211 158 / .10), transparent 60%),
    linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px) 0 0 / 100% 32px,
    #0F2433; }
.cx-band.is-bad::before { background:
    radial-gradient(900px 320px at 85% -10%, rgb(255 120 110 / .12), transparent 60%),
    linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px) 0 0 / 100% 32px, #1E1A24; }
.cx-band.is-gone::before { background:
    linear-gradient(rgb(255 255 255 / .03) 1px, transparent 1px) 0 0 / 100% 32px, #1B232B; }
:root[data-ps-theme="dark"] .cx-band::before { box-shadow: inset 0 -1px 0 rgb(255 255 255 / .06); }
.cx-crumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 13.5px; color: rgb(234 241 246 / .6); }
.cx-crumb a { color: inherit; text-decoration: none; }
.cx-crumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cx-crumb span:last-child { color: rgb(234 241 246 / .85); }

.cx-id { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.cx-mono { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 22px;
  background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14);
  font-family: var(--font-display); font-size: 32px; line-height: 1; color: #fff; }
.cx-id-text { min-width: 0; }
.cx-name { margin: 0; font-family: var(--font-display); font-weight: 400; color: #fff;
  font-size: clamp(30px, 3.5vw, 54px); line-height: 1.08; letter-spacing: -.01em;
  overflow-wrap: anywhere; text-wrap: balance; }
.cx-name-en { margin: 6px 0 0; font-size: 14.5px; letter-spacing: .04em; color: rgb(234 241 246 / .6); text-align: right; }
.cx-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.cx-tags li { padding: 5px 12px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .13);
  background: rgb(255 255 255 / .06); font-size: 13.5px; color: rgb(234 241 246 / .88); }
.cx-tags li.cx-status { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #fff; }
.cx-status i { width: 8px; height: 8px; border-radius: 50%; background: #9FB0BD; }
.cx-status.is-ok i { background: #5DD39E; box-shadow: 0 0 0 4px rgb(93 211 158 / .18); }
.cx-status.is-bad i { background: #FF7A70; box-shadow: 0 0 0 4px rgb(255 122 112 / .2); }

.cx-no { display: grid; justify-items: start; gap: 4px; padding: 14px 18px; border-radius: 16px;
  background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); }
.cx-no-k { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: #5DD39E; }
.cx-no-v { font-size: 32px; font-weight: 700; line-height: 1.05; letter-spacing: .06em; color: #fff; direction: ltr; }
.co-copy.cx-copy { margin-top: 4px; background: transparent; color: rgb(234 241 246 / .9); border-color: rgb(255 255 255 / .2); }
.co-copy.cx-copy:hover { background: rgb(255 255 255 / .08); }
.co-copy.cx-copy.is-done { background: rgb(93 211 158 / .18); color: #5DD39E; }

/* the life line across the band's foot */
.cx-life { position: relative; height: 58px; margin: 40px 8px 0; }
.cx-life-line { position: absolute; inset-inline: 0; top: 6px; height: 2px; border-radius: 2px; background: rgb(255 255 255 / .16); }
.cx-life-run { position: absolute; inset-inline-start: var(--a); inset-inline-end: 0; top: 6px; height: 2px;
  border-radius: 2px; background: linear-gradient(to left, #5DD39E, rgb(93 211 158 / .35)); }
.cx-ms { position: absolute; top: 0; inset-inline-start: var(--x); translate: 50% 0; display: grid;
  justify-items: center; gap: 2px; white-space: nowrap; text-align: center; }
.cx-ms i { width: 14px; height: 14px; border-radius: 50%; background: #0F2433; border: 2.5px solid rgb(234 241 246 / .75); }
.cx-ms b { margin-top: 6px; font-size: 14px; font-weight: 700; color: #fff; }
.cx-ms span { font-size: 12px; color: rgb(234 241 246 / .6); }
.cx-ms.is-start { translate: 0 0; justify-items: start; }
.cx-ms.is-end { translate: 100% 0; justify-items: end; }
.cx-ms.is-end.is-ok i { background: #5DD39E; border-color: #5DD39E; box-shadow: 0 0 0 5px rgb(93 211 158 / .2); }
.cx-ms.is-end.is-bad i { background: #FF7A70; border-color: #FF7A70; }
.cx-ms.is-end.is-gone i { background: #9FB0BD; border-color: #9FB0BD; }
.cx-ms.is-late i { border-color: #F5A65B; }
.cx-ms.is-late span { color: #F5C08A; }

/* the company check, over the band's edge */
.cx-check { position: relative; z-index: 2; margin-top: -60px; }
.cx-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cx-ck { display: grid; align-content: start; gap: 4px; padding: 16px 16px 15px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(15 36 51 / .06), 0 14px 30px -18px rgb(15 36 51 / .35); }
.cx-ck-ic { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 6px; border-radius: 10px;
  background: var(--wash); color: var(--ink-soft); }
.cx-ck-ic svg { width: 18px; height: 18px; }
.cx-ck.is-ok .cx-ck-ic { background: var(--ok-wash); color: var(--ok); }
.cx-ck.is-warn .cx-ck-ic { background: color-mix(in srgb, var(--accent) 15%, var(--surface)); color: var(--accent-ink); }
.cx-ck.is-bad .cx-ck-ic { background: var(--bad-wash); color: var(--bad); }
.cx-ck-t { font-size: 12.5px; color: var(--ink-soft); }
.cx-ck-v { font-size: 14.5px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.cx-ck.is-warn .cx-ck-v { color: var(--accent-ink); }
.cx-ck.is-bad .cx-ck-v { color: var(--bad); }
.cx-notes { display: grid; gap: 4px; margin: 14px 4px 0; }
.cx-notes p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.cx-notes b { color: var(--ink); }

/* the section bar */
.cx-tabs { position: sticky; top: 0; z-index: 5; display: flex; gap: 4px; margin: 22px 0 18px; padding: 5px;
  overflow-x: auto; scrollbar-width: none; border: 1px solid var(--line); border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(12px); }
.cx-tabs::-webkit-scrollbar { display: none; }
.cx-tabs a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft); text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease; }
.cx-tabs a span { padding: 1px 7px; border-radius: 999px; background: var(--wash); font-size: 12.5px; font-weight: 700; }
.cx-tabs a:hover { background: var(--wash); color: var(--ink); }
.cx-tabs a:focus-visible { outline: 2px solid var(--seal); outline-offset: -2px; }

/* the body */
.cx-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.cx-main { display: grid; gap: 22px; min-width: 0; }
.cx-side { display: grid; gap: 22px; min-width: 0; position: sticky; top: 72px; }
.cx-card { min-width: 0; padding: 26px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface);
  box-shadow: 0 1px 2px rgb(15 36 51 / .04), 0 12px 32px -24px rgb(15 36 51 / .3); }
.cx-card h2 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.cx-card-head p { margin: 6px 0 0; max-width: 64ch; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.cx-h3 { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--ink); }

.cx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 0; padding: 18px 0;
  border-block: 1px solid var(--line); }
.cx-stats > div { padding-inline: 18px; border-inline-start: 1px solid var(--line); }
.cx-stats > div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.cx-stats dt { font-size: 13px; color: var(--ink-soft); }
.cx-stats dd { margin: 4px 0 0; font-size: clamp(20px, 1.7vw, 28px); font-weight: 700; line-height: 1.15; color: var(--ink); white-space: nowrap; }
.cx-stats > div:first-child dd { color: var(--seal); }

.cx-chart { margin: 24px 0 4px; }
.cx-chart figcaption { margin-bottom: 12px; font-size: 13px; color: var(--ink-soft); }
.cx-bars { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-end; gap: 8px; height: 170px; }
.cx-bars li { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column;
  justify-content: flex-end; align-items: center; gap: 8px; outline: none; }
.cx-bar { position: relative; width: 100%; max-width: 44px; height: calc((100% - 24px) * var(--h) / 100); min-height: 4px;
  border-radius: 8px 8px 3px 3px; background: linear-gradient(to top, color-mix(in srgb, var(--seal) 75%, var(--surface)), var(--seal));
  transform-origin: bottom; animation: cx-grow 520ms cubic-bezier(.23, 1, .32, 1) both; animation-delay: calc(var(--i) * 35ms);
  transition: filter .15s ease; }
@keyframes cx-grow { from { transform: scaleY(.04); } }
.cx-bars li:hover .cx-bar, .cx-bars li:focus-visible .cx-bar { filter: brightness(1.15); }
.cx-bar-tip { position: absolute; bottom: calc(100% + 6px); inset-inline-start: 50%; translate: 50% 4px; display: grid;
  justify-items: center; padding: 5px 9px; border-radius: 8px; background: var(--ink); color: var(--surface);
  font-size: 13px; font-weight: 700; line-height: 1.25; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .15s ease, translate .15s ease; }
.cx-bar-tip small { font-size: 11.5px; font-weight: 500; opacity: .8; }
.cx-bars li:hover .cx-bar-tip, .cx-bars li:focus-visible .cx-bar-tip { opacity: 1; translate: 50% 0; }
.cx-bar-y { font-size: 12px; color: var(--ink-soft); }

.cx-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 28px; }
.cx-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cx-rank li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.cx-rank-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--wash);
  font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.cx-rank li:first-child .cx-rank-n { background: var(--seal); color: var(--seal-ink); }
.cx-rank-main { display: grid; gap: 6px; min-width: 0; }
.cx-rank-name { font-size: 14.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-rank-bar { height: 4px; border-radius: 999px; background: var(--wash); overflow: hidden; }
.cx-rank-bar i { display: block; height: 100%; min-width: 3px; border-radius: inherit; background: var(--seal); }
.cx-rank-v { font-size: 13.5px; font-weight: 700; color: var(--ink); }

.cx-feed { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cx-feed::before { content: ""; position: absolute; inset-inline-start: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.cx-feed li { position: relative; display: grid; gap: 2px; padding-inline-start: 22px; }
.cx-feed-dot { position: absolute; inset-inline-start: 0; top: 5px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--seal); }
.cx-feed li:first-child .cx-feed-dot { background: var(--seal); }
.cx-feed-when { font-size: 12px; color: var(--ink-soft); }
.cx-feed-title { font-size: 14.5px; font-weight: 600; line-height: 1.45; color: var(--ink); text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.cx-feed-title:hover { color: var(--seal); text-decoration: underline; text-underline-offset: 3px; }
.cx-feed-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 13px; color: var(--ink-soft); }
.cx-feed-meta b { color: var(--ink); font-weight: 700; }

.cx-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 24px; padding-top: 18px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.cx-cta { display: inline-flex; align-items: center; padding: 9px 18px; border-radius: 999px; background: var(--seal);
  color: var(--seal-ink); font-size: 14.5px; font-weight: 700; text-decoration: none;
  transition: transform .16s cubic-bezier(.23, 1, .32, 1), filter .15s ease; }
.cx-cta:hover { filter: brightness(1.08); }
.cx-cta:active { transform: scale(.97); }
.cx-empty h2 { margin-bottom: 8px; }
.cx-empty p { margin: 0 0 16px; max-width: 68ch; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }

.cx-grades { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cx-grades li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--line); font-size: 14px; line-height: 1.4; color: var(--ink); }
.cx-grade { flex: none; min-width: 52px; padding: 7px 8px; border-radius: 9px; background: var(--seal-wash); color: var(--seal);
  font-size: 17px; font-weight: 800; text-align: center; }

.cx-reg h2 { margin-bottom: 14px; }
.cx-place { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 12px; margin-bottom: 14px;
  padding: 14px; border-radius: 14px; background: var(--wash); }
.cx-place-ic { grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--seal-wash); color: var(--seal); }
.cx-place-t { display: grid; gap: 2px; min-width: 0; }
.cx-place-t span { font-size: 12.5px; color: var(--ink-soft); }
.cx-place-t b { font-size: 14.5px; font-weight: 600; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.cx-place-t small { font-weight: 500; color: var(--ink-soft); }
.cx-place-go { grid-column: 2; justify-self: start; display: inline-flex; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--seal);
  text-decoration: none; }
.cx-place-go:hover { border-color: var(--seal); }
.cx-reg dl { margin: 0; display: grid; }
.cx-reg dl > div { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.cx-reg dl > div:first-child { border-top: 0; }
.cx-reg dl > div.is-wide { grid-template-columns: minmax(0, 1fr); gap: 3px; }
.cx-reg dt { font-size: 13px; color: var(--ink-soft); }
.cx-reg dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.cx-src { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-soft); }
.cx-src a { color: inherit; }

.cx-near h2 { margin-bottom: 10px; font-size: 16px; }
.cx-near-list { list-style: none; margin: 0 -12px; padding: 0; }
.cx-near-list a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; color: inherit; text-decoration: none; }
.cx-near-list a:hover { background: var(--wash); }
.cx-near-mono { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--seal-wash); color: var(--seal); font-family: var(--font-display); font-size: 16px; }
.cx-near-t { display: grid; min-width: 0; }
.cx-near-t b { font-size: 14px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-near-t span { font-size: 12.5px; color: var(--ink-soft); }
.cx-near-list a:hover b { color: var(--seal); }

@media (max-width: 1240px) {
  .cx-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1500px) {
  .cx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .cx-stats > div:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
}
@media (max-width: 960px) {
  .cx-grid { grid-template-columns: minmax(0, 1fr); }
  .cx-side { position: static; }
}
@media (max-width: 640px) {
  .cx-band { padding: 16px 0 76px; }
  .cx-crumb { margin-bottom: 16px; font-size: 12.5px; }
  .cx-id { grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
  .cx-mono { width: 54px; height: 54px; border-radius: 16px; font-size: 22px; align-self: start; }
  .cx-name { font-size: 28px; }
  .cx-tags { gap: 6px; }
  .cx-tags li { padding: 4px 10px; font-size: 12.5px; }
  .cx-no { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; }
  .cx-no-v { font-size: 24px; }
  .co-copy.cx-copy { margin-top: 0; }
  .cx-life { margin-top: 28px; }
  .cx-ms span { display: none; }
  .cx-ms.is-start span, .cx-ms.is-end span { display: block; }
  .cx-check { margin-top: -50px; }
  .cx-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cx-ck { padding: 13px; border-radius: 14px; }
  .cx-tabs { margin-inline: -16px; border-radius: 0; border-inline: 0; }
  .cx-card { padding: 20px 18px; border-radius: 16px; }
  .cx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .cx-stats > div:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .cx-bars { height: 130px; gap: 5px; }
  .cx-bar-y { font-size: 10.5px; }
  .cx-reg dl > div { grid-template-columns: 100px minmax(0, 1fr); }
}
@media (min-width: 1700px) {
  .cx-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 36px; }
  .cx-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 26px; }
  .cx-card { padding: 30px 34px; }
  .cx-mono { width: 92px; height: 92px; font-size: 36px; }
  .cx-no-v { font-size: 36px; }
  .cx-bars { height: 200px; }
}
@media (min-width: 2300px) {
  .cx-grid { grid-template-columns: minmax(0, 1fr) 460px; }
  .cx-name { font-size: 62px; }
  .cx-ck-v, .cx-feed-title, .cx-rank-name { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-bar { animation: none; }
  .cx-tabs a, .cx-cta, .cx-bar, .cx-bar-tip { transition: none; }
}

/* the keep button in the band (the saving kit's .ps-fav), and the menu's count */
.cx-no { grid-template-columns: auto auto; column-gap: 8px; }
.cx-no-k, .cx-no-v { grid-column: 1 / -1; }
.ps-fav.cx-fav { margin: 4px 0 0; color: rgb(234 241 246 / .9); background: transparent;
  border-color: rgb(255 255 255 / .2); }
.ps-fav.cx-fav:hover { color: #fff; background: rgb(255 255 255 / .08); }
.ps-fav.cx-fav.is-on { color: #0F2433; background: #5DD39E; border-color: #5DD39E; }
.co-nav-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-inline-start: 6px;
  padding: 0 5px; border-radius: 999px; background: var(--seal); color: var(--seal-ink);
  font-size: 11.5px; font-weight: 700; }
.co-saved-out { display: grid; justify-items: start; gap: 14px; }
@media (max-width: 640px) {
  .cx-no { grid-template-columns: auto 1fr auto auto; }
  .cx-no-k, .cx-no-v { grid-column: auto; }
  .ps-fav.cx-fav { margin: 0; }
  .ps-fav.cx-fav .ps-fav-t { display: none; }
}

/* the site's own legal documents */
.co-legal { max-width: 820px; margin: 8px auto 0; }
.co-legal-crumb { margin-bottom: 14px; font-size: 13.5px; color: var(--ink-soft); }
.co-legal-crumb a { color: inherit; }
.co-legal h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); }
.co-legal-meta { margin: 6px 0 22px; font-size: 13px; color: var(--ink-soft); }
.co-legal h2 { margin: 28px 0 8px; font-size: 18px; }
.co-legal p, .co-legal li { font-size: 15.5px; line-height: 1.75; color: var(--ink); }
.co-legal ul { padding-inline-start: 20px; }
.co-legal a { color: var(--seal); }

/* == round 3 (owner, 2026-11-07): the results on the jobs/tender cards, a
   calmer company check, share beside save ================================ */

/* the results: .ps-card from style.css; a company's own bits */
.co-results { padding-top: 6px; }
.co-cards .co-card .ps-card-title a { font-size: 17px; }
.co-card-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 10px; }
.co-card-flag { padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent-ink); }
.co-plain { margin-inline-start: auto; }
.co-none { padding: 28px 4px; font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }

/* the company check: one calm panel under the band, not tiles over it */
.cx-band { padding-bottom: 34px; }
.cx-check { margin-top: 22px; }
.cx-checks { gap: 0; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; background: var(--surface);
  box-shadow: 0 1px 2px rgb(15 36 51 / .04); }
.cx-ck { border: 0; border-radius: 0; box-shadow: none; padding: 18px 18px 16px;
  border-inline-start: 1px solid var(--line); background: transparent; }
.cx-checks > .cx-ck:first-child { border-inline-start: 0; }
.cx-ck-ic { width: 28px; height: 28px; border-radius: 50%; }
.cx-ck-ic svg { width: 16px; height: 16px; }
.cx-ck-v { font-size: 14px; font-weight: 600; }
.cx-ck.is-ok .cx-ck-v { color: var(--ink); }
@media (max-width: 1240px) {
  .cx-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cx-ck:nth-child(3n + 1) { border-inline-start: 0; }
  .cx-ck:nth-child(n + 4) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .cx-band { padding-bottom: 24px; }
  .cx-check { margin-top: 16px; }
  .cx-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-ck { border-inline-start: 0; padding: 14px; }
  .cx-ck:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .cx-ck:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* share in the band, beside save */
.cx-no .ps-share { margin-top: 4px; }
.cx-no .ps-share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border: 1px solid rgb(255 255 255 / .2); border-radius: 999px; background: transparent;
  color: rgb(234 241 246 / .9); font: inherit; font-size: 13.5px; cursor: pointer; }
.cx-no .ps-share-btn:hover { background: rgb(255 255 255 / .08); color: #fff; }
.cx-no { grid-template-columns: auto auto auto; }
@media (max-width: 640px) {
  .cx-no { grid-template-columns: auto 1fr auto auto auto; }
  .cx-no .ps-share { margin-top: 0; }
  .cx-no .ps-share-t { display: none; }
}
@media (max-width: 640px) {
  /* the number on its own line, its three actions under it */
  .cx-no { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .cx-no-k { flex: none; }
  .cx-no-v { flex: 1 1 auto; }
  .cx-no .co-copy, .cx-no .ps-fav, .cx-no .ps-share { flex: none; }
  .cx-no .co-copy { margin-inline-start: 0; }
  .cx-no .co-copy + .ps-fav { margin-inline-start: auto; }
}

/* the number's copy: a small icon beside it; save and share on their own row */
.cx-no { display: grid; grid-template-columns: auto; justify-items: start; gap: 8px; }
.cx-no-row { display: inline-flex; align-items: center; gap: 8px; }
.cx-copy-ic { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: rgb(234 241 246 / .6); cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .16s cubic-bezier(.23, 1, .32, 1); }
.cx-copy-ic svg { width: 17px; height: 17px; }
.cx-copy-ic:hover { background: rgb(255 255 255 / .1); color: #fff; }
.cx-copy-ic:active { transform: scale(.92); }
.cx-copy-ic.is-done { color: #5DD39E; background: rgb(93 211 158 / .15); }
.cx-copy-ic:focus-visible { outline: 2px solid #5DD39E; outline-offset: 2px; }
.cx-no-acts { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cx-no-acts .ps-fav.cx-fav, .cx-no-acts .ps-share { margin: 0; }
@media (max-width: 640px) {
  .cx-no { display: grid; grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; }
  .cx-no-k { grid-column: 1 / -1; }
  .cx-no-acts { justify-self: end; }
}

/* time runs left to right (owner, 2026-11-07): incorporation at the left,
   today at the right; the contracts per year the same way, oldest first */
.cx-life, .cx-bars { direction: ltr; }
.cx-ms { translate: -50% 0; }
.cx-ms.is-start { translate: 0 0; justify-items: start; text-align: left; }
.cx-ms.is-end { translate: -100% 0; justify-items: end; text-align: right; }
.cx-ms b, .cx-ms span, .cx-bar-tip { direction: rtl; }
.cx-life-run { background: linear-gradient(to right, rgb(93 211 158 / .35), #5DD39E); }
.cx-bar-tip { translate: -50% 4px; }
.cx-bars li:hover .cx-bar-tip, .cx-bars li:focus-visible .cx-bar-tip { translate: -50% 0; }

/* the typeahead's rows in three fixed columns (owner, 2026-11-07): every name
   starts at the same edge whatever the row carries, the status in a column
   of its own, the number and the city lined up at the far side. The front
   door's hero centres its text; the list must not. */
.co-sg-item { display: grid; grid-template-columns: minmax(0, 1fr) 128px 230px; align-items: center;
  column-gap: 12px; text-align: start; }
.co-sg-item .ps-suggest-label { text-align: start; }
.co-sg-item .co-pill { justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.co-sg-item .co-sg-meta { grid-column: 3; justify-self: end; text-align: end; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: rtl; }
@media (max-width: 640px) {
  .co-sg-item { grid-template-columns: minmax(0, 1fr) auto; row-gap: 3px; }
  .co-sg-item .co-pill { grid-column: 2; grid-row: 1; }
  .co-sg-item .co-sg-meta { grid-column: 1 / -1; grid-row: 2; justify-self: start; text-align: start; }
}

/* (owner, 2026-11-07) the sign-in panel hides the page's scrollbar; with its
   room kept, pressing save no longer shifts the page */
html:has(body.co-body) { scrollbar-gutter: stable; }
/* the share menu opens over the check below the band, not under it */
.cx-band { z-index: 3; }
.cx-band:has(.ps-share-menu:not([hidden])) { z-index: 12; }

/* AI mode: the chip row says the sentence was read by the model */
.co-ai-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px;
  background: var(--seal-wash); color: var(--seal); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.ps-form.is-ai { border-color: color-mix(in srgb, var(--seal) 45%, var(--line)); }

/* the door's examples: centred under the box, wrapping on a phone */
.co-examples { justify-content: center; }
@media (max-width: 640px) { .co-examples { justify-content: flex-start; } }

/* the official record, out to the registry */
.cx-official { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; color: var(--seal); font-size: 14.5px; font-weight: 700;
  text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.cx-official small { margin-inline-start: auto; font-size: 12.5px; font-weight: 500; color: var(--ink-soft); }
.cx-official:hover { border-color: var(--seal); background: var(--seal-wash); }

/* the category: the band's first tag after the status; similar companies' line */
.cx-tags li.cx-cat { border-color: rgb(93 211 158 / .35); color: #fff; }
.cx-near-sub { margin: -6px 0 10px; font-size: 13px; color: var(--ink-soft); }

/* the refine panel at the top of the results (the jobs board's .ia-carry) */
.co-refine { margin-top: 4px; }
.co-refine .ia-carry-hint { margin-inline-start: 6px; color: var(--ink-soft); }

/* the company's own description: the card's second line, the band's lead */
.co-card-about { margin: 2px 0 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.cx-about { max-width: 68ch; margin: 14px 0 0; font-size: 15.5px; line-height: 1.65; color: rgb(255 255 255 / .86); }
.cx-about-src { margin-inline-start: 6px; font-size: 12.5px; color: rgb(255 255 255 / .62); white-space: nowrap; }
.cx-about-src:hover { color: #fff; }
.cx-official + .cx-official { margin-top: 8px; }
.cx-site small { direction: ltr; }
@media (max-width: 640px) { .cx-about { font-size: 14.5px; } }

/* phones: the wordmark and the menu do not fit one row (about 400px wanted,
   343 given), so the menu takes a row of its own under the wordmark; a mid
   milestone's year sits above the line, its label left to the aria text */
@media (max-width: 560px) {
  .co-body .jb-topbar .ps-topbar-inner:not(:has(.ps-form:not([hidden]))) { flex-wrap: wrap; row-gap: 4px; }
  .jb-topbar .ps-wordmark { flex: none; }
  .jb-topbar .ps-auth { order: 3; flex: 1 0 100%; justify-content: space-between; margin: 0; }
  .co-nav { margin-inline: -9px 0; }
  .cx-ms.is-mid b { position: absolute; bottom: 100%; margin: 0 0 6px; white-space: nowrap; }
  .cx-ms.is-mid span { display: none; }
}
