.hp-page{--hp-ink: #16302a;--hp-line: #e4e9e1;--hp-green: #0f9d58;--hp-vermilion: #c8452b;--hp-muted: #7a857e;color:var(--hp-ink)}.hp-num{font-family:ui-monospace,SF Mono,Cascadia Code,JetBrains Mono,Consolas,monospace;font-variant-numeric:tabular-nums}.hp-card-extra{font-size:12px;color:var(--hp-muted)}.hp-hero-card{margin-bottom:16px}.hp-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:16px;align-items:stretch;margin-bottom:16px}.hp-hero-head{display:flex;align-items:baseline;justify-content:space-between}.hp-hero-date{font-size:15px;font-weight:600}.hp-hero-date .hp-date-detail{margin-left:4px;font-size:13px;font-weight:400;color:var(--hp-muted)}.hp-hero-hint{font-size:12px;color:var(--hp-muted)}.hp-strip{display:flex;align-items:center;gap:20px;margin:20px 0 16px}.hp-strip-line{flex:1;min-width:0;height:40px}.hp-strip-line svg{display:block;width:100%;height:40px;overflow:visible}.hp-pulse-path{animation:hp-draw 2.4s cubic-bezier(.4,0,.2,1) forwards}@keyframes hp-draw{to{stroke-dashoffset:0}}.hp-strip-readout{display:flex;align-items:center;gap:8px;white-space:nowrap}.hp-live-dot{width:8px;height:8px;border-radius:50%;background:var(--hp-green);animation:hp-blink 1.6s ease-in-out infinite}@keyframes hp-blink{0%,to{opacity:1}50%{opacity:.3}}.hp-bpm{font-size:40px;font-weight:600;letter-spacing:-1px;line-height:1}.hp-readout-meta{display:flex;flex-direction:column;line-height:1.25}.hp-unit{font-size:12px;font-weight:400;color:var(--hp-muted)}.hp-metrics{display:flex;padding-top:14px;border-top:1px solid var(--hp-line)}.hp-metric{flex:1;min-width:0;padding:0 16px;border-left:1px solid var(--hp-line)}.hp-metric:first-child{padding-left:0;border-left:none}.hp-metric-label{margin-bottom:4px;font-size:12px;color:var(--hp-muted)}.hp-metric-value{font-size:20px;font-weight:600;line-height:1.3}.hp-metric .hp-unit{margin-top:2px}.hp-mood-line{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:13px;color:var(--hp-muted)}.hp-mood-dot{flex:none;width:8px;height:8px;border-radius:50%}.hp-note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hp-hero-empty .hp-strip-line{margin-bottom:16px}.hp-hero-empty-title{font-size:16px;font-weight:600}.hp-hero-empty-text{margin-top:6px;font-size:13px;color:var(--hp-muted)}.hp-trend-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:8px}.hp-delta{padding:2px 8px;border-radius:999px;font-size:12px;font-weight:600}.hp-delta.down{color:var(--hp-green);background:#e8f6ef}.hp-delta.up{color:var(--hp-vermilion);background:#fdeeea}.hp-delta.flat{color:var(--hp-muted);background:#eef1ec}.hp-trend-range{font-size:12px;color:var(--hp-muted)}.hp-trend-svg{display:block;width:100%;height:auto}.hp-trend-label{font-size:11px;fill:var(--hp-ink)}.hp-trend-axis{font-size:10px;fill:var(--hp-muted)}.hp-trend-empty{padding:26px 0;text-align:center;font-size:13px;color:var(--hp-muted)}.hp-summary{display:grid;grid-template-columns:repeat(2,1fr);gap:14px 20px}.hp-summary-item{min-width:0}.hp-summary-label{display:block;margin-bottom:6px;font-size:12px;color:var(--hp-muted)}.hp-summary-value{font-size:22px;font-weight:600}.hp-summary-value .hp-unit{margin-left:3px}.hp-today-tag{margin-left:8px;padding:1px 6px;border-radius:4px;font-size:11px;color:var(--hp-green);background:#e8f6ef}.hp-mood{display:inline-flex;align-items:center;gap:6px}.hp-form-section{display:flex;align-items:center;gap:10px;margin:2px 0 12px;font-size:12px;letter-spacing:2px;color:var(--hp-muted)}.hp-form-section:after{flex:1;height:1px;background:var(--hp-line);content:""}.hp-mood-slider .ant-slider-mark-text{font-size:13px}@media (prefers-reduced-motion: reduce){.hp-live-dot{animation:none}}:root{--ink: #16302a;--paper: #f6f9f5;--line: #e4e9e1;--line-soft: #edf1ea;--green: #0f9d58;--vermilion: #c8452b;--expense: #d6452a;--muted: #7a857e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{min-width:1080px;background:var(--paper)}.num{font-family:ui-monospace,SF Mono,Cascadia Code,JetBrains Mono,Consolas,monospace;font-variant-numeric:tabular-nums}.page-loading{display:flex;align-items:center;justify-content:center;height:100vh}.page-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px}.page-title{margin:0;font-size:20px;font-weight:700;letter-spacing:.5px;color:var(--ink)}.page-subtitle{margin-top:4px;font-size:12px;color:var(--muted)}.toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:16px}.toolbar-spacer{flex:1}.stat-strip{display:flex;margin-bottom:16px;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:10px}.stat-strip-item{flex:1;min-width:0;padding:16px 20px;border-left:1px solid var(--line)}.stat-strip-item:first-child{border-left:none}.stat-strip-label{display:block;margin-bottom:6px;font-size:12px;color:var(--muted)}.stat-strip-value{font-size:24px;font-weight:700;line-height:1.2}.stat-strip-value .unit{margin-left:4px;font-size:12px;font-weight:400;color:var(--muted)}.mini-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:14px 20px}.mini-stats-item{min-width:0}.mini-stats-label{display:block;margin-bottom:4px;font-size:12px;color:var(--muted)}.mini-stats-value{font-size:18px;font-weight:600}.mini-stats-value .unit{margin-left:4px;font-size:12px;font-weight:400;color:var(--muted)}.dash-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:16px;align-items:stretch;margin-bottom:16px}.dash-grid>.ant-card{display:flex;flex-direction:column}.dash-grid>.ant-card .ant-card-body{flex:1}.dash-side{display:flex;flex-direction:column;gap:16px}.dash-side>.ant-card{flex:1}.card-link{font-size:12px;color:var(--muted)}.card-link:hover{color:var(--green)}.dash-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:32px 0}.dash-empty-text{font-size:13px;color:var(--muted)}.dash-empty-link{font-size:13px}.acct-list{display:flex;flex-direction:column}.acct-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line-soft)}.acct-row:last-child{border-bottom:none}.acct-dot{flex:none;width:8px;height:8px;border-radius:50%}.acct-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.acct-currency{margin-left:8px;font-size:12px;color:var(--muted)}.acct-balance{font-size:14px;font-weight:600}.cat-name{display:inline-flex;align-items:center}.cat-icon{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;margin-right:10px;border-radius:7px;font-size:13px}.amount-income{color:var(--green);font-weight:600}.amount-expense{color:var(--expense);font-weight:600}.muted{color:var(--muted)}.type-tag{display:inline-block;padding:1px 8px;border-radius:4px;font-size:12px;line-height:20px}.type-tag.income{color:var(--green);background:#e8f6ef}.type-tag.expense{color:var(--expense);background:#fdeeea}body .ant-tag-green{color:var(--green);background:#e8f6ef;border-color:#c9ead8}body .ant-tag-red{color:var(--expense);background:#fdeeea;border-color:#f4cdc2}.seal-mark{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;background:var(--vermilion);color:#fff;font-size:24px;font-weight:700;box-shadow:0 3px 8px #c8452b59;transform:rotate(-6deg)}.seal-mark.sm{width:30px;height:30px;border-radius:8px;font-size:16px;box-shadow:none;transform:none}.auth-page{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:40px 24px;background:var(--paper)}.auth-shell{display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:960px;min-height:560px;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 64px #16302a1a}.auth-aside{padding:48px;background:repeating-linear-gradient(to bottom,transparent 0 31px,rgba(22,48,42,.045) 31px 32px),var(--paper)}.auth-aside h1{margin:28px 0 12px;font-size:28px;font-weight:700;line-height:1.35;color:var(--ink)}.auth-aside p{margin:0;font-size:14px;line-height:1.7;color:var(--muted)}.auth-points{margin:36px 0 0;padding:0;list-style:none;border-top:1px solid var(--line)}.auth-points li{display:flex;align-items:center;gap:10px;padding:14px 2px;border-bottom:1px solid var(--line);font-size:13px;color:#4b5a52}.auth-points .dot{flex:none;width:6px;height:6px;border-radius:50%;background:var(--green)}.auth-main{display:flex;align-items:center;justify-content:center;padding:48px}.auth-card{width:100%;max-width:360px}.auth-brand{margin-bottom:28px}.auth-brand h1{margin:0 0 6px;font-size:24px;font-weight:700;color:var(--ink)}.auth-brand p{margin:0;font-size:13px;color:var(--muted)}.auth-foot{margin-top:8px;font-size:13px;color:var(--muted)}.perm-row{display:flex;align-items:flex-start;gap:12px;padding:10px 0;border-bottom:1px solid var(--line-soft)}.perm-row:last-child{border-bottom:none;padding-bottom:0}.perm-row:first-child{padding-top:0}.perm-row-label{flex:none;width:34px;font-size:13px;font-weight:600;line-height:22px;color:var(--ink)}.perm-row-tags{display:flex;flex-wrap:wrap;gap:6px}.perm-groups{display:flex;flex:1;flex-direction:column;gap:10px}.perm-group{display:flex;align-items:flex-start;gap:12px}.perm-group-name{flex:none;width:34px;font-size:12px;line-height:22px;color:var(--muted)}.perm-group-tags{display:flex;flex-wrap:wrap;gap:6px}.op-link.ant-btn{color:#4b5a52}.op-link.ant-btn:hover{color:var(--ink);background:#f4f8f3}.op-link.ant-btn-dangerous{color:var(--expense)}.op-link.ant-btn-dangerous:hover{color:#a83822;background:#fdeeea}.nf-page{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;text-align:center}.nf-code{font-size:72px;font-weight:700;letter-spacing:4px;color:var(--ink)}.nf-title{margin-top:8px;font-size:18px;font-weight:600}.nf-text{margin:8px 0 24px;font-size:13px;color:var(--muted)}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
