/* Climate Change Explained. Everything is scoped under .cce and ids are prefixed cce-, so the page can be embedded
   in a host site with its own styles. Colours only through theme.css tokens. Layout follows the container's width. */

.cce {
  --font-text: Helvetica, Arial, sans-serif;
  --font-support: "Google Sans Code", ui-monospace, monospace;
  --step--1: 0.8125rem; --step-0: 1rem; --step-1: 1.25rem; --step-2: 1.75rem; --step-3: 2.4rem;
  --gap: clamp(1rem, 3vw, 2rem);
  --sticky-top: 0px;
  container: cce / inline-size;
  font-family: var(--font-text); color: var(--ink); background: var(--paper); line-height: 1.5;
}
.cce :where(h1, h2, h3, p, ul, li, button, figure) { margin: 0; padding: 0; font: inherit; color: inherit; border: 0; background: none; }
.cce :where(svg, select, input, label, figcaption, table, caption, th, td) { margin: 0; border: 0; }
.cce :where(a) { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.cce[data-layout="standalone"] { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

.cce .cce-head { display: grid; gap: 0.75rem; padding-block: clamp(2rem, 6vw, 4rem) 2rem; max-width: 46rem; }
.cce h1 { font-size: var(--step-3); font-weight: 700; line-height: 1.1; }
.cce h2 { font-size: var(--step-2); line-height: 1.15; font-weight: 700; color: var(--ink); }
.cce .cce-dek { font-size: var(--step-1); color: var(--muted); }
.cce .cce-note { font-family: var(--font-support); font-size: var(--step--1); color: var(--muted); }
.cce .cce-src { font-family: var(--font-support); font-size: var(--step--1); }
/* headings end in a red dot, as on the other pages of the series */
.cce :is(.cce-head h1, section > h2)::after { content: ""; display: inline-block; width: 0.22em; height: 0.22em; margin-left: 0.08em;
  border-radius: 50%; background: var(--red); vertical-align: baseline; }

.cce .cce-nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; padding-block: 0.75rem; margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule); font-family: var(--font-support); font-size: 0.875rem; }
.cce .cce-nav a { color: var(--ink); }
.cce :is(section, h2)[id], .cce #cce-nav { scroll-margin-top: calc(var(--sticky-top) + 0.75rem); }
.cce section { position: relative; }
.cce .cce-top { position: absolute; top: 0.6rem; right: 0; z-index: 2; font-family: var(--font-support); font-size: 0.8125rem;
  color: var(--muted); text-decoration: none; padding: 0.2rem 0; }
.cce .cce-top:hover, .cce .cce-top:focus-visible { color: var(--ink); text-decoration: underline; }

/* Scenario tabs (as on Sea-level Cities) */
.cce .cce-tabs { display: flex; flex-wrap: wrap; width: 100%;
  background: repeating-linear-gradient(to bottom, transparent 0 43px, var(--rule) 43px 44px); }
.cce .cce-tabs button { font: inherit; font-family: var(--font-support); font-size: 0.875rem; line-height: 1.2; color: var(--muted);
  background: transparent; border: 0; border-radius: 0; margin: 0; display: inline-flex; align-items: center; height: 44px;
  padding: 0 0.875rem; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cce .cce-tabs button:hover { color: var(--ink); box-shadow: inset 0 -4px 0 var(--rule); }
.cce .cce-tabs button[aria-pressed="true"] { color: var(--ink); font-weight: 500; box-shadow: inset 0 -4px 0 var(--ink); }
.cce .cce-tabs button:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
@media (forced-colors: active) {
  .cce .cce-tabs { background: none; }
  .cce .cce-tabs button { border-bottom: 1px solid CanvasText; box-shadow: none; }
  .cce .cce-tabs button[aria-pressed="true"] { border-bottom-width: 4px; }
}

/* Lead: two big figures */
.cce .cce-lead { display: grid; gap: 0.75rem; padding-block: clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--rule); margin-bottom: 2rem; }
.cce .cce-lead__scen { font-family: var(--font-support); font-size: 0.8125rem; color: var(--muted); max-width: 46rem; }
.cce .cce-lead__scen strong { color: var(--ink); font-weight: 500; }
.cce .cce-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3rem); align-items: start; padding-block: 1.5rem 0.5rem; }
.cce .cce-hero__item { display: grid; gap: 0.6rem; align-content: start; min-width: 0; }
.cce .cce-hero__label { font-family: var(--font-support); font-size: 0.875rem; color: var(--muted); display: inline-flex; align-items: center; gap: 0.5rem; }
.cce .cce-hero__figure { font-weight: 500; font-size: clamp(3.25rem, 10vw, 6.5rem); line-height: 0.9; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.cce .cce-hero__figure small { font-size: 0.45em; letter-spacing: 0; margin-left: 0.04em; }
.cce .cce-hero__text { font-size: var(--step-1); line-height: 1.45; max-width: 28rem; }
.cce .cce-sw { display: inline-block; width: 12px; height: 12px; flex: none; border-radius: 50%; }
.cce .cce-sw--ink { background: var(--ink); }
.cce .cce-sw--red { background: var(--red); }
.cce .cce-sw--blue { background: var(--blue); }
@container cce (max-width: 520px) { .cce .cce-hero { grid-template-columns: minmax(0, 1fr); } }

/* The story: steps scroll past the held chart */
.cce .story { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap); position: relative; }
.cce .story__steps { grid-column: 1; grid-row: 1; min-width: 0; padding-bottom: 40vh; }
.cce .story__graphic { grid-column: 2; grid-row: 1; position: sticky; top: var(--sticky-top);
  height: calc(100vh - var(--sticky-top)); display: grid; align-content: center; gap: 0.4rem; min-width: 0; }
.cce .step { min-height: 85vh; display: grid; align-content: center; padding-block: 1.5rem; }
.cce .step:first-child { min-height: 60vh; }
.cce .step__text { display: grid; gap: 0.75rem; max-width: 26rem; color: var(--muted); transition: color 0.25s; }
.cce .step.is-active .step__text { color: var(--ink); }
.cce .step__text strong { color: var(--ink); font-weight: 600; }
.cce .cce-timeline-sec { padding-top: 0.5rem; }
.cce .cce-timeline-sec > h2 { margin-bottom: 0.5rem; }
.cce .cce-timeline-sec > .cce-intro { max-width: 46rem; color: var(--muted); }

/* The chart */
.cce .cce-chart { position: relative; width: 100%; height: min(72vh, 640px); }
.cce .cce-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cce .cce-axis text { font-family: var(--font-support); font-size: 11px; fill: var(--muted); }
.cce .cce-axis line, .cce .cce-axis path { stroke: var(--rule); }
.cce .cce-zero { stroke: var(--muted); stroke-width: 1; }
.cce .cce-ylabel { font-family: var(--font-support); font-size: 11px; fill: var(--muted); }
.cce .cce-band { stroke: none; }
.cce .cce-band--past { fill: var(--muted); opacity: 0.22; }
.cce .cce-band--land { fill: var(--red); opacity: 0.18; }
.cce .cce-band--sea { fill: var(--blue); opacity: 0.22; }
.cce .cce-band--glob { fill: var(--ink); opacity: 0.12; }
.cce .cce-line { fill: none; stroke-width: 2; stroke-linejoin: round; }
.cce .cce-line--past { stroke: var(--ink); stroke-width: 1.75; }
.cce .cce-line--land { stroke: var(--red); }
.cce .cce-line--sea { stroke: var(--blue); }
.cce .cce-line--glob { stroke: var(--ink); }
.cce .cce-line--proj { stroke-dasharray: 5 3; }
.cce .cce-line--alt { stroke-width: 1.25; opacity: 0.75; stroke-dasharray: 2 3; }
.cce .cce-endlab { font-family: var(--font-support); font-size: 11px; paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; }
.cce .cce-endlab--land { fill: var(--red); }
.cce .cce-endlab--sea { fill: var(--blue); }
.cce .cce-endlab--glob, .cce .cce-endlab--past { fill: var(--ink); }
.cce .cce-endlab--alt { fill: var(--muted); }
.cce .cce-thr line { stroke: var(--muted); stroke-dasharray: 1 3; }
.cce .cce-thr text { font-family: var(--font-support); font-size: 10.5px; fill: var(--muted); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; }
.cce .cce-now line { stroke: var(--ink); stroke-width: 1; }
.cce .cce-now text { font-family: var(--font-support); font-size: 11px; fill: var(--ink); font-weight: 500; }
.cce .cce-future { fill: var(--rule); opacity: 0.35; }

/* Landmarks: one dash per kind, labels in rows at the top; unlabelled ones keep a tick and a tooltip */
.cce .cce-lm line { stroke: var(--muted); stroke-width: 1; opacity: 0.75; }
.cce .cce-lm rect { fill: var(--muted); opacity: 0.09; }
.cce .cce-lm .cce-lm-hit { stroke: transparent; stroke-width: 12; cursor: pointer; }
.cce .cce-lm[data-kind="nature"] line:not(.cce-lm-hit) { stroke-dasharray: none; }
.cce .cce-lm[data-kind="history"] line:not(.cce-lm-hit) { stroke-dasharray: 1 3; }
.cce .cce-lm[data-kind="policy"] line:not(.cce-lm-hit) { stroke-dasharray: 6 3; }
.cce .cce-lm[data-kind="science"] line:not(.cce-lm-hit) { stroke: var(--link); stroke-dasharray: 3 2; }
.cce .cce-lm[data-kind="industry"] line:not(.cce-lm-hit) { stroke: var(--red); stroke-dasharray: 3 2; opacity: 0.8; }
.cce .cce-lm text { font-family: var(--font-support); font-size: 10.5px; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; cursor: pointer; }
.cce .cce-lm text.cce-lm-num { fill: var(--muted); }
.cce .cce-lm:hover text, .cce .cce-lm:focus text { text-decoration: underline; }
.cce .cce-lm:focus { outline: none; }
.cce .cce-lm:focus-visible line:not(.cce-lm-hit) { stroke: var(--ink); stroke-width: 2; }
.cce .cce-kinds { display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; font-family: var(--font-support); font-size: 0.75rem; color: var(--muted); }
.cce .cce-kinds label { display: inline-flex; align-items: center; gap: 0.35rem; cursor: pointer; }
.cce .cce-kinds input { accent-color: var(--ink); margin: 0; }
.cce .cce-kinds svg { width: 22px; height: 8px; }
.cce .cce-kinds svg line { stroke-width: 1.5; }
.cce .cce-tip { position: absolute; z-index: 3; max-width: 18rem; padding: 0.55rem 0.7rem; background: var(--paper); color: var(--ink);
  border: 1px solid var(--rule); box-shadow: 0 6px 24px rgb(0 0 0 / 0.12); font-size: 0.875rem; line-height: 1.4; pointer-events: none; }
.cce .cce-tip[hidden] { display: none; }
.cce .cce-tip b { display: block; }
.cce .cce-tip .cce-note { display: block; margin-bottom: 0.2rem; }
.cce .cce-legend { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; font-family: var(--font-support); font-size: 0.75rem; color: var(--muted); min-height: 1.2em; }
.cce .cce-legend span { display: inline-flex; align-items: center; gap: 0.35rem; }
.cce .cce-legend i { display: inline-block; width: 16px; height: 0; border-top: 2px solid; }
.cce .cce-readout { font-family: var(--font-support); font-size: var(--step--1); color: var(--muted); }
.cce .cce-graphic-tabs[hidden] { display: none; }

/* Sources and method */
.cce .cce-method { padding-block: 3rem; border-top: 1px solid var(--rule); display: grid; gap: 1rem; }
.cce .cce-method ul { list-style: none; display: grid; gap: 0.5rem; max-width: 52rem; }
.cce .cce-method li { font-size: 0.9375rem; color: var(--muted); }
.cce .cce-method li strong { color: var(--ink); font-weight: 600; }
.cce .cce-method p { max-width: 52rem; }

@container cce (max-width: 520px) { .cce .cce-graphic-tabs .cce-tab-x { display: none; } }
@container cce (max-width: 860px) {
  .cce .story { display: block; }
  .cce .story__graphic { height: calc(100svh - var(--sticky-top)); align-content: start; z-index: 0; padding-top: 0.5rem; background: var(--paper); }
  .cce .cce-chart { height: 58svh; min-height: 280px; }
  .cce .story__steps { position: relative; z-index: 1; margin-top: calc(var(--sticky-top) - 100svh); padding-bottom: 50svh; pointer-events: none; }
  .cce .step, .cce .step:first-child { min-height: 92svh; align-content: end; padding-bottom: 6svh; }
  .cce .step__text { pointer-events: auto; max-width: none; padding: 1rem 1.1rem; background: var(--paper);
    border: 1px solid var(--rule); color: var(--ink); box-shadow: 0 6px 24px rgb(0 0 0 / 0.08); }
  .cce section > .cce-top { top: 0.5rem; }
  .cce section:has(> .cce-top) { padding-top: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) { .cce .step__text { transition: none; } }

/* ---------- Why it warms; what warms, what cools ---------- */
.cce .cce-causes, .cce .cce-drivers, .cce .cce-impacts, .cce .cce-life, .cce .cce-local, .cce .cce-decide, .cce .cce-daily, .cce .cce-places { display: grid; gap: 1.25rem; padding-block: 3rem; border-top: 1px solid var(--rule); }
.cce h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.25; margin-top: 1.5rem; }
.cce .cce-prose { display: grid; gap: 0.75rem; max-width: 46rem; }
.cce .cce-prose strong { font-weight: 600; }
.cce .cce-fig { display: grid; gap: 0.5rem; min-width: 0; }
.cce .cce-fig__t { font-family: var(--font-support); font-size: 0.8125rem; color: var(--ink); }
.cce .cce-fig figcaption { color: var(--muted); max-width: 52rem; }
.cce .cce-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 4vw, 3rem); align-items: start; }
@container cce (max-width: 720px) { .cce .cce-pair { grid-template-columns: minmax(0, 1fr); } }
.cce .cce-mini { position: relative; height: 280px; min-width: 0; }
.cce .cce-mini--tall { height: 360px; }
.cce .cce-mini svg, .cce .cce-bars svg { display: block; width: 100%; overflow: visible; }
.cce .cce-mini svg { height: 100%; }
.cce .cce-bars { position: relative; min-width: 0; }
.cce .cce-hover { fill: transparent; cursor: crosshair; }
.cce .cce-dot { fill: var(--paper); stroke: var(--ink); stroke-width: 2; pointer-events: none; }
.cce .cce-thr-l { stroke: var(--muted); stroke-dasharray: 1 3; }
.cce .cce-thr-t { font-family: var(--font-support); font-size: 10.5px; fill: var(--muted); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; }
.cce .cce-sq { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.cce .cce-legend .cce-sq { border: 0; }
.cce .cce-bar-lab { font-size: 13px; fill: var(--ink); }
.cce .cce-bar--head .cce-bar-lab { font-weight: 600; }
.cce .cce-bar-val { font-family: var(--font-support); font-size: 11px; fill: var(--ink); }
.cce .cce-whisk { stroke: var(--ink); stroke-width: 1.25; fill: none; opacity: 0.7; }
.cce #cce-cty-tabs { margin-top: 0.25rem; }

/* the greenhouse diagram: tokens only, so it follows the theme */
.cce .cce-ghe svg { display: block; width: 100%; max-width: 760px; height: auto; }
.cce .cce-ghe-air { fill: var(--blue); opacity: 0.12; }
.cce .cce-ghe-ground { fill: var(--land); stroke: var(--rule); }
.cce .cce-ghe-ground { transition: fill 0.6s; }
.cce .cce-ghe-ground.is-lit { fill: color-mix(in srgb, var(--land) 65%, var(--yellow)); transition: fill 0.3s; }
.cce .cce-ghe-ground.is-warm { fill: color-mix(in srgb, var(--land) 78%, var(--red)); transition: fill 2.4s; }
.cce .cce-ghe-sun { fill: var(--yellow); }
.cce .cce-ghe-cloud { fill: var(--paper); stroke: var(--muted); stroke-width: 1; }
.cce .cce-ghe-cloud rect { stroke: none; }
.cce .cce-ghe-route { fill: none; stroke-width: 2; opacity: 0.55; }
.cce .cce-ghe-dot { stroke: var(--ink); stroke-width: 1.25; }
.cce .cce-ghe-mol circle { fill: var(--muted); transition: fill 0.25s; }
.cce .cce-ghe-mol .cce-ghe-mol-c { fill: var(--ink); }
.cce .cce-ghe-mol.is-hot circle { fill: var(--red); }
.cce .cce-ghe-mol--new circle { fill: var(--muted); }
.cce .cce-ghe-bar { display: flex; justify-content: flex-end; max-width: 760px; margin-top: 0.25rem; }
.cce .cce-ghe-play { font: inherit; font-family: var(--font-support); font-size: 0.8125rem; padding: 0.3rem 0.7rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; cursor: pointer; }
.cce .cce-ghe-play:hover { border-color: var(--muted); }
.cce .cce-ghe-play:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.cce .cce-ghe-list li { opacity: 0.25; transition: opacity 0.4s; }
.cce .cce-ghe-list li.is-on { opacity: 1; }
.cce .cce-ghe-lab { font-family: var(--font-support); font-size: 12px; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; }
.cce .cce-ghe-muted { fill: var(--muted); }
.cce .cce-bars { max-width: 52rem; }
.cce .cce-legend i.cce-sq { width: 10px; height: 10px; border: 0; }
.cce .cce-legend:has(.cce-legend__row) { display: grid; gap: 0.3rem; }
.cce .cce-legend__row { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; }
.cce .cce-ghe-step circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.25; }
.cce .cce-ghe-n { font-family: var(--font-support); font-size: 11px; font-weight: 600; fill: var(--ink); }
.cce .cce-ghe-list { display: none; }
@container cce (max-width: 560px) {
  .cce .cce-ghe-x, .cce .cce-ghe-zone { display: none; }
  .cce .cce-ghe-step circle { r: 15; }
  .cce .cce-ghe-n { font-size: 19px; transform: translateY(3px); }
  .cce .cce-ghe-list { display: grid; gap: 0.2rem; padding-left: 1.4rem; font-size: 0.9375rem; }
  .cce .cce-ghe-list li { list-style: decimal; }
}

/* How it shows up: extremes per warming level, then cards of what is measured */
.cce .cce-ext { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem clamp(1rem, 3vw, 2rem); }
@container cce (max-width: 860px) { .cce .cce-ext { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container cce (max-width: 420px) { .cce .cce-ext { grid-template-columns: minmax(0, 1fr); } }
.cce .cce-ext__p { display: grid; gap: 0.5rem; align-content: start; min-width: 0; }
.cce .cce-ext__t { font-size: 0.875rem; color: var(--muted); }
.cce .cce-ext__p { grid-template-rows: 1fr auto; }
.cce .cce-ext__t strong { color: var(--ink); font-weight: 600; }
.cce .cce-ext__bars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; height: 150px; align-items: end; border-bottom: 1px solid var(--muted); }
.cce .cce-ext__c { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; position: relative; min-width: 0; }
.cce .cce-ext__c i { display: block; width: 100%; height: calc(var(--p) * (100% - 18px)); min-height: 2px; background: var(--red); border-radius: 2px 2px 0 0; }
.cce .cce-ext__c--base i { background: var(--muted); }
.cce .cce-ext__v { font-family: var(--font-support); font-size: 11px; color: var(--ink); padding-bottom: 3px; white-space: nowrap; }
.cce .cce-ext__l { position: absolute; top: 100%; padding-top: 4px; font-family: var(--font-support); font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.cce .cce-ext__p { padding-bottom: 1.4rem; }
.cce .cce-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.cce .cce-card { display: grid; gap: 0.35rem; align-content: start; padding: 1rem 1rem 0.9rem; border: 1px solid var(--rule); border-radius: 4px; min-width: 0; }
.cce .cce-card__g { font-family: var(--font-support); font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.cce .cce-card__fig { font-size: 2.2rem; font-weight: 500; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cce .cce-card__l { font-size: 0.875rem; color: var(--muted); }
.cce .cce-card__t { font-size: 0.9375rem; }
.cce .cce-spark { width: 100%; height: 50px; overflow: visible; margin-bottom: 14px; }
.cce .cce-spark circle { fill: var(--ink); }
.cce .cce-spark text { font-family: var(--font-support); font-size: 10px; fill: var(--muted); }

/* Your lifetime */
.cce .cce-life__form { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; font-family: var(--font-support); font-size: 0.875rem; }
.cce .cce-life__form input { font: inherit; font-size: 1.25rem; width: 6.5rem; padding: 0.35rem 0.5rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--muted); border-radius: 3px; }
.cce .cce-life__form input:focus-visible { outline: 2px solid var(--link); outline-offset: 1px; }
.cce .cce-stripes { position: relative; width: 100%; min-width: 0; }
.cce .cce-stripes svg { display: block; width: 100%; height: 130px; overflow: visible; }
.cce .cce-stripe-m { stroke: var(--ink); stroke-width: 1.25; }
.cce .cce-stripe-t { font-family: var(--font-support); font-size: 11px; fill: var(--ink); }
.cce .cce-line--thin { stroke-width: 1; opacity: 0.45; }
.cce .cce-life__form select { font: inherit; font-size: 1rem; width: min(100%, 24rem); min-width: 0; padding: 0.4rem 0.5rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--muted); border-radius: 3px; }
.cce .cce-life__form select:focus-visible { outline: 2px solid var(--link); outline-offset: 1px; }
.cce .cce-dline { fill: none; stroke-width: 1; opacity: 0.75; }
.cce .cce-dline--hi { stroke-width: 2.5; opacity: 1; }
.cce .cce-dlab { font: 600 0.75rem var(--sans, system-ui); fill: var(--ink); }
.cce .cce-ramp { display: inline-flex; align-items: center; gap: 0.3rem; }
.cce .cce-ramp i { display: inline-block; width: 7rem; height: 10px; border: 0; border-radius: 2px; }
.cce .cce-ramp b { font-weight: 400; }
.cce .cce-place-pick { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 1rem 0; max-width: 52rem; }
.cce .cce-place-pick button { font: inherit; font-family: var(--font-support); font-size: 0.8125rem; padding: 0.3rem 0.6rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; cursor: pointer; }
.cce .cce-place-pick button:hover { border-color: var(--muted); }
.cce .cce-place-pick button[aria-pressed="true"] { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.cce .cce-place-pick button:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.cce .cce-card { max-width: 52rem; border-top: 2px solid var(--ink); padding-top: 0.75rem; }
.cce .cce-card h3 { margin: 0; }
.cce .cce-card h3 span { font-weight: 400; color: var(--muted); margin-left: 0.5rem; font-size: 0.9em; }
.cce .cce-card header p { margin: 0.25rem 0 0.75rem; color: var(--muted); }
.cce .cce-card__scroll { overflow-x: auto; }
.cce .cce-card table { border-collapse: collapse; width: 100%; min-width: 34rem; font-variant-numeric: tabular-nums; }
.cce .cce-card th, .cce .cce-card td { padding: 0.4rem 0.45rem; border-bottom: 1px solid var(--rule); text-align: right; vertical-align: top; }
.cce .cce-card th[scope="row"] { text-align: left; font-weight: 500; }
.cce .cce-card th span, .cce .cce-card td span { display: block; font-size: 0.75rem; font-weight: 400; color: var(--muted); }
.cce .cce-card thead th { font-family: var(--font-support); font-size: 0.8125rem; font-weight: 600; border-bottom: 1px solid var(--ink); }
.cce .cce-card td b { font-weight: 500; }
.cce .cce-card td[data-tone="hot"] { background: color-mix(in srgb, var(--red) calc(var(--a) * 45%), transparent); }
.cce .cce-card td[data-tone="cool"], .cce .cce-card td[data-tone="wet"] { background: color-mix(in srgb, var(--blue) calc(var(--a) * 45%), transparent); }
.cce .cce-card td[data-tone="dry"] { background: color-mix(in srgb, var(--yellow) calc(var(--a) * 55%), transparent); }
.cce .cce-card .cce-card__hl { box-shadow: inset 0 0 0 2px var(--ink); }
.cce .cce-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cce .cce-card th[scope="row"] { position: sticky; left: 0; z-index: 1; background: var(--paper); min-width: 8.5rem; }
.cce .cce-card thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); }
.cce .cce-card__swipe { display: none; }
@media (max-width: 600px) {
  .cce .cce-card table { min-width: 32rem; font-size: 0.875rem; }
  .cce .cce-card th[scope="row"] { min-width: 7.5rem; max-width: 7.5rem; }
  .cce .cce-card__swipe { display: block; font-size: 0.75rem; color: var(--muted); margin: 0 0 0.25rem; }
}
.cce .cce-card__story { margin: 0 0 1.25rem; max-width: 40rem; }
.cce .cce-card__story h4 { margin: 0 0 0.4rem; font-size: 1rem; }
.cce .cce-card__story ul { margin: 0 0 0.4rem; padding-left: 1.1rem; }
.cce .cce-card__story li { margin: 0.2rem 0; }
.cce .cce-net { fill: none; stroke: var(--red); stroke-width: 2.25; }
.cce .cce-net-dot { fill: var(--paper); stroke: var(--red); stroke-width: 1.25; }
.cce .cce-legend i.cce-dot-key { width: 7px; height: 7px; border: 1.25px solid var(--red); border-radius: 50%; background: var(--paper); }
