/* Guides, industry and audience pages (tools/content.py). Tokens from site.css. One orange, square corners, no shadows.
   The black bar only ever means a removed name (.cp-x); lists use small squares, never bars. */

.cp { --line: #D3D7D1; --muted: #5B6670; --pad: max(var(--m), calc((100% - 1376px) / 2)); --read: 760px; }
.cp a:not(.btn):not(.cp-chip) { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--orange); }
.cp a:not(.btn):not(.cp-chip):hover { text-decoration-color: currentColor; }

/* ---------- hero ---------- */
.cp-hero { padding: clamp(40px, 6vw, 88px) var(--pad) 8px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 5vw, 96px); align-items: end; }
.cp-hero > * { grid-column: 1; }
.cp-hero > .cp-facts { grid-column: 2; grid-row: 1 / span 5; align-self: end; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cp-hero > .cp-facts li:nth-child(3) { border-left: 0; }
.cp-sources .cp-more-in ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
.cp-hero > .cp-facts li:nth-child(n+3) { border-top: 1px solid var(--line); } /* taste-skill-ignore: fact dividers */
.cp-crumbs { font-size: var(--s-small); color: var(--muted); margin-bottom: 28px; }
.cp-crumbs a { color: var(--ink-2) !important; text-decoration: none !important; }
.cp-crumbs a:hover { color: var(--ink) !important; }
.cp-crumbs span { margin: 0 8px; color: var(--line); }
.cp-hero h1 { font-size: clamp(2.375rem, 1.3rem + 3.6vw, 4.625rem); line-height: .97; letter-spacing: -0.045em; max-width: 17ch; }
.cp-lead { font-size: var(--s-lead); line-height: 1.38; color: var(--ink-2); max-width: 54ch; margin-top: 24px; }
.cp-meta { font-size: .875rem; color: var(--muted); margin-top: 20px; }
.cp-meta a { color: var(--muted) !important; }
.cp-hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.cp-hero-act span { font-size: .9375rem; color: var(--ink-2); }

/* ---------- key facts ---------- */
.cp-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); }
.cp-facts li { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--line); } /* taste-skill-ignore: fact dividers */
.cp-facts li:first-child { border-left: 0; }
.cp-facts b { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cp-facts li > span:last-child { font-size: .9375rem; color: var(--ink-2); line-height: 1.4; }

/* ---------- body: contents + article ---------- */
.cp-body { display: grid; grid-template-columns: 240px minmax(0, var(--read)) 280px; gap: clamp(40px, 4vw, 72px); padding: 72px var(--pad) 40px; align-items: start; justify-content: space-between; }
.cp-rail { position: sticky; top: 24px; transition: opacity 300ms var(--ease); }
.cp-rail.hide { opacity: 0; pointer-events: none; }
.cp-rail-in { background: var(--night); color: var(--night-ink); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.cp-rail-h { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
.cp-rail-in > p:nth-child(2) { color: var(--night-ink-2); font-size: .9375rem; line-height: 1.45; }
.cp-rail-q { font-weight: 600; font-size: .9375rem; margin-top: 4px; }
.cp-rail-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.cp-rail-chips .cp-chip { min-height: 40px; font-size: .875rem; }
.cp-rail .btn { width: 100%; min-height: 48px; }
.cp-rail ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .8125rem; color: var(--night-ink-2); }
.cp-rail li { display: flex; gap: 8px; align-items: center; }
.cp-rail li::before { content: ""; width: 8px; height: 8px; background: var(--orange); flex: none; }
.cp-toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; font-size: .9375rem; }
.cp-toc p { font-weight: 600; margin-bottom: 14px; }
.cp-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.cp-toc a { display: block; padding: 7px 0 7px 14px; color: var(--ink-2) !important; text-decoration: none !important; line-height: 1.35; box-shadow: inset 2px 0 0 var(--line); transition: box-shadow 200ms var(--ease), color 200ms var(--ease); } /* taste-skill-ignore: active marker */
.cp-toc a:hover, .cp-toc a.on { color: var(--ink) !important; box-shadow: inset 2px 0 0 var(--orange); } /* taste-skill-ignore: active marker */
.cp-main { min-width: 0; }
.cp-short { background: var(--surface); padding: 28px 32px; }
.cp-short-t { font-weight: 600; font-size: .9375rem; margin-bottom: 8px; }
.cp-short p:last-child { font-size: 1.1875rem; line-height: 1.55; }

.cp-sec { margin-top: 80px; scroll-margin-top: 24px; }
.cp-sec h2 { font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 24ch; margin-bottom: 24px; }
.cp-sec > p { font-size: 1.125rem; line-height: 1.65; color: var(--ink); max-width: 68ch; }
.cp-sec > p + p { margin-top: 18px; }
.cp-sec > p.cp-ans { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.4; letter-spacing: -0.015em; font-weight: 500; max-width: 40ch; }
.cp-sec > p.cp-ans + * { margin-top: 24px; }
.cp-more { margin-top: 24px; background: var(--surface); }
.cp-more summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 1rem; }
.cp-more summary::-webkit-details-marker { display: none; }
.cp-more summary i { position: relative; width: 14px; height: 14px; flex: none; }
.cp-more summary i::before, .cp-more summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--ink); transition: transform 220ms var(--ease-out), background-color 200ms var(--ease); }
.cp-more summary i::after { transform: rotate(90deg); }
.cp-more[open] summary i::after { transform: rotate(0); }
.cp-more[open] summary i::before, .cp-more[open] summary i::after { background: var(--orange); }
.cp-more summary:hover span { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.cp-more summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cp-more-in { padding: 0 20px 20px; }
.cp-more-in > p { font-size: 1.0625rem; line-height: 1.6; max-width: 66ch; }
.cp-more-in > * + * { margin-top: 14px; }
.cp-more-in .cp-tblock, .cp-more-in .cp-fig { margin: 16px 0 0; }
.cp-sec strong { font-weight: 600; }
.cp-sec > * + .cp-list, .cp-sec > * + .cp-steps, .cp-sec > * + .cp-call, .cp-sec > * + p { margin-top: 20px; }
.cp-list { list-style: none; margin: 0; padding: 0; max-width: 66ch; display: flex; flex-direction: column; gap: 10px; }
.cp-list li { position: relative; padding-left: 22px; font-size: 1.0625rem; line-height: 1.6; }
.cp-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--orange); }
.cp-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cp-steps li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); } /* taste-skill-ignore: step dividers */
.cp-steps li:last-child { border-bottom: 1px solid var(--line); } /* taste-skill-ignore: step dividers */
.cp-steps li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; display: grid; place-items: center; background: var(--orange); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.cp-steps b { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.cp-steps span { color: var(--ink-2); line-height: 1.55; margin-top: 4px; }

.cp-tblock { margin-top: 24px; }
.cp-sec p.cp-tcap { font-size: .875rem; line-height: 1.45; color: var(--ink-2); margin: 10px 0 0; max-width: none; }
.cp-table { overflow-x: auto; background: var(--surface); -webkit-overflow-scrolling: touch; }
.cp-table table { width: 100%; border-collapse: collapse; font-size: .9875rem; line-height: 1.45; min-width: 520px; }
.cp-table th, .cp-table td { text-align: left; vertical-align: top; padding: 14px 20px; border-bottom: 1px solid var(--ground-2); } /* taste-skill-ignore: table rules */
.cp-table thead th { background: var(--ground-2); font-weight: 600; font-size: .875rem; color: var(--ink); }
.cp-table tbody th { font-weight: 600; }
.cp-table tbody tr:last-child th, .cp-table tbody tr:last-child td { border-bottom: 0; }
.cp-sec p.cp-src, .cp-src { font-size: .8125rem; line-height: 1.45; color: var(--muted); margin-top: 8px; max-width: none; }
.cp-call { background: var(--surface); padding: 22px 26px 24px; margin-top: 24px; }
.cp-call-t { font-weight: 600; margin-bottom: 6px; }
.cp-call p { line-height: 1.6; }

/* ---------- the inline estimate card ---------- */
.cp-cta { margin: 48px 0; background: var(--night); color: var(--night-ink); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px 40px; padding: 36px; align-items: center; }
.cp-cta-h { font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 12px; }
.cp-cta-t p:last-child { color: var(--night-ink-2); font-size: .9875rem; line-height: 1.5; }
.cp-cta-q > p { font-weight: 600; margin-bottom: 12px; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cp-chip { white-space: nowrap; }
.cp-chip { display: flex; align-items: center; min-height: 44px; padding: 0 12px; background: #0D1B25; color: var(--night-ink) !important; text-decoration: none !important; font-size: .9375rem; font-weight: 500; box-shadow: inset 0 0 0 1px #1C3444; transition: box-shadow 160ms var(--ease), background-color 160ms var(--ease); } /* taste-skill-ignore: chip outline */
.cp-chip:hover { box-shadow: inset 0 0 0 1px var(--orange); background: #142633; } /* taste-skill-ignore: chip outline */
.cp-cta .btn { width: 100%; }
.cp-cta--light { background: var(--surface); color: var(--ink); }
.cp-cta--light .cp-cta-t p:last-child { color: var(--ink-2); }
.cp-cta--light .cp-chip { background: var(--ground); color: var(--ink) !important; box-shadow: inset 0 0 0 1px var(--line); } /* taste-skill-ignore: chip outline */
.cp-cta--light .cp-chip:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink); } /* taste-skill-ignore: chip outline */

/* ---------- figures ---------- */
.cp-fig { margin: 40px 0; background: var(--ground-2); padding: clamp(16px, 2vw, 24px); }
.cp-fig figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; font-size: .875rem; color: var(--ink-2); }
.cp-tag { display: inline-flex; padding: 3px 9px; background: var(--surface); color: var(--ink); font-size: .75rem; font-weight: 600; }
.cp-sq { display: inline-block; width: 10px; height: 10px; background: var(--orange); flex: none; }
.cp-win { background: var(--surface); }
.cp-win-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; box-shadow: inset 0 -1px 0 var(--ground-2); font-size: .9375rem; } /* taste-skill-ignore: window bar rule */
.cp-win-bar b { font-weight: 600; }
.cp-win-bar span:last-child { color: var(--ink-2); }
.cp-rec { margin: 0; padding: 6px 18px 12px; }
.cp-rec-row { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 14px; padding: 10px 0; box-shadow: inset 0 -1px 0 var(--ground-2); font-size: .9375rem; line-height: 1.45; } /* taste-skill-ignore: record rows */
.cp-rec-row:last-child { box-shadow: none; } /* taste-skill-ignore: removes the row rule */
.cp-rec dt { color: var(--muted); }
.cp-rec dd { margin: 0; min-width: 0; }
.cp-x { max-width: 100%; vertical-align: -0.14em; transform: scaleX(0); transform-origin: left center; transition: transform 700ms var(--ease-out); }
.in .cp-x, .cp-x.in { transform: scaleX(1); }
.cp-rec-row:nth-child(2) .cp-x { transition-delay: 120ms; } .cp-rec-row:nth-child(3) .cp-x { transition-delay: 240ms; } .cp-rec-row:nth-child(4) .cp-x { transition-delay: 360ms; }

/* before and after: the same note, then the names drawn over */
.cp-redact-body { display: grid; padding: 18px 18px 20px; font-size: 1.0625rem; line-height: 1.6; }
.cp-redact-body p { grid-area: 1 / 1; transition: opacity 280ms var(--ease); }
.cp-before { transition-delay: 300ms; }
.cp-after { opacity: 0; transition-delay: 0ms; }
.cp-redact.on .cp-before { opacity: 0; transition-delay: 0ms; }
.cp-redact.on .cp-after { opacity: 1; transition-delay: 300ms; }
.cp-redact .cp-after .cp-x { transform: scaleX(0); transition-delay: 150ms; }
.cp-redact.on .cp-after .cp-x { transform: scaleX(1); }
.cp-redact-key { display: flex; gap: 6px; margin-top: 14px; font-size: .8125rem; font-weight: 600; }
.cp-redact-key span { padding: 4px 10px; background: var(--surface); color: var(--muted); transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.cp-redact:not(.on) .cp-k1, .cp-redact.on .cp-k2 { background: var(--ink); color: var(--ground); }

/* a job's records in date order */
.cp-tl { background: var(--surface); }
.cp-tl-list { list-style: none; margin: 0; padding: 8px 18px; }
.cp-tl-list li { display: grid; grid-template-columns: 96px 112px minmax(0, 1fr); gap: 12px; padding: 11px 0; box-shadow: inset 0 -1px 0 var(--ground-2); font-size: .9375rem; line-height: 1.45; opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); } /* taste-skill-ignore: record rows */
.cp-tl-list time { color: var(--muted); font-variant-numeric: tabular-nums; }
.cp-tl-list b { font-weight: 600; }
.in .cp-tl-list li { opacity: 1; transform: none; }
.cp-tl-list li:nth-child(2) { transition-delay: 90ms; } .cp-tl-list li:nth-child(3) { transition-delay: 180ms; } .cp-tl-list li:nth-child(4) { transition-delay: 270ms; } .cp-tl-list li:nth-child(5) { transition-delay: 360ms; } .cp-tl-list li:nth-child(6) { transition-delay: 450ms; } .cp-tl-list li:nth-child(n+7) { transition-delay: 540ms; }
.cp-tl-list li time { transition: color 300ms var(--ease); }
.cp-tl-list li.cur time { color: #A33A0A; font-weight: 600; }

/* relative bars (illustrative) */
.cp-fig-t { font-weight: 600; margin-bottom: 16px; }
.cp-bars ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cp-bars li { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px; align-items: center; font-size: .9375rem; }
.cp-bars i { display: block; height: 14px; background: var(--orange); width: var(--w); transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease-out); }
.cp-bars li:nth-child(2) i { transition-delay: 100ms; } .cp-bars li:nth-child(3) i { transition-delay: 200ms; } .cp-bars li:nth-child(4) i { transition-delay: 300ms; } .cp-bars li:nth-child(n+5) i { transition-delay: 400ms; }
.in .cp-bars i { transform: scaleX(1); }

/* a process, step by step */
.cp-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 4px; }
.cp-flow span { hyphens: none; overflow-wrap: normal; }
.cp-flow li { background: var(--surface); padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 104px; opacity: 0; transform: translateY(8px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), background-color 300ms var(--ease); transition-delay: calc(var(--i) * 80ms); }
.cp-flow b { width: 28px; height: 28px; display: grid; place-items: center; background: var(--ground-2); font-weight: 600; font-size: .875rem; font-variant-numeric: tabular-nums; transition: background-color 300ms var(--ease); }
.cp-flow span { font-weight: 500; line-height: 1.3; font-size: .9375rem; hyphens: auto; }
.in .cp-flow li { opacity: 1; transform: none; }
.cp-flow li.cur b { background: var(--orange); }

/* what goes in, what stays out */
.cp-keep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; align-items: start; }
.cp-keep > div { padding: 22px 24px; }
.cp-keep p { font-weight: 600; margin-bottom: 12px; }
.cp-keep ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: .9875rem; line-height: 1.4; }
.cp-keep li { position: relative; padding-left: 20px; }
.cp-keep-in { background: var(--surface); }
.cp-keep-in li::before { content: ""; position: absolute; left: 0; top: .42em; width: 10px; height: 10px; background: var(--orange); }
.cp-keep-out { background: var(--night); color: var(--night-ink); }
.cp-keep-out li { color: var(--night-ink-2); }
.cp-keep-out li::before { content: ""; position: absolute; left: 0; top: .42em; width: 10px; height: 10px; box-shadow: inset 0 0 0 1.5px var(--night-ink-2); } /* taste-skill-ignore: outline marker */

/* a slow band of tool names */
.cp-toollist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cp-toollist li { display: flex; align-items: center; gap: 10px; background: var(--surface); padding: 10px 14px; font-weight: 500; font-size: .9375rem; opacity: 0; transform: translateY(6px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.in .cp-toollist li { opacity: 1; transform: none; }
.cp-toollist li:nth-child(2n) { transition-delay: 60ms; } .cp-toollist li:nth-child(3n) { transition-delay: 120ms; }

/* ---------- FAQ, sources ---------- */
.cp-faq h2 { margin-bottom: 8px; }
.cp-qa { border-bottom: 1px solid var(--line); } /* taste-skill-ignore: FAQ rule */
.cp-qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font: 500 1.1875rem/1.3 var(--font); letter-spacing: -0.015em; cursor: pointer; }
.cp-qa summary::-webkit-details-marker { display: none; }
.cp-qa summary i { position: relative; width: 18px; height: 18px; flex: none; }
.cp-qa summary i::before, .cp-qa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: var(--ink); transition: transform 240ms var(--ease-out), background-color 200ms var(--ease); }
.cp-qa summary i::after { transform: rotate(90deg); }
.cp-qa[open] summary i::after { transform: rotate(0); }
.cp-qa[open] summary i::before, .cp-qa[open] summary i::after { background: var(--orange); }
.cp-qa summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.cp-qa p { padding: 0 0 24px; color: var(--ink-2); line-height: 1.65; max-width: 66ch; }
.cp-sources ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
.cp-about { margin-top: 24px; font-size: .875rem; color: var(--muted); max-width: 70ch; line-height: 1.55; }

/* ---------- read next, close ---------- */
.cp-related { padding: 64px var(--pad) 24px; }
.cp-related h2 { font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); letter-spacing: -0.035em; margin-bottom: 24px; }
.cp-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cp-related a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 28px; background: var(--surface); text-decoration: none !important; color: var(--ink) !important; transition: background-color 200ms var(--ease); }
.cp-related a:hover { background: #F6F6F3; }
.cp-related a b { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.cp-related a span { color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.cp-close { margin: 48px var(--pad) 96px; background: var(--orange); padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.cp-close h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); letter-spacing: -0.045em; line-height: .98; max-width: 14ch; }
.cp-close p { margin-top: 14px; font-size: 1.0625rem; max-width: 46ch; }
.cp-hubpage .cp-related { padding-top: 24px; }

/* ---------- motion on arrival ---------- */
[data-rise] { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
[data-rise].in { opacity: 1; transform: none; }
.no-js [data-rise] { opacity: 1; transform: none; }

/* ---------- the deep footer ---------- */
.wdl-footer.deep .cols { grid-template-columns: minmax(0, 1.5fr) repeat(5, minmax(0, 1fr)); gap: 32px 28px; }
.wdl-footer.deep .cols > div, .wdl-footer.deep .cols > .about { grid-column: auto; }
.wdl-footer.deep .cols a { line-height: 1.35; }
.wdl-footer.deep .about p + p { margin-top: 8px; }

/* ---------- narrower screens ---------- */
@media (max-width: 1279px) {
  .cp-body { grid-template-columns: 240px minmax(0, var(--read)); }
  .cp-rail { display: none; }
}
@media (max-width: 1100px) {
  .cp-hero { grid-template-columns: minmax(0, 1fr); }
  .cp-hero > .cp-facts { grid-column: 1; grid-row: auto; margin-top: 36px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cp-hero > .cp-facts li:nth-child(n+3) { border-top: 0; }
  .cp-hero > .cp-facts li:nth-child(3) { border-left: 1px solid var(--line); } /* taste-skill-ignore: fact dividers */
  .cp-body { grid-template-columns: minmax(0, 1fr); padding-top: 48px; }
  .cp-toc { display: none; }
  .cp-related ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wdl-footer.deep .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wdl-footer.deep .cols > .about { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .cp-hero h1 { max-width: none; }
  .cp-hero > .cp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-hero > .cp-facts li:nth-child(3) { border-left: 0; }
  .cp-hero > .cp-facts li:nth-child(n+3) { border-top: 1px solid var(--line); } /* taste-skill-ignore: fact dividers */
  .cp-table { overflow: visible; background: none; }
  .cp-table table { min-width: 0; display: block; }
  .cp-table thead { display: none; }
  .cp-table tbody { display: flex; flex-direction: column; gap: 6px; }
  .cp-table tr { display: block; background: var(--surface); padding: 14px 16px; }
  .cp-table th, .cp-table td { display: block; padding: 3px 0; border: 0; }
  .cp-table tbody th { font-size: 1rem; margin-bottom: 4px; }
  .cp-table td::before { content: attr(data-label); display: block; font-size: .8125rem; font-weight: 600; color: var(--ink-2); margin-top: 6px; }
  .cp-win-bar { flex-wrap: wrap; row-gap: 2px; }
  .cp-win-bar span:last-child { flex-basis: 100%; padding-left: 20px; }
  .cp-table.cp-cols-2 { background: var(--surface); }
  .cp-table.cp-cols-2 table { display: table; width: 100%; }
  .cp-table.cp-cols-2 thead { display: table-header-group; }
  .cp-table.cp-cols-2 tbody { display: table-row-group; }
  .cp-table.cp-cols-2 tr { display: table-row; background: none; padding: 0; }
  .cp-table.cp-cols-2 th, .cp-table.cp-cols-2 td { display: table-cell; padding: 12px 14px; border-bottom: 1px solid var(--ground-2); } /* taste-skill-ignore: table rules */
  .cp-table.cp-cols-2 tbody th { width: 40%; font-weight: 500; font-size: .9375rem; }
  .cp-table.cp-cols-2 td::before { content: none; }
  .cp-flow { grid-template-columns: minmax(0, 1fr); }
  .cp-flow li { flex-direction: row; align-items: center; min-height: 0; padding: 12px 14px; }
  .cp-facts li { padding: 20px; }
  .cp-sec { margin-top: 64px; }
  .cp-sec > p { font-size: 1.0625rem; }
  .cp-short { padding: 22px; }
  .cp-short p:last-child { font-size: 1.0625rem; }
  .cp-cta { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .cp-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-rec-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cp-tl-list li { grid-template-columns: 84px minmax(0, 1fr); }
  .cp-tl-list li span { grid-column: 1 / -1; }
  .cp-bars li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cp-keep { grid-template-columns: minmax(0, 1fr); }
  .cp-related ul { grid-template-columns: minmax(0, 1fr); }
  .cp-close { margin-bottom: 64px; }
  .wdl-footer.deep .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  [data-rise], .cp-tl-list li, .cp-flow li { opacity: 1; transform: none; transition: none; }
  .cp-x, .cp-bars i { transform: none; transition: none; }
  .cp-toollist li { opacity: 1; transform: none; transition: none; }
}

/* batch 3 design review */
.cp-nb { white-space: nowrap; }
.cp-short { background: none; padding: 0 0 0 0; max-width: 62ch; }
.cp-short p:last-child { font-size: 1.0625rem; color: var(--ink-2); }
.cp-facts b { font-size: clamp(1.375rem, 1.05rem + .9vw, 1.875rem); text-wrap: balance; }
.cp-hero > .cp-facts { align-self: start; grid-auto-rows: 1fr; }
.cp-sec > p.cp-ans { font-size: clamp(1.1875rem, 1.05rem + .4vw, 1.375rem); max-width: 44ch; }
.cp-cta--slim { grid-template-columns: minmax(0, 1fr) auto; padding: 24px 32px; margin: 40px 0; }
.cp-cta--slim .cp-cta-h { margin: 0; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); }
.cp-cta--slim .btn { width: auto; }
.cp-flow { display: flex; flex-wrap: wrap; }
.cp-flow li { flex: 1 1 calc(100% / var(--n, 4) - 4px); }
@media (max-width: 720px) {
  .cp-short { padding: 0; }
  .cp-cta--slim { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .cp-cta--slim .btn { width: 100%; }
  .cp-flow li { flex-basis: 100%; }
  .cp-table.cp-compact { background: var(--surface); }
  .cp-table.cp-compact table { display: table; width: 100%; }
  .cp-table.cp-compact thead { display: table-header-group; }
  .cp-table.cp-compact tbody { display: table-row-group; }
  .cp-table.cp-compact tr { display: table-row; background: none; padding: 0; }
  .cp-table.cp-compact th, .cp-table.cp-compact td { display: table-cell; padding: 10px 8px; font-size: .875rem; border-bottom: 1px solid var(--ground-2); font-variant-numeric: tabular-nums; } /* taste-skill-ignore: table rules */
  .cp-table.cp-compact tbody th { font-weight: 600; }
  .cp-table.cp-compact td::before { content: none; }
}
.cp-redact-body { grid-template-columns: minmax(0, 1fr); } .cp-redact-body p { min-width: 0; overflow-wrap: anywhere; }

/* batch 4 design review */
.cp-law { font-size: .8125rem; color: var(--muted); margin-top: 10px; }
.cp-flow li { flex: 0 0 calc((100% - (var(--n, 4) - 1) * 4px) / var(--n, 4)); }
.cp-call { background: var(--surface); border: 1px solid var(--line); padding: 18px 22px 20px; }
.cp-more { background: transparent; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); } /* taste-skill-ignore: panel rules */
.cp-more + .cp-more { margin-top: 0; border-top: 0; }
.cp-more summary { padding: 14px 0; font-weight: 500; }
.cp-more[open] { background: var(--surface); }
.cp-more[open] summary { padding: 14px 20px; }
@media (max-width: 720px) {
  .cp-flow li { flex-basis: 100%; }
  .cp-table tbody { gap: 0; background: var(--surface); }
  .cp-table tr { padding: 12px 14px; border-bottom: 1px solid var(--ground-2); } /* taste-skill-ignore: row rules */
  .cp-table th, .cp-table td { padding: 1px 0; font-size: .9375rem; line-height: 1.45; }
  .cp-table tbody th { font-size: .9375rem; margin-bottom: 2px; }
  .cp-table td::before { display: inline; content: attr(data-label) ": "; font-size: .875rem; margin: 0; }
}
/* bars never wrap their hidden label */
.cp-x { display: inline-block; white-space: nowrap; overflow: hidden; overflow-wrap: normal; word-break: normal; height: 1em; vertical-align: -0.14em; }

/* Hub and FAQ jump list (20 Nov): one row of section links under the hero, each with its count. */
.cp-jump { grid-column: 1 / -1; margin-top: 28px; }
.cp-jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cp-jump a { display: inline-flex; align-items: baseline; gap: 10px; padding: 12px 16px; background: var(--surface); color: var(--ink) !important; text-decoration: none !important; font-weight: 500; font-size: .9375rem; transition: background-color 200ms var(--ease); }
.cp-jump a span { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .875rem; }
.cp-jump a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .cp-jump a:hover { background: var(--ground-2); } }
.cp-hub { scroll-margin-top: 88px; }
.cp-hub + .cp-hub { padding-top: 56px; }
.cp-hub h2 { margin-bottom: 8px; }
.cp-hub-l { color: var(--ink-2); font-size: 1.0625rem; max-width: 60ch; margin-bottom: 24px; }
.cp-faqbody { max-width: 860px; padding: 0 var(--pad); }
.cp-faqhub { scroll-margin-top: 88px; padding-top: 48px; }
.cp-faqhub h2 { margin-bottom: 8px; }
.cp-qa-more { display: inline-block; margin-left: 4px; color: var(--orange-text, #A33A0A) !important; font-weight: 500; }
