.editorial .compute-data-source {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  width: 100%;
  max-width: none;
  margin: 8px auto 0;
  padding: 0;
  color: #43525a;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  line-height: 16px;
  text-align: right;
  text-wrap: pretty;
}

.editorial
  .prime-shelf:has([data-prime-panel="share"]:not([hidden]))
  + .compute-data-source {
  width: min(660px, 100%);
}

.editorial
  .story-index:has([data-story-panel="share"]:not([hidden]))
  + .compute-data-source {
  width: min(660px, 100%);
}

.editorial
  :is(.prime-shelf, .story-index):has(
    :is([data-prime-panel="card"], [data-story-panel="card"]):not([hidden])
  )
  + .compute-data-source {
  width: min(292px, 100%);
}

.editorial .compute-data-source > span:first-child {
  color: #657178;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.editorial .compute-data-source a {
  color: #344b58;
  text-decoration-color: rgb(52 75 88 / 40%);
}

@media (max-width: 640px) {
  .editorial
    .prime-shelf:has([data-prime-panel="share"]:not([hidden]))
    + .compute-data-source {
    margin-right: auto;
    margin-left: auto;
  }
}

.agent-cost-draft {
  margin: 40px 0 0;
}

.editorial .agent-cost-draft__bridge,
.editorial .agent-cost-draft__opening {
  width: 100%;
  max-width: none;
  text-wrap: pretty;
}

.editorial .agent-cost-draft__bridge {
  margin: 16px 0 0;
}

.editorial .agent-cost-draft__opening {
  margin: 0;
}

.editorial .agent-cost-draft__definition {
  width: 100%;
  max-width: none;
  margin: 16px 0 0;
  text-wrap: pretty;
}

.editorial .agent-cost-equation {
  --agent-cost-ink: #142027;
  --agent-cost-ink-soft: #43525a;
  --agent-cost-paper: #fbfaf5;
  --agent-cost-green: #526c28;
  --agent-cost-green-mid: #b7d07b;
  --agent-cost-green-pale: #e5ecd4;
  width: 100%;
  margin: 28px 0 0;
  color: var(--agent-cost-ink);
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

.editorial .agent-cost-equation__rail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0 3px 9px;
  color: var(--agent-cost-ink-soft);
  font-size: 11px;
  letter-spacing: 1.15px;
  line-height: 16px;
  text-transform: uppercase;
}

.editorial .agent-cost-equation__rail span {
  font-weight: 600;
}

.editorial .agent-cost-equation__rail strong {
  margin-left: auto;
  color: var(--agent-cost-ink-soft);
  font-size: inherit;
  font-weight: 500;
}

.agent-cost-equation__shell {
  position: relative;
  margin: 3px;
  border: 1px solid var(--agent-cost-green);
  border-radius: 3px;
  background: var(--agent-cost-paper);
  box-shadow:
    0 0 0 3px var(--agent-cost-green-pale),
    0 0 0 4px var(--agent-cost-green-mid),
    0 16px 32px rgb(45 65 31 / 9%);
}

.agent-cost-equation__surface {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--agent-cost-paper);
}

.agent-cost-equation__headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px minmax(180px, 0.72fr);
  align-items: center;
  min-height: 112px;
  padding: 20px 24px;
  border-bottom: 1px solid rgb(82 108 40 / 20%);
}

.agent-cost-equation__metric {
  color: var(--agent-cost-ink);
  font-family: "Geist", "Avenir Next", sans-serif;
  font-size: clamp(18px, 2.1vw, 23px);
  font-weight: 650;
  letter-spacing: -0.45px;
  line-height: 1.12;
  text-wrap: balance;
}

.agent-cost-equation__equals {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--agent-cost-green);
  font-size: 18px;
  font-weight: 700;
}

.agent-cost-equation__fraction {
  display: grid;
  grid-template-rows: 1fr 1fr;
  min-width: 0;
  color: var(--agent-cost-ink);
  font-size: 13px;
  letter-spacing: 0.1px;
  line-height: 20px;
  text-align: center;
}

.agent-cost-equation__fraction strong,
.agent-cost-equation__fraction span {
  display: block;
  padding: 6px 10px;
}

.agent-cost-equation__fraction strong {
  border-bottom: 1px solid var(--agent-cost-green);
  color: var(--agent-cost-green);
  font-weight: 650;
}

.agent-cost-equation__fraction span {
  color: var(--agent-cost-ink-soft);
}

.agent-cost-equation__breakdown {
  min-height: 54px;
  background: rgb(229 236 212 / 48%);
}

.agent-cost-equation__terms {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 54px;
}

.agent-cost-equation__terms span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 10px 7px;
  border-left: 1px solid rgb(82 108 40 / 14%);
  color: var(--agent-cost-ink-soft);
  font-size: 10.5px;
  line-height: 14px;
  overflow-wrap: anywhere;
  text-align: center;
  text-wrap: balance;
}

.agent-cost-equation__terms span::before {
  margin-right: 5px;
  color: var(--agent-cost-green);
  content: "$";
  font-weight: 600;
}

.agent-cost-equation__terms span:first-child {
  border-left: 0;
}

.agent-cost-intro {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin: 32px 0 0;
}

.cloud-cpu-card {
  --cloud-cpu-ink: #142027;
  --cloud-cpu-ink-soft: #43525a;
  --cloud-cpu-paper: #f8f5eb;
  --cloud-cpu-green: #526c28;
  --cloud-cpu-green-mid: #b7d07b;
  --cloud-cpu-green-pale: #e5ecd4;
  --cloud-cpu-rule: rgb(35 57 68 / 18%);
  position: relative;
  width: 16rem;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--cloud-cpu-green);
  border-radius: 4px;
  background: var(--cloud-cpu-paper);
  box-shadow:
    0 0 0 2px var(--cloud-cpu-green-pale),
    0 0 0 3px var(--cloud-cpu-green-mid),
    0 12px 24px rgb(41 61 70 / 8%);
  color: var(--cloud-cpu-ink);
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

.cloud-cpu-card::after {
  position: absolute;
  inset: 4px;
  border: 1px solid rgb(82 108 40 / 12%);
  border-radius: 2px;
  content: "";
  pointer-events: none;
}

.cloud-cpu-card__head {
  padding: 12px 16px 8px;
  border-bottom: 1px solid var(--cloud-cpu-rule);
  background: var(--cloud-cpu-green-pale);
}

.editorial .cloud-cpu-card__head h4 {
  margin: 0;
  color: var(--cloud-cpu-ink);
  font-family: "Geist", "Avenir Next", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 24px;
}

.cloud-cpu-card__body {
  padding: 12px 16px 8px;
}

.cloud-cpu-card__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.cloud-cpu-card__value strong {
  color: var(--cloud-cpu-green);
  font-family: "Geist", "Avenir Next", sans-serif;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 32px;
}

.cloud-cpu-card__value span {
  color: var(--cloud-cpu-ink-soft);
  font-size: 12px;
  line-height: 16px;
}

.cloud-cpu-card__line {
  display: block;
  width: 100%;
  height: 32px;
  margin-top: 4px;
  overflow: visible;
}

.cloud-cpu-card__line-reference {
  stroke: var(--cloud-cpu-rule);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.cloud-cpu-card__line-value {
  fill: none;
  stroke: var(--cloud-cpu-green);
  stroke-linecap: square;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.cloud-cpu-card__line-last {
  fill: var(--cloud-cpu-paper);
  stroke: var(--cloud-cpu-green);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.cloud-cpu-card figcaption {
  padding: 8px 16px 12px;
  border-top: 1px solid var(--cloud-cpu-rule);
  background: var(--cloud-cpu-green-pale);
  color: var(--cloud-cpu-ink-soft);
  font-size: 12px;
  letter-spacing: 0.2px;
  line-height: 16px;
}

.editorial .agent-cost-intro__lead p,
.editorial .agent-cost-intro__copy p {
  width: 100%;
  max-width: none;
  margin: 0;
  text-wrap: pretty;
}

.editorial .agent-cost-intro__lead {
  align-self: center;
}

.editorial .agent-cost-intro__copy {
  margin-top: 16px;
}

.editorial .agent-cost-intro__copy p + p {
  margin-top: 16px;
}

@media (max-width: 560px) {
  .editorial .compute-data-source {
    justify-content: flex-end;
    padding: 0;
    text-align: right;
  }

  .editorial .agent-cost-equation {
    margin-top: 24px;
  }

  .editorial .agent-cost-equation__rail {
    padding-bottom: 8px;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.9px;
  }

  .agent-cost-equation__headline {
    grid-template-columns: minmax(0, 1fr) 24px minmax(128px, 0.75fr);
    min-height: 96px;
    padding: 16px;
  }

  .agent-cost-equation__metric {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.25px;
  }

  .agent-cost-equation__equals {
    font-size: 16px;
  }

  .agent-cost-equation__fraction {
    font-size: 12px;
    line-height: 16px;
  }

  .agent-cost-equation__fraction strong,
  .agent-cost-equation__fraction span {
    padding: 4px;
  }

  .agent-cost-equation__terms {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .agent-cost-equation__terms span {
    grid-column: span 2;
    min-height: 48px;
    padding: 8px 6px;
    border-top: 1px solid rgb(82 108 40 / 14%);
    overflow-wrap: normal;
    word-break: normal;
    font-size: 11px;
    line-height: 15px;
  }

  .agent-cost-equation__terms span:first-child,
  .agent-cost-equation__terms span:nth-child(4) {
    border-left: 0;
  }

  .agent-cost-equation__terms span:nth-child(4),
  .agent-cost-equation__terms span:nth-child(5) {
    grid-column: span 3;
  }

  .cloud-cpu-card {
    width: min(100%, 16rem);
    margin: 0;
  }

  .agent-cost-intro {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
  }
}
