:root{--gt-bg: #f4f6fb;--gt-sidebar: #1f2a44;--gt-sidebar-active: #2b3a5c;--gt-primary: #3f6ad8;--gt-income: #18a058;--gt-expense: #d03050;--gt-text-muted: #8a94a6}*{box-sizing:border-box}html,body,#app{height:100%;margin:0;font-family:PingFang SC,Microsoft YaHei,Helvetica Neue,Arial,sans-serif;background:var(--gt-bg);color:#1f2430}.page{padding:4px 4px 24px}.page-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.page-title h2{margin:0;font-size:20px;font-weight:600}.page-title .sub{color:var(--gt-text-muted);font-size:13px}.card{background:#fff;border-radius:12px;padding:18px 20px;box-shadow:0 2px 10px #1f2a440f}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin-bottom:16px}.stat-card{background:#fff;border-radius:12px;padding:16px 18px;box-shadow:0 2px 10px #1f2a440f;position:relative;overflow:hidden}.stat-card .label{color:var(--gt-text-muted);font-size:13px}.stat-card .value{font-size:26px;font-weight:600;margin-top:8px;letter-spacing:-.4px}.stat-card .value.income{color:var(--gt-income)}.stat-card .value.expense{color:var(--gt-expense)}.stat-card .hint{margin-top:6px;font-size:12px;color:var(--gt-text-muted)}.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:14px}.toolbar .spacer{flex:1}.money{font-variant-numeric:tabular-nums;font-weight:600}.money.income{color:var(--gt-income)}.money.expense{color:var(--gt-expense)}.empty-hint{color:var(--gt-text-muted);font-size:13px;padding:16px 0}.trend{display:flex;align-items:flex-end;gap:18px;height:180px;padding:12px 4px 0}.trend .col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:100%}.trend .bars{display:flex;align-items:flex-end;gap:4px;width:100%;justify-content:center;flex:1}.trend .bar{width:12px;border-radius:4px 4px 0 0;min-height:2px}.trend .bar.income{background:linear-gradient(180deg,#4ec98a,#18a058)}.trend .bar.expense{background:linear-gradient(180deg,#ef7289,#d03050)}.trend .month{font-size:12px;color:var(--gt-text-muted);white-space:nowrap}.legend{display:flex;gap:14px;font-size:12px;color:var(--gt-text-muted)}.legend i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px}.audit-json{background:#0f172a;color:#d5e1f5;border-radius:8px;padding:12px;font-family:Consolas,Menlo,monospace;font-size:12px;white-space:pre-wrap;word-break:break-all;max-height:240px;overflow:auto}.hash{font-family:Consolas,Menlo,monospace;font-size:11px;color:var(--gt-text-muted);word-break:break-all}.login-page{height:100%;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 20% 20%,#2b3f70,#1a2338 45%,#12192a)}.login-card{width:380px;background:#fffffffa;border-radius:16px;padding:32px 30px 26px;box-shadow:0 20px 50px #080e1e59}.login-card h1{font-size:22px;margin:0 0 6px}.login-card p.sub{color:var(--gt-text-muted);font-size:13px;margin:0 0 22px}.login-tip{margin-top:14px;font-size:12px;color:var(--gt-text-muted);line-height:1.7}.completeness{width:110px}@media(max-width:900px){.stat-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){body{overflow-x:hidden}.page{padding:0 0 18px}.page-title{flex-direction:column;align-items:stretch;gap:10px;margin-bottom:12px}.page-title h2{font-size:18px}.page-title .sub{font-size:12px;line-height:1.6}.page-title>.el-button,.page-title>.el-tooltip{width:100%}.page-title>.el-tooltip .el-button{width:100%}.page-actions{display:flex;width:100%;gap:8px}.page-actions .el-button{flex:1;margin-left:0}.card{padding:14px;border-radius:10px}.toolbar{display:flex;gap:8px}.toolbar>.el-select,.toolbar>.el-input,.toolbar>.el-date-editor{width:100%!important;min-width:0}.toolbar>.el-button{flex:1 1 calc(50% - 4px);width:calc(50% - 4px)!important;margin-left:0}.toolbar>.spacer{display:none}.toolbar>.save-state{width:100%;text-align:right}.legend{flex-wrap:wrap;gap:6px 12px}.trend{gap:8px;height:150px}.trend .bar{width:8px}.trend .month{font-size:11px}.stat-grid{gap:10px}.stat-card{padding:14px}.stat-card .value{font-size:22px}.audit-msg{white-space:normal;overflow:visible;text-overflow:clip}.el-dialog{width:calc(100vw - 24px)!important;max-width:620px;max-height:calc(88vh - 12px);margin-top:6vh!important;display:flex;flex-direction:column}.el-dialog__header{flex:none;padding:16px 16px 8px}.el-dialog__body{flex:1;min-height:0;overflow-y:auto;padding:14px 16px 6px!important}.el-dialog__footer{flex:none;padding:12px 16px 16px}.el-dialog .el-form-item{display:flex;flex-direction:column;align-items:stretch}.el-dialog .el-form-item__label{width:auto!important;justify-content:flex-start;text-align:left;margin-bottom:4px}.el-dialog .el-form-item__content{width:100%;min-width:0;margin-left:0!important}.el-drawer{width:100%!important;max-width:100vw}.el-drawer.mobile-drawer{width:260px!important}.el-message-box{width:calc(100vw - 32px)!important;max-width:420px}.el-pagination{justify-content:center!important;flex-wrap:wrap;gap:4px}}@media(max-width:560px){.stat-grid{grid-template-columns:1fr}.toolbar>.el-button{flex-basis:calc(50% - 4px)}.el-dialog{margin-top:4vh!important}}
