@import url('/fonts.css');
:root{--bg:#f5f4ef;--paper:#fff;--ink:#202d28;--muted:#7a827c;--line:#e5e7e0;--green:#183f35;--lime:#dfe9d3;--soft:#f0f4ed;--warn:#97602b;--red:#ad4e40;--radius:16px;font-family:Inter,"Noto Sans SC",-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);font-synthesis:none;background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #93b1a0;outline-offset:3px}button:disabled{cursor:wait;opacity:.5}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-1px;font-weight:600}h2{font-size:18px;font-weight:600}h3{font-size:14px;font-weight:600}small,.muted{color:var(--muted)}small{font-size:12px}svg{flex-shrink:0}.loading{display:grid;place-content:center;gap:16px;height:100dvh;text-align:center;font-family:Georgia,serif;font-size:28px}.loading span{font:13px sans-serif;color:var(--muted)}
.layout{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;background:#f9faf6;border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;margin:0 5px 38px}.brand img{width:38px;height:38px}.brand strong{font:20px/1.1 Georgia,serif;letter-spacing:-.7px}.brand small{display:block;margin-top:5px;font-size:10px;letter-spacing:2px;color:#71796e}.nav-label{font-size:10px;letter-spacing:2px;color:#989f96;margin:0 16px 15px}.nav{display:grid;gap:7px}.nav a{display:flex;gap:13px;align-items:center;text-decoration:none;font-size:14px;color:#747c73;padding:13px 15px;border-radius:9px}.nav a.active{background:var(--green);color:#f8faf4}.nav a:hover:not(.active){background:#eef1e9}.sidebar-foot{margin-top:auto;padding:20px 14px 0;border-top:1px solid var(--line)}.sidebar-foot p{font-size:12px;line-height:1.8;color:#8c9488}.sidebar-foot strong{display:block;color:#48604b;margin-bottom:8px;font-size:12px;font-weight:500}.version{font-size:10px;letter-spacing:1px;margin-top:24px;color:#a0a79b}.workspace{min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#f9faf6}.breadcrumb{font-size:12px;color:#7b8478;display:flex;gap:12px;align-items:center}.breadcrumb strong{font-weight:500;color:#354739}.top-actions{display:flex;align-items:center;gap:16px;font-size:12px;color:var(--muted)}.avatar{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#e6ebdf;color:#54684c;font-size:11px}.main{max-width:1420px;margin:auto;padding:36px 40px 48px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:29px}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:2px;color:#87907f;margin-bottom:10px}.subtitle{font-size:13px;color:var(--muted);margin-top:9px;line-height:1.7}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.btn{border:1px solid var(--line);background:#fff;color:#425344;border-radius:8px;padding:10px 15px;font-size:12px;display:inline-flex;align-items:center;gap:7px;justify-content:center;white-space:nowrap;min-height:40px;text-decoration:none}.btn.primary{background:var(--green);border-color:var(--green);color:white}.btn.ghost{background:transparent;border-color:transparent;color:var(--muted)}.btn.danger{color:var(--red);border-color:#efd3ce}.btn.small{padding:5px 10px;min-height:31px;font-size:11px}.btn:hover{filter:brightness(.96)}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:24px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:23px}.panel-head h2{font-size:15px}.panel-head small{font-size:11px}.hero-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:20px;margin-bottom:21px}.net-card{background:var(--green);color:#f5f6ed;border:none;min-height:240px;position:relative;overflow:hidden;padding:28px 30px}.net-card:after{content:"";position:absolute;width:240px;height:240px;border:1px solid #ffffff0d;right:-40px;top:-65px;border-radius:50%;box-shadow:0 0 0 32px #ffffff04,0 0 0 65px #ffffff03;pointer-events:none}.net-card .label{font-size:12px;color:#becdc2;display:flex;gap:9px;align-items:center}.net-value{font-size:43px;font-weight:400;letter-spacing:-1.5px;line-height:1.2;margin:24px 0 12px;font-variant-numeric:tabular-nums}.net-value .currency{font-size:22px;margin-right:7px;color:#c8d3c6}.net-card small{color:#a9bfb1;font-size:11px}.net-bottom{display:flex;justify-content:space-between;border-top:1px solid #ffffff20;padding-top:17px;margin-top:25px;font-size:11px;color:#acc1b1}.net-bottom strong{color:#dce8d7;font-weight:400}.reserve-card{display:flex;flex-direction:column;justify-content:space-between;gap:24px;padding:27px}.reserve-top{display:flex;justify-content:space-between;align-items:center}.reserve-top h2{font-size:13px;font-weight:500}.badge{background:var(--soft);color:#5d7658;font-size:10px;padding:5px 9px;border-radius:5px;display:inline-block;white-space:nowrap}.badge.warn{background:#faf0e2;color:var(--warn)}.badge.red{background:#f8eae6;color:var(--red)}.reserve-number{font-size:32px;font-weight:400;letter-spacing:-1px}.reserve-number span{font-size:12px;color:var(--muted);letter-spacing:0;margin-left:6px}.progress{height:7px;background:#edf0e8;border-radius:5px;overflow:hidden;margin-top:15px}.progress i{display:block;background:#8ba67b;height:100%;max-width:100%;border-radius:5px;width:var(--progress,0%)}.reserve-detail{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-top:12px;gap:10px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:21px 0 28px}.metric{padding:21px}.metric-label{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;align-items:center}.metric-value{font-size:25px;letter-spacing:-.7px;margin-top:16px;font-variant-numeric:tabular-nums}.metric small{display:block;font-size:10px;margin-top:9px}.two-col{display:grid;grid-template-columns:1.35fr 1fr;gap:20px;margin-bottom:20px}.account-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #eff0eb}.account-row:last-child{border-bottom:0;padding-bottom:0}.account-icon{width:35px;height:35px;border-radius:9px;background:#eef2e8;display:grid;place-items:center;color:#66815a;font-size:12px}.account-info{flex:1;min-width:0}.account-info strong{display:block;font-size:12px;font-weight:500}.account-info small{display:block;font-size:10px;margin-top:5px}.amount{font-variant-numeric:tabular-nums;font-size:13px}.amount.negative,.negative{color:var(--red)}.positive{color:#577c49}.group-bar{display:flex;height:10px;border-radius:5px;overflow:hidden;background:#edf1e9;margin:15px 0}.group-bar i{background:#8fa47a;width:var(--progress,0%);display:block}.group-bar b{background:#d4deca;flex:1}.legend{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted)}.legend strong{font-weight:500;color:#51604c;margin-left:5px}.notice{padding:14px 17px;border-radius:9px;background:#edf2e7;border:1px solid #e1e8d7;color:#607055;font-size:12px;line-height:1.8;margin-bottom:20px;display:flex;justify-content:space-between;gap:14px;align-items:center}.notice.warn{background:#fcf5e8;border-color:#f2e7cc;color:#927143}.notice.danger{background:#faeeeb;border-color:#f0d4ce;color:#a25748}.empty{text-align:center;padding:40px 15px;color:var(--muted);font-size:12px;line-height:1.8}.empty svg{color:#9ba995;margin-bottom:12px}.empty h3{color:#51614e;margin-bottom:9px}.empty .btn{margin-top:17px}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin:0 0 22px;overflow:auto}.tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:11px 17px;color:var(--muted);font-size:12px;white-space:nowrap}.tabs button.active{color:var(--green);border-color:var(--green)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:#8a9385;font-size:10px;letter-spacing:.3px;font-weight:500;background:#f8faf5;padding:12px;white-space:nowrap}td{padding:16px 12px;border-bottom:1px solid #eef0e9;vertical-align:middle}tr:last-child td{border-bottom:0}.right{text-align:right}.table-name{font-weight:500;display:block}.table-sub{font-size:10px;color:var(--muted);margin-top:5px;display:block}.number{font-variant-numeric:tabular-nums;white-space:nowrap}.section-title{margin:27px 0 15px;font-size:14px}.split-stat{display:flex;gap:32px;padding:5px 0 20px}.split-stat p{font-size:22px;margin-top:8px}.footnote{font-size:10px;color:#8d9586;line-height:1.8;margin-top:17px}.line-chart{width:100%;height:170px;display:block}.chart-axis{font-size:9px;fill:#919c8a}.chart-line{stroke:#698d59;stroke-width:2.2;fill:none}.chart-point{fill:#fff;stroke:#698d59;stroke-width:2}.chart-grid{stroke:#eff1ea;stroke-width:1}.chart-empty{height:170px;display:grid;place-items:center;background:repeating-linear-gradient(to bottom,transparent 0,transparent 41px,#eef0e8 42px,#eef0e8 43px);color:#a0a896;font-size:11px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.key-value{display:flex;justify-content:space-between;gap:12px;font-size:12px;padding:13px 0;border-bottom:1px solid #eff1ea}.key-value span{color:var(--muted)}.key-value strong{font-weight:500}.key-value:last-child{border:0}.policy-note{font-size:11px;line-height:1.9;color:var(--muted);margin:20px 0}.month-picker,.year-picker{border:1px solid var(--line);background:#fff;border-radius:8px;padding:10px;font-size:12px;color:#53614e;min-height:40px}.checks{display:grid;gap:12px;margin:20px 0}.checks label{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:#6b7864;line-height:1.7}.checks input{accent-color:var(--green);margin-top:3px}.trend{margin-top:20px}.timeline{font-size:11px;line-height:1.8}.timeline-row{display:grid;grid-template-columns:85px 1fr auto;gap:15px;padding:14px 0;border-bottom:1px solid var(--line)}.timeline-row small{font-size:10px}.banner-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e5eddc;color:#658054;margin-bottom:20px}.setup-panel{max-width:650px;margin:30px auto;padding:40px}.setup-panel p{font-size:13px;line-height:1.9;color:var(--muted);margin:14px 0 26px}.setup-step{display:flex;gap:12px;margin-top:25px}.step-num{background:#edf2e6;min-width:26px;height:26px;border-radius:50%;display:grid;place-items:center;color:#6a8458;font-size:11px}.step-text h3{font-size:12px;margin-top:3px}.step-text p{font-size:11px;margin:6px 0 0}.mobile-brand,.bottom-nav{display:none}
/* Forms and authentication */
.auth{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr}.auth-art{background:var(--green);padding:55px 60px;display:flex;flex-direction:column;justify-content:space-between;color:#f0f3e7;position:relative;overflow:hidden}.auth-art .brand{color:#fff}.auth-art .brand small{color:#aebfb1}.auth-art .brand img{border:1px solid #ffffff24;border-radius:9px}.auth-quote{position:relative;z-index:1;margin-bottom:80px}.auth-quote h1{font-family:Georgia,"Noto Serif SC",serif;font-size:48px;font-weight:400;line-height:1.5;letter-spacing:1px}.auth-quote p{color:#adbfaf;line-height:2;font-size:13px;margin-top:27px}.auth-art:after{content:"";width:460px;height:460px;position:absolute;right:-150px;bottom:-150px;border:1px solid #ffffff14;border-radius:50%;box-shadow:0 0 0 60px #ffffff05,0 0 0 120px #ffffff03}.auth-copy{font-size:10px;letter-spacing:1px;color:#87a28f}.auth-form-wrap{display:grid;place-items:center;padding:40px}.auth-form{max-width:340px;width:100%}.auth-form h2{font-size:25px;letter-spacing:-.6px}.auth-form>p{font-size:12px;line-height:1.8;color:var(--muted);margin:14px 0 30px}.auth-form .btn{width:100%;margin-top:10px}.auth-form .eyebrow{margin-bottom:16px}form label.field{display:grid;gap:8px;font-size:11px;color:#77826e;margin-bottom:17px}input,select,textarea{min-width:0;width:100%;border:1px solid #dfe5d8;border-radius:7px;background:#fff;color:#34482e;padding:11px 12px;font-size:13px;outline:none}input:focus,select:focus,textarea:focus{border-color:#82a16e;box-shadow:0 0 0 3px #eaf0e3}input[type=checkbox]{width:auto}textarea{min-height:74px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.form-grid .full{grid-column:1/-1}.form-help{font-size:10px;color:#929b8b;line-height:1.8;margin-top:3px}.form-error{background:#faeeeb;color:#aa5848;font-size:12px;padding:12px;line-height:1.8;border-radius:7px;margin:10px 0}.form-error:empty{display:none}.form-buttons{display:flex;justify-content:flex-end;gap:9px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}dialog{border:1px solid var(--line);border-radius:17px;box-shadow:0 30px 90px #122f2a26;padding:27px;width:560px;max-width:calc(100% - 28px);max-height:90dvh;color:var(--ink)}dialog::backdrop{background:#1c2c2859;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.modal-head h2{font-size:19px}.close{border:0;background:#f0f3eb;border-radius:50%;width:29px;height:29px;color:#7b8973;font-size:18px}.snapshot-item{display:grid;grid-template-columns:1fr 115px 20px;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.snapshot-item input[type=checkbox]{width:16px;height:16px;accent-color:var(--green)}.snapshot-item small{display:block;font-size:10px;margin-top:4px}.snapshot-item .value-input{font-size:13px;text-align:right;padding:8px}.snapshot-items{max-height:45dvh;overflow:auto}.snapshot-items input:disabled{opacity:.5}.compact-select{max-width:170px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(20px);background:#203d32;color:#fff;padding:12px 20px;border-radius:9px;font-size:12px;z-index:1000;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;line-height:1.8}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}
@media(min-width:1500px){.main{padding-top:45px}.net-card{min-height:265px}.net-value{font-size:49px}}
@media(max-width:1150px){.layout{grid-template-columns:195px 1fr}.sidebar{padding:27px 13px}.brand strong{font-size:17px}.brand{gap:8px}.brand img{width:32px;height:32px}.topbar{padding:0 25px}.main{padding:28px 25px}.hero-grid{grid-template-columns:1.35fr 1fr}.net-value{font-size:36px}.metrics{gap:10px}.metric{padding:17px}.metric-value{font-size:22px}.two-col{grid-template-columns:1fr 1fr;gap:15px}.panel{padding:20px}}
@media(max-width:800px){.layout{display:block}.sidebar{display:none}.topbar{height:66px;padding:0 20px}.breadcrumb{display:none}.mobile-brand{display:flex;gap:8px;align-items:center;font:18px Georgia,serif;letter-spacing:-.5px}.mobile-brand img{width:28px;height:28px}.top-actions time{display:none}.main{padding:25px 18px 105px}.page-head{margin-bottom:23px;align-items:flex-start}h1{font-size:25px}.subtitle{font-size:11px}.eyebrow{font-size:9px}.page-head .actions{justify-content:flex-end;gap:7px}.page-head .btn{font-size:11px;padding:8px 11px}.page-head .btn svg{width:13px}.hero-grid{grid-template-columns:1fr;gap:13px}.net-card{min-height:224px;padding:25px}.net-value{font-size:40px}.reserve-card{padding:22px;gap:22px}.reserve-number{font-size:28px}.metrics{grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 20px}.metric{padding:19px}.metric-value{font-size:25px}.two-col,.settings-grid{grid-template-columns:1fr;gap:16px}.panel{padding:21px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fdfef9f5;backdrop-filter:blur(12px);border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:10px 5px max(10px,env(safe-area-inset-bottom));z-index:20}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:#929b89;font-size:9px;padding:3px 9px}.bottom-nav a.active{color:var(--green)}.bottom-nav a svg{width:19px;height:19px}.notice{font-size:11px;align-items:flex-start}.notice .btn{font-size:10px;padding:6px 8px;min-height:32px}.top-actions{gap:8px}.auth{display:block}.auth-art{padding:25px 26px 35px;min-height:230px}.auth-art .brand{margin:0 0 24px}.auth-quote{margin:0}.auth-quote h1{font-size:29px;line-height:1.6}.auth-quote p{font-size:10px;margin-top:10px}.auth-copy{display:none}.auth-form-wrap{padding:35px 27px}.auth-form h2{font-size:23px}.form-grid{gap:0 12px}dialog{padding:23px;max-height:87dvh}.setup-panel{padding:25px;margin:10px auto}.table-wrap{margin:0 -4px}.table-wrap table{font-size:11px}th{padding:11px 9px}td{padding:14px 9px}.timeline-row{grid-template-columns:70px 1fr;gap:10px}.timeline-row>small{grid-column:2}.net-bottom{font-size:10px}.legend{font-size:9px}.panel-head{margin-bottom:19px}.page-head.report-head{flex-wrap:wrap}.report-head .actions{width:100%;justify-content:flex-start}.page-head .btn .btn-label{display:none}#toast{bottom:90px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.qa-fixture-note{position:fixed;right:14px;bottom:12px;padding:6px 11px;border:1px solid #d5dfcb;background:#f1f6e9;color:#6b815a;font-size:10px;border-radius:6px;z-index:100;pointer-events:none}@media(max-width:800px){.qa-fixture-note{bottom:75px;font-size:9px}}

.mobile-brand{text-decoration:none}
