.ap-budget {
  margin-top: 1rem;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid #ceded8;
  border-radius: 14px;
  color: #20352e;
  background: #f5faf7;
  font-variant-numeric: tabular-nums;
}
.ap-budget [hidden] { display: none; }
.ap-budget header, .ap-budget form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ap-budget header { justify-content: space-between; }
.ap-budget h2 { margin: 0; font-size: 18px; font-weight: 700; }
.ap-budget dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr)); gap: 18px; margin: 18px 0 0; }
.ap-budget dt, .ap-budget small, .ap-budget [role=status] { font-size: 13px; color: #486057; }
.ap-budget dd { margin: 2px 0; font-size: clamp(21px, 2vw, 29px); line-height: 1.25; font-weight: 650; }
.ap-budget [data-value=remaining] { color: #146044; }
.ap-budget .ap-negative[data-value] { color: #9c392c; }
.ap-budget form { margin-top: 16px; align-items: end; }
.ap-budget label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.ap-budget button, .ap-budget input { border: 1px solid #96afa3; border-radius: 8px; background: white; color: #234c39; font: inherit; padding: 7px 12px; }
.ap-budget button { font-size: 13px; font-weight: 600; cursor: pointer; }
.ap-budget button:hover { background: #e5f1ea; }
.ap-budget button[type=submit] { color: white; background: #226346; }
.ap-budget :is(button,input):focus-visible { outline: 2px solid #236c50; outline-offset: 2px; }
.ap-budget [role=status]:not(:empty) { margin: 12px 0 0; }
.ap-budget [role=status]:empty { display: none; }
.ap-dates { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.ap-dates label { display: flex; align-items: center; gap: 6px; }
.ap-budget details { margin-top: 14px; font-size: 13px; }
.ap-budget summary { cursor: pointer; width: fit-content; }
.ap-budget details li { margin-top: 4px; }
