.ci-head { margin: 1rem 0 1.6rem; max-width: 52rem; }
.ci-head h1, .ci-article h1 { font: 500 clamp(2rem, 5vw, 4.4rem)/1.06 Georgia, serif; letter-spacing: -.04em; margin: .5rem 0 1rem; }
.ci-head p, .ci-lead { color: #465468; font-size: 1.13rem; line-height: 1.58; }
.ci-kicker { color: #17634d; font-weight: 750; font-size: .72rem; letter-spacing: .18em; }
.ci-stamp, .ci-meta { color: #516174; font-size: .8rem; line-height: 1.5; }
.ci-tabs, .ci-topics { display: flex; flex-wrap: wrap; gap: .45rem; margin: .7rem 0; }
.ci-tabs a, .ci-topics a { display: inline-block; padding: .4rem .7rem; border: 1px solid #cbd6d3; border-radius: .45rem; background: #fff; }
.ci-tabs [aria-current], .ci-topics [aria-current] { background: #175644; color: white; border-color: #175644; }
.ci-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,21rem),1fr)); gap: 1rem; margin: 1.4rem 0; }
.ci-card, .ci-figure, .ci-metrics > * { background: #fff; border: 1px solid #d4dfda; border-radius: .75rem; padding: 1.1rem; min-width: 0; overflow-wrap: anywhere; }
.ci-card h2 { font-size: 1.18rem; line-height: 1.28; margin: .55rem 0; }
.ci-card p, .ci-section p { line-height: 1.62; }
.ci-card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; border-top: 1px solid #e1e8e4; padding-top: .7rem; font-size: .87rem; }
.ci-card-foot ul { padding-left: 1rem; }
.ci-article { max-width: 58rem; margin: 1rem auto; }
.ci-article h1 { font-size: clamp(1.95rem, 4vw, 3.45rem); }
.ci-back { display: inline-block; margin-bottom: 1.1rem; }
.ci-section { margin: 1.8rem 0; }
.ci-section h2 { font-size: 1.38rem; margin: 0 0 .55rem; }
.ci-credit, .ci-figure-note, .ci-sources span, .ci-sources time { color: #425970; font-size: .82rem; }
.ci-sources p { display: flex; flex-wrap: wrap; gap: .4rem .65rem; }
.ci-sources p:target { outline: 2px solid #397b69; outline-offset: .25rem; }
.ci-figure { margin: 1.3rem 0; }
.ci-figure figcaption { margin-bottom: .8rem; font-size: 1.07rem; }
.ci-figure figcaption span { display: block; color: #516174; font-size: .76rem; }
.ci-plot { display: grid; gap: .45rem; }
.ci-plot-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(3rem,2fr) minmax(5.3rem,1fr); align-items: center; gap: .55rem; font-size: .84rem; }
.ci-plot-row svg { display: block; width: 100%; height: 1.06rem; background: #f2f6f4; }
.ci-plot-row rect { fill: #1b8064; }
.ci-plot-row rect.ci-negative { fill: #ad4f35; }
.ci-plot-row line { stroke: #85978d; }
.ci-steps { padding: 0; list-style: none; counter-reset: stage; display: grid; gap: .45rem; }
.ci-steps li { counter-increment: stage; display: grid; grid-template-columns: auto 1fr; gap: .55rem; padding: .6rem; border-bottom: 1px solid #dce5de; }
.ci-steps li::before { content: counter(stage); color: #17634d; }
.ci-asset { border: 1px solid #cbd6d3; border-radius: .65rem; padding: clamp(.75rem, 3vw, 1.3rem); margin: 1.35rem 0; background: #fff; }
.ci-asset h2 { margin: 0 0 .5rem; font-size: 1.35rem; }
.ci-asset pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: .7rem 0 0; padding: .8rem; background: #f1f5f3; border-radius: .35rem; font-size: .88rem; line-height: 1.55; }
.ci-asset-origin { color: #3b514b; font-size: .94rem; }
.ci-copy-tools { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .85rem; }
.ci-copy { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem .9rem;
  background: #14553f; color: #fff; border: 1px solid #14553f; border-radius: .45rem; font: inherit; font-weight: 650; cursor: pointer; }
.ci-copy:hover { background: #0d4231; }
.ci-copy:active { background: #082e22; }
.ci-copy:focus-visible, .ci-ab-results:focus-visible { outline: 3px solid #226b96; outline-offset: 3px; }
.ci-copy-status { color: #175644; font-size: .87rem; }
.ci-copy-status[data-state="success"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ci-copy-status[data-state="error"] { color: #8d2a23; max-width: 36rem; }
.ci-editorial-blocks :is(ol, ul) { margin: .65rem 0 1rem; padding-inline-start: 1.55rem; }
.ci-editorial-blocks li { padding-inline-start: .17rem; margin: .42rem 0; line-height: 1.6; }
.ci-editorial-blocks code { display: inline-block; background: #eaf1ed; color: #244639;
  padding: 0 .32rem; border-radius: .25rem; font-size: .88em; font-weight: 650; }
.ci-ab-results td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ci-ab-results td:last-child { font-weight: 700; }
.ci-media-panel + .ci-media-panel { margin-top: 1.2rem; }
.ci-media-panel h3 { margin: .3rem 0 .6rem; font-size: 1rem; }
.ci-media-panel img { display: block; width: 100%; height: auto; object-fit: contain; object-position: left center; }
@media (max-width: 520px) {
  .ci-table.ci-ab-results table { font-size: .75rem; table-layout: fixed; }
  .ci-table.ci-ab-results th, .ci-table.ci-ab-results td { padding: .35rem .25rem; }
  .ci-table.ci-ab-results th:first-child { width: 30%; }
  .ci-table.ci-ab-results td { white-space: normal; }
}
.ci-flow { max-width: 42rem; margin: 1rem auto; }
.ci-flow-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
.ci-flow-node { border: 1px solid #becdc9; border-radius: .5rem; background: #f4f7f5; padding: .6rem; text-align: center; font-size: .87rem; line-height: 1.4; }
.ci-flow-node span { display: block; margin-top: .2rem; color: #425970; }
.ci-flow-main { width: fit-content; max-width: 100%; margin: auto; }
.ci-flow-decision { background: #f8f4e7; border-color: #d0be8b; }
.ci-flow-drop { background: #f9f0ed; border-color: #d3a89c; }
.ci-flow-keep { background: #e9f6ee; border-color: #91bd9b; }
.ci-flow-arrows { display: block; width: 100%; height: 1.55rem; }
.ci-flow-arrows path { stroke: #526963; fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ci-table { overflow-x: auto; }
.ci-table table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ci-table th, .ci-table td { text-align: left; padding: .5rem; border-bottom: 1px solid #dce5de; }
.ci-metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,9rem),1fr)); gap: .55rem; }
.ci-metrics strong { display: block; color: #175644; font-size: 1.45rem; }
.ci-media { display: flex; flex-wrap: wrap; gap: .75rem; }
.ci-media img, .ci-figure video { max-width: 100%; max-height: 32rem; }
.ci-admin-grid { display: grid; grid-template-columns: minmax(16rem,1fr) minmax(18rem,1.4fr); gap: 1.25rem; }
.ci-admin-grid label { display: block; font-weight: 600; }
.ci-admin-grid input:not([type=checkbox]), .ci-admin-grid select { width: 100%; max-width: 100%; padding: .45rem; }
.ci-monitor { margin-bottom: .65rem; }
.ci-monitor form { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.ci-warning, .errorlist { color: #923b25; }
.ci-advanced { padding: .8rem; border-top: 1px solid #cbd6d3; }
@media (max-width: 710px) { .ci-admin-grid { grid-template-columns: minmax(0,1fr); } }
.ci-figure-disclosure summary { cursor: pointer; min-height: 2.75rem; align-content: center; }
