/* Lymphoria Data Center. Loaded after Bootstrap 5.3. The system is described in DESIGN.md.
   Warm paper ground, white panels, one forest block for the page's answer. One family (Instrument Sans as
   "Lymphoria Grotesk"). Type roles: 13 label / 14 table / 15 body / 16 h3 / 20 h2 / 26 h1 / 40 figure. Spacing on 4px. */

@font-face {
  font-family: 'Lymphoria Grotesk';
  src: url(../fonts/brand.woff2) format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --dc-ground: #F1EEE6; --dc-surface: #FFFFFF; --dc-sunk: #F7F6F1; --dc-select: #E3F4EA;
  --dc-line: #E3E0D6; --dc-line-strong: #C8C5B8;
  --dc-ink: #10281C; --dc-ink-2: #3B5045; --dc-ink-3: #57685E;
  --dc-forest: #123F29; --dc-green: #1F7A52; --dc-mint: #52DB9F; --dc-cream: #F7F2E8;
  --dc-good-bg: #DCF6E9; --dc-good-ink: #11573A;
  --dc-warn-bg: #FBEFD8; --dc-warn-ink: #774905;
  --dc-crit-bg: #FBE6E0; --dc-crit-ink: #A3311B;
  --dc-focus: #1F8F5F;
  --dc-lift: 0 1px 2px rgba(16, 40, 28, .06), 0 8px 24px -10px rgba(16, 40, 28, .14);
  --dc-font: 'Lymphoria Grotesk', 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --bs-body-font-family: var(--dc-font);
  --bs-body-font-size: .9375rem;
  --bs-body-line-height: 1.5;
  --bs-body-color: var(--dc-ink);
  --bs-body-bg: var(--dc-ground);
  --bs-emphasis-color: var(--dc-ink);
  --bs-heading-color: var(--dc-ink);
  --bs-secondary-color: var(--dc-ink-3);
  --bs-border-color: var(--dc-line);
  --bs-border-radius: .625rem;
  --bs-link-color-rgb: 18, 63, 41;
  --bs-link-hover-color-rgb: 31, 122, 82;
}

body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; accent-color: var(--dc-forest); caret-color: var(--dc-forest); }
::selection { background: #BFEFD8; color: var(--dc-forest); }
:focus-visible { outline: 2px solid var(--dc-focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, p, dl, dd, ol, ul, fieldset, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
/* nothing has enough history yet: the answer block says so once, and the sections that depend on it step aside */
body[data-empty] #traits, body[data-empty] #ads { display: none; }

.dc-ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.dc-skip { position: absolute; left: 16px; top: -48px; z-index: 10; background: var(--dc-surface); color: var(--dc-ink); padding: 8px 12px; border-radius: 8px; }
.dc-skip:focus { top: 8px; }
.dc-wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: 28px; }

/* ── top bar ── */
.dc-top { background: var(--dc-surface); border-bottom: 1px solid var(--dc-line); }
.dc-top-in { display: flex; align-items: center; gap: 4px 28px; min-height: 60px; flex-wrap: wrap; }
.dc-brand { display: flex; align-items: center; gap: 12px; color: var(--dc-ink); text-decoration: none; }
.dc-logo { display: block; width: 115px; height: 19px; background: var(--dc-forest); -webkit-mask: url(../img/logo.svg) center / contain no-repeat; mask: url(../img/logo.svg) center / contain no-repeat; }
.dc-brand-name { font-weight: 500; line-height: 1; color: var(--dc-ink-3); padding-left: 12px; border-left: 1px solid var(--dc-line-strong); white-space: nowrap; }
.dc-nav { display: flex; align-self: stretch; }
.dc-nav a { display: flex; align-items: center; padding: 0 4px; font-weight: 600; font-size: .9375rem; color: var(--dc-ink-3); text-decoration: none; border-block: 2px solid transparent; }
.dc-nav a[aria-current="page"] { color: var(--dc-ink); border-bottom-color: var(--dc-forest); }
.dc-fresh { margin-left: auto; font-size: .8125rem; color: var(--dc-ink-3); white-space: nowrap; }

/* ── page ── */
.dc-main { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 64px; }
.dc-main > * { min-width: 0; }
.dc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
h1 { font-size: 1.625rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
h2 { font-size: 1.25rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; text-wrap: balance; }
h3 { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.dc-lede { color: var(--dc-ink-3); margin-top: 4px; max-width: 68ch; text-wrap: pretty; }

.dc-filters { display: flex; gap: 12px 16px; flex-wrap: wrap; align-items: flex-end; }
.dc-field { min-width: 0; padding: 0; border: 0; }
.dc-field > label, .dc-field > legend { display: block; float: none; width: auto; margin: 0 0 4px; font-size: .8125rem; font-weight: 500; line-height: 1.4; color: var(--dc-ink-3); }
.form-select { min-width: 11.5rem; min-height: 40px; font-size: .9375rem; font-weight: 500; color: var(--dc-ink); background-color: var(--dc-surface); border-color: var(--dc-line-strong); cursor: pointer; }
.form-select:hover { border-color: var(--dc-ink-3); }
.form-select:focus { border-color: var(--dc-focus); box-shadow: 0 0 0 .2rem rgba(31, 143, 95, .25); }
.dc-seg .btn, .dc-btn {
  --bs-btn-color: var(--dc-ink-2); --bs-btn-bg: var(--dc-surface); --bs-btn-border-color: var(--dc-line-strong);
  --bs-btn-hover-color: var(--dc-ink); --bs-btn-hover-bg: var(--dc-sunk); --bs-btn-hover-border-color: var(--dc-ink-3);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--dc-forest); --bs-btn-active-border-color: var(--dc-forest);
  --bs-btn-disabled-color: var(--dc-ink-3); --bs-btn-disabled-bg: var(--dc-sunk); --bs-btn-disabled-border-color: var(--dc-line);
  --bs-btn-focus-shadow-rgb: 31, 143, 95;
  --bs-btn-font-size: .9375rem; --bs-btn-font-weight: 500; --bs-btn-padding-x: .9rem; --bs-btn-padding-y: .4375rem; --bs-btn-line-height: 1.5;
  white-space: nowrap;
}
/* the one filled button: the main action of the sign-in page */
.dc-btn-main { --bs-btn-color: #fff; --bs-btn-bg: var(--dc-forest); --bs-btn-border-color: var(--dc-forest); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--dc-ink); --bs-btn-hover-border-color: var(--dc-ink); min-height: 44px; }

/* ── sign-in ── */
.dc-signout { margin-left: auto; }
.dc-fresh:not([hidden]) + .dc-signout { margin-left: 0; }
.dc-signin { display: grid; justify-items: center; padding-top: 56px; padding-bottom: 64px; }
.dc-signin-box { width: 100%; max-width: 440px; padding: 32px; display: grid; gap: 16px; }
.dc-signin-box form { display: grid; gap: 6px; }
.dc-signin-box .form-label { margin: 0; font-size: .8125rem; font-weight: 500; color: var(--dc-ink-3); }
.dc-signin-box .form-control { min-height: 44px; color: var(--dc-ink); border-color: var(--dc-line-strong); }
.dc-signin-box .form-control:focus { border-color: var(--dc-focus); box-shadow: 0 0 0 .2rem rgba(31, 143, 95, .25); }
.dc-signin-box .dc-btn-main { margin-top: 10px; }
.dc-signin-text { color: var(--dc-ink-2); text-wrap: pretty; }

/* ── notices ── */
.dc-banner, .dc-error { display: flex; align-items: center; gap: 10px 12px; border-radius: 12px; padding: 12px 16px; }
.dc-banner { background: var(--dc-warn-bg); color: var(--dc-warn-ink); align-items: flex-start; }
.dc-banner .dc-ico { font-size: 1.25rem; margin-top: 2px; }
.dc-error { background: var(--dc-crit-bg); color: var(--dc-crit-ink); justify-content: space-between; flex-wrap: wrap; }

/* ── the answer: best customers ── */
.dc-best { background: var(--dc-forest); color: var(--dc-cream); border-radius: 20px; padding: 36px 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; }
.dc-best h2 { font-size: 1.75rem; color: var(--dc-cream); }
.dc-best-lede { margin-top: 6px; color: rgba(247, 242, 232, .84); max-width: 46ch; text-wrap: pretty; }
.dc-best-text { display: flex; flex-direction: column; }
.dc-best-figures { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 20px 48px; margin-top: auto; padding-top: 28px; } /* the figures sit on the block's bottom edge, level with the end of the list beside them */
.dc-best-figures > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.dc-best-figures dd { font-size: 2.5rem; font-weight: 650; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dc-best-figures dt { font-weight: 400; color: rgba(247, 242, 232, .84); margin-top: 4px; max-width: 16ch; text-wrap: balance; }
.dc-best[aria-busy="true"] dd { opacity: .45; }
.dc-best :focus-visible { outline-color: var(--dc-mint); }
.dc-apart h3 { color: var(--dc-cream); padding-bottom: 10px; border-bottom: 1px solid rgba(247, 242, 232, .22); }
.dc-apartlist > li { border-bottom: 1px solid rgba(247, 242, 232, .14); }
.dc-apartnote { margin-top: 12px; font-size: .8125rem; color: rgba(247, 242, 232, .78); max-width: 52ch; text-wrap: pretty; }

/* a kind of customer, in the answer block and in "what they have in common". A part of the ad name is a button: it picks the ads that have it */
.dc-pick { font: inherit; color: inherit; text-align: left; background: none; border: 0; width: 100%; display: grid; align-items: center; gap: 2px 14px; border-radius: 8px; transition: background-color .16s ease-out; }
button.dc-pick { cursor: pointer; }
.dc-pickname { font-weight: 600; text-wrap: pretty; }
.dc-kind { font-weight: 400; }
.dc-pickmeta { font-size: .8125rem; }
.dc-pickval { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dc-apartlist .dc-pick { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 10px; margin-inline: -10px; width: calc(100% + 20px); }
.dc-apartlist button.dc-pick:hover { background: rgba(247, 242, 232, .09); }
.dc-apartlist .dc-pick[aria-pressed="true"] { background: rgba(82, 219, 159, .2); }
.dc-apartlist .dc-pickname { font-size: 1.0625rem; }
.dc-apartlist .dc-kind, .dc-apartlist .dc-pickmeta { color: rgba(247, 242, 232, .84); }
.dc-apartlist .dc-pickval { font-size: 1.5rem; letter-spacing: -.02em; color: var(--dc-mint); grid-row: span 2; }
.dc-apartlist .dc-pickmeta { grid-column: 1; }

/* ── panels ── */
.dc-panel { background: var(--dc-surface); border-radius: 16px; box-shadow: var(--dc-lift); }
.dc-panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 22px 24px 16px; }
.dc-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding: 14px 24px 16px; border-top: 1px solid var(--dc-line); }
.dc-note { font-size: .8125rem; color: var(--dc-ink-3); }
.dc-empty { padding: 20px 24px 28px; color: var(--dc-ink-2); max-width: 70ch; }

/* what they have in common */
.dc-traits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 48px; padding: 0 24px 22px; }
.dc-traits h3 { font-size: .875rem; color: var(--dc-ink-2); padding-bottom: 8px; border-bottom: 1px solid var(--dc-line-strong); }
.dc-traitlist > li { border-bottom: 1px solid var(--dc-line); }
.dc-traitlist > li:last-child { border-bottom: 0; }
.dc-traitlist .dc-pick { grid-template-columns: minmax(0, 1fr) minmax(4rem, 22%) 3rem; padding: 10px 8px; margin-inline: -8px; width: calc(100% + 16px); }
.dc-traitlist button.dc-pick:hover { background: var(--dc-sunk); }
.dc-traitlist .dc-pick[aria-pressed="true"] { background: var(--dc-select); }
.dc-traitlist .dc-kind { color: var(--dc-ink-3); }
.dc-traitlist .dc-pickmeta { grid-column: 1; grid-row: 2; font-weight: 500; color: var(--dc-ink-2); }
.dc-traitlist .dc-lift, .dc-traitlist .dc-pickval { grid-row: span 2; }
.dc-lift { position: relative; display: block; height: 22px; }
.dc-lift i { position: absolute; left: 0; top: 6px; height: 10px; min-width: 2px; background: var(--dc-green); border-radius: 0 4px 4px 0; transition: width .28s cubic-bezier(.16, 1, .3, 1); }
.dc-lift.is-less i { background: var(--dc-ink-3); }
.dc-lift u { position: absolute; top: 0; width: 2px; height: 22px; margin-left: -1px; background: var(--dc-ink); border-radius: 1px; box-shadow: 0 0 0 2px var(--dc-surface); }
button.dc-pick:hover .dc-lift u { box-shadow: 0 0 0 2px var(--dc-sunk); }
.dc-pick[aria-pressed="true"] .dc-lift u { box-shadow: 0 0 0 2px var(--dc-select); }
.dc-traitnote { font-size: .8125rem; color: var(--dc-ink-3); display: flex; align-items: center; gap: 6px; padding: 10px 0 0; }

/* key to the drawings: the bar is LTV, the tick is cost */
.dc-key { display: flex; gap: 18px; flex-wrap: wrap; font-size: .8125rem; color: var(--dc-ink-3); }
.dc-key span { display: inline-flex; align-items: center; gap: 6px; }
.dc-key-tick { display: inline-block; width: 14px; height: 2px; background: var(--dc-ink); border-radius: 1px; }
.dc-key-inline { display: inline-flex; margin-left: 10px; font-weight: 400; }
.dc-key-inline .dc-key-tick { width: 2px; height: 14px; }
/* the part of the ad name the table is cut down to, with a cross to clear it */
.dc-chip { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .875rem; font-weight: 600; color: var(--dc-ink); background: var(--dc-select); border: 1px solid transparent; border-radius: 999px; padding: 6px 10px 6px 13px; cursor: pointer; max-width: 100%; }
.dc-chip > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-chip:hover { border-color: var(--dc-green); }

/* ── tables ── */
.dc-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: var(--dc-line-strong) transparent; border-top: 1px solid var(--dc-line); }
.dc-scroll[aria-busy="true"] tbody, .dc-scroll[aria-busy="true"] tfoot { opacity: .5; }
.dc-table { --bs-table-bg: transparent; --bs-table-color: var(--dc-ink); --bs-table-border-color: var(--dc-line); margin: 0; font-size: .875rem; font-variant-numeric: tabular-nums; }
.dc-table tbody, .dc-table tfoot { transition: opacity .16s ease-out; }
.dc-table tr { --row-bg: var(--dc-surface); }
.dc-table > :not(caption) > * > * { padding: 11px 12px; vertical-align: middle; background-color: var(--row-bg); box-shadow: none; white-space: nowrap; }
.dc-table > :not(caption) > * > :first-child { padding-left: 24px; }
.dc-table > :not(caption) > * > :last-child { padding-right: 24px; }
.dc-table thead tr { --row-bg: var(--dc-sunk); }
.dc-table thead th { font-size: .8125rem; font-weight: 600; color: var(--dc-ink-3); border-bottom-color: var(--dc-line); }
.dc-table tbody tr:hover { --row-bg: var(--dc-sunk); }
.dc-table tbody tr:last-child > * { border-bottom-width: 0; }
.dc-table tfoot tr { --row-bg: var(--dc-sunk); font-weight: 650; }
.dc-table tfoot tr > * { border-top: 1px solid var(--dc-line-strong); border-bottom-width: 0; }
.dc-table .dc-num { text-align: right; width: 1%; }
.dc-table th.dc-name, .dc-table td.dc-name { position: sticky; left: 0; z-index: 1; font-weight: 500; width: 30%; min-width: 12rem; white-space: normal; }
.dc-table tfoot th.dc-name { font-weight: 650; }
.dc-muted { color: var(--dc-ink-3); }
.dc-strong { font-weight: 650; }

.dc-sort { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; min-height: 24px; text-align: inherit; }
.dc-sort:hover { color: var(--dc-ink); }
.dc-sort::after { content: ''; flex: none; width: 10px; height: 10px; background: currentColor; opacity: 0; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 1.5v7M2 5.5l3 3 3-3' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.dc-sort:hover::after { opacity: .45; }
th[aria-sort] .dc-sort { color: var(--dc-ink); }
th[aria-sort] .dc-sort::after { opacity: 1; }
th[aria-sort="ascending"] .dc-sort::after { transform: rotate(180deg); }

/* ad by ad: the ad is named by its parts, each in its own column on a wide screen */
.dc-ads th.dc-name, .dc-ads td.dc-name { width: 15%; min-width: 9rem; }
.dc-ads thead th { white-space: normal; vertical-align: bottom; line-height: 1.3; }
.dc-ads thead th.dc-num { min-width: 5.5rem; } /* room for a two-word header, so none stacks three lines deep */
.dc-ads .dc-part { white-space: normal; min-width: 6.5rem; text-wrap: pretty; }
.dc-ads td.dc-part { color: var(--dc-ink-2); }
.dc-rowlabel { display: block; font-weight: 600; }
.dc-rowdetail, .dc-adparts { display: block; font-size: .8125rem; font-weight: 400; color: var(--dc-ink-3); text-wrap: pretty; }
.dc-adparts { display: none; color: var(--dc-ink-2); }
.dc-notlisted { flex-basis: 100%; max-width: 110ch; text-wrap: pretty; }

.dc-table .dc-ltv { min-width: 11.5rem; }
.dc-ltvcell { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); align-items: center; gap: 12px; }
.dc-ltvval { text-align: right; font-weight: 650; }
.dc-ltvval.dc-muted { font-weight: 400; }
.dc-bars { position: relative; display: block; height: 20px; }
.dc-bar { position: absolute; left: 0; top: 5px; height: 10px; min-width: 2px; background: var(--dc-green); border-radius: 0 4px 4px 0; transition: width .28s cubic-bezier(.16, 1, .3, 1); }
.dc-tick { position: absolute; top: 0; width: 2px; height: 20px; margin-left: -1px; background: var(--dc-ink); border-radius: 1px; box-shadow: 0 0 0 2px var(--row-bg); transition: left .28s cubic-bezier(.16, 1, .3, 1); }

.dc-status { display: inline-flex; align-items: center; gap: 4px; font-size: .8125rem; font-weight: 650; line-height: 1.4; border-radius: 999px; padding: 2px 9px 2px 7px; }
.dc-status[data-status="good"] { background: var(--dc-good-bg); color: var(--dc-good-ink); }
.dc-status[data-status="thin"] { background: var(--dc-warn-bg); color: var(--dc-warn-ink); }
.dc-status[data-status="below"] { background: var(--dc-crit-bg); color: var(--dc-crit-ink); }
.dc-legend { display: flex; gap: 6px 20px; flex-wrap: wrap; font-size: .8125rem; color: var(--dc-ink-3); }
.dc-legend li { display: flex; align-items: center; gap: 6px; }

.dc-skel { height: .8em; border-radius: 4px; color: var(--dc-line-strong); vertical-align: middle; }

/* ── how it is calculated ── */
.dc-how { font-size: .875rem; color: var(--dc-ink-2); }
.dc-how summary { display: inline-block; font-weight: 600; color: var(--dc-ink); cursor: pointer; text-decoration: underline; text-decoration-color: var(--dc-line-strong); text-underline-offset: 3px; }
.dc-how summary::-webkit-details-marker { display: none; }
.dc-how dl { display: grid; grid-template-columns: 11rem minmax(0, 70ch); gap: 10px 24px; margin-top: 14px; }
.dc-how dt { font-weight: 650; color: var(--dc-ink); }

/* ── narrower screens ── */
@media (max-width: 1279.98px) {
  /* no room for one column per part: they move under the angle */
  .dc-ads .dc-part, .dc-ads .dc-rowdetail { display: none; }
  .dc-adparts { display: block; }
  .dc-ads th.dc-name, .dc-ads td.dc-name { width: 36%; min-width: 12rem; }
}

@media (max-width: 1099.98px) {
  .dc-best { grid-template-columns: 1fr; padding: 28px; }
  .dc-traits { grid-template-columns: 1fr; gap: 24px; }
  .dc-table thead th { white-space: normal; vertical-align: bottom; line-height: 1.3; }
  .dc-table thead th.dc-ltv { white-space: nowrap; }
  .dc-table > :not(caption) > * > * { padding-inline: 10px; }
}

/* between phone and laptop the number columns keep room for a two-word header, so none stacks three lines deep */
@media (min-width: 768px) and (max-width: 1099.98px) {
  .dc-table thead th.dc-ltv { white-space: normal; }
  .dc-table .dc-ltv { min-width: 10.5rem; }
  .dc-ads th.dc-name, .dc-ads td.dc-name { min-width: 9rem; }
}

/* ── phones ── */
@media (max-width: 767.98px) {
  .dc-wrap { padding-inline: 16px; }
  .dc-main { gap: 20px; padding-top: 20px; }
  .dc-top-in { padding-block: 10px; }
  .dc-nav { display: none; }
  .dc-fresh { width: 100%; margin: 0; order: 1; }
  .dc-fresh:not([hidden]) + .dc-signout { margin-left: auto; }
  .dc-signin { padding-top: 24px; }
  .dc-signin-box { padding: 24px 20px; }
  h1 { font-size: 1.5rem; }
  .dc-filters { width: 100%; display: grid; grid-template-columns: 1fr; }
  .dc-field, .form-select, .dc-seg { width: 100%; }
  .dc-seg .btn { flex: 1; }
  .dc-best { padding: 24px 20px; border-radius: 16px; gap: 28px; }
  .dc-best h2 { font-size: 1.5rem; }
  .dc-best-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; padding-top: 22px; }
  .dc-best-figures dd { font-size: 2rem; }
  .dc-apartlist .dc-pickval { font-size: 1.25rem; }
  .dc-panel-head { padding: 18px 16px 14px; }
  .dc-panel-foot { padding: 12px 16px 14px; }
  .dc-traits { padding: 0 16px 16px; }
  /* the bar moves under the name, full width */
  .dc-traitlist .dc-pick { grid-template-columns: minmax(0, 1fr) auto; }
  .dc-traitlist .dc-lift { grid-column: 1 / -1; grid-row: 3; height: 16px; }
  .dc-traitlist .dc-lift i { top: 3px; }
  .dc-traitlist .dc-lift u { height: 16px; }
  .dc-traitlist .dc-pickval { grid-column: 2; grid-row: 1 / span 2; }
  .dc-chip { min-height: 40px; }
  .dc-sort { min-height: 36px; }
  .dc-table > :not(caption) > * > :first-child { padding-left: 16px; }
  .dc-table > :not(caption) > * > :last-child { padding-right: 16px; }
  .dc-key-inline { display: none; }
  .dc-how dl { grid-template-columns: 1fr; gap: 2px; }
  .dc-how dd { margin-bottom: 10px; }

  /* the ad table becomes one card per ad: what the ad is about, then its numbers with their names */
  .dc-ads thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .dc-ads, .dc-ads tbody, .dc-ads tfoot { display: block; }
  .dc-ads tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 16px; border-bottom: 1px solid var(--dc-line); background: var(--row-bg); }
  .dc-ads tbody tr:last-child { border-bottom: 0; }
  .dc-ads tfoot tr { border-top: 1px solid var(--dc-line-strong); border-bottom: 0; }
  .dc-ads tr > *, .dc-ads tr > .dc-num, .dc-ads tr > .dc-name, .dc-ads tr > .dc-ltv { display: block; padding: 0 !important; border: 0; width: auto; min-width: 0; position: static; background: none; }
  .dc-ads tr > .dc-name { flex: 0 0 100%; }
  .dc-ads tr > .dc-part, .dc-ads tr > .dc-col-n, .dc-ads .dc-bars { display: none; }
  .dc-ads .dc-ltvcell { display: inline; }
  .dc-ads td[data-label]::before { content: attr(data-label) ' '; font-weight: 400; color: var(--dc-ink-3); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
