:root {
  font-family: "PingFang SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  color: #23383d;
  background: #f7f6f2;
  font-size: 14px;
  --ink: #183a40;
  --muted: #718389;
  --line: #e5e8e3;
  --coral: #c5685f;
  --coral-dark: #a94e46;
  --cream: #f7f6f2;
  --sage: #608576;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: 0; border-radius: 10px; padding: 11px 16px; background: var(--coral); color: white; font-weight: 650; transition: background .18s, transform .18s, box-shadow .18s; }
button:hover { background: var(--coral-dark); transform: translateY(-1px); box-shadow: 0 5px 12px #983b311c; }
button:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #d8a18d; outline-offset: 2px; }
.secondary { background: #e7eeeb; color: var(--ink); }
.secondary:hover { background: #d8e5de; }
.danger { background: #b42318; }
.outline { border: 1px solid #d9e1dc; background: #fff; color: var(--ink); }
.outline:hover { background: #f4f8f5; }
input, select, textarea { width: 100%; border: 1px solid #dce3df; border-radius: 10px; padding: 11px 12px; background: #fff; color: var(--ink); min-height: 42px; }
textarea { min-height: 86px; resize: vertical; }
label { display: block; color: #61757a; font-size: 12px; font-weight: 650; margin-bottom: 7px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: "Songti SC", "STSong", serif; font-size: 30px; letter-spacing: -.02em; }
h2 { font-size: 18px; letter-spacing: -.02em; }
h3 { font-size: 15px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 9px 30px #19393d0b; padding: 22px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; background: #edf3f1; color: #426b64; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill.warn { background: #fbf0df; color: #9b652d; }
.pill.good { background: #e8f3ec; color: #397355; }
.pill.bad { background: #fce8e4; color: #b2463e; }
.grid { display: grid; gap: 16px; }
.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.field { margin-bottom: 15px; }
.actions { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.notice { padding: 13px 15px; border-radius: 12px; background: #fbf2e6; color: #8b5e32; margin: 12px 0; line-height: 1.55; }
.success { background: #e9f4ed; color: #316b4d; }
.error { background: #fbe9e6; color: #ac4038; }
.empty { padding: 36px 20px; text-align: center; color: #839391; line-height: 1.7; }
.money { font-variant-numeric: tabular-nums; font-weight: 750; }
.divider { height: 1px; background: #e9eee9; margin: 20px 0; }
.list { display: grid; gap: 10px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topline { padding: 12px 0; border-bottom: 1px solid #eef0eb; }
.topline:last-child { border-bottom: 0; }
@media (max-width: 760px) { .two, .three { grid-template-columns: 1fr; } .card { padding: 18px; } }
