:root {
  color-scheme: light;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1a3238;
  background: #f1f5f5;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
.page { width: min(100% - 40px, 1050px); margin: 0 auto; padding: 58px 0 76px; }
.header { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 0 2px 26px; }
h1 { margin: 0; font-size: clamp(30px, 5vw, 42px); letter-spacing: -.035em; line-height: 1.08; font-weight: 700; }
.subtitle { margin: 10px 0 0; color: #687d80; font-size: 14px; }
.updated { margin: 0 0 3px; color: #607579; font-size: 13px; line-height: 1.4; text-align: right; white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { min-width: 0; background: #fff; border: 1px solid #dce6e5; border-radius: 15px; padding: 22px 24px 23px; }
.card-head { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; min-height: 28px; margin-bottom: 19px; }
.card-name { margin: 0; color: #1a3238; font-size: 19px; letter-spacing: -.02em; line-height: 1.25; }
.card-state { margin: 0; color: #9d5a21; font-size: 12px; text-align: right; }
.rows { display: grid; gap: 20px; }
.row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.period { color: #546d70; font-size: 13px; }
.amount { color: #184f4d; font-size: 26px; font-weight: 650; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.amount small { font-size: 15px; font-weight: 500; margin-left: 1px; }
.track { margin-top: 9px; height: 5px; background: #e8efee; border-radius: 8px; overflow: hidden; }
.fill { height: 100%; background: #34847a; border-radius: inherit; }
.fill.low { background: #c9763c; }
.row-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 14px; margin-top: 7px; color: #718486; font-size: 12px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.empty { color: #788b8d; font-size: 14px; margin: 4px 0; }
.notice { margin: 0 0 14px; padding: 12px 15px; color: #7c542d; background: #fff8ef; border: 1px solid #f2dfc6; border-radius: 10px; font-size: 13px; line-height: 1.5; }
@media (max-width: 600px) {
  .page { width: min(100% - 28px, 480px); padding: 34px 0 48px; }
  .header { align-items: flex-start; flex-direction: column; gap: 13px; padding: 0 2px 20px; }
  .updated { margin: 0; text-align: left; white-space: normal; }
  .cards { grid-template-columns: 1fr; gap: 10px; }
  .card { padding: 19px 20px 20px; border-radius: 13px; }
  .card-head { margin-bottom: 16px; }
}
