:root{--green:#3566d7;--muted:#6b7f98;--line:#dce5f2;color:#20334d;background:#edf3fb;font-family:"Segoe UI","Microsoft YaHei","PingFang SC",system-ui,sans-serif}body{background:radial-gradient(ellipse at 8% 10%,#dce8fb 0,transparent 45%),radial-gradient(ellipse at 95% 4%,#d9e1fa 0,transparent 40%),linear-gradient(135deg,#f5f8fc,#edf3fa 55%,#e8f0fa);background-attachment:fixed;color:#21334d}.sidebar{width:220px;background:#ffffff73;backdrop-filter:blur(24px);border-right:1px solid #ffffffd9;padding:31px 21px}.brand{font-size:22px;letter-spacing:0}.brand-mark{background:linear-gradient(140deg,#528cf0,#3a60cd);border-radius:14px;width:42px;height:44px;box-shadow:0 7px 20px #4f78ce33}.brand small{color:#7b8da6;letter-spacing:1px}.nav-caption{color:#8a9bb2;font-size:10px;margin-top:47px}.nav-item{font-size:13px;color:#647c99;margin-bottom:10px;padding:14px 12px;min-height:46px}.nav-item.active{background:#e4edfc;color:#3868c8;border:1px solid #cddcf5;box-shadow:0 4px 14px #5e7ca00a}.nav-item>span{font-size:19px}.side-note{color:#8b9db6}.side-note p{color:#7188a4}.tiny-dot{background:#6085db}main{margin-left:220px;width:calc(100% - 220px);padding:0 38px 35px;max-width:none}.topbar{height:76px;border-color:#dce5f2;font-size:11px}.breadcrumb{color:#96a6bc}.breadcrumb b{color:#576e8b}.privacy-pill{background:#f7faffb8;border-color:#d8e4f4;color:#607a9e;padding:7px 12px}.page-heading{margin:30px 0 25px;gap:20px}.page-heading h1{font-size:29px;color:#213b5b;font-weight:650;letter-spacing:-.5px;margin-bottom:9px}.eyebrow{font-size:9px;letter-spacing:2px;color:#8196b1}.muted{color:#7186a0;font-size:12px;line-height:1.9}.heading-actions{display:flex;gap:10px;align-items:center}.primary,.secondary,.subtle{min-height:43px;font-size:12px;border-radius:10px;padding:11px 16px}.primary{background:linear-gradient(130deg,#3a70df,#4a7fe9);box-shadow:0 6px 18px #4a74c52e;color:#fff}.secondary{color:#526f96;background:#ffffffa6;border:1px solid #d6e2f3;box-shadow:0 2px 8px #87a0bd08}.subtle{background:#f2f6fd;color:#6e83a0}.text-button{color:#426ec7;font-size:11px;line-height:1.6}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.summary,.glass-panel,.records-panel,.execution-panel{border:1px solid #ffffffde;box-shadow:0 10px 26px #6d87ac0d,inset 0 1px 0 #ffffffd1;background:#ffffffb8;backdrop-filter:blur(18px);border-radius:17px}.summary{padding:22px 23px;min-height:156px}.summary>span:first-child{color:#7187a2;font-size:12px}.summary strong{font-size:32px;font-weight:600;color:#284367;margin-top:14px;letter-spacing:-.8px;font-variant-numeric:tabular-nums}.summary strong small{font-size:13px;color:inherit}.summary p{font-size:10px;color:#869ab3;margin-top:9px}.main-summary{background:linear-gradient(130deg,#3c6fd7,#5a8bec);border:1px solid #6798ed;color:white;box-shadow:0 10px 28px #5a7ec526}.main-summary strong,.main-summary>span:first-child{color:#fff}.main-summary p{color:#dce9ff}.insights-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:20px;margin-bottom:23px}.glass-panel{padding:24px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.glass-panel h2,.records-panel h2{font-size:16px;line-height:1.6;color:#314b6c;font-weight:600}.glass-panel h3{font-size:13px;line-height:1.8;color:#385575}.trend-card .muted,.categories-card>.muted{font-size:10px;margin-top:7px}.chart-total{display:block;font-size:27px;letter-spacing:-.8px;font-weight:600;margin-top:13px;color:#2c4971;font-variant-numeric:tabular-nums}.trend-card svg{width:100%;height:155px;display:block;margin-top:10px}.chart-range{display:flex;justify-content:space-between;font-size:9px;color:#a0afc2;padding:0 12px}.chart-data{font-size:10px;margin-top:13px;color:#8499b4}.chart-data summary{cursor:pointer}.chart-data p{margin:7px 0}.empty-chart{color:#94a7bd;font-size:12px;margin:30px 0}.category-line{margin-top:19px}.category-line>div{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#768ba5}.category-line strong{font-size:11px;font-weight:600;color:#49658a;font-variant-numeric:tabular-nums}.category-line progress{width:100%;height:5px;accent-color:#7296e6;margin-top:9px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:20px;align-items:start}.dashboard-main,.dashboard-aside{min-width:0}.dashboard-aside{display:flex;flex-direction:column;gap:18px}.dashboard-aside .glass-panel{padding:23px}.dashboard-aside .glass-panel h2{font-size:17px;margin-bottom:10px}.next-action{background:#eef4ffad;border:1px solid #dbe6fa;border-radius:16px;padding:22px;display:block;margin:0}.next-action h3{color:#42618d;font-size:12px}.next-action p{color:#8498b3}.next-action .text-button{margin-top:10px}.execution-panel{padding:18px 21px;margin:0;background:#ffffffa8}.execution-panel>summary{color:#536f96;font-size:12px}.execution-panel>summary small{display:block;margin:7px 0 0;font-size:9px;color:#879bb8}.execution-row{border-color:#e5edf7;display:block;padding:15px 0}.execution-row b{font-size:11px;color:#617c9e}.execution-row small{font-size:9px;color:#95a8c0}.execution-row button{margin-top:10px;font-size:10px;min-height:35px}.execution-states{font-size:9px;color:#849bb8}.records-panel{background:#ffffffd6;border-color:#ffffffed}.panel-heading{padding:24px 24px 17px;gap:14px}.panel-heading p{font-size:10px}.ledger-total{font-size:10px;color:#8a9eb8;margin-top:8px!important}.ledger-total b{font-weight:500;color:#718ab0}.tools{padding:0 24px 18px;gap:8px;flex-wrap:wrap}.tools .search{background:#f5f8fd;border:1px solid #e1e9f4;min-width:160px}.search>span{color:#9eb0c7}.tools select,.tools>input{background:#ffffffb8;border-color:#dfe8f6;color:#7187a5;font-size:10px}.record-tabs{padding:0 24px;border-color:#e6edf6}.tab.active{color:#456fca;border-color:#5985df}.tab{font-size:11px;color:#8399b5}.tab span{background:#eff4fb;color:#8497b3}.record-row{padding:19px 24px;border-color:#e8eef8;gap:13px}.receipt-thumb{background:#eff4fb;color:#9ab1cf;border:1px solid #e3ebf8}.record-title{font-size:12px;color:#3b597d;font-weight:600}.record-meta{font-size:9px;color:#8ca0bd}.category-pill{background:#edf3ff;color:#7391c2;border-radius:5px}.transaction-kind{color:#6e88aa}.record-note{font-size:10px;color:#8fa2be}.record-amount{font-size:15px;color:#385a89;font-variant-numeric:tabular-nums}.record-actions button{font-size:10px;color:#7290ba}.record-actions .delete{color:#b88c81}.filtered-total{background:#f6f9fe;font-size:10px;color:#8da0bb}.filtered-total b{color:#4c70a7;font-variant-numeric:tabular-nums}.source-reference{font-size:9px;color:#9aaec6;overflow-wrap:anywhere;line-height:1.9;margin:8px 0 0}.backup-bar{margin-top:23px;border-color:#dfe8f4;padding:22px 0}.backup-bar h3{font-size:12px;color:#6a83a5}.backup-bar p,.footer-note{font-size:10px;color:#91a4bf}.empty{min-height:220px}.empty-icon{background:#edf4ff;color:#abc0df}.empty h3{color:#6e89ac}.empty p{color:#9bb0cb}.life-tabs{display:flex;gap:8px;margin-bottom:23px;overflow:auto;padding:3px 1px 8px}.life-tab{padding:12px 19px;border:1px solid #dce6f4;border-radius:10px;background:#ffffff85;color:#7089aa;white-space:nowrap;min-height:42px;font-size:12px}.life-tab.active{background:#e6efff;color:#3e6bc8;border-color:#bcd0f5;box-shadow:0 4px 14px #5b83c40d}.life-editor{margin-bottom:22px}.life-editor>.muted{margin-top:9px;font-size:11px}.life-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px}.life-field{display:flex;flex-direction:column;gap:9px;font-size:11px;line-height:1.8;color:#647fa3;min-width:0}.life-field input,.life-field select,.life-field textarea{width:100%;max-width:100%;min-width:0;border:1px solid #dbe6f4;border-radius:9px;background:#ffffffb8;font-size:13px;color:#375779;min-height:44px;padding:10px 12px;outline:none}.life-field input:focus,.life-field select:focus,.life-field textarea:focus{outline:2px solid #8daff0;outline-offset:1px}.life-field input[type=file]{font-size:10px;padding:11px}.life-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:14px;align-items:center;flex-wrap:wrap;margin-top:4px}.life-actions .text-button{font-size:11px}.life-form>.error{grid-column:1/-1}.life-form .check{grid-column:1/-1;font-size:12px;display:flex;align-items:center;gap:9px;color:#6c85a6}.life-form .check input{width:18px;height:18px;accent-color:#5f88dc}.share-editor,.allocation-preview{grid-column:1/-1}.share-editor{border-top:1px solid #e2eaf7;padding-top:21px}.share-editor h3{margin-bottom:16px}.share-row{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:11px 0;font-size:12px;color:#5c789d;line-height:1.8}.share-row input{width:96px;min-height:39px;border:1px solid #d5e2f4;border-radius:8px;padding:9px;text-align:right;margin-left:auto;color:#3c6397;background:#fff}.share-row>span{font-size:11px}.allocation-preview{display:flex;gap:15px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#eaf2ffb8;padding:20px;border-radius:12px;color:#567bb3;font-size:11px}.allocation-preview strong{font-size:18px;color:#426ab0}.allocation-preview .error{flex:1 0 100%;margin:4px 0 0}.module-note{font-size:10px;color:#8a9fbb;line-height:1.9;margin:16px 0}.goal-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.goal-overview strong{font-size:19px;color:#486caa;display:block;margin:13px 0}.life-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:20px 0 28px}.life-record{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}.life-record>.life-actions{margin-top:auto;padding-top:16px}.life-record p{font-size:11px;color:#7b91ad;line-height:1.9}.life-record h2{font-size:16px}.life-record .goal-number{font-size:22px;color:#4c70af;display:block;margin:16px 0}.life-record.archived{opacity:.68}.income-steps{font-size:11px;color:#718bac;line-height:2.1;padding-left:20px}.health-note{background:#eaf1fdb5;border:1px solid #d5e3f9;border-radius:12px;padding:17px 21px;font-size:11px;color:#6480a6;line-height:1.9;margin-bottom:23px}.meal-preview{grid-column:1/-1;max-width:290px;max-height:200px;object-fit:contain;border-radius:11px}.meal-thumb{width:100px;height:75px;object-fit:cover;border-radius:8px;margin-top:10px}.nutrition-summary{margin-top:24px}.table-scroll{overflow:auto;max-width:100%;margin-top:21px}.nutrition-table{border-collapse:collapse;width:100%;font-size:11px;line-height:1.8}.nutrition-table th,.nutrition-table td{text-align:left;padding:13px 12px;border-bottom:1px solid #e1eaf6;color:#6c87aa;font-weight:400;white-space:nowrap}.nutrition-table th{color:#496991;font-weight:550}.nutrition-table thead{background:#eef4fda6}.module-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.module-card{display:flex;flex-direction:column;gap:12px}.module-card>strong{font-size:13px;color:#567bb9}.module-card button{margin-top:auto}.module-card details{font-size:10px;color:#7e98ba;line-height:1.9}.module-card .muted{font-size:11px}.module-off{opacity:.6}.module-off::before{content:'模块已关闭，当前仅查看资料。请在模块管理重新开启。';grid-column:1/-1;font-size:11px;color:#748da9}.adapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.adapter-icon{font-size:30px;color:#7297d5}.adapter-card h2{margin:14px 0 8px}.adapter-card .primary{margin-top:20px}.adapter-card .muted{font-size:11px}.template-links{display:flex;gap:25px;margin:14px 0 27px}.inbox-list{display:flex;flex-direction:column;gap:18px;margin-top:19px}.candidate-main{display:flex;gap:18px;align-items:flex-start}.candidate-main>div{min-width:0;flex:1}.candidate-main h2{font-size:16px}.candidate-main p{font-size:12px;color:#6b87aa;line-height:1.8;margin:8px 0}.candidate-main .source-reference{font-size:10px}.candidate-photo{width:70px;height:86px;object-fit:cover;border-radius:8px;border:1px solid #dce8f8}.candidate-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:20px}.candidate-actions select{flex:1;min-width:180px;border:1px solid #d4e2f6;background:#ffffffa6;border-radius:8px;padding:12px;min-height:43px;font-size:11px;color:#6a86ad}.duplicate-hint{background:#fff7dfb8;border:1px solid #eadab5;border-radius:9px;padding:12px 15px;color:#a48b57;font-size:11px;line-height:1.8}.confirmed-note{background:#e9f3efa8;padding:13px;border-radius:8px;color:#648b7a;font-size:11px;line-height:1.8}.empty-state{padding:33px 20px;text-align:center;font-size:12px;color:#91a7c3;grid-column:1/-1}.target-section>.text-button{margin-left:4px}.goal-card,.future-card{background:#ffffffbd;border:1px solid #ffffffd6;border-radius:17px;box-shadow:0 8px 26px #6580a50b}.goal-progress{color:#8aa0bd}.goal-progress progress{accent-color:#6c8fe0}.current-callout{background:#edf4fe;border-left-color:#8bace5;color:#597ca9}.step-badge{color:#8da6c7;background:#f2f6fd;border-color:#d8e5f7}.current .step-badge{background:#6289d7;border-color:#6289d7;box-shadow:0 0 0 4px #edf3fd}.step-detail p,.step-detail p.muted{color:#8a9fb9}.step-status{color:#96acc5}.done .step-badge{background:#e6effa;color:#6f91c3;border-color:#d5e2f5}.step-edit{background:#f3f7fd;border-color:#dfe9f7}.step-detail .secondary{font-size:10px}dialog{border-color:#ffffffd9;background:#fffffff2;box-shadow:0 25px 100px #43638a33;color:#355270}dialog::backdrop{background:#36547348;backdrop-filter:blur(7px)}.dialog-heading,.dialog-footer{border-color:#e2eaf6}.dialog-heading h2{color:#395779}.icon-button{background:#eff4fc;color:#7592b7}.fields input:not([type=checkbox]),.fields textarea,.fields select{border-color:#d6e3f5;color:#4a6a91;background:#fff}.fields label{color:#6f89aa}.fields .check{color:#7c92b0}.fields input[type=checkbox]{accent-color:#618bd9}.upload-box{background:#f3f7fdd4;border-color:#c3d6f2}.upload-box b{color:#7b96bd}.upload-box small,.manual-note{color:#9baec8}.upload-icon{color:#9cb5da}.module-progress{background:#f6f9fd}.module-step.succeeded{background:#edf4fb;color:#7b9ac4;border-color:#dce8f6}.module-step.waiting,.module-step.running{background:#f7f1e3;color:#a19067;border-color:#ede2c7}.execution-id{color:#a2b2c9}.toast{background:#4d709f;color:#fff;box-shadow:0 9px 24px #45699d2b;font-size:12px}.error{color:#b96f63}.test-banner{background:#fff7e5;color:#a08650;border-color:#eddfbd}.test-controls{background:#fff9ed;border-color:#e8d9b9}
@media(min-width:1500px){main{padding-left:48px;padding-right:48px}.summary{min-height:164px}.trend-card svg{height:165px}}@media(max-width:1150px){.sidebar{width:190px;padding-left:15px;padding-right:15px}main{margin-left:190px;width:calc(100% - 190px);padding:0 25px 30px}.summary{padding:18px 16px;min-height:143px}.summary strong{font-size:25px}.dashboard-grid,.insights-grid{grid-template-columns:minmax(0,1.6fr) minmax(230px,1fr);gap:16px}.summary-grid{gap:12px}.glass-panel{padding:20px}.module-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.heading-actions .secondary{display:none}.life-records{grid-template-columns:1fr}.adapter-grid{grid-template-columns:1fr}.adapter-card{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:12px}.adapter-card h2{margin:0}.adapter-card .muted{grid-column:2}.adapter-card button{grid-column:3;grid-row:1/3;margin:0}.adapter-icon{grid-row:1/3}.adapter-card>input{display:none}}@media(max-width:850px){.dashboard-grid,.insights-grid{grid-template-columns:1fr}.dashboard-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-aside .execution-panel{grid-column:1/-1}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.heading-actions .secondary{display:block}.life-form{gap:15px}.life-editor{padding:21px}.adapter-card .muted{font-size:10px}}
@media(max-width:760px){.sidebar{width:100%;padding:18px 19px 0;height:auto;position:static}.brand{font-size:20px}.brand-mark{width:35px;height:38px;border-radius:11px;font-size:19px}.brand small{font-size:9px}.sidebar nav{display:flex;gap:5px;margin-top:20px;overflow-x:auto;padding:0 0 5px;scrollbar-width:thin}.nav-item{flex:0 0 auto;min-width:92px;white-space:nowrap;font-size:10px;padding:11px 9px;min-height:40px;margin:0;border-radius:8px;gap:5px}.nav-item>span{font-size:15px}.nav-item.active{border:1px solid #cedcf3}.nav-caption,.side-note{display:none}main{margin:0;width:100%;padding:0 18px 27px}.topbar{height:57px;font-size:10px}.privacy-pill{font-size:9px}.page-heading{display:block;margin:25px 0 23px}.page-heading h1{font-size:26px;margin-bottom:10px}.page-heading .muted{font-size:11px}.heading-actions{margin-top:20px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.heading-actions .primary,.heading-actions .secondary{margin:0;width:100%;min-height:44px;font-size:11px}.summary-grid{gap:11px;margin-bottom:19px}.summary{padding:19px 16px;min-height:139px;border-radius:14px}.summary strong{font-size:27px;margin-top:13px}.summary>span:first-child{font-size:10px}.summary>span small{display:inline-block;font-size:9px;margin:0 0 0 5px}.summary p{font-size:9px;line-height:1.8}.summary strong small{font-size:10px}.glass-panel{padding:20px 17px;border-radius:14px}.insights-grid{gap:15px;margin-bottom:19px}.glass-panel h2{font-size:15px}.chart-total{font-size:25px}.trend-card svg{height:135px;margin-top:13px}.trend-card .muted,.categories-card .muted{font-size:9px}.chart-range{font-size:8px}.category-line{margin-top:15px}.category-line>div{font-size:10px}.dashboard-grid{display:flex;flex-direction:column;gap:18px}.dashboard-main,.dashboard-aside{width:100%}.dashboard-aside{display:flex;flex-direction:column;gap:15px}.dashboard-aside .glass-panel,.next-action{padding:20px 17px}.dashboard-aside .glass-panel h2{font-size:16px}.records-panel{border-radius:14px}.panel-heading{padding:20px 16px 16px}.panel-heading h2{font-size:15px}.panel-heading .muted{font-size:10px}.ledger-total{font-size:9px!important;line-height:1.9}.tools{padding:0 16px 16px}.tools .search{min-width:0}.tools select,.tools>input{font-size:10px}.record-tabs{padding:0 16px}.record-row{padding:16px;gap:9px}.record-title{font-size:11px}.record-meta{font-size:8px;gap:5px}.record-right{min-width:98px}.record-amount{font-size:13px}.record-actions{gap:11px}.record-actions button{font-size:9px}.record-note,.source-reference{font-size:9px}.receipt-thumb{width:34px;height:42px}.filtered-total{padding:12px 16px;font-size:9px}.filtered-total b{font-size:12px}.backup-bar{margin-top:24px;padding:22px 0 18px}.backup-bar p{font-size:9px}.footer-note{font-size:9px}.life-tabs{gap:6px;margin-bottom:17px}.life-tab{flex:1;min-width:76px;padding:11px 9px;font-size:10px;min-height:40px}.life-form{grid-template-columns:1fr;gap:16px;margin-top:21px}.life-field{font-size:11px}.life-field input,.life-field textarea,.life-field select{font-size:16px;min-height:45px;padding:11px}.life-field input[type=file]{font-size:10px}.life-editor{padding:20px 17px}.life-actions{gap:13px}.life-actions button{min-height:42px;font-size:11px}.life-records{gap:15px}.life-record .goal-number{font-size:20px}.life-record p{font-size:10px}.income-steps{font-size:10px;padding-left:19px}.allocation-preview{display:block;padding:17px}.allocation-preview strong{display:block;font-size:19px;margin-bottom:11px}.allocation-preview span{font-size:10px;line-height:1.8}.share-row{font-size:10px;gap:8px}.share-row input{width:70px;font-size:16px}.goal-overview{grid-template-columns:1fr;gap:14px}.health-note{padding:16px;font-size:10px}.module-note{font-size:9px}.module-cards{grid-template-columns:1fr;gap:15px}.adapter-card{display:block}.adapter-card h2{margin:10px 0}.adapter-card .primary{margin-top:17px;width:100%}.adapter-card .muted{font-size:10px}.adapter-icon{font-size:28px}.template-links{gap:16px;flex-wrap:wrap;margin:11px 0 20px}.template-links .text-button{font-size:10px}.candidate-main{gap:11px}.candidate-main h2{font-size:13px}.candidate-main p{font-size:10px;line-height:1.8}.candidate-main .source-reference{font-size:9px}.candidate-photo{width:45px;height:58px}.candidate-actions{display:grid;grid-template-columns:1fr;gap:10px}.candidate-actions select{width:100%;min-width:0;font-size:12px}.candidate-actions button{width:100%;font-size:11px}.duplicate-hint,.confirmed-note{font-size:10px}.module-progress{padding-left:18px;padding-right:18px;gap:5px}.module-step{font-size:8px;padding:7px 5px}.execution-id{font-size:8px;line-height:1.7}.fields input:not([type=checkbox]),.fields select,.fields textarea{font-size:16px}.fields .muted{font-size:10px;overflow-wrap:anywhere}.dialog-footer{background:#fffffff5}.goal-card h2{font-size:14px}.goal-card .muted{font-size:10px}.test-banner{font-size:10px}.nutrition-table th,.nutrition-table td{font-size:10px;padding:11px 9px}.health-note,.module-note{overflow-wrap:anywhere}}

.preview-notice{padding:12px 16px;border-radius:12px;background:#e9f1ff;color:#173e70;font-size:14px;line-height:1.6}
