@import url('/fonts.css');
:root{--bg:#f5f4ee;--paper:#fffefa;--ink:#203e36;--muted:#7b837d;--line:#e3e7dc;--green:#244f46;--lime:#e4ebbf;--orange:#b67844;--red:#ad4839;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a0ba74;outline-offset:3px}[hidden]{display:none!important}.shell{max-width:1120px;margin:auto;padding:0 40px}.topbar{height:110px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px;font-size:20px;font-weight:700;letter-spacing:1px}.brand-icon{width:44px;height:44px;background:var(--green);color:#f1e6b8;display:grid;place-items:center;border-radius:14px;font-family:serif;font-weight:400;font-size:25px}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:1.3px;color:var(--muted);margin-top:5px}.badge{font-size:12px;padding:7px 12px;border:1px solid #d4dece;border-radius:30px;color:#657761;background:#edf0e6}.eyebrow{font-size:10px;letter-spacing:2.4px;font-weight:600;color:#849179}.heading{display:flex;align-items:flex-end;justify-content:space-between;margin:42px 0 26px;gap:20px}h1{font-size:32px;font-weight:650;letter-spacing:-1px;margin:12px 0 10px}h2{font-size:21px;margin:7px 0 0;font-weight:650}h3{font-size:15px;margin:0}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.8}.heading p{margin:0;font-size:13px;color:var(--muted)}.month-picker{display:flex;gap:5px;align-items:center;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:5px}.month-picker input{border:0;background:none;color:var(--ink);font-size:14px;padding:8px;width:151px;min-width:0}.icon-btn{border:0;background:transparent;color:var(--ink);font-size:24px;line-height:1;width:38px;height:38px;border-radius:10px;flex-shrink:0}.icon-btn:hover{background:#eaf0e3}.summary{display:grid;grid-template-columns:1.65fr 1fr 1fr;gap:14px}.total-card{background:var(--green);color:#fffdf5;border-radius:20px;padding:27px 30px;position:relative;overflow:hidden;min-height:188px}.total-card:after{content:'月';position:absolute;right:-6px;bottom:-36px;font-size:190px;opacity:.045;font-family:serif;pointer-events:none}.total-card .label{color:#c3d0ba;font-size:12px}.total-value{font-size:44px;font-weight:550;letter-spacing:-1.4px;font-variant-numeric:tabular-nums;margin:18px 0 12px}.total-value small{font-size:24px;font-weight:400;margin-right:7px}.total-card .caption{font-size:11px;color:#c2d1be}.stat-card{border:1px solid var(--line);border-radius:20px;background:var(--paper);padding:25px 24px;display:flex;flex-direction:column;justify-content:space-between}.stat-top{display:flex;align-items:center;gap:9px;font-size:12px;color:#647160}.stat-icon{background:#edf1df;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;color:#647d43}.stat-card:nth-child(3) .stat-icon{background:#f7ecde;color:#a16c36}.stat-value{font-size:29px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.6px;margin:12px 0}.stat-value small{font-size:17px;margin-right:5px;font-weight:400}.stat-card .caption{font-size:11px;color:var(--muted)}.progress-strip{display:flex;align-items:center;gap:14px;padding:18px 0;font-size:12px;color:#78836f}.progress-track{height:4px;background:#e1e7d8;border-radius:4px;width:90px;overflow:hidden}.progress-track span{display:block;height:100%;background:#8ba867}.progress-strip .updated{margin-left:auto;color:#949b90;font-size:11px}.workspace{margin-top:17px;background:var(--paper);border:1px solid var(--line);border-radius:20px;overflow:hidden}.workspace-head{padding:14px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.tabs{display:flex;gap:26px}.tab{border:0;background:transparent;color:var(--muted);padding:15px 0;font-size:13px;position:relative;white-space:nowrap}.tab.active{color:var(--green);font-weight:650}.tab.active:after{content:'';height:3px;position:absolute;bottom:-15px;left:0;right:0;background:var(--green);border-radius:5px}.head-actions{display:flex;gap:8px}.btn{min-height:43px;border:1px solid transparent;padding:10px 17px;border-radius:10px;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:550}.primary{background:var(--green);color:white}.primary:hover{background:#336356}.secondary{background:#f0f2e9;color:#506747;border-color:#e4e9db}.ghost{background:transparent;color:#6d7d64;border-color:var(--line)}.danger{color:var(--red);background:#fff2ee}.full{width:100%}.workspace-body{padding:24px;min-height:270px}.list-head{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#92998d;margin:0 0 9px}.record-row{width:100%;text-align:left;display:flex;align-items:center;gap:13px;background:none;border:0;border-bottom:1px solid #edf0e7;padding:18px 0;color:var(--ink)}.record-row:last-child{border-bottom:0}.record-icon{height:42px;width:42px;border-radius:13px;background:#eff2e4;display:grid;place-items:center;color:#72844c;font-size:19px;flex-shrink:0}.record-icon.ai{background:#f7ecdf;color:#ac7742}.record-info{min-width:0;flex:1}.record-title{font-size:14px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-meta{font-size:11px;color:#8a9387;margin-top:7px}.record-money{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.arrow{font-size:20px;color:#b1b9a9;margin-left:5px}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:35px 20px 30px}.empty-symbol{width:62px;height:62px;border-radius:20px;background:#eff2e3;color:#8e9b6e;display:grid;place-items:center;font-size:30px;margin-bottom:17px}.empty strong{font-size:15px;font-weight:550}.empty p{font-size:12px;color:var(--muted);line-height:1.9;max-width:310px;margin:9px 0 18px}.materials{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.material{background:#fafbf5;border:1px solid var(--line);border-radius:13px;padding:18px;text-align:left;color:var(--ink);min-height:127px;position:relative}.material .material-icon{font-size:20px;display:block;margin-bottom:14px;color:#819461}.material strong{font-size:13px}.material small{display:block;color:var(--muted);font-size:11px;margin-top:7px}.material .state{position:absolute;right:12px;top:14px;font-size:10px;background:#ecefe5;padding:4px 7px;border-radius:20px;color:#8a927f}.material .state.done{background:#e4edda;color:#607b42}.note-text{white-space:pre-wrap;line-height:1.9;font-size:14px;overflow-wrap:anywhere}.note-editor{width:100%;min-height:180px}.note-actions{margin-top:14px;display:flex;justify-content:flex-end}.notice{display:flex;gap:12px;margin:22px 0;color:#8b927f;align-items:flex-start;font-size:11px;line-height:1.9}.notice .dot{background:#dce4c6;min-width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:12px}.bottom-tools{display:flex;justify-content:flex-end;gap:15px;font-size:11px;color:#8d9684;margin:16px 0}.text-btn{border:0;background:none;color:inherit;font-size:inherit;padding:8px;cursor:pointer}footer{border-top:1px solid var(--line);margin-top:35px;padding:24px 0 30px;color:#a1a797;font-size:10px;letter-spacing:.8px;text-align:center}footer span{margin:0 8px}.welcome{max-width:500px;margin:70px auto 90px}.welcome h1{font-size:42px;line-height:1.5;margin:16px 0}.welcome>p{color:#85917b;line-height:1.9;font-size:14px}.login-form{display:flex;gap:8px;margin-top:24px}.login-form input{flex:1;min-width:0}.welcome .login-note{margin-top:28px;font-size:12px;line-height:1.9;color:var(--muted)}input,select,textarea{border:1px solid #dfe5d7;border-radius:9px;background:#fffefa;padding:12px;color:var(--ink);max-width:100%}textarea{resize:vertical}dialog{border:1px solid var(--line);border-radius:20px;width:min(540px,calc(100% - 28px));max-height:90dvh;padding:0;color:var(--ink);background:var(--paper);box-shadow:0 30px 90px #13291e30}dialog::backdrop{background:#1b342d65;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid var(--line);gap:15px}.form-body{padding:24px;display:flex;flex-direction:column;gap:19px}.form-body>p{margin:0;font-size:13px;line-height:1.8}.form-body label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#718068}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-row>*{min-width:0}.label-line{font-size:12px;color:#718068;display:flex;justify-content:space-between;gap:6px;margin-bottom:9px}.label-line .muted{font-size:10px}.file-drop{position:relative;display:flex;align-items:center!important;padding:20px;border:1px dashed #c9d5ba;border-radius:12px;background:#f6f8ed;cursor:pointer}.file-drop input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.file-drop strong{font-size:13px;color:#63774f}.file-drop span:last-of-type{font-size:10px}.upload-icon{font-size:25px}.file-list{display:flex;flex-direction:column;gap:7px;margin-top:10px}.selected-file{display:flex;gap:8px;font-size:11px;align-items:center;padding:8px;background:#f1f3eb;border-radius:7px}.selected-file .filename{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-state{font-size:10px;color:#82956c}.retention-tip{font-size:11px!important;color:#9a895d;line-height:1.8}.dialog-actions{padding:18px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;background:var(--paper);position:sticky;bottom:0}.upload-progress{font-size:12px;color:#65804b;line-height:1.9}.upload-progress progress{width:100%;accent-color:#486940;height:7px}.error{color:var(--red);font-size:12px;line-height:1.8}.detail-meta{color:#88937d;font-size:12px}.detail-amount{font-size:30px;font-weight:600;margin:8px 0}.attachment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.attachment{border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0}.attachment img{width:100%;height:155px;object-fit:cover;display:block;background:#f1f1e9;cursor:zoom-in}.attachment video{width:100%;height:155px;background:#15261d;display:block}.attachment-caption{padding:10px;font-size:10px;color:var(--muted);display:flex;flex-direction:column;gap:8px}.attachment-caption .filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-links{display:flex;justify-content:space-between;gap:5px}.attachment-links a,.attachment-links button{border:0;background:none;padding:0;color:#647f4d;font-size:11px;text-decoration:underline}.expired-file{height:100px;padding:20px;background:#f1f2ec;font-size:12px;color:#909983;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.8}.video-info{padding:25px 18px;background:#edf1e5;color:#798d5e;text-align:center;font-size:13px;cursor:pointer;width:100%;border:0;height:155px}.section-divider{height:1px;background:var(--line);margin:4px 0}.mobilebar{display:none}#toast{position:fixed;bottom:35px;left:50%;transform:translate(-50%,20px);background:#203e36;color:white;font-size:13px;padding:12px 20px;border-radius:12px;opacity:0;pointer-events:none;transition:all .2s;z-index:100;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.saved-hint{font-size:12px;color:#7b8d67}.loading{padding:90px;text-align:center;color:#8c9a7b}.spin{width:24px;height:24px;border:2px solid #e0e7d5;border-top-color:#567640;border-radius:50%;animation:spin 1s linear infinite;margin:auto auto 14px}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:800px){.materials .material:nth-child(4),.materials .material:nth-child(5){min-height:127px}.heading h1{font-size:34px}.total-card{min-height:195px}.welcome{padding-bottom:30px}}
@media(max-width:720px){.shell{padding:0 20px}.topbar{height:83px}.brand{font-size:17px;gap:10px}.brand-icon{width:38px;height:38px;font-size:22px;border-radius:12px}.brand small{font-size:9px}.badge{font-size:10px;padding:6px 9px}.heading{margin:28px 0 20px;align-items:center;gap:5px}.heading h1{font-size:25px;margin:9px 0 8px}.eyebrow{font-size:8px;letter-spacing:1.8px}.heading p{font-size:11px}.month-picker{padding:3px;gap:0}.month-picker input{font-size:12px;padding:6px 0;width:117px}.month-picker .icon-btn{width:25px;height:31px;font-size:19px}.summary{grid-template-columns:1fr 1fr;gap:10px}.total-card{grid-column:1/-1;padding:23px 25px;min-height:171px;border-radius:17px}.total-value{font-size:43px;margin:14px 0}.total-card:after{right:10px;bottom:-33px}.stat-card{border-radius:15px;padding:17px 18px;min-height:130px}.stat-value{font-size:25px;margin:12px 0 9px}.stat-top{font-size:11px;gap:6px}.stat-icon{width:24px;height:24px;border-radius:7px}.stat-card .caption{font-size:10px}.progress-strip{flex-wrap:wrap;gap:8px;font-size:11px;padding:16px 0}.progress-track{width:60px}.progress-strip .updated{font-size:9px}.workspace{margin-top:8px;border-radius:15px}.workspace-head{padding:7px 16px}.tabs{gap:23px}.tab{font-size:12px;padding:15px 0}.tab.active:after{bottom:-8px}.head-actions{display:none}.workspace-body{padding:18px 16px;min-height:250px}.record-row{gap:10px;padding:16px 0}.record-icon{width:37px;height:37px;border-radius:11px;font-size:17px}.record-title{font-size:13px}.record-meta{font-size:10px}.record-money{font-size:15px}.arrow{margin:0}.materials{grid-template-columns:1fr 1fr;gap:10px}.material{padding:15px;min-height:120px}.material .state{font-size:9px;right:9px}.material strong{font-size:12px}.material small{font-size:10px}.notice{font-size:10px;margin:18px 0}.empty{padding:28px 5px 18px}.empty p{font-size:11px}footer{margin-top:25px;font-size:9px;padding-bottom:100px}.mobilebar{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:10;padding:12px 20px calc(12px + env(safe-area-inset-bottom));background:#fffefaf0;border-top:1px solid var(--line);backdrop-filter:blur(10px);gap:10px}.mobilebar .btn{flex:1;min-height:45px}.mobilebar .secondary{flex:0 0 95px}dialog{width:100%;max-width:560px;max-height:94dvh;margin:auto auto 0;border-radius:22px 22px 0 0;border-bottom:0}.dialog-head{padding:21px}.form-body{padding:21px;gap:17px}.dialog-actions{padding:16px 21px calc(16px + env(safe-area-inset-bottom))}.dialog-actions .btn{flex:1}input,select,textarea{font-size:16px}.form-body label{font-size:12px}.welcome{margin:50px auto}.welcome h1{font-size:35px}.welcome>p{font-size:13px}.login-form{flex-direction:column}.login-form input{width:100%}#toast{bottom:100px}.attachment img,.attachment video,.video-info{height:140px}.bottom-tools{margin-bottom:0}.full{min-height:44px}}
.progress-track .progress-0{width:0}.progress-track .progress-1{width:25%}.progress-track .progress-2{width:50%}.progress-track .progress-3{width:75%}.progress-track .progress-4{width:100%}
.shared-note-body{padding:18px 22px}.shared-note-body p{margin:0}.shared-note-body .note-actions{gap:8px}#note-title{margin:0}
@media(min-width:721px){.materials{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.receipt-box{padding:16px;background:#eff4e7;border:1px solid #dce7ce;border-radius:12px;font-size:12px;line-height:1.8}.ocr-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.ocr-toggle{flex-direction:row!important;align-items:center;gap:6px!important}.ocr-toggle input,.ocr-confirm input{accent-color:#244f46;width:17px;height:17px;vertical-align:middle;padding:0}.receipt-box .small{margin:7px 0 10px;font-size:10px}.receipt-box p{margin:7px 0}.ocr-working,.ocr-done{color:#456a34}.ocr-source{font-size:10px;color:#899378;overflow-wrap:anywhere}.ocr-evidence{display:grid;grid-template-columns:55px 1fr;gap:5px 10px;font-size:11px;margin:9px 0}.ocr-evidence>span{color:#8a967c}.ocr-evidence strong{font-weight:500;overflow-wrap:anywhere}.ocr-warning{color:#946833;font-size:11px}.ocr-confirm{background:#eff4e7;border:1px solid #dce7ce;border-radius:9px;padding:12px;color:#47633b!important}.ocr-confirm span{display:flex;align-items:center;gap:8px}.recognize-file{border:0;background:none;color:#527745;font-size:11px;padding:8px 4px;white-space:nowrap}.ocr-candidates{display:flex;flex-direction:column;gap:8px}.ocr-candidate{border:1px solid #d6e1c9;background:#fffefa;border-radius:8px;padding:11px;text-align:left;color:#416238;display:flex;flex-direction:column;gap:4px}.ocr-candidate strong{font-size:12px}.ocr-candidate span{font-size:11px;color:#7a886c}
