:root {
  color-scheme: light;
  --bg: #f7f7f1;
  --paper: #fffefa;
  --ink: #26372e;
  --muted: #68746a;
  --line: #dcded2;
  --green: #234f3e;
  --light: #e6eedf;
  --rust: #a34e34;
  --coral: #f3e2d6;
  --shadow: 0 4px 12px #343b2605;
  --number: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #54866a;
}
button {
  touch-action: manipulation;
}
svg.ic {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -0.18em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.top {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.top-inner,
main,
footer {
  width: min(1200px, calc(100% - 96px));
  margin: auto;
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.32rem;
  letter-spacing: 0.015em;
  font-weight: 760;
  padding: 0;
  white-space: nowrap;
}
.book-mark {
  width: 33px;
  height: 37px;
  background: var(--green);
  border-radius: 3px 6px 5px 3px;
  position: relative;
  box-shadow: inset 5px 0 #163c2f;
  transform: rotate(-6deg);
  border-bottom: 3px solid #c1c7a2;
}
.book-mark:before,
.book-mark:after {
  content: "";
  position: absolute;
  left: 11px;
  height: 2px;
  width: 13px;
  background: #e9e8c1;
  top: 11px;
}
.book-mark:after {
  width: 8px;
  top: 16px;
}
.book-mark i {
  position: absolute;
  right: 5px;
  bottom: -5px;
  width: 5px;
  height: 8px;
  background: #b1b87b;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
}
nav {
  display: flex;
  gap: 8px;
  align-items: center;
}
nav button,
.seg button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 520;
  padding: 10px 15px;
  border-radius: 7px;
  white-space: nowrap;
}
nav button.active {
  background: #eaf0e3;
  color: var(--green);
  font-weight: 650;
}
nav button:hover,
.quiet:hover,
.icon-btn:hover {
  background: #eceee5;
}
.local {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.875rem;
  white-space: nowrap;
}
main {
  padding-top: 43px;
  outline: none;
}
.heading,
.section-head,
.row,
.card-head,
.footer-row,
.list-row,
.cat-row {
  display: flex;
  align-items: center;
}
.heading,
.section-head,
.footer-row,
.cat-row {
  justify-content: space-between;
  gap: 16px;
}
.heading {
  margin: 0 0 24px;
  min-height: 49px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.25;
  letter-spacing: -0.045em;
  font-weight: 710;
}
h2 {
  font-size: 1.2rem;
  letter-spacing: -0.035em;
  font-weight: 685;
}
h3 {
  font-size: 1.03rem;
  font-weight: 650;
}
.tools,
.month,
.btn,
.quiet,
.seg,
.filter-strip,
.panel-title,
.input-label,
.type-choice,
.chip,
.tag,
.btn-line {
  display: inline-flex;
  align-items: center;
}
.tools {
  gap: 12px;
}
.month {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 3px;
  gap: 1px;
}
.month > button {
  padding: 6px 7px;
}
.month-wrap {
  position: relative;
  display: flex;
}
.month-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.89rem;
  font-weight: 570;
  padding: 6px 8px;
  min-height: 32px;
}
.month-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 3;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 8px 26px #192e231a;
  min-width: 240px;
}
.month-pop[hidden] {
  display: none;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 12px;
}
.month-grid button,
.year-line button {
  padding: 7px;
  border-radius: 6px;
  font-size: 0.9rem;
}
.month-grid button:hover,
.year-line button:hover {
  background: #edf1e7;
}
.month-grid button.selected {
  background: var(--green);
  color: white;
}
.year-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.btn,
.quiet,
.icon-btn,
.btn-line {
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-weight: 610;
  line-height: 1.35;
}
.btn {
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  min-height: 43px;
  font-size: 0.94rem;
}
.btn:hover {
  background: #183f30;
}
.quiet,
.btn-line {
  font-size: 0.89rem;
  padding: 9px 12px;
}
.btn-line {
  border: 1px solid var(--line);
  background: var(--paper);
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  min-width: 30px;
  min-height: 30px;
  padding: 6px;
  color: var(--muted);
}
.stats {
  display: grid;
  grid-template-columns: 1.28fr 1fr 1fr;
  gap: 16px;
}
.stat,
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
}
.stat {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 22px 25px 20px;
  min-height: 171px;
}
.stat.hero {
  isolation: isolate;
  background: #214b3b;
  color: #f8f8ec;
  border-color: #214b3b;
}
.guilloche {
  position: absolute;
  right: -117px;
  bottom: -155px;
  width: 345px;
  height: 330px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    ellipse at center,
    transparent 0 5px,
    #bfd4a850 5.3px 5.9px,
    transparent 6.2px 8.5px
  );
  transform: rotate(-30deg) skewY(-18deg);
  z-index: -1;
}
.guilloche:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: translate(-17px, -4px) skewX(-12deg);
  background: inherit;
}
.card-head {
  gap: 10px;
  font-weight: 600;
  font-size: 0.94rem;
}
.stat-icon,
.cat-icon,
.panel-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
}
.stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--light);
  color: #51745c;
}
.hero .stat-icon {
  background: #ffffff1c;
  color: #eef3df;
}
.expense .stat-icon {
  background: var(--coral);
  color: var(--rust);
}
.amount {
  margin: 17px 0 12px;
  display: flex;
  align-items: baseline;
  gap: 7px;
  line-height: 1;
  font-family: var(--number);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.amount b {
  font-weight: 600;
  letter-spacing: -0.045em;
  font-size: clamp(1.88rem, 3.3vw, 2.85rem);
}
.amount b.long {
  font-size: clamp(1.1rem, 2.1vw, 1.9rem);
}
.amount .unit {
  font-size: 1rem;
  font-weight: 570;
}
.stat small {
  font-size: 0.82rem;
  color: var(--muted);
}
.hero small {
  color: #cedac9;
}
.income .amount {
  color: #36654b;
}
.expense .amount {
  color: #a85539;
}
.board {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  gap: 20px;
  margin-top: 24px;
  align-items: stretch;
}
.panel {
  padding: 23px 24px;
  min-width: 0;
}
.section-head {
  min-height: 34px;
}
.panel-title {
  gap: 10px;
}
.panel-icon {
  color: #6b8164;
}
.panel-icon svg {
  width: 21px;
  height: 21px;
}
.seg {
  padding: 3px;
  background: #f1f2eb;
  border-radius: 8px;
  gap: 2px;
}
.seg button {
  font-size: 0.87rem;
  padding: 5px 10px;
  border-radius: 5px;
}
.seg .chosen {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 1px 4px #1225121e;
  font-weight: 610;
}
.ledger-panel {
  display: flex;
  flex-direction: column;
}
.ledger-body {
  flex: 1;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 268px;
  gap: 8px;
}
.empty p {
  font-size: 0.89rem;
  color: var(--muted);
}
.empty h3 {
  margin-top: 6px;
}
.empty-action {
  color: var(--green);
  font-size: 0.91rem;
  font-weight: 650;
  padding: 5px;
}
.paper-art {
  position: relative;
  width: 100px;
  height: 80px;
  margin-bottom: 3px;
}
.paper-art:before {
  content: "";
  position: absolute;
  width: 82px;
  height: 8px;
  left: 8px;
  bottom: 4px;
  background: #e8e8dc;
  border-radius: 50%;
}
.stub {
  position: absolute;
  width: 45px;
  height: 58px;
  left: 18px;
  top: 10px;
  background: repeating-linear-gradient(0deg, #dce7d2 0px 8px, #becfb2 8px 9px);
  border: 1.5px solid #90a481;
  transform: rotate(-15deg);
  border-radius: 3px;
}
.receipt {
  position: absolute;
  left: 31px;
  top: 2px;
  width: 43px;
  height: 63px;
  background: #fffcdf;
  border: 1.5px solid #92977b;
  transform: rotate(9deg);
  border-radius: 2px;
  box-shadow: inset 0 -5px #ece9c7;
}
.receipt:before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  width: 19px;
  height: 3px;
  background: #92a17f;
  box-shadow:
    0 10px 0 -1px #a9b79b,
    5px 16px 0 -1px #a9b79b,
    0 26px 0 -1px #a9b79b;
}
.coin {
  position: absolute;
  width: 27px;
  height: 27px;
  bottom: 8px;
  right: 14px;
  display: grid;
  place-items: center;
  border: 1.5px solid #9f8f52;
  background: #eadca0;
  border-radius: 50%;
  box-shadow: -2px 2px 0 #c4b271;
  color: #887c46;
  font: 600 14px var(--number);
  transform: rotate(14deg);
}
.footer-row {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  color: var(--muted);
  font-size: 0.84rem;
}
.footer-row button {
  color: var(--green);
  font-weight: 600;
  padding: 3px 0;
}
.breakdown .section-head {
  gap: 6px;
}
.donut-area {
  display: grid;
  place-items: center;
  padding: 22px 0 20px;
}
.donut {
  display: grid;
  place-items: center;
  width: 154px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e5e8dc;
}
.donut-hole {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 73%;
  height: 73%;
  background: var(--paper);
  border-radius: 50%;
  gap: 2px;
}
.donut-hole strong {
  font: 580 2rem var(--number);
  line-height: 1.1;
}
.donut-hole span {
  font-size: 0.79rem;
  color: var(--muted);
}
.legend-empty {
  margin-top: 2px;
  padding: 16px 0 0;
  text-align: center;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.89rem;
}
.legend {
  display: grid;
  gap: 11px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
}
.legend-item i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex: none;
}
.legend-item span {
  overflow-wrap: anywhere;
}
.legend-item b {
  margin-left: auto;
  font: 550 0.91rem var(--number);
  white-space: nowrap;
}
.legend-item small {
  width: 43px;
  text-align: right;
  color: var(--muted);
}
footer {
  color: var(--muted);
  font-size: 0.8rem;
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: center;
  padding: 29px 0 32px;
}
.small-book {
  display: inline-flex;
}
.rows {
  margin: 12px 0;
}
.list-row {
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #e9ebe2;
}
.list-row:last-child {
  border: 0;
}
.cat-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--tint);
  color: var(--accent);
}
.list-copy {
  min-width: 0;
  flex: 1;
}
.list-copy strong,
.cat-row strong {
  font-size: 0.94rem;
  font-weight: 610;
  overflow-wrap: anywhere;
}
.list-copy p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.list-money {
  font: 600 0.99rem var(--number);
  text-align: right;
  white-space: nowrap;
}
.positive {
  color: #346749;
}
.negative {
  color: #a95439;
}
.actions {
  display: flex;
  gap: 2px;
}
.actions .icon-btn {
  font-size: 0.88rem;
}
.list-date {
  font-size: 0.79rem;
  color: var(--muted);
  text-align: right;
  margin-top: 4px;
}
.filter-strip {
  gap: 15px;
  flex-wrap: wrap;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}
.search input {
  width: min(260px, 40vw);
  border: 0;
  padding: 0;
  background: transparent;
  outline: 0;
}
.search:focus-within {
  outline: 2px solid #54866a;
}
.search input:focus {
  outline: 0;
}
.list-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.records-panel .footer-row {
  margin-top: 10px;
}
.category-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.category-board .section-head {
  margin-bottom: 12px;
}
.cat-row {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  gap: 12px;
}
.cat-row .row {
  gap: 12px;
  min-width: 0;
}
.category-board .count {
  color: var(--muted);
  font-size: 0.84rem;
}
.category-board .cat-icon {
  width: 33px;
  height: 33px;
}
.empty.compact {
  min-height: 150px;
}
dialog {
  padding: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 16px 60px #152b241e;
}
dialog::backdrop {
  background: #172d246b;
}
.drawer {
  border-radius: 18px 0 0 18px;
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(530px, 100vw);
  height: 100%;
  max-height: 100dvh;
  max-width: 100%;
}
.drawer form {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
}
.dialog-top h2 {
  font-size: 1.4rem;
}
.dialog-body {
  flex: 1;
  overflow: auto;
  padding: 22px 25px;
}
.dialog-body > label,
.block-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.field,
input.text,
textarea,
select {
  width: 100%;
  font-size: 1rem;
  padding: 10px 12px;
  background: #fffefa;
  border: 1px solid #ccd2c5;
  border-radius: 8px;
  line-height: 1.4;
}
.field {
  min-width: 0;
}
.form-group {
  margin-bottom: 20px;
}
.type-choice {
  display: flex;
  background: #eef0e7;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}
.type-choice button {
  flex: 1;
  border-radius: 7px;
  padding: 9px;
  font-weight: 610;
  color: var(--muted);
}
.type-choice button.selected {
  background: var(--green);
  color: white;
}
.type-choice button.selected[data-type="expense"] {
  background: #8f4934;
}
.group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}
.group-heading .block-label {
  margin: 0;
}
.text-btn {
  color: var(--green);
  font-size: 0.89rem;
  font-weight: 600;
  padding: 4px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.chip {
  position: relative;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 0.89rem;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.chip input {
  accent-color: var(--green);
  width: 15px;
  height: 15px;
  margin: 0;
  flex: none;
}
.chip:has(input:checked) {
  background: #eaf0e3;
  border-color: #779079;
}
.line-entry {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px;
  background: #f8f9f3;
}
.line-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.line-head .cat-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  font-size: 0.84rem;
}
.line-head b {
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.line-entry label {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  margin: 9px 0 5px;
}
.line-entry textarea {
  resize: vertical;
  min-height: 60px;
}
.dialog-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding: 15px 25px;
  background: var(--paper);
}
.error {
  color: #983e2e;
  font-size: 0.88rem;
  line-height: 1.5;
}
.error:not(:empty) {
  background: #f8eae1;
  padding: 10px 13px;
  border-radius: 8px;
}
.dialog-foot .error {
  width: 100%;
}
.form-hint {
  color: var(--muted);
  font-size: 0.87rem;
}
.prompt {
  width: min(410px, calc(100vw - 32px));
  border-radius: 15px;
}
.prompt .dialog-body {
  display: grid;
  gap: 12px;
}
.prompt p {
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.prompt .dialog-body label {
  margin: 0;
}
.danger {
  background: #964a34;
}
.danger:hover {
  background: #783923;
}
body:has(dialog[open]) {
  overflow: hidden;
}
#notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #233e31;
  color: #fff;
  padding: 11px 19px;
  border-radius: 10px;
  box-shadow: 0 4px 22px #142b252b;
  font-size: 0.91rem;
  z-index: 6;
  max-width: 90vw;
  pointer-events: none;
}
#notice:empty {
  display: none;
}
@media (min-width: 1550px) {
  main {
    padding-top: 56px;
  }
}
@media (max-width: 1020px) {
  .top-inner,
  main,
  footer {
    width: calc(100% - 48px);
  }
  .top-inner {
    gap: 24px;
  }
  .board {
    grid-template-columns: minmax(0, 1.45fr) minmax(265px, 1fr);
  }
  .panel {
    padding: 19px;
  }
  .stat {
    padding: 20px;
  }
  .actions .icon-btn {
    padding: 4px;
  }
  .ledger-panel .list-row {
    gap: 8px;
  }
}
@media (max-width: 750px) {
  .top-inner,
  main,
  footer {
    width: calc(100% - 32px);
  }
  .top-inner {
    flex-wrap: wrap;
    gap: 0;
    min-height: 0;
    padding-top: 15px;
  }
  .brand {
    font-size: 1.18rem;
  }
  .book-mark {
    transform: scale(0.9) rotate(-6deg);
    margin-right: -2px;
  }
  .local {
    font-size: 0.8rem;
  }
  .top-inner nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    margin: 12px 0 8px;
    gap: 3px;
  }
  nav button {
    flex: 1;
    padding: 8px 4px;
    font-size: 0.87rem;
    gap: 5px;
  }
  main {
    padding-top: 24px;
  }
  .heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 13px;
    margin-bottom: 17px;
  }
  .tools {
    flex-wrap: wrap;
    gap: 8px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat.hero {
    grid-column: 1/-1;
    min-height: 135px;
  }
  .stat {
    min-height: 124px;
    padding: 15px;
  }
  .card-head {
    font-size: 0.88rem;
    gap: 7px;
  }
  .stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }
  .amount {
    margin: 14px 0 8px;
  }
  .hero .amount b {
    font-size: 2.45rem;
  }
  .hero .amount b.long {
    font-size: 1.85rem;
  }
  .board,
  .category-board {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 16px;
  }
  .breakdown {
    order: 2;
  }
  .panel {
    padding: 17px;
  }
  .empty {
    min-height: 225px;
  }
  .guilloche {
    right: -62px;
    width: 310px;
  }
  .empty p {
    max-width: 85%;
  }
  .category-board {
    margin-top: 0;
  }
  .section-head {
    gap: 8px;
  }
  .seg button {
    padding: 5px 8px;
  }
  .row-actions {
    gap: 0;
  }
  .records-panel .list-row,
  .ledger-panel .list-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 4px 8px;
  }
  .list-row .actions {
    grid-column: 2/-1;
    justify-content: flex-end;
  }
  .list-row .cat-icon {
    width: 30px;
    height: 30px;
  }
  .stat small {
    font-size: 0.78rem;
  }
  .dialog-top,
  .dialog-body,
  .dialog-foot {
    padding-left: 17px;
    padding-right: 17px;
  }
}
@media (max-width: 480px) {
  .heading {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .heading .tools:has(.month) {
    display: contents;
  }
  .heading .month {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }
  .heading .tools .new-entry {
    grid-column: 2;
    grid-row: 1;
  }
  .btn {
    padding: 10px 14px;
  }
  .panel-title {
    gap: 7px;
  }
  .panel-title h2 {
    font-size: 1.08rem;
  }
  .month-pop {
    right: auto;
    left: -30px;
  }
  .seg button {
    font-size: 0.82rem;
  }
  .drawer {
    border-radius: 0;
  }
  .search {
    flex: 1;
  }
  .search input {
    width: 100%;
  }
  .filter-strip {
    width: 100%;
  }
}
.coin {
  font-size: 9px;
  letter-spacing: -0.05em;
}
.dialog-foot .save-status {
  flex-basis: 100%;
  font-size: 0.88rem;
  color: var(--green);
}
