/* ==========================================================================
   The data sites' look (datasite.css) — loaded after engine.css by every site
   that is a data site (base.html adds <body class="site-data site-<name>">):
   cars.sites.compee.co.il (config.vehicles -> + cars.css) and
   cartwise.sites.compee.co.il (config.products -> + cartwise.css).
   Light paper and dark grid bands, a short kicker line over heavy Heebo titles,
   mono numbers, and ONE loud colour — the accent — which each site sets in its
   own stylesheet (the cars site: the yellow of an Israeli licence plate; CartWise:
   green). Everything is scoped to .site-data; the tokens are --ds-*.
   Split out of cars.css on 10/10/2026 with a pixel gate (scripts/sites/css_split_gate.py):
   every rule here is the cars rule, re-scoped and renamed, nothing else.
   ========================================================================== */

.site-data {
  --ds-paper: #FAF9F7;
  --ds-paper-alt: #F2F0EB;
  --ds-card: #FFFFFF;
  --ds-ink: #191918;
  --ds-ink-2: #4B4A45;
  --ds-muted: #72706A;
  --ds-line: #E7E5DF;
  --ds-dark: #121211;
  --ds-on-dark: #F5F3ED;
  --ds-on-dark-2: #B9B6AD;
  /* the accent: the site's one loud colour, its hover, the ink that sits on it,
     and a second, deeper colour for focus rings / links / a second series.
     Neutral here; cars.css and cartwise.css set theirs. */
  --ds-accent: #191918;
  --ds-accent-hover: #000000;
  --ds-accent-ink: #F5F3ED;
  --ds-accent-2: #4B4A45;
  --ds-sage: #6F7A5F;
  --ds-ok: #4E7A4A;
  --ds-ok-bg: #E4EEDF;
  --ds-warn: #B4532A;
  --ds-warn-bg: #F8E6DC;
  --ds-ok-soft: #9DB894;
  --ds-warn-soft: #D9A48A;
  --ds-logo: #A9A69D;
  --ds-f-d: 'Heebo', Arial, sans-serif;
  --ds-f-b: 'IBM Plex Sans Hebrew', 'Heebo', sans-serif;
  --ds-f-m: 'IBM Plex Mono', Consolas, monospace;
  --ds-grid: linear-gradient(rgba(245, 243, 237, .045) 1px, transparent 1px),
             linear-gradient(90deg, rgba(245, 243, 237, .045) 1px, transparent 1px);

  /* the engine's own tokens, so every engine component follows */
  --c-primary: var(--ds-ink);
  --c-secondary: var(--ds-accent);
  --c-bg: var(--ds-paper);
  --c-bg-alt: var(--ds-paper-alt);
  --c-text: var(--ds-ink);
  --c-text-muted: var(--ds-muted);
  --c-dark: var(--ds-dark);
  --radius: 6px;
  --max-w: 1180px;
  --font-stack: var(--ds-f-b);

  font-family: var(--ds-f-b);
  background: var(--ds-paper);
  color: var(--ds-ink);
}
.site-data h1, .site-data h2, .site-data h3 {
  font-family: var(--ds-f-d); font-weight: 800; letter-spacing: -0.01em; text-wrap: balance;
}
.site-data h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.2; }
.site-data .container { padding-inline: clamp(16px, 4vw, 40px); }
.site-data .vx-num, .site-data .cx-m { font-family: var(--ds-f-m); font-variant-numeric: tabular-nums; }
.site-data :focus-visible { outline: 2px solid var(--ds-accent-2); outline-offset: 3px; }
.site-data .section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

/* kicker: a short rule + a small label over a title */
.cx-k { display: flex; align-items: center; gap: 10px; margin: 0 0 .5rem;
  font: 600 .82rem var(--ds-f-b); color: var(--ds-sage); }
.cx-k::before { content: ""; flex: none; width: 22px; height: 2px; background: currentColor; }

/* buttons */
.site-data .btn { border-radius: 3px; font-weight: 600; }
.site-data .btn--primary { background: var(--ds-dark); color: var(--ds-on-dark); }
.site-data .btn--primary:hover { filter: none; background: #000; }
.site-data .btn--plate { background: var(--ds-accent); color: var(--ds-accent-ink); }
.site-data .btn--plate:hover { background: var(--ds-accent-hover); }
.site-data .btn--line { background: transparent; color: var(--ds-ink); border: 1px solid var(--ds-ink); }
.site-data .btn--line:hover { background: var(--ds-ink); color: var(--ds-on-dark); }

/* ---------- header ---------- */
.site-data .site-header { background: rgba(18, 18, 17, .96); border-block-end-color: rgba(245, 243, 237, .08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-data .site-header__inner { min-height: 66px; }
.site-data .site-brand__name { display: inline-flex; align-items: center; gap: 10px;
  font: 800 1.25rem var(--ds-f-d); color: var(--ds-on-dark); white-space: nowrap; }
.site-data .site-nav a { color: var(--ds-on-dark); font-size: .95rem; }
.site-data .site-nav a:hover { color: var(--ds-on-dark); border-block-end-color: var(--ds-accent); }
.site-data .site-nav__login { background: transparent; color: var(--ds-on-dark) !important; }
.site-data .site-nav__visitor { color: var(--ds-on-dark-2); }
.site-data .site-nav__logout-btn { color: var(--ds-on-dark-2); }
.site-data .nav-toggle__button span { background: var(--ds-on-dark); }
@media (max-width: 640px) {
  .site-data .site-nav { background: var(--ds-dark); border-block-end-color: rgba(245, 243, 237, .12); top: 66px; }
  .site-data .site-nav a { border-block-end-color: rgba(245, 243, 237, .12); }
}

/* ---------- page header: the dark grid band ---------- */
.site-data .page-header { background-color: var(--ds-dark); background-image: var(--ds-grid);
  background-size: 28px 28px; color: var(--ds-on-dark); padding-block: clamp(2rem, 5vw, 3.25rem);
  border-block-end: 0; }
.site-data .page-header h1 { color: var(--ds-on-dark); font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.08; }
.site-data .page-header__sub { color: var(--ds-on-dark-2); font-size: 1.02rem; }
/* a year range (2019–2026) reads left to right even inside Hebrew text */
.cx-yr { direction: ltr; unicode-bidi: isolate; }
.site-data .vx-table th { background: transparent; color: var(--ds-muted); font-size: .8rem;
  border-block-end: 2px solid var(--ds-ink); }
.site-data .vx-table td { border-block-end-color: var(--ds-line); }
.site-data .vx-table td.vx-num { font-family: var(--ds-f-m); font-size: .88rem; }
/* a number column's title is Hebrew: the mono face has no Hebrew glyphs */
.site-data .vx-table th.vx-num { font-family: var(--ds-f-b); }
.site-data .vx-table tbody tr:hover td { background: var(--ds-card); }

/* ---------- footer ---------- */
.site-data .site-footer { background: var(--ds-dark); }
.site-data .site-footer__brand { font-family: var(--ds-f-d); }
.site-data .site-footer__col a, .site-data .site-footer__tagline { color: var(--ds-on-dark-2); }
.site-data .site-footer__col a:hover { color: var(--ds-accent); }
.site-data .site-footer__bottom-inner { color: var(--ds-on-dark-2); flex-wrap: wrap; }

/* ==========================================================================
   Page layouts (an entity's page: hero band, verdict, stats, sub-nav, the main
   column with a sticky side column, blocks, boxes, small charts)
   ========================================================================== */
/* hero: the dark band with the title on one side and an optional box on the other */
.cx-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; align-items: end; }
.cx-hero__grid--solo { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 980px) {
  .cx-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}
.site-data .cx-hero h1 { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .9rem; margin: .4rem 0 0; }
.cx-hero__lead { margin: .75rem 0 0; color: var(--ds-on-dark-2); max-width: 64ch; }
.cx-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.cx-pills li { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .7rem; border-radius: 999px;
  border: 1px solid rgba(245, 243, 237, .25); color: var(--ds-on-dark); font-size: .85rem; }
.cx-pills li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ds-on-dark-2); }
.cx-pills .is-ok::before { background: #7FB36F; }
.cx-pills .is-warn::before { background: var(--ds-accent); }
/* the bottom line */
.cx-verdict { background: var(--ds-card); color: var(--ds-ink); border-radius: 6px; padding: 1.1rem 1.2rem; }
.site-data .cx-verdict h2 { font-size: 1rem; margin: 0 0 .6rem; color: var(--ds-ink); }
.cx-verdict ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.cx-verdict li { display: flex; gap: .6rem; align-items: baseline; font-size: .93rem; }
.cx-verdict li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ds-logo);
  transform: translateY(-1px); }
.cx-verdict .is-ok::before { background: var(--ds-ok); }
.cx-verdict .is-warn::before { background: var(--ds-warn); }
.site-data .cx-verdict a { display: inline-block; margin-top: .7rem; font-size: .85rem; color: var(--ds-muted); }
/* stats band at the foot of a model hero */
.cx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin: 2rem 0 0;
  background: rgba(245, 243, 237, .12); border-block: 1px solid rgba(245, 243, 237, .12); }
.cx-stats > div { background: var(--ds-dark); padding: 1rem .9rem; min-width: 0; }
.cx-stats small { display: block; font-size: .78rem; color: var(--ds-on-dark-2); }
.cx-stats b { display: block; font: 600 1.35rem var(--ds-f-m); color: var(--ds-on-dark); font-variant-numeric: tabular-nums; }
.cx-stats span { font-size: .78rem; color: var(--ds-on-dark-2); }
.cx-stats .is-ok b { color: #9BC98C; }
.cx-stats .is-warn b { color: #F2A07B; }

/* anchors under the hero */
.cx-subnav { position: sticky; top: 66px; z-index: 40; background: rgba(250, 249, 247, .96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-block-end: 1px solid var(--ds-line); }
.cx-subnav .container { display: flex; gap: 1.4rem; overflow-x: auto; scrollbar-width: none; }
.site-data .cx-subnav a { padding: .8rem 0; font-size: .9rem; font-weight: 500; color: var(--ds-ink-2); text-decoration: none;
  white-space: nowrap; border-block-end: 2px solid transparent; }
.site-data .cx-subnav a:hover { color: var(--ds-ink); border-block-end-color: var(--ds-accent); }
.site-data [id^="cx-"] { scroll-margin-top: 130px; }

/* main column + sticky side column */
.cx-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; align-items: start;
  padding-block: 2.5rem 4rem; }
/* minmax(0, …): the plate field's own width must not widen the column past its track */
.cx-side { position: sticky; top: 130px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (max-width: 980px) {
  .cx-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cx-side { position: static; margin-top: 1rem; }
}
.cx-block { padding-block: 2.2rem; border-block-start: 1px solid var(--ds-line); }
.cx-block:first-child { border-block-start: 0; padding-block-start: 0; }
.site-data .cx-block > h2 { margin: 0 0 .4rem; }
.cx-block > .cx-sub { margin: 0 0 1.2rem; color: var(--ds-ink-2); max-width: 66ch; }
.cx-box { background: var(--ds-card); border: 1px solid var(--ds-line); border-radius: 6px; padding: 1rem 1.1rem; }
.site-data .cx-box h2 { font-size: 1rem; margin: 0 0 .7rem; }
.cx-box--dark { background: var(--ds-dark); border-color: var(--ds-dark); color: var(--ds-on-dark); }
.site-data .cx-box--dark h2 { color: var(--ds-on-dark); }
.cx-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.cx-box li a { font-size: .92rem; }

/* horizontal bars: share failing by area vs all cars */
.cx-hbars { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.cx-hbars li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 4.2rem; gap: .8rem; align-items: center; font-size: .9rem; }
.cx-hbars__tr { position: relative; height: 14px; background: var(--ds-paper-alt); border-radius: 2px; }
.cx-hbars__tr i { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 2px; background: var(--ds-ink); }
.cx-hbars__tr i.is-hi { background: var(--ds-warn); }
.cx-hbars__tr u { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ds-accent-ink); opacity: .55; }
.cx-hbars b { font: 600 .85rem var(--ds-f-m); }
@media (max-width: 560px) {
  .cx-hbars li { grid-template-columns: 6.5rem minmax(0, 1fr) 3.6rem; }
}
.cx-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: .8rem 0 0; font-size: .78rem; color: var(--ds-muted); }
.cx-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.cx-legend i { display: inline-block; width: 12px; height: 10px; border-radius: 2px; background: var(--ds-ink); }

/* column chart: vehicles on the road by model year (each column links to its year page) */
.cx-cols { display: flex; align-items: flex-end; gap: 4px; height: 170px; border-block-end: 1px solid var(--ds-ink);
  margin: .5rem 0 0; padding: 0; list-style: none; }
.cx-cols li { flex: 1; height: 100%; display: flex; align-items: flex-end; min-width: 0; }
.site-data .cx-cols a { display: block; width: 100%; background: var(--ds-ink); border-radius: 2px 2px 0 0; min-height: 2px; }
.site-data .cx-cols a:hover, .site-data .cx-cols a:focus-visible { background: var(--ds-accent); }
.cx-cols-x { display: flex; gap: 4px; margin: .3rem 0 0; padding: 0; list-style: none; }
.cx-cols-x li { flex: 1; min-width: 0; text-align: center; font: 500 .68rem var(--ds-f-m); color: var(--ds-muted); overflow: hidden; }
@media (max-width: 700px) {
  .cx-cols-x li:nth-child(even):not(:last-child) { visibility: hidden; }
}

/* "N more" fold for long lists (recalls on a generation page) */
.cx-more > summary { cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; margin: .25rem 0 .75rem;
  font-weight: 600; font-size: .92rem; border-block-end: 1px solid var(--ds-ink); list-style: none; }
.cx-more > summary::-webkit-details-marker { display: none; }
.cx-more > summary::after { content: "↓"; }
.cx-more[open] > summary::after { content: "↑"; }

/* alert: an open recall on a plate page */
.cx-alert { display: grid; grid-template-columns: auto 1fr; gap: .3rem .9rem; align-items: start;
  background: var(--ds-card); border: 1px solid var(--ds-line); border-inline-start: 3px solid var(--ds-warn-soft); border-radius: 6px; padding: 1rem 1.1rem; margin-block-end: .75rem; }
.cx-alert__ic { grid-row: span 3; width: 32px; height: 32px; border-radius: 50%; background: var(--ds-warn); color: #fff;
  display: grid; place-items: center; font: 800 1rem var(--ds-f-d); }
.cx-alert strong { font-size: 1rem; }
.cx-alert p { margin: 0; font-size: .92rem; color: var(--ds-ink-2); }

/* ==========================================================================
   Home page pieces (intro, alternating stages, the dark band with steps,
   principles, the closing trio of cards)
   ========================================================================== */
.cx-h2 { font-size: clamp(1.7rem, 3.4vw, 2.75rem) !important; line-height: 1.12; margin: 0; }
.site-data .cx-h3 { font-size: 1.15rem; margin: 2rem 0 .9rem; }
.cx-lead { margin: 0; font-size: 1.1rem; font-weight: 300; color: var(--ds-ink-2); max-width: 62ch; }
.cx-intro { display: grid; gap: .9rem; margin-block-end: 2.2rem; }
.cx-intro .cx-k { margin: 0; }

/* capability stages: text and picture, alternating */
.cx-stage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 4.5rem); align-items: center;
  padding-block: 2.5rem; border-block-start: 1px solid var(--ds-line); }
.cx-stage:first-of-type { border-block-start: 0; }
.cx-stage--flip .cx-stage__vis { order: -1; }
@media (max-width: 860px) {
  .cx-stage { grid-template-columns: minmax(0, 1fr); }
  .cx-stage--flip .cx-stage__vis { order: 0; }
}
.site-data .cx-stage h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin: .5rem 0 .7rem; }
.cx-stage p { margin: 0 0 .9rem; color: var(--ds-ink-2); max-width: 56ch; }
.cx-stage .cx-k { margin: 0; }
.cx-stage__vis { min-width: 0; }
.cx-stage__cap { margin: 0 0 .8rem !important; font-size: .82rem; font-weight: 600; color: var(--ds-muted) !important; }
.cx-ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.cx-ticks li { display: flex; gap: .6rem; font-size: .95rem; }
.cx-ticks li::before { content: "✓"; color: var(--ds-sage); font-weight: 700; }

/* dark band with a grid */
.cx-dark { background-color: var(--ds-dark); background-image: var(--ds-grid); background-size: 28px 28px; color: var(--ds-on-dark); }
.cx-dark .cx-k { color: var(--ds-accent); }
.site-data .cx-dark h2, .site-data .cx-dark h3 { color: var(--ds-on-dark); }
.cx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none;
  border: 1px solid rgba(245, 243, 237, .14); border-radius: 4px; }
.cx-steps li { display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem 1.5rem; min-width: 0;
  border-inline-start: 1px solid rgba(245, 243, 237, .14); }
.cx-steps li:first-child { border-inline-start: 0; }
.cx-steps__n { margin: 0; font-size: 1.4rem; color: var(--ds-accent); }
.site-data .cx-steps h3 { font-size: 1.25rem; margin: 0; }
.cx-steps p { margin: 0; flex: 1; color: var(--ds-on-dark-2); font-size: .95rem; }
.site-data .cx-steps a { color: var(--ds-on-dark); font-size: .9rem; text-decoration: none; border-block-end: 1px solid var(--ds-accent); align-self: flex-start; }
@media (max-width: 760px) {
  .cx-steps { grid-template-columns: minmax(0, 1fr); }
  .cx-steps li { border-inline-start: 0; border-block-start: 1px solid rgba(245, 243, 237, .14); }
  .cx-steps li:first-child { border-block-start: 0; }
}

/* principles */
.cx-prin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem 4rem; }
@media (max-width: 760px) {
  .cx-prin { grid-template-columns: minmax(0, 1fr); }
}
.cx-prin > div { border-block-start: 2px solid var(--ds-ink); padding-block-start: 1rem; }
.cx-prin .vx-num { margin: 0; color: var(--ds-sage); font-size: .88rem; }
.site-data .cx-prin h3 { font-size: 1.3rem; margin: .4rem 0 .5rem; }
.cx-prin p { margin: 0; color: var(--ds-ink-2); max-width: 52ch; }

/* closing trio */
.cx-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-block-end: 1.5rem; }
@media (max-width: 860px) {
  .cx-trio { grid-template-columns: minmax(0, 1fr); }
}
.cx-trio > div { display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem; border-radius: 4px;
  background: var(--ds-card); border: 1px solid var(--ds-line); }
.cx-trio > div.is-dark { background: var(--ds-dark); border-color: var(--ds-dark); color: var(--ds-on-dark); }
.site-data .cx-trio h3 { font-size: 1.3rem; margin: 0; }
.site-data .cx-trio .is-dark h3 { color: var(--ds-on-dark); }
.cx-trio p { margin: 0; flex: 1; color: var(--ds-ink-2); }
.cx-trio .is-dark p { color: var(--ds-on-dark-2); }
.cx-trio .btn { align-self: flex-start; }

/* ==========================================================================
   Data pages (/data: the question, the one-number answer, stacks, trends,
   rankings, "how we counted", FAQ, related)
   ========================================================================== */
.site-data .cx-data-hero h1.cx-data-hero__q { display: block; font-size: clamp(2rem, 4.8vw, 3.6rem); max-width: 20ch; margin-top: .6rem; }
.cx-answer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem 1.6rem; align-items: center; max-width: 880px;
  margin-top: 1.8rem; padding: 1.3rem 1.5rem; background: var(--ds-card); color: var(--ds-ink); border-radius: 6px; }
@media (max-width: 600px) {
  .cx-answer { grid-template-columns: minmax(0, 1fr); }
}
.cx-answer__big { margin: 0; display: flex; align-items: baseline; gap: .35rem; }
.cx-answer__big .vx-num { font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 600; line-height: 1; }
.cx-answer__big small { font: 600 1.1rem var(--ds-f-d); color: var(--ds-ink-2); }
.cx-answer__text { margin: 0; font-size: 1.05rem; }
.cx-answer__of { font-weight: 600; }
/* a colour next to its name (colour breakdowns): an illustration, the registry holds names */
.cx-sw { display: inline-block; width: .85em; height: .85em; margin-inline-end: .45em; border-radius: 3px;
  vertical-align: -.08em; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .22); }
.cx-answer__upd { display: block; margin-top: .4rem; font-size: .78rem; color: var(--ds-muted); }
.cx-stack { display: flex; height: 44px; border-radius: 4px; overflow: hidden; }
.cx-stack > span { display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden;
  color: var(--ds-on-dark); font: 600 .78rem var(--ds-f-m); }
.cx-stack-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .8rem 1rem; margin: 1rem 0 0;
  padding: 0; list-style: none; }
.cx-stack-l li { display: flex; flex-direction: column; font-size: .85rem; }
.cx-stack-l li > span { display: inline-flex; align-items: center; gap: .4rem; }
.cx-stack-l i { width: 12px; height: 12px; border-radius: 2px; flex: none; }
.cx-stack-l b { font-size: 1.15rem; }
.cx-stack-l small { color: var(--ds-muted); font-size: .75rem; }
.cx-trend__plot { display: flex; align-items: flex-end; gap: 6px; height: 210px; margin: 1.6rem 0 0; padding: 0; list-style: none;
  border-block-end: 1px solid var(--ds-ink);
  background-image: linear-gradient(var(--ds-line) 1px, transparent 1px); background-size: 100% 52.5px; background-position: bottom; }
.cx-trend__plot li { flex: 1; height: 100%; display: flex; align-items: flex-end; min-width: 0; }
.cx-trend__bar { position: relative; display: block; width: 100%; min-height: 2px; background: var(--ds-ink); border-radius: 2px 2px 0 0; }
.cx-trend__bar.is-last { background: var(--ds-accent); }
.cx-trend__bar.is-partial { background: repeating-linear-gradient(135deg, #C9C6BD 0 5px, #E2DFD7 5px 10px); }
.cx-trend__bar b { position: absolute; bottom: 100%; inset-inline: 0; padding-bottom: 3px; text-align: center;
  font-size: .7rem; font-weight: 600; color: var(--ds-ink); }
.cx-trend__x { display: flex; gap: 6px; margin: .3rem 0 0; padding: 0; list-style: none; }
.cx-trend__x li { flex: 1; min-width: 0; text-align: center; font: 500 .68rem var(--ds-f-m); color: var(--ds-muted); overflow: hidden; }
@media (max-width: 600px) {
  .cx-trend__plot, .cx-trend__x { gap: 3px; }
  .cx-trend__bar b { font-size: .58rem; }
  .cx-trend__x li:nth-child(even):not(:last-child) { visibility: hidden; }
  /* many columns: a value label wider than its column is shown on every other one (the latest always) */
  .cx-trend__plot:has(li:nth-child(9)) li:nth-child(even):not(:last-child) .cx-trend__bar:not(.is-last) b { visibility: hidden; }
}
.cx-hbars--plain li { grid-template-columns: 7rem minmax(0, 1fr) 4.6rem; }
.site-data .cx-rank__name { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ds-ink); }
.site-data .cx-rank__name:hover { text-decoration: underline; }
.cx-rank td:first-child { color: var(--ds-muted); width: 2.5rem; }
.cx-prose { max-width: 68ch; }
.cx-prose p { margin: 0 0 .9rem; color: var(--ds-ink-2); font-size: 1.02rem; line-height: 1.75; }
/* the answer's one sentence under the headline number: what the number means, before the blocks */
.cx-block--lead { margin-block: 0 .4rem; }
.cx-lead { max-width: 68ch; margin: 0; color: var(--ds-ink-2); font-size: 1.08rem; line-height: 1.7; }
.cx-method { background: var(--ds-paper-alt); border-radius: 6px; padding: 1.1rem 1.3rem; font-size: .92rem; color: var(--ds-ink-2); }
.site-data .cx-method h2 { font-size: 1.05rem; margin: 0 0 .5rem; }
/* "how we counted" is closed by default: one line, an arrow; open for whoever wants the method */
.site-data details.cx-method { padding: .7rem 1.1rem; }
.site-data details.cx-method[open] { padding: .9rem 1.3rem 1.1rem; }
.site-data .cx-method > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .55rem;
  font: 700 1.02rem var(--ds-f-d); color: var(--ds-ink); }
.site-data .cx-method > summary::-webkit-details-marker { display: none; }
.site-data .cx-method > summary::after { content: "↓"; font-weight: 400; color: var(--ds-muted); }
.site-data .cx-method[open] > summary::after { content: "↑"; }
.site-data .cx-method[open] > summary { margin-block-end: .6rem; }
.cx-method dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem 1rem; margin: 0; }
.cx-method dt { font-weight: 600; color: var(--ds-ink); }
.cx-method dd { margin: 0; }
.cx-faq details { border-block-end: 1px solid var(--ds-line); padding: .85rem 0; }
.cx-faq summary { cursor: pointer; font-weight: 600; }
.cx-faq details p { margin: .5rem 0 0; color: var(--ds-ink-2); }
.cx-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.site-data .cx-related a { display: block; height: 100%; padding: 1rem 1.1rem; background: var(--ds-card); border: 1px solid var(--ds-line);
  border-radius: 6px; color: var(--ds-ink); text-decoration: none; font-weight: 600; }
.site-data .cx-related a:hover { border-color: var(--ds-ink); }
.cx-datacards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.site-data .cx-datacards a { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.4rem; background: var(--ds-card);
  border: 1px solid var(--ds-line); border-radius: 6px; color: var(--ds-ink); text-decoration: none; }
.site-data .cx-datacards a:hover { border-color: var(--ds-ink); box-shadow: inset 0 3px 0 var(--ds-accent); }
.cx-datacards b { font-size: 2rem; font-weight: 600; }
.cx-datacards span { font: 800 1.1rem var(--ds-f-d); }

/* ==========================================================================
   Articles (article.html) and the guides list (blog.html)
   ========================================================================== */
.cx-ahero { padding-block: clamp(2rem, 5vw, 3.2rem); border-block-end: 1px solid var(--ds-line); }
.site-data .cx-ahero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; max-width: 22ch; margin: .5rem 0 0; }
.cx-ahero__dek { margin: .9rem 0 0; font-size: 1.15rem; font-weight: 300; color: var(--ds-ink-2); max-width: 60ch; }
.cx-byline { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1.2rem 0 0; font-size: .85rem; color: var(--ds-muted); }
.cx-byline__ok { background: var(--ds-ok-bg); color: var(--ds-ok); font-weight: 600; padding: .1rem .65rem; border-radius: 999px; }
.cx-alayout { display: grid; grid-template-columns: 200px minmax(0, 1fr) 270px; gap: 3rem; align-items: start; padding-block: 2.5rem 4rem; }
.cx-alayout--notoc { grid-template-columns: minmax(0, 1fr) 270px; }
.cx-toc { position: sticky; top: 90px; display: grid; font-size: .88rem; }
.cx-toc p { margin: 0 0 .6rem; font-size: .75rem; color: var(--ds-muted); }
.site-data .cx-toc a, .site-data .cx-toc-m a { padding: .35rem 0; padding-inline-start: .75rem; border-inline-start: 2px solid var(--ds-line);
  color: var(--ds-ink-2); text-decoration: none; }
.site-data .cx-toc a:hover, .site-data .cx-toc-m a:hover { border-inline-start-color: var(--ds-accent); color: var(--ds-ink); }
/* no room for a side list: the same links fold into one line above the text */
.cx-toc-m { display: none; margin-block-end: 1.5rem; border: 1px solid var(--ds-line); border-radius: 6px;
  background: var(--ds-card); font-size: .95rem; line-height: 1.5; }
.cx-toc-m summary { padding: .7rem 1rem; font-weight: 600; cursor: pointer; }
.cx-toc-m nav { display: grid; padding: 0 1rem .9rem; }
.site-data .cx-toc-m a { padding-block: .6rem; }
/* after the .cx-toc rules: a media query adds no weight, the later rule wins */
@media (max-width: 1100px) {
  .cx-alayout { grid-template-columns: minmax(0, 1fr) 270px; }
  .cx-toc { display: none; }
  .cx-toc-m { display: block; }
}
@media (max-width: 860px) {
  .cx-alayout, .cx-alayout--notoc { grid-template-columns: minmax(0, 1fr); }
}
.cx-article { font-size: 1.07rem; line-height: 1.8; max-width: 70ch; min-width: 0; }
.cx-article p { margin: 0 0 1.1rem; color: #2E2D2A; }
.site-data .cx-article h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 2.4rem 0 .8rem; scroll-margin-top: 90px; }
.site-data .cx-article h3 { font-size: 1.2rem; margin: 1.8rem 0 .6rem; }
.cx-article ul, .cx-article ol { padding-inline-start: 1.3rem; margin: 0 0 1.1rem; }
.cx-article li { margin-block-end: .35rem; }
.cx-article img { border-radius: 6px; }
.cx-article__cover { width: 100%; margin-block-end: 1.5rem; }
.cx-article table { border-collapse: collapse; width: 100%; font-size: .92rem; margin: 0 0 1.2rem; }
.cx-article th { text-align: start; font-size: .8rem; color: var(--ds-muted); border-block-end: 2px solid var(--ds-ink); padding: .45rem .5rem; }
.cx-article td { border-block-end: 1px solid var(--ds-line); padding: .5rem; }
.cx-callout { border-radius: 6px; padding: 1rem 1.2rem; margin: 1.4rem 0; font-size: 1rem; }
.cx-callout > :last-child { margin-bottom: 0; }
.cx-callout ul { margin-bottom: 0; }
.cx-callout__k { margin: 0 0 .3rem !important; font-weight: 700; font-size: .85rem; color: var(--ds-ink) !important; }
.cx-callout--tldr { background: var(--ds-paper-alt); }
/* tip / heads-up: white like the cards — a dot by the label and a thin edge carry the colour */
.cx-callout--tip, .cx-callout--warn { background: var(--ds-card); border: 1px solid var(--ds-line);
  border-inline-start: 3px solid var(--ds-tone); }
.cx-callout--tip { --ds-tone: var(--ds-accent); }
.cx-callout--warn { --ds-tone: var(--ds-warn-soft); }
.cx-callout--tip .cx-callout__k::before, .cx-callout--warn .cx-callout__k::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: .4rem; border-radius: 50%;
  background: var(--ds-tone); vertical-align: .1em; }
.cx-cklist { list-style: none; padding: 0 !important; border: 1px solid var(--ds-line); border-radius: 6px; background: var(--ds-card); }
.cx-cklist li { margin: 0; border-block-end: 1px solid var(--ds-line); }
.cx-cklist li:last-child { border-block-end: 0; }
.cx-cklist label { display: flex; gap: .75rem; align-items: flex-start; padding: .7rem 1rem; cursor: pointer; font-size: .98rem; line-height: 1.5; }
.cx-cklist input { width: 18px; height: 18px; margin-top: .2rem; flex: none; accent-color: var(--ds-accent-ink); }
.cx-cklist input:checked + span { color: var(--ds-muted); text-decoration: line-through; }
.cx-datacard { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1.5rem; align-items: center; margin: 1.6rem 0;
  padding: 1.1rem 1.3rem; background: var(--ds-card); border: 1px solid var(--ds-line); border-inline-start: 6px solid var(--ds-ink); border-radius: 6px; }
.cx-datacard small { display: block; font-size: .75rem; color: var(--ds-muted); }
.cx-datacard p { margin: 0 !important; font-size: .98rem; }
.cx-datacard b { font-size: 2rem; font-weight: 600; white-space: nowrap; }
.cx-datacard b small { display: inline; font: 600 1rem var(--ds-f-d); color: var(--ds-ink-2); }
.cx-datacard .cx-datacard__src { grid-column: 1 / -1; font-size: .8rem; color: var(--ds-muted) !important; line-height: 1.5; }
.site-data .cx-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .8rem .3rem .9rem; border: 1px solid var(--ds-line);
  border-radius: 999px; background: var(--ds-card); color: var(--ds-ink); text-decoration: none; font-size: .92rem; }
.site-data .cx-chip:hover { border-color: var(--ds-ink); }
.cx-chip small { color: var(--ds-muted); font-size: .75rem; }
.cx-ainote { display: flex; gap: .6rem; align-items: flex-start; margin-top: 2rem; padding: .8rem 1rem; border-radius: 6px;
  background: var(--ds-paper-alt); font-size: .85rem; color: var(--ds-ink-2); line-height: 1.6; }
/* the guides list (engine blog.html) */
.site-data .card { border-radius: 6px; border: 1px solid var(--ds-line); box-shadow: none; background: var(--ds-card); }
.site-data .card--link:hover { border-color: var(--ds-ink); transform: none; box-shadow: inset 0 3px 0 var(--ds-accent); }
.site-data .card__title { font-family: var(--ds-f-d); font-weight: 800; color: var(--ds-ink); }
.site-data .article-byline__cat { color: var(--ds-sage); }

/* ---------------------------------------------------------------------------
   The data chat's answers (templates/_data_blocks.html, _answer_view.html):
   the blocks the /data pages did not have. Same tokens, same quiet marks.
   --------------------------------------------------------------------------- */
/* stack parts that are not a powertrain: a neutral ramp, the plate yellow for the largest */
.cx-kind--s1 { background: var(--ds-ink); }
.cx-kind--s2 { background: var(--ds-sage); }
.cx-kind--s3 { background: #8C8A82; }
.cx-kind--s4 { background: var(--ds-accent-2); }
.cx-kind--s5 { background: var(--ds-accent); color: var(--ds-accent-ink) !important; }
.cx-kind--s6 { background: #B9B6AD; color: var(--ds-ink) !important; }
.cx-kind--s7 { background: #5C6B7A; }
.cx-kind--s8 { background: #D6D3CB; color: var(--ds-ink) !important; }

/* line: several series over model years, drawn right to left like the column chart */
.cx-line { margin: 1.4rem 0 0; }
.cx-line svg { display: block; width: 100%; height: 220px; overflow: visible; }
.cx-line__grid { stroke: var(--ds-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cx-line__axis { stroke: var(--ds-ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cx-line__s { stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.cx-line__s--1 { stroke: var(--ds-ink); }
.cx-line__k--1 { background: var(--ds-ink); }
.cx-line__s--2 { stroke: var(--ds-accent-2); }
.cx-line__k--2 { background: var(--ds-accent-2); }
.cx-line__s--3 { stroke: var(--ds-sage); }
.cx-line__k--3 { background: var(--ds-sage); }
.cx-line__s--4 { stroke: var(--ds-warn); }
.cx-line__k--4 { background: var(--ds-warn); }
.cx-line__s--5 { stroke: #C9A100; }
.cx-line__k--5 { background: #C9A100; }
.cx-line__s--6 { stroke: #8C8A82; stroke-dasharray: 5 4; }
.cx-line__k--6 { background: #8C8A82; }
.cx-line__x { display: flex; justify-content: space-between; margin: .35rem 0 0; padding: 0; list-style: none;
  font: 500 .72rem var(--ds-f-m); color: var(--ds-muted); }
.cx-line__l i { height: 4px !important; border-radius: 2px; align-self: center; }

/* a generic table and the model comparison.
   Number cells are direction:ltr (engine.css), so a logical `end` puts the value
   on the right while its RTL title goes left — physical `right` lines both up
   at the column's start and still aligns the units digit. */
.site-data .cx-gtable th.vx-num, .site-data .cx-gtable td.vx-num { text-align: right; white-space: nowrap; }
.site-data .cx-gtable td a { color: var(--ds-ink); font-weight: 600; }
.site-data .cx-compare thead th { vertical-align: bottom; font: 800 1rem var(--ds-f-d); color: var(--ds-ink); text-align: right; }
.site-data .cx-compare thead th a { color: inherit; text-decoration: none; }
.site-data .cx-compare thead th a:hover { text-decoration: underline; }
.cx-compare thead th small { display: block; font: 400 .75rem var(--ds-f-b); color: var(--ds-muted); margin-top: .15rem; }
.site-data .cx-compare tbody th { text-align: start; font-weight: 400; color: var(--ds-ink-2); background: transparent; font-size: .92rem;
  border-block-end: 1px solid var(--ds-line); }
.site-data .cx-compare td.vx-num { text-align: right; white-space: nowrap; }
/* the better side of a row: a dot and weight, no tinted cell (the site's quiet good / bad marks) */
.site-data .cx-compare td.is-best { font-weight: 600; color: var(--ds-ink); }
.cx-compare td.is-best::before, .cx-legend .cx-compare__dot { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ds-ok); margin-inline-end: .45rem; vertical-align: middle; }
/* the comparison on a phone: no sideways scroll. Each measure is a line of its own — its name, then the models'
   values side by side (one column per model, --cx-n from the template) under the model names, which stay at the
   top of the screen (under the site header) while the list scrolls. */
@media (max-width: 640px) {
  .site-data .vx-table-wrap--compare { overflow: visible; }
  .site-data .cx-compare, .site-data .cx-compare thead, .site-data .cx-compare tbody { display: block; }
  .site-data .cx-compare tr { display: grid; grid-template-columns: repeat(var(--cx-n, 2), minmax(0, 1fr)); column-gap: .6rem; }
  .site-data .cx-compare thead { position: sticky; inset-block-start: 66px; z-index: 3; background: var(--ds-card);
    border-block-end: 2px solid var(--ds-ink); }
  .site-data .cx-compare thead td:first-child { display: none; }
  .site-data .cx-compare thead th { display: block; padding: .6rem .15rem .5rem; font-size: .92rem; line-height: 1.2;
    white-space: normal; overflow-wrap: anywhere; border: 0; }
  .site-data .cx-compare thead th small { font-size: .72rem; }
  .site-data .cx-compare tbody th { grid-column: 1 / -1; display: block; padding: .75rem .15rem .1rem; border: 0;
    font-size: .8rem; line-height: 1.3; color: var(--ds-muted); white-space: normal; }
  .site-data .cx-compare td.vx-num { display: block; padding: 0 .15rem .55rem; font-size: .95rem; border-block-end: 1px solid var(--ds-line); }
  .site-data .cx-compare tbody tr:last-child td { border-block-end: 0; }
}

/* a row of measures of one model */
.cx-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.cx-kpis li { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem; background: var(--ds-card);
  border: 1px solid var(--ds-line); border-radius: 6px; }
.cx-kpis b { display: flex; align-items: baseline; gap: .3rem; flex-wrap: wrap; font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.cx-kpis b small { font: 600 .82rem var(--ds-f-d); color: var(--ds-ink-2); }
.cx-kpis li > span { font-size: .85rem; color: var(--ds-muted); }
.cx-kpis b:not(.vx-num) { font: 800 1.05rem var(--ds-f-d); }

/* "how we counted" as sentences, and the answer when it replaces a data page's content */
.cx-method--list ul { margin: 0; padding-inline-start: 1.1rem; display: grid; gap: .3rem; }
.cx-aview__head { padding-block-end: 1.4rem; }
.site-data .cx-aview__head h2.cx-data-hero__q { font-size: clamp(1.6rem, 3.6vw, 2.6rem); max-width: 24ch; margin: .4rem 0 1rem; }

/* --- the data chat's place in a page (templates/_cars_chat.html). The panel itself
   and its tabs are styled by the chat bundle; this is only what the page owns. --- */
.cx-ask { margin-top: 1.4rem; max-width: 640px; }
.cx-ask[hidden] { display: none; }
.cx-ask__row { display: flex; gap: .4rem; background: var(--ds-card); border: 2px solid var(--ds-accent); border-radius: 12px; padding: .3rem; }
.cx-ask__row input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: .55rem .8rem;
  font: 400 1rem var(--ds-f-b); color: var(--ds-ink); }
.cx-ask__row input::placeholder { color: var(--ds-muted); }
.cx-ask__row button { border: 0; border-radius: 9px; cursor: pointer; padding: .55rem 1.25rem;
  background: var(--ds-accent); color: var(--ds-accent-ink); font: 700 1rem var(--ds-f-d); }
.cx-ask__row button:hover { background: var(--ds-accent-hover); }
.cx-ask__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.cx-ask__chips button { cursor: pointer; border-radius: 999px; padding: .25rem .85rem; font: 500 .84rem var(--ds-f-b);
  border: 1px solid rgba(245, 243, 237, .35); background: transparent; color: var(--ds-on-dark); }
.cx-ask__chips button:hover { border-color: var(--ds-accent); color: var(--ds-accent); }
.cx-ask__note { margin: .6rem 0 0; font-size: .78rem; color: var(--ds-on-dark-2); }
#cx-chat-canvas:empty, #cx-chat-trail:empty { display: none; }
[data-cx-static][hidden] { display: none !important; }

/* --- the team's screen of the data chat (vehicles_chat_admin.html) --- */
.cx-adm h2 { margin: 2.2rem 0 .6rem; font-size: 1.2rem; }
.cx-adm .cx-kpis { margin-top: 1.2rem; }
/* what happened after the answer (chat+screen plan, A6): the funnel, one step per stage */
.cx-funnel { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; counter-reset: funnel; }
.cx-funnel li { flex: 1 1 120px; display: flex; flex-direction: column; gap: .2rem; padding: .8rem 1rem; background: var(--ds-card); border: 1px solid var(--ds-line); border-radius: 10px; position: relative; }
.cx-funnel li + li::before { content: '←'; position: absolute; inset-inline-end: calc(100% + .05rem); top: 50%; transform: translateY(-50%); color: var(--ds-muted); font-size: .8rem; }
.cx-funnel b { font-size: 1.4rem; font-weight: 600; line-height: 1.15; }
.cx-funnel li > span { font-size: .82rem; color: var(--ds-muted); }
/* a wording becomes a template's example in one click (E1): the parameters, then a button per nearest type */
.cx-teach { min-width: 16rem; }
.cx-teach__chips { display: inline-flex; flex-wrap: wrap; gap: .25rem; margin-inline-end: .4rem; }
.cx-teach__chips .cx-chip { font-size: .72rem; padding: .05rem .5rem; }
.cx-teach__note { display: block; font-size: .78rem; color: #B0243C; margin-block: .2rem; }
.cx-teach__b { font-size: .8rem; margin: .15rem .1rem; }
.cx-teach__b:disabled { opacity: .5; cursor: default; }
.cx-teach.is-done { color: var(--ds-ok, #4E7A4A); font-weight: 600; }
/* the review of the ready answers over official documents (/data/admin/docs, official documents wave ב) */
.cx-dqa-group > summary { cursor: pointer; list-style: none; }
.cx-dqa-group > summary h2 { display: inline; }
.cx-dqa { margin-block: .8rem; padding: .9rem 1.1rem; background: var(--ds-card); border: 1px solid var(--ds-line); border-radius: 10px; }
.cx-dqa__doc { margin: 0 0 .3rem; font-size: .8rem; color: var(--ds-muted); }
.cx-dqa__q { margin: 0 0 .25rem; font-size: 1.05rem; }
.cx-dqa__also { margin: 0 0 .5rem; font-size: .8rem; color: var(--ds-muted); }
.cx-dqa__sum { margin: 0 0 .5rem; font-size: 1rem; line-height: 1.55; }
.cx-dqa__quote { margin: 0 0 .6rem; padding: .4rem .8rem; border-inline-start: 3px solid var(--ds-line); font-size: .9rem; color: var(--ds-muted); }
.cx-dqa__problems { margin: 0 0 .6rem; padding-inline-start: 1.2rem; font-size: .85rem; color: #B0243C; }
.cx-dqa__act { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.cx-dqa__note { flex: 1 1 12rem; min-width: 0; font: inherit; font-size: .85rem; padding: .3rem .5rem; border: 1px solid var(--ds-line); border-radius: 6px; background: transparent; color: inherit; }
.cx-dqa__state { font-size: .85rem; color: var(--ds-muted); }
.cx-dqa.is-approved { border-color: var(--ds-ok, #4E7A4A); }
.cx-dqa.is-rejected { opacity: .65; }
/* a dead end ends in a choice (A5): the nearest template questions, before the sign-up */
.cx-ans__near { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .6rem 0 .9rem; }
/* a chip that can become something else (B1): a button with a caret, its choices in a small dialog under the row */
.cx-chip__wrap { display: inline-flex; align-items: center; gap: .25rem; }
button.cx-chip--edit { cursor: pointer; gap: .3rem; }
button.cx-chip--edit[aria-expanded="true"] { border-color: var(--ds-ink); background: var(--ds-card); }
.cx-chip__caret { font-size: .7rem; color: var(--ds-muted); }
.cx-ans__pop--slot { inset-inline-start: auto; min-width: 300px; max-width: min(520px, 94vw); }
.cx-pop__head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.cx-pop__close { border: 0; background: transparent; cursor: pointer; color: var(--ds-muted); font-size: .9rem; padding: 0 .2rem; }
.cx-pop__close:hover { color: var(--ds-ink); }
.cx-pop__search { display: grid; gap: .5rem; }
.cx-pop__search input { width: 100%; padding: .45rem .7rem; border: 1px solid #D6D3CB; border-radius: 8px; font: inherit; }
.cx-pop__found { display: flex; flex-wrap: wrap; gap: .4rem; }
.cx-pop__years { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.cx-pop__years input { width: 6.2rem; padding: .35rem .5rem; border: 1px solid #D6D3CB; border-radius: 8px; font: inherit; }
.cx-chip--swatch .cx-sw { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); margin-inline-end: .3rem; vertical-align: -1px; }
.cx-chip--remove { border-color: var(--ds-muted); color: var(--ds-muted); background: transparent; }
.cx-chip--remove:hover { border-color: var(--ds-ink); color: var(--ds-ink); }
/* while a question runs (C1, C4): the first beat with the answer's skeleton, the steps as a list, a cancel */
.cx-ans__early:empty { display: none; }
.cx-ans__skeleton { display: grid; gap: .6rem; max-width: 560px; margin: .2rem 0 1rem; }
.cx-skel { display: block; border-radius: 6px; background: linear-gradient(90deg, var(--ds-paper-alt) 25%, var(--ds-card) 50%, var(--ds-paper-alt) 75%); background-size: 200% 100%; animation: cx-skel 1.2s linear infinite; }
.cx-skel--big { height: 3.2rem; width: 42%; }
.cx-skel--line { height: 1rem; width: 70%; }
.cx-skel--block { height: 7rem; width: 100%; }
@keyframes cx-skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  .cx-skel { animation: none; }
}
.cx-ans__preview { margin: 0; display: flex; align-items: baseline; gap: .4rem; color: var(--ds-muted); }
.cx-ans__preview b { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; line-height: 1; color: var(--ds-ink-2); opacity: .55; }
.cx-ans__wait { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: .4rem 0 1rem; }
.cx-ans__steps { margin: 0; padding: 0; list-style: none; display: grid; gap: .25rem; color: var(--ds-muted); font-size: .92rem; }
.cx-ans__steps li::before { content: '✓ '; color: var(--ds-ok, #4E7A4A); }
.cx-ans__steps li.is-now::before { content: '● '; color: var(--ds-accent-2); animation: cx-blink 1s ease-in-out infinite; }
@keyframes cx-blink { 50% { opacity: .35; } }
.cx-ans__cancel { border: 1px solid var(--ds-line); background: var(--ds-card); color: var(--ds-ink-2); border-radius: 999px; padding: .25rem .8rem; font: 600 .82rem var(--ds-f-b); cursor: pointer; flex: none; }
.cx-ans__cancel:hover { border-color: var(--ds-ink); }
/* the number before Enter (C3), in the dropdown */
.cx-omni__num { margin-inline-start: auto; font-size: 1.05rem; color: var(--ds-ink); }
/* the question said aloud (C5): the mic in the line */
.cx-mic { border: 0; background: transparent; color: var(--ds-muted); cursor: pointer; padding: 0 .5rem; display: inline-flex; align-items: center; }
.cx-mic:hover, .cx-mic.is-on { color: var(--ds-ink); }
.cx-mic.is-on { color: #B0243C; animation: cx-blink 1s ease-in-out infinite; }
.cx-ans__asked[hidden] { display: none; }
/* a bar, a row, a swatch is a click (B2): the same question narrowed to it */
.cx-ans__body--picks .cx-pick { cursor: pointer; }
.cx-ans__body--picks li.cx-pick:hover, .cx-ans__body--picks tr.cx-pick:hover > td { background: rgba(31, 79, 168, .07); }
.cx-ans__body--picks .cx-trend__plot li.cx-pick:hover .cx-trend__bar { filter: brightness(1.12); outline: 2px solid var(--ds-accent-2); outline-offset: 1px; }
.cx-ans__body--picks .cx-pick:focus-visible { outline: 2px solid var(--ds-accent-2); outline-offset: 2px; }
.cx-adm__nav { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.cx-adm__nav a { padding: .25rem .8rem; border: 1px solid var(--ds-line); border-radius: 999px; background: var(--ds-card);
  color: var(--ds-ink-2); font-size: .84rem; text-decoration: none; }
.cx-adm__nav a[aria-current="true"] { background: var(--ds-ink); border-color: var(--ds-ink); color: var(--ds-on-dark); }
.cx-adm__sep { width: 1px; height: 1.2rem; background: var(--ds-line); margin-inline: .3rem; }
.cx-adm__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; align-items: start; }
.cx-adm__cols .vx-table-wrap { margin: 0; }
.cx-adm__more { margin-top: .8rem; }
.cx-adm__more summary { cursor: pointer; color: var(--ds-muted); }
.cx-adm td { vertical-align: top; }
.cx-adm td small { color: var(--ds-muted); }
/* the dock beside the page is the way in there */

/* the chat docked beside the page (a half-screen split included): the header gets less room — a tighter nav and search */
body.cxc-docked .site-nav { gap: .85rem; }
body.cxc-docked .site-nav a, body.cxc-docked .site-nav__visitor { font-size: .86rem; white-space: nowrap; }

/* ---------------------------------------------------------------------------------------------------------
   The question line and the answer as a section of the page (cars-ask.js today, UI plan wave B).
   Only for a caller the server gave ui:"omnibar": the search form is enhanced, nothing else changes. */
.cx-omni { position: relative; }
.cx-omni__dd {
  position: absolute; z-index: 90; inset-block-start: calc(100% + 6px); inset-inline-start: 0; width: max(100%, min(480px, 92vw));
  background: var(--ds-card); color: var(--ds-ink); border: 1px solid var(--ds-line); border-radius: 10px;
  box-shadow: 0 18px 48px rgba(18, 18, 17, .28); padding: 6px 0; text-align: start; font-family: var(--ds-f-b);
}
.cx-omni__dd[hidden] { display: none; }
.cx-omni__opt { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .62rem 1rem; cursor: pointer; font-size: 1rem; }
.cx-omni__opt:hover, .cx-omni__opt[aria-selected="true"] { background: var(--ds-paper); }
.cx-omni__sub { color: var(--ds-accent-2); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.cx-omni__understood { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding: .55rem 1rem .6rem; border-bottom: 1px solid var(--ds-line); }
.cx-omni__k, .cx-ans__k { font-size: .76rem; color: var(--ds-muted); letter-spacing: .03em; margin-inline-end: .2rem; }
.cx-askline { max-width: 560px; margin-top: .4rem; }
.cx-askline[hidden] { display: none; }
.cx-askline__row { display: flex; gap: .5rem; }
.site-data .cx-askline input { flex: 1; min-width: 0; height: 56px; padding-inline: 1.1rem; font: 500 1.1rem inherit; font-family: inherit; color: var(--ds-on-dark); background: transparent; border: 2px solid var(--ds-on-dark-2); border-radius: 7px; }
.site-data .cx-askline input::placeholder { color: var(--ds-on-dark-2); opacity: .8; }
.site-data .cx-askline input:focus { outline: none; border-color: var(--ds-on-dark); }
.site-data .cx-askline button { height: 56px; padding-inline: 1.4rem; font-weight: 600; background: transparent; color: var(--ds-on-dark); border: 2px solid var(--ds-on-dark-2); border-radius: 7px; cursor: pointer; }
.site-data .cx-askline button:hover { border-color: var(--ds-on-dark); }
.site-data .cx-askline .cx-omni__dd { inset-block-start: calc(100% + 6px); max-width: 640px; }

.cx-chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .8rem; border-radius: 999px; font: 500 .9rem var(--ds-f-b);
  background: var(--ds-card); border: 1px solid #D6D3CB; color: var(--ds-ink); line-height: 1.4;
}
button.cx-chip { cursor: pointer; }
.cx-chip--kind { background: var(--ds-ink); border-color: var(--ds-ink); color: var(--ds-on-dark); }
.cx-chip--next { border-color: var(--ds-accent-2); color: var(--ds-accent-2); background: transparent; }
.cx-chip--next:hover, .cx-chip--add:hover { background: rgba(31, 79, 168, .08); }
.cx-chip--add { border-style: dashed; color: var(--ds-ink-2); background: transparent; }
.cx-chip__x { border: 0; background: var(--ds-paper-alt); color: var(--ds-muted); width: 20px; height: 20px; border-radius: 50%; font-size: .7rem; line-height: 1; cursor: pointer; padding: 0; }
.cx-chip__x:hover { background: var(--ds-ink); color: var(--ds-on-dark); }

.cx-ans { background: var(--ds-paper-alt); border-block-end: 1px solid var(--ds-line); scroll-margin-top: 76px; }
.cx-ans__inner { padding-block: 1.4rem 3rem; }
.cx-ans__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-block-end: .7rem; }
/* the question is the label of the answer, not its headline: the answer is what is big */
.cx-ans__q { font: 700 1.15rem/1.3 var(--ds-f-d); color: var(--ds-ink-2); }
/* a vehicle's one value (cars_vehicle.fact_of): a card, the value big, what it is, the car, its page */
.cx-fact { background: var(--ds-card); border: 1px solid var(--ds-line); border-inline-start: 5px solid var(--ds-accent);
  border-radius: 12px; padding: 1.3rem 1.6rem 1.4rem; max-width: 640px; box-shadow: 0 6px 24px rgba(18, 18, 17, .06); }
.cx-fact__big { margin: 0; display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; }
.cx-fact__v { font: 700 clamp(2.2rem, 5vw, 3.6rem)/1.05 var(--ds-f-d); color: var(--ds-ink); letter-spacing: -.01em; overflow-wrap: anywhere; unicode-bidi: isolate; }
.cx-fact__big small { font: 600 1.1rem var(--ds-f-d); color: var(--ds-ink-2); }
.cx-fact__label { margin: .5rem 0 0; font: 600 1rem var(--ds-f-b); color: var(--ds-ink); }
.cx-fact__of { margin: .2rem 0 0; font-size: .88rem; color: var(--ds-muted); }
.cx-fact__go { display: inline-block; margin-block-start: 1rem; padding: .35rem 1rem; border: 1px solid var(--ds-ink); border-radius: 999px;
  font: 600 .9rem var(--ds-f-b); color: var(--ds-ink); text-decoration: none; }
.cx-fact__go:hover { background: var(--ds-ink); color: var(--ds-on-dark); }
.cx-ans bdi { unicode-bidi: isolate; }
/* the chat beside the page already holds the visit's questions and the way on: the page keeps only the answer */
body.cxc-docked:not(.cxc-folded) .cx-ans__tabs, body.cxc-docked:not(.cxc-folded) .cx-ans__chat { display: none; }
.cx-ans__close { border: 1px solid #D6D3CB; background: var(--ds-card); color: var(--ds-ink-2); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; flex: none; }
.cx-ans__close:hover { background: var(--ds-ink); color: var(--ds-on-dark); }
.cx-ans__status { color: var(--ds-muted); margin: .4rem 0 1rem; }
.cx-ans__chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-block-end: 1.2rem; position: relative; }
.cx-ans__fixed { font-size: .82rem; color: var(--ds-muted); margin-inline-start: .4rem; }
.cx-ans__pop { position: absolute; inset-block-start: calc(100% + 4px); inset-inline-start: 0; z-index: 5; background: var(--ds-card); border: 1px solid var(--ds-line); border-radius: 10px; box-shadow: 0 14px 36px rgba(18, 18, 17, .2); padding: .8rem 1rem; display: grid; gap: .7rem; min-width: 260px; }
.cx-ans__pop[hidden] { display: none; }
.cx-ans__pop-group { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.cx-ans__body { background: var(--ds-paper); border: 1px solid var(--ds-line); border-radius: 10px; padding: 1.2rem 1.6rem 1.6rem; }
.cx-ans__body .cx-aview__head { margin-block-start: 0; }
.cx-ans__body .cx-block:first-of-type { border-block-start: 0; }
.cx-ans__text { font-size: 1.3rem; line-height: 1.55; font-weight: 500; color: var(--ds-ink); max-width: 62ch;
  background: var(--ds-card); border: 1px solid var(--ds-line); border-inline-start: 5px solid var(--ds-accent); border-radius: 12px; padding: 1.1rem 1.5rem; margin: 0; }
/* what to ask next: quiet, under the answer — it must not compete with it */
.cx-ans__next { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-block-start: 1.3rem; }
.cx-ans__next .cx-chip--next { font-size: .85rem; padding: .2rem .75rem; border-color: var(--ds-line); color: var(--ds-ink-2); background: var(--ds-card); }
.cx-ans__next .cx-chip--next:hover { border-color: var(--ds-ink); color: var(--ds-ink); background: var(--ds-card); }
.cx-ans__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-block-start: 1.1rem; font-size: .88rem; color: var(--ds-muted); }
.cx-ans__foot .cx-chip { font-size: .82rem; padding: .18rem .7rem; }
.cx-ans__note { display: flex; gap: .4rem; flex-basis: 100%; }
.cx-ans__note[hidden] { display: none; }
.cx-ans__note input { flex: 1; max-width: 420px; padding: .35rem .7rem; border: 1px solid #D6D3CB; border-radius: 8px; font: inherit; }
.cx-ans__share, .cx-ans__link { color: var(--ds-accent-2); text-decoration: underline; text-underline-offset: 2px; }
/* the answers of this visit, a tab each, the page itself first (the page stays under the answer either way) */
.cx-ans__tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .9rem; padding: 0; list-style: none; }
.cx-ans__tabs li { margin: 0; }
/* quiet: text with a line under the one shown, no frames — the row is a way back, not content */
.cx-ans__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: .2rem; border-block-end: 1px solid var(--ds-line); }
.cx-ans__tabs::-webkit-scrollbar { display: none; }
.cx-ans__tabs li { flex: none; }
.cx-ans__tabs button, .cx-ans__more > summary {
  font: 500 .82rem var(--ds-f-b); padding: 6px 10px; cursor: pointer;
  border: 0; border-block-end: 2px solid transparent; background: transparent; color: var(--ds-muted);
  max-width: 24ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block;
}
.cx-ans__tabs button:hover, .cx-ans__more > summary:hover { color: var(--ds-ink); }
.cx-ans__tabs button[aria-current="true"] { color: var(--ds-ink); border-block-end-color: var(--ds-ink); font-weight: 600; }
.cx-ans__more { position: relative; }
.cx-ans__more > summary { list-style: none; }
.cx-ans__more > summary::-webkit-details-marker { display: none; }
.cx-ans__more > summary::after { content: ' ▾'; }
.cx-ans__more-list { position: fixed; z-index: 20; margin-top: 4px; background: var(--ds-card); border: 1px solid var(--ds-line); border-radius: 10px;
  box-shadow: 0 14px 36px rgba(18, 18, 17, .18); padding: .3rem 0; display: grid; min-width: 220px; }
.cx-ans__more-list button { max-width: 40ch; text-align: start; border: 0; padding: .5rem 1rem; }
/* a quiet "not accurate" instead of thumbs: a link, and a note the team gets */
.cx-ans__flag { border: 0; background: transparent; padding: 0; font: inherit; font-size: .85rem; color: var(--ds-muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.cx-ans__flag:hover { color: var(--ds-ink); }
.cx-ans__thanks { font-size: .85rem; color: var(--ds-muted); }
.cx-ans__chat { margin-inline-start: auto; border: 1px solid var(--ds-ink); background: transparent; border-radius: 999px; padding: .28rem .9rem; font: 600 .85rem var(--ds-f-b); cursor: pointer; }
.cx-ans__chat:hover { background: var(--ds-ink); color: var(--ds-on-dark); }
.cx-ans__link { display: inline-block; margin-block-start: .8rem; margin-inline-end: 1rem; }
.cx-ans__gate { background: var(--ds-card); border: 2px solid var(--ds-accent); border-radius: 12px; padding: 1.6rem 1.8rem; max-width: 640px; }
.cx-ans__gate h2 { margin: .6rem 0 .5rem; font: 800 1.5rem/1.2 var(--ds-f-d); }
.cx-ans__gate p { color: var(--ds-ink-2); max-width: 54ch; }
.cx-ans__gate-tag { display: inline-block; padding: .15rem .8rem; border-radius: 999px; background: var(--ds-paper-alt); font-size: .82rem; color: var(--ds-ink-2); }
.cx-ans__gate-go { margin-inline-end: 1rem; }
.cx-ans__gate-note { font-size: .85rem; color: var(--ds-muted); }
@media (max-width: 700px) {
  .cx-ans__inner { padding-block: 1rem 1.6rem; position: relative; }
  .cx-ans__q { font-size: 1.05rem; }
  .cx-ans__body { padding: .8rem 1rem 1.2rem; }
  .cx-fact { padding: 1rem 1.1rem 1.1rem; }
  .cx-ans__text { font-size: 1.12rem; padding: .9rem 1.1rem; }
  .cx-omni__dd { position: fixed; inset-inline: 10px; inset-block-start: 118px; width: auto; max-height: 62vh; overflow: auto; }
  .cx-ans__chat { margin-inline-start: 0; }
  /* the phone pass (E2): the tabs and the chips are one row each that scrolls, never cut; a chip's choices open as
     a sheet at the bottom; an answer with its own headline keeps only the ✕, at the end of the tabs' row */
  .cx-ans__tabs, .cx-ans__chips { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; margin-inline: -1rem; padding-inline: 1rem; scroll-padding-inline: 1rem; }
  .cx-ans__tabs::-webkit-scrollbar, .cx-ans__chips::-webkit-scrollbar { display: none; }
  .cx-ans__tabs { padding-inline-end: 3.2rem; scroll-padding-inline-end: 3.2rem; }
  /* the ✕ sits over the row's end */
  .cx-ans__tabs li, .cx-ans__chips > * { flex: none; }
  .cx-ans__tabs button { max-width: 60vw; scroll-snap-align: start; }
  .cx-ans__chips { position: static; padding-block-end: .2rem; }
  .cx-ans__chips .cx-chip__wrap { display: inline-flex; align-items: center; }
  .cx-ans__pop, .cx-ans__pop--slot { position: fixed; inset-inline: 10px; inset-block-start: auto; inset-block-end: calc(72px + env(safe-area-inset-bottom, 0px));
    min-width: 0; max-width: none; max-height: 60vh; overflow: auto; z-index: 80; }
  .cx-ans__top:has(> .cx-ans__q[hidden]) { position: absolute; inset-block-start: 1rem; inset-inline-end: 1rem; margin: 0; }
}
.cx-ans__close { margin-inline-start: auto; }

/* ---- the line on a phone (chat+screen plan, E2): at the bottom of every page, under the thumb — the plate, the
   question, the suggestions (opening upward) and the mic; the visit's answers behind one button. The header's narrow
   box steps aside; the home page's big box is the line while it is on screen (the bottom one slides away). ---- */
.cx-phoneline { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 75; display: flex; align-items: center; gap: .45rem;
  padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom, 0px)); background: var(--ds-card); border-block-start: 1px solid var(--ds-line);
  box-shadow: 0 -8px 24px rgba(25, 25, 24, .08); transition: transform .2s ease; }
.cx-phoneline.is-away { transform: translateY(120%); }
/* (the ask line's own rules — a dark box with 56px controls — are written for the page; the bottom bar is light and
   low, so its rules name the form and the element to win) */
.site-data form.cx-phoneline input { flex: 1; min-width: 0; height: 44px; border: 1.5px solid var(--ds-line); border-radius: 999px; padding: 0 1rem;
  font: 500 1rem var(--ds-f-b); background: var(--ds-paper); color: var(--ds-ink); }
.site-data form.cx-phoneline input:focus { border-color: var(--ds-ink); outline: none; box-shadow: none; }
.site-data form.cx-phoneline input::placeholder { color: var(--ds-muted); opacity: 1; }
.site-data form.cx-phoneline button { flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font: inherit; }
.site-data form.cx-phoneline button.cx-phoneline__go { background: var(--ds-accent); color: #141414; border: 0; }
.site-data form.cx-phoneline button.cx-phoneline__go:hover { background: var(--ds-accent); border: 0; }
.site-data form.cx-phoneline button.cx-phoneline__hist { background: transparent; border: 1px solid var(--ds-line); color: var(--ds-ink-2); position: relative; }
.site-data form.cx-phoneline button.cx-phoneline__hist:hover { border-color: var(--ds-ink); }
.site-data form.cx-phoneline button.cx-mic { width: 36px; border: 0; background: transparent; color: var(--ds-muted); }
.site-data form.cx-phoneline button.cx-mic.is-on { color: #B0243C; }
.cx-phoneline__n { position: absolute; inset-block-start: -5px; inset-inline-end: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--ds-ink); color: var(--ds-on-dark); font-size: .7rem; font-weight: 700; line-height: 19px; text-align: center; }
.cx-phoneline__n[hidden] { display: none; }
.cx-phoneline .cx-omni__dd { position: fixed; inset-inline: 10px; inset-block-start: auto; inset-block-end: calc(64px + env(safe-area-inset-bottom, 0px)); width: auto; max-height: 55vh; overflow: auto; }
html.cx-phoneline-on body { padding-block-end: calc(64px + env(safe-area-inset-bottom, 0px)); }
html.cx-phoneline-on body.cxc-bar { padding-block-end: calc(64px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 901px) {
  /* the screen grew (a tablet turned): the header's box is the line again */
  .cx-phoneline { display: none; }
  html.cx-phoneline-on body { padding-block-end: 0; }
}

/* ---- grounded answers (wave D3) ---- */
.cx-ans__sources, .cx-ans__unknown { margin: .6rem 0 0; font-size: .85rem; color: var(--c-text-muted); }
.cx-ans__sources b, .cx-ans__unknown b { color: var(--c-text); font-weight: 600; }

/* the one line takes any text: its direction follows what is typed (Hebrew runs right to left, so a "?" or "!" ends
   at the sentence's own end, on the left; a plate number stays left to right) — the plate box's fixed ltr is only for digits */
html.cx-omni-on .cx-omni input {
  direction: rtl; unicode-bidi: plaintext; text-align: start;
}

/* the accent button under its neutral name (CartWise and later data sites); .btn--plate stays for the cars templates */
.site-data .btn--accent { background: var(--ds-accent); color: var(--ds-accent-ink); }
.site-data .btn--accent:hover { background: var(--ds-accent-hover); }

/* an official document opened where it says so, in an answer (doc_answer, official documents wave ג) */
.cb-doc--answer { display: flex; flex-direction: column; gap: .6rem; }
.cb-doc--answer compee-doc { height: min(60vh, 520px); min-height: 320px; }
.cx-dq { margin: 0; padding: .6rem .9rem; border-inline-start: 3px solid var(--ds-accent, #E8B400); background: var(--ds-card); border-radius: 6px; font-size: .95rem; line-height: 1.6; }
.cx-dq footer { margin-top: .35rem; font-size: .8rem; color: var(--ds-muted); }
.cx-doc-qa { margin-block: 1.4rem; }
.cx-doc-qa__item { padding: .5rem 0; border-bottom: 1px solid var(--ds-line); }
.cx-doc-qa__item summary { cursor: pointer; font-weight: 600; }
.cx-doc-qa__item p { margin: .4rem 0 0; line-height: 1.6; }
