:root {
  color-scheme: light;
  font-family: "Inter", "Segoe UI", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  color: #162c36;
  background: #f5f7f9;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, section:focus-visible { outline: 3px solid #20867e; outline-offset: 4px; }
.container { width: min(100% - 48px, 960px); margin-inline: auto; }
.topbar { background: #fff; border-bottom: 1px solid #dde4e7; }
.header-row, .heading-row, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-row { min-height: 66px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 720; font-size: 1.125rem; }
.brand-mark { position: relative; width: 33px; height: 33px; border-radius: 10px; background: #075958; }
.brand-mark i { position: absolute; top: 10px; width: 8px; height: 13px; border-radius: 2px; transform: skewY(-25deg); background: #d3ffed; }
.brand-mark i:first-child { left: 8px; }
.brand-mark i:last-child { top: 8px; left: 17px; background: #70d4b2; }
nav a { display: inline-block; padding: 11px 2px; font-size: .9375rem; color: #435a62; }
nav a:hover { color: #00645b; text-decoration: underline; text-underline-offset: 4px; }
main { padding-block: clamp(28px, 5vw, 56px) 52px; }
h1, h2, h3, p { margin: 0; }
.heading-row { margin-bottom: 20px; }
h1 { font-size: clamp(1.65rem, 4vw, 2.125rem); line-height: 1.35; letter-spacing: -.035em; }
.status { display: inline-flex; gap: 8px; align-items: center; padding: 6px 11px; border: 1px solid #cfdcdb; border-radius: 2rem; font-size: .875rem; background: #fff; color: #475d60; white-space: nowrap; }
.status i { width: 7px; height: 7px; border: 2px solid #708983; border-radius: 50%; }
.balance { isolation: isolate; position: relative; overflow: hidden; border-radius: 18px; background: linear-gradient(110deg, #10312f 0%, #134a46 58%, #1d655b 100%); color: #fff; }
.balance-data { position: relative; z-index: 1; padding: 29px 34px 24px; }
.balance h2 { font-weight: 550; font-size: 1.05rem; color: #def1e9; }
.amount { font-size: 3.625rem; font-weight: 550; line-height: 1.12; padding-block: 4px; }
.balance-note { color: #d0e3dd; font-size: .9375rem; }
.last-sync { display: flex; gap: 16px; align-items: center; width: fit-content; padding-top: 18px; margin-top: 22px; border-top: 1px solid #ffffff38; color: #cee0dc; font-size: .875rem; }
.last-sync span { color: #fff; }
.pattern { position: absolute; z-index: 0; inset: 0 0 0 52%; overflow: hidden; pointer-events: none; background: radial-gradient(circle, #ffffff25 1px, transparent 1.5px) 50% 50% / 15px 15px; mask-image: linear-gradient(to right, transparent, black 34%); }
.tiles { position: absolute; width: 160px; height: 138px; right: 20%; top: 50%; transform: translateY(-50%); }
.tiles i { position: absolute; width: 112px; height: 112px; left: 24px; border-radius: 13px; border: 1.5px solid #a4e9cc93; background: #2b786c; transform: scaleY(.55) rotate(-45deg); }
.tiles i:nth-child(1) { top: 53px; background: #216159; }
.tiles i:nth-child(2) { top: 31px; }
.tiles i:nth-child(3) { top: 9px; border-color: #ace8cfc4; background: linear-gradient(135deg, #438d7e, #62ac91); }
.records { border: 1px solid #dce4e7; border-radius: 16px; background: #fff; margin-top: 24px; scroll-margin-top: 18px; }
.section-heading { padding: 20px 26px; border-bottom: 1px solid #e6ecee; }
.section-heading h2 { font-size: 1.125rem; }
.section-heading span { color: #53686f; font-size: .875rem; }
.empty { min-height: 195px; display: grid; justify-items: center; align-content: center; padding: 24px; text-align: center; }
.ledger { display: grid; align-content: center; gap: 4px; padding: 0 6px; width: 26px; height: 31px; margin-bottom: 12px; border-radius: 5px; border: 1.5px solid #6c9691; background: #eff7f5; transform: rotate(-5deg); }
.ledger i { height: 1px; background: #82a6a0; }
.ledger i:last-child { width: 65%; }
.empty h3 { font-size: 1rem; font-weight: 600; }
.empty p { margin-top: 5px; font-size: .9375rem; line-height: 1.65; color: #586c74; }
@media (max-width: 580px) {
  .container { width: calc(100% - 32px); }
  .header-row { min-height: 56px; }
  .balance-data { padding: 25px 22px 22px; }
  .pattern { left: 53%; }
  .tiles { right: 0; transform: translateY(-50%) scale(.77); }
  .section-heading { padding: 17px 20px; }
  .empty { min-height: 178px; }
}
@media (max-width: 360px) {
  .heading-row { flex-wrap: wrap; gap: 8px; }
  .pattern { opacity: .45; left: 61%; }
}
