/* The data tables carry all values. CSS supplies a second, visual reading. */
.adoption .ad-wrap { max-width: 68rem; margin-inline: auto; padding: 2.5rem clamp(1rem, 4vw, 3.7rem) 4rem; }
.ad-intro, .ad-section { scroll-margin-top: 2rem; }
.ad-intro { max-width: 55rem; }
.ad-intro h1 { max-width: 15ch; margin: .3rem 0 .9rem; font: 500 clamp(2.6rem, 6vw, 4.9rem)/1.01 var(--serif, Georgia, serif); letter-spacing: -.045em; }
.ad-intro > p:not(.pilot-kicker) { font-size: 1.14rem; max-width: 67ch; }
.ad-jumps { display: flex; gap: .5rem 1rem; flex-wrap: wrap; padding-bottom: .6rem; }
.ad-section { border-top: 1px solid var(--rule, #b8bfbc); padding-top: 1.5rem; margin-top: 1.8rem; }
.ad-section > h2 { margin: 0; font: 500 clamp(1.8rem, 3.8vw, 2.7rem)/1.12 var(--serif, Georgia, serif); letter-spacing: -.025em; }
.ad-section > p, .ad-detail p { max-width: 73ch; line-height: 1.55; }
.ad-figure { margin: 1rem 0; background: #f1f3ee; border: 1px solid #b3c7bf; padding: clamp(.85rem, 3vw, 1.6rem); border-radius: .5rem; color: #17383c; }
.ad-figure figcaption { font: 600 clamp(1.22rem, 3vw, 1.65rem)/1.23 var(--serif, Georgia, serif); }
.ad-figure figcaption small { display: block; padding-top: .3rem; color: #42595b; font: 400 .91rem/1.4 var(--sans, Arial, sans-serif); }
.ad-chart, .ad-data { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: 1rem 0 0; color: inherit; }
.ad-chart th, .ad-chart td { text-align: left; padding: .4rem 0; border: 0; }
.ad-chart th[scope="row"] { width: 3.3rem; }
.ad-chart thead { font-size: .79rem; color: #405555; }
.ad-axis { display: flex; justify-content: space-between; gap: .4rem; width: 100%; }
.ad-chart td:nth-child(2), .ad-chart th:nth-child(2) { padding-inline: .55rem; }
.ad-chart th:last-child, .ad-chart td:last-child { width: 3.3rem; text-align: right; }
.ad-chart td:last-child { font-weight: bold; }
.ad-track { display: block; background-color: #dce6df; border-left: 1px solid #567070; height: .9rem; }
.ad-track i { display: block; height: 100%; background: #216b67; }
.ad-gap { display: block; color: #495d5c; font-size: .84rem; border-bottom: 1px dashed #809490; line-height: 1.25; }
.ad-geo th[scope="row"] { width: 5.2rem; }
.ad-note { padding-top: .8rem; border-top: 1px solid #b3c7bf; font-size: .92rem; margin: 1rem 0 0; line-height: 1.45; }
.ad-detail { margin: .85rem 0; }
.ad-detail summary { cursor: pointer; font-weight: 650; padding: .45rem .15rem; line-height: 1.45; }
.ad-data caption { text-align: left; font-weight: bold; padding: .3rem 0; }
.ad-data th, .ad-data td { padding: .38rem .25rem; text-align: left; border-bottom: 1px solid #bcc9c2; }
.ad-source { font-size: .9rem; line-height: 1.55; overflow-wrap: anywhere; }
.ad-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ad-card { min-width: 0; background: #fcfbf6; color: #19353e; border: 1px solid #bec9c3; border-radius: .5rem; padding: 1.1rem; }
.ad-card h3 { font: 500 1.65rem/1.15 var(--serif, Georgia, serif); margin: 0; }
.ad-card p { line-height: 1.45; }
.ad-card h3 + p { margin: .3rem 0 1rem; }
.ad-sequence { border-left: 2px solid #86aaa5; padding-left: 1rem; }
.ad-sequence > div { position: relative; margin-block: .65rem; }
.ad-sequence > div::before { content: ""; width: .51rem; height: .51rem; border-radius: 50%; background: #286d6a; position: absolute; left: -1.315rem; top: .32rem; }
.ad-sequence dt { font: 600 .85rem/1.3 var(--sans, Arial, sans-serif); color: #455860; }
.ad-sequence dd { margin: .15rem 0 0; font: 500 clamp(1.38rem, 3vw, 1.8rem)/1.15 var(--serif, Georgia, serif); }
.ad-challenge { max-width: 47rem; }
@media (max-width: 40rem) { .ad-cards { grid-template-columns: 1fr; } .adoption .ad-wrap { padding-top: 1.5rem; } }
@media (forced-colors: active) { .ad-track i { background: Highlight; forced-color-adjust: none; } }

/* A common zero-to-one-hundred scale and visible table equivalents on small screens. */
.ad-figure[id] { scroll-margin-top: 1rem; }
.ad-figure .ad-chart { table-layout: fixed; }
.ad-figure .ad-chart th:first-child { width: 5.6rem; }
.ad-figure .ad-chart th:last-child { width: 4.3rem; }
.ad-figure .ad-chart td:last-child { font-variant-numeric: tabular-nums; }
.ad-missing-rule { display: block; height: 0; border-top: 1px dashed #71877f; }
.ad-permalink { display: inline-block; font-size: .85rem; line-height: 1.25; padding-block: .55rem; }
.ad-section > h3 { font: 500 clamp(1.4rem, 3vw, 1.9rem)/1.2 var(--serif, Georgia, serif); }
@media (max-width: 24rem) {
  .ad-figure .ad-chart th:first-child { width: 4.65rem; }
  .ad-figure .ad-chart th:last-child { width: 3.65rem; }
  .ad-chart th, .ad-chart td { font-size: .87rem; }
  .ad-chart thead th { font-size: .75rem; }
  .ad-chart td:nth-child(2), .ad-chart th:nth-child(2) { padding-inline: .3rem; }
}

/* A text-first exercise that works with the browser's native controls. */
.ad-headline { margin:1.35rem 0 .5rem; padding:1rem clamp(.85rem,3vw,1.4rem); border-left:3px solid #3d736d; background:#f2f0e7; color:#17383c; scroll-margin-top:1rem; max-width:49rem; }
.ad-headline h3 { margin:0; font:500 clamp(1.4rem,2.8vw,1.85rem)/1.2 var(--serif,Georgia,serif); }
.ad-headline > p { margin:.5rem 0 .8rem; }
.ad-headline-option { border-top:1px solid #adbdb5; }
.ad-headline-option summary { cursor:pointer; padding:.72rem .1rem; line-height:1.45; min-height:44px; font-weight:600; overflow-wrap:anywhere; }
.ad-headline-option[open] { border-bottom:1px solid #adbdb5; }
.ad-headline-option[open] + .ad-headline-option { border-top:0; }
.ad-headline-option p { margin:0 0 .85rem; max-width:66ch; }
.ad-question-links { display:flex; gap:.25rem 1rem; flex-wrap:wrap; margin-top:.55rem; }
.ad-question-links a { display:inline-flex; align-items:center; min-height:44px; font-size:.92rem; }
.ad-headline :focus-visible { outline:3px solid #80541b; outline-offset:2px; }
