.ac-home .ac-cost {
  width: min(84%, 1320px);
  margin: clamp(40px, 7vw, 100px) auto;
}
.ac-cost {
  min-width: 0;
  margin: 2rem 0;
  padding: clamp(18px, 3.5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
}
.ac-cost .ac-cost-header { margin: 0 0 1.5rem; }
.ac-cost .ac-cost-header h2 {
  margin: 0 0 .65rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
}
.ac-cost p {
  margin: 0;
  color: #3d5269;
  font-size: .95rem;
  line-height: 1.55;
}
.ac-cost [hidden] { display: none !important; }
.ac-cost-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-bottom: 1.3rem;
}
.ac-cost-controls fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.ac-cost-controls legend {
  margin: 0 0 .5rem;
  padding: 0;
  font-size: .875rem;
  font-weight: 700;
}
.ac-cost-radio {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.ac-cost-radio label {
  position: relative;
  margin: 0;
  cursor: pointer;
}
.ac-cost-radio input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.ac-cost-radio span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .8rem;
  border: 1px solid #839797;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
}
.ac-cost-radio input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.ac-cost :is(a, input):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ac-cost-radio input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.ac-cost .ac-cost-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.ac-cost-panel {
  margin: 0 0 14px;
  padding: clamp(14px, 2.5vw, 26px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.ac-cost-panel h3 {
  margin: 0 0 1.15rem;
  color: var(--ink);
  font-size: 1.15rem;
}
.ac-cost .ac-cost-panel ul {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ac-cost .ac-cost-item {
  --ac-cost-color: var(--accent);
  margin: 0;
  padding: 0;
}
.ac-cost-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .2rem .85rem;
}
.ac-cost-item-head a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
.ac-cost-item-head strong {
  font-size: 1.22rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ac-cost .ac-cost-item p { margin: .15rem 0 .55rem; }
.ac-cost-track { height: 9px; overflow: hidden; border-radius: 8px; background: var(--canvas); }
.ac-cost-track span {
  display: block;
  width: var(--ac-cost-share);
  height: 100%;
  border-radius: inherit;
  background: var(--ac-cost-color);
}
.ac-cost .ac-cost-notes p + p { margin-top: .65rem; }
.ac-cost .ac-cost-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.2rem;
}
.ac-cost-notes a { color: var(--accent-hover); text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 700px) {
  .ac-home .ac-cost { width: calc(100% - 32px); }
  .ac-cost-item-head strong { font-size: 1.12rem; }
}
