:root{font-family:'Noto Sans SC',sans-serif;color:#192c25;background:#eef2ef;font-synthesis:none;--green:#205b43;--muted:#50665d;--line:#e1eae5;--dark:#172e26;--pale:#d4e993}*{box-sizing:border-box}body{margin:0;font-size:13px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #579d78}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--green);text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:33px;font-weight:750;line-height:1.3}h2{font-size:17px;font-weight:700;line-height:1.3}h3{font-size:14px}small,.hint{font-size:11px;color:var(--muted)}.muted{color:var(--muted)}.mono,.amount{font-family:'IBM Plex Mono',monospace;font-variant-numeric:tabular-nums}.icon{width:16px;height:16px;display:inline-block;vertical-align:middle;flex:none}.btn{border:0;border-radius:4px;padding:0 13px;height:36px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;color:var(--green);font-size:13px;font-weight:600;white-space:nowrap}.btn.primary{background:var(--green);color:#fff}.btn.primary .icon{filter:brightness(0) invert(1)}.btn.outline{border:1px solid var(--line)}.btn.danger{background:#fbe9e7;color:#a8342f}.btn.ghost{padding:0;background:transparent;height:auto}.btn:hover{filter:brightness(.96)}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.brand{display:flex;align-items:center;gap:10px;font-family:Geist,sans-serif;color:#fff;font-size:21px;line-height:1.3}.brand-mark{display:grid;place-items:center;width:34px;height:34px;background:var(--pale);border-radius:4px}.brand-mark .icon{width:21px;height:21px}.brand small{display:block;font:10px 'Noto Sans SC',sans-serif;color:#c2d3c9;margin-top:5px}.sidebar{width:220px;background:var(--dark);position:fixed;inset:0 auto 0 0;padding:28px 14px 18px;display:flex;flex-direction:column;z-index:20;color:#c2d3c9}.sidebar .brand{padding:0 8px;margin-bottom:28px}.navgroup{font-size:11px;margin:0 10px 6px;color:#a9c2b3}.navgroup.spaced{margin-top:28px}.navlink{height:37px;display:flex;gap:10px;align-items:center;padding:0 10px;margin-bottom:4px;color:#c2d3c9;border-radius:4px;position:relative}.navlink .icon{filter:brightness(0) saturate(100%) invert(86%) sepia(8%) saturate(289%) hue-rotate(89deg)}.navlink.active{background:#29483b;color:#fff;font-weight:600}.navlink.active:after{content:'';position:absolute;right:9px;height:13px;width:3px;background:var(--pale);border-radius:1px}.navlink.active .icon{filter:brightness(0) saturate(100%) invert(92%) sepia(21%) saturate(628%) hue-rotate(23deg)}.identity{margin-top:auto;background:#29483b;color:#fff;border:0;border-radius:4px;display:flex;gap:10px;padding:12px 8px;text-align:left;width:100%;align-items:center}.identity .avatar{width:30px;height:30px;background:#355546;border-radius:3px;display:grid;place-items:center;color:var(--pale)}.identity small{color:#b2c4ba;display:block;font-size:10px}.identity strong{font-size:12px}.identity>.icon{margin-left:auto;filter:invert(1)}.identity-menu{position:absolute;bottom:84px;left:14px;right:14px;background:#fff;padding:8px;border:1px solid var(--line);border-radius:6px;box-shadow:0 5px 20px #0002}.identity-menu button{border:0;background:none;width:100%;text-align:left;padding:9px;color:var(--dark)}.workspace{margin-left:220px;min-height:100vh}.topbar{height:58px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 32px;font-size:12px}.breadcrumb{display:flex;gap:12px;align-items:center;color:var(--muted)}.breadcrumb strong{color:#192c25;font-size:12px}.topmeta{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:11px}.content{padding:26px 32px 28px;display:flex;flex-direction:column;gap:18px;max-width:1800px;margin:auto}.page-heading{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px}.page-heading p{font-size:13px;color:var(--muted);margin-top:5px}.panel{padding:20px;border-radius:6px;background:#fff;min-width:0}.panel>h2,.panel>.panel-heading{margin-bottom:12px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-heading .btn{font-size:12px}.split{display:grid;grid-template-columns:minmax(0,var(--left,723fr)) minmax(0,var(--right,417fr));gap:16px;align-items:start}.stack{display:flex;flex-direction:column;gap:18px;min-width:0}.metrics{display:grid;grid-template-columns:repeat(var(--count,4),minmax(0,1fr));gap:16px}.metric{height:115px;padding:14px 17px;background:#fff;border-radius:6px}.metric.tint{background:#e5f0e9}.metric-label{font-size:13px;font-weight:600;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:8px}.metric-value{font-size:27px;font-weight:600;line-height:1.3;margin:7px 0 5px}.metric small{display:block}.hero{height:248px;background:var(--dark);color:white;padding:20px 22px;display:flex;flex-direction:column}.hero .muted,.hero small{color:#c2d3c9}.hero-label{font-size:14px;font-weight:600;color:#c2d3c9;display:flex;justify-content:space-between}.hero .amount{font-size:34px;font-weight:600;line-height:1.3;margin:5px 0}.unit{font-family:'Noto Sans SC',sans-serif;font-size:13px;font-weight:500;margin-left:8px;color:inherit}.chart{display:flex;gap:12px;align-items:flex-end;flex:1;min-height:85px;margin-top:14px}.bar-col{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px}.bar{width:100%;background:#4c7867;border-radius:3px;min-height:2px}.bar-col:last-child .bar{background:var(--pale)}.bar-col small{font:10px 'IBM Plex Mono',monospace}.todos{min-height:248px}.todo{background:#f0f4f2;padding:12px;display:flex;align-items:center;gap:9px;border-radius:4px;margin-top:10px;color:var(--dark);font-size:12px}.todo strong{margin-left:auto;color:#a75b17;font-family:'IBM Plex Mono',monospace}.todo:last-child strong{color:#ba4140}.table-wrap{overflow-x:auto;width:100%}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap;text-align:left}th{background:#f0f4f2;color:var(--muted);font-size:11px;font-weight:650;height:34px;padding:6px 12px}td{padding:13px 12px;height:46px}tbody tr:nth-child(even){background:#f7f9f8}tbody tr.selected{background:#edf4ef}td .btn{font-size:12px}.table-wrap.compact td{padding:10px 12px;height:43px}.badge{display:inline-flex;gap:5px;align-items:center;font-size:10px;padding:2px 7px;border-radius:3px;color:var(--green);background:#e5f0e9;white-space:nowrap}.badge:before{content:'';height:4px;width:4px;border-radius:50%;background:currentColor}.badge.warn{color:#a45b1d;background:#fbecde}.badge.bad{color:#b13a39;background:#fbe8e7}.badge.neutral{color:#63756b;background:#edf1ee}.kv{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin:11px 0;font-size:12px}.kv>span:first-child{color:var(--muted);flex:none}.kv>strong{font-weight:600;text-align:right;overflow-wrap:anywhere;min-width:0}.divider{border:0;border-top:1px solid var(--line);margin:16px 0}.notice{font-size:12px;color:var(--muted);background:#f0f4f2;padding:11px 12px;border-radius:4px;line-height:1.7;margin:14px 0}.notice.warning{background:#fff4e5;color:#945c23}.notice.error,.form-error{background:#fbe9e7;color:#a93432}.filters{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px;flex-wrap:wrap}.tabs{display:flex;gap:4px;flex-wrap:wrap}.tab{border:0;background:transparent;border-radius:4px;padding:7px 10px;font-size:12px;color:var(--muted)}.tab.active{background:#e5f0e9;color:var(--green);font-weight:600}.search{display:flex;gap:6px;align-items:center;max-width:250px;border:1px solid var(--line);border-radius:4px;padding:0 9px;height:34px}.search input{border:0;min-width:0;width:100%;background:none;font-size:12px}.search button{border:0;background:none;padding:0;display:flex}.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:16px;color:var(--muted);font-size:11px}.pagination>div{display:flex;gap:10px;align-items:center}.pagination button{border:0;background:none;color:var(--muted);padding:2px 5px}.field{display:flex;flex-direction:column;gap:6px;font-size:12px;margin-bottom:14px}.field input,.field textarea,.field select{height:40px;border:1px solid #dbe4df;border-radius:4px;padding:0 12px;color:var(--dark);background:#fff;width:100%;min-width:0}.field textarea{height:150px;padding:10px 12px;resize:vertical}.field input::placeholder,.field textarea::placeholder{color:#8a9c91}.field small{font-size:11px}.fields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.form-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:16px}.form-error{font-size:12px;border-radius:4px;padding:10px;margin:10px 0}.empty{padding:52px 16px;text-align:center;color:var(--muted)}.empty>.icon{width:28px;height:28px;opacity:.6;margin-bottom:12px}.empty h3{color:var(--dark);margin-bottom:6px}.empty .btn{margin-top:12px}.error-state{padding:60px 20px;text-align:center}.error-state p{margin:10px}.loading{padding:60px;text-align:center;color:var(--muted)}.spinner{display:inline-block;border:2px solid #d2e1d8;border-top-color:var(--green);width:18px;height:18px;border-radius:50%;animation:spin .8s linear infinite;margin-right:8px;vertical-align:middle}@keyframes spin{to{transform:rotate(360deg)}}.initial-loading{height:100vh;display:grid;place-items:center;color:var(--muted)}.auth-layout{min-height:100vh;background:#fff;display:grid;grid-template-columns:548fr 892fr}.auth-brand{background:var(--dark);color:#fff;min-height:100vh;padding:48px 48px 35px;display:flex;flex-direction:column;justify-content:space-between}.auth-brand .brand{font-size:25px;gap:12px}.auth-brand .brand-mark{width:38px;height:38px}.auth-brand h1{font-size:43px;line-height:1.55;margin-bottom:22px;letter-spacing:0}.auth-brand p{color:#c2d3c9;font-size:15px}.auth-brand footer{color:#c2d3c9;display:flex;gap:9px;align-items:center;font-size:13px}.auth-brand footer .icon{filter:invert(91%) sepia(20%) saturate(447%)}.auth-main{display:grid;place-items:center;padding:40px}.auth-form{width:420px;max-width:100%;display:flex;flex-direction:column;gap:22px}.auth-form h2{font-size:21px;font-weight:750}.auth-form .roles{border-top:1px solid var(--line);padding-top:0}.auth-form .roles .kv{margin:11px 0}.auth-form>.btn{align-self:flex-start}.auth-form form>.field{margin-bottom:16px}.auth-form .hint{display:flex;gap:8px;align-items:center}.auth-error{color:#ad3c36;font-size:12px}.account-card{height:201px}.account-card .amount{font-size:31px;font-weight:600;line-height:1.3;margin:10px 0 4px}.account-card .balance-row{display:flex;gap:38px;margin-top:18px;font-size:12px}.account-card .balance-row strong{margin-left:14px;font-family:'IBM Plex Mono',monospace}.wallet{font:12px 'IBM Plex Mono',monospace;background:#f0f4f2;border-radius:4px;padding:12px;overflow-wrap:anywhere;line-height:1.8}.switch-row{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:17px 0}.switch-row p{font-size:11px;color:var(--muted);margin-top:5px;max-width:410px}.toggle{appearance:none;min-width:34px;width:34px;height:20px;border:0;border-radius:20px;background:#b8c7bd;position:relative;cursor:pointer}.toggle:before{content:'';position:absolute;left:3px;top:3px;width:14px;height:14px;background:white;border-radius:50%;transition:transform .15s}.toggle:checked{background:var(--green)}.toggle:checked:before{transform:translateX(14px)}.modal-backdrop{position:fixed;inset:0;background:#10271c66;display:grid;place-items:center;padding:24px;z-index:50}.modal{background:white;border-radius:8px;padding:26px;width:480px;max-width:100%;max-height:90vh;overflow:auto}.modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modal-heading button{border:0;background:transparent;padding:4px}.modal>p{margin-bottom:18px;color:var(--muted);font-size:12px}.modal .form-actions{border-top:1px solid var(--line);padding-top:16px}.modal .big-amount{font:600 32px 'IBM Plex Mono',monospace;color:var(--green);margin:16px 0}.mobile-menu{display:none}#toast{position:fixed;bottom:26px;left:calc(50% + 110px);transform:translateX(-50%);background:var(--dark);color:#fff;padding:12px 20px;border-radius:5px;z-index:100;max-width:90vw;display:none;font-size:13px}#toast.visible{display:block}#toast.error{background:#a23430}.detail-id{font:500 16px 'IBM Plex Mono',monospace;margin-bottom:15px}.wide-text{overflow-wrap:anywhere;white-space:normal}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.helper-row{font-size:11px;display:flex;align-items:center;gap:6px;color:var(--muted);margin-top:12px}@media(min-width:1700px){.auth-layout{grid-template-columns:38% 62%}}@media(max-width:1200px){.content{padding:24px}.sidebar{width:200px}.workspace{margin-left:200px}.split{grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr)}.metrics{gap:12px}.metric{padding:14px}.auth-brand{padding:40px 30px}.auth-brand h1{font-size:36px}.auth-main{padding:30px}}@media(max-width:950px){.split{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-layout{grid-template-columns:38% 62%}.auth-brand h1{font-size:30px}.page-heading{align-items:flex-start}.content{padding:22px}.hero{height:248px}.todos{min-height:auto}.fields{gap:8px}}@media(max-width:680px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:220px}.sidebar.open{transform:translateX(0);box-shadow:10px 0 40px #0003}.workspace{margin-left:0}.topbar{padding:0 16px;gap:10px}.mobile-menu{display:inline-flex;padding:0}.breadcrumb{gap:8px;margin-right:auto}.topmeta span{display:none}.content{padding:20px 16px;gap:16px}.page-heading{flex-wrap:wrap;gap:12px}h1{font-size:28px}.page-heading p{font-size:12px}.panel{padding:16px}.metrics{gap:12px}.metric-value{font-size:24px}.metric{height:112px}.auth-layout{display:flex;flex-direction:column}.auth-brand{min-height:230px;padding:25px;gap:20px}.auth-brand h1{font-size:28px;margin-bottom:5px}.auth-brand p{font-size:13px}.auth-brand footer{display:none}.auth-main{padding:40px 24px;flex:1}.auth-form{gap:20px}.filters{align-items:stretch}.search{max-width:100%;width:100%}.table-wrap table{min-width:510px}.account-card{height:auto;min-height:190px}.modal-backdrop{padding:14px}.modal{padding:20px}#toast{left:50%}.chart{gap:8px}.topbar .breadcrumb .icon{width:12px}.panel-heading{flex-wrap:wrap}.wallet{font-size:11px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* 与设计稿中的实际字重保持一致。 */
h1,.auth-brand h1,.auth-form h2{font-weight:400}.auth-error:empty{display:none}
.icon{filter:brightness(0) saturate(100%) invert(29%) sepia(23%) saturate(1102%) hue-rotate(104deg) brightness(91%)}.brand-mark .icon{filter:none}.hero .icon{filter:brightness(0) saturate(100%) invert(91%) sepia(29%) saturate(428%) hue-rotate(24deg)}
.auth-main{min-width:0;grid-template-columns:minmax(0,1fr)}.auth-form{width:100%;max-width:420px}.identity .avatar .icon{filter:brightness(0) saturate(100%) invert(91%) sepia(29%) saturate(428%) hue-rotate(24deg)}
#settings-form>.split:first-child>.panel:first-child{min-height:194px}#settings-form>.split:first-child>.panel:last-child{min-height:192px}
