:root{font-family:Inter,Microsoft YaHei,PingFang SC,sans-serif;color:#283f38;background:#f6f7f2;font-synthesis:none;font-weight:400;font-size:14px;--green:#286354;--muted:#819087;--line:#e3e8df}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.45;cursor:default}button,a,input,select{touch-action:manipulation}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #d3b477;outline-offset:3px}.hidden{display:none!important}a{color:var(--green);text-underline-offset:3px}p{line-height:1.75}h2{font-size:16px;font-weight:650;margin:0}.sidebar{position:fixed;inset:0 auto 0 0;width:254px;padding:28px 20px 18px;background:#edf1e8;border-right:1px solid #dce3d7;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;color:#234d40;text-decoration:none;font-size:27px;font-weight:700;position:relative;padding-bottom:25px}.brand img{width:40px;height:40px}.brand span{font-size:9px;letter-spacing:2px;color:#849088;margin-left:2px;align-self:flex-end;margin-bottom:7px}.nav{width:100%;display:flex;align-items:center;justify-content:space-between;padding:12px;border-radius:9px;background:transparent;font-size:13px;color:#506b5b;text-align:left}.nav b,.category b{font-size:11px;font-weight:500;background:#ffffff70;min-width:24px;text-align:center;padding:2px 5px;border-radius:5px}.active{background:#dbe6d6!important;color:#245441!important;font-weight:600}.side-heading{display:flex;align-items:center;justify-content:space-between;margin:19px 4px 10px}.side-heading h2{font-size:12px;color:#5b7264;letter-spacing:1px}.tiny{font-size:10px;color:#819283}.month-heading{display:flex;align-items:center;justify-content:space-between;gap:3px;margin-bottom:9px}.month-heading button{background:transparent;color:#526e5c;font-size:22px;width:27px;height:32px;border-radius:6px}.month-heading button:hover{background:#dfe8da}#calendar-month{border:0;background:transparent;padding:5px;font-size:12px;font-weight:600;text-align:center;width:148px;color:#3b5e49}.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.weekdays{font-size:10px;color:#92a08f;text-align:center;margin:0 0 4px}.calendar-day{height:29px;border-radius:7px;background:transparent;color:#5f7464;position:relative;font-size:11px;padding:0 0 3px}.calendar-day:hover{background:#dce8d8}.calendar-day.today{box-shadow:inset 0 0 0 1px #93b08f;color:#2d684d;font-weight:700}.calendar-day.selected{background:var(--green);color:#fff;box-shadow:none}.calendar-day i{width:3px;height:3px;background:#639863;border-radius:50%;position:absolute;bottom:4px;left:calc(50% - 1.5px)}.calendar-day.selected i{background:#fff}.calendar-note{font-size:10px;color:#8a9987;margin:8px 4px 0;line-height:1.6}.category{width:100%;display:flex;align-items:center;justify-content:space-between;color:#627865;background:transparent;border-radius:7px;padding:8px 11px;text-align:left;font-size:12px}.category:hover{background:#e2eadc}.category i{font-style:normal;display:inline-block;width:25px;color:#80967a}.side-bottom{border-top:1px solid #dbe4d5;margin-top:18px;padding:14px 5px 0;color:#6e856f;font-size:11px;line-height:1.9}.side-bottom strong{font-size:16px;color:#386646}.side-bottom span{font-size:10px;color:#859780}.side-welcome{font-size:12px;color:#768c72;padding:5px}.browse-panel:not(.hidden)+.side-welcome{display:none}.browse-toggle{display:none}main{margin-left:254px;padding:0 38px;max-width:1130px}header{height:73px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:11px;color:#819087}.header-right{display:flex;gap:8px;align-items:center}.avatar{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#e9dfc9;color:#8c7e63}.pill{display:inline-block;background:#eaf0e5;color:#6c826b;padding:6px 10px;font-size:10px;border-radius:30px;white-space:nowrap}.intro{display:flex;align-items:center;justify-content:space-between;padding:29px 0 22px}.eyebrow{font-size:9px;letter-spacing:2px;color:#8d9b86}h1{font-size:28px;font-weight:650;margin:9px 0;letter-spacing:1px}.intro p{font-size:12px;color:#869480;margin:0}.sun{font-size:54px;color:#d4b676;margin-right:12px}.overview-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:0 0 20px}.overview-strip>div{display:flex;align-items:baseline;gap:10px;padding:13px 18px;background:#edf1e8;border:1px solid #e5eadf;border-radius:10px}.overview-strip b{font-size:23px;font-weight:600;color:#3b6750}.overview-strip span{font-size:11px;color:#7c8e76}.card{background:#fffefb;border:1px solid var(--line);border-radius:14px;padding:23px;box-shadow:0 3px 12px #334b3610}.card-top{display:flex;justify-content:space-between;align-items:center;gap:12px}textarea{width:100%;height:100px;min-height:70px;resize:vertical;border:0;background:transparent;color:#374c40;line-height:1.8;font-size:14px;padding:12px 0;margin-top:10px}textarea::placeholder{color:#a5afa0}.entry-tabs{display:flex;gap:6px;margin:2px 0 8px;flex-wrap:wrap}.entry-tabs button{padding:8px 12px;border-radius:7px;color:#738976;background:transparent;font-size:12px}.entry-tabs .selected{background:#eaf1e5;color:#325f45}.entry-tabs button:hover{background:#edf2e9}.options{display:flex;flex-wrap:wrap;gap:15px;margin:14px 0;font-size:11px;color:#75876f}.options label{display:flex;align-items:center;gap:3px;line-height:1.6}input[type=checkbox]{accent-color:var(--green);width:14px;height:14px}.composer-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0e7;padding-top:13px;gap:12px}.upload-help{color:#8c9b83;font-size:10px;max-width:70%;line-height:1.8}.upload-help summary{cursor:pointer}.upload-help p{margin:6px 0}.upload-help small{font-size:10px}.primary{background:var(--green);color:#fff;border-radius:8px;padding:11px 18px;white-space:nowrap;font-size:12px;min-height:40px}.primary:hover{background:#204f43}.primary span{margin-left:9px}.quiet{background:transparent;color:#4d7a60;border-radius:6px;padding:7px 9px;font-size:11px}.quiet:hover{background:#eaf1e4}.secondary{background:#e6eee1;color:#486e51;padding:10px 14px;border-radius:8px;font-size:12px;white-space:nowrap}input:not([type=checkbox]),select{border:1px solid #dee5d6;background:#fffefb;border-radius:8px;padding:10px;color:#5a705e;font-size:12px;min-width:0}.section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:27px 0 16px}.section-title h2{font-size:18px}.section-title p{font-size:11px;color:#8a9980;margin:6px 0 0}.filters{display:flex;gap:8px;margin-bottom:20px}#search{flex:1;min-width:100px}.filters input[type=date]{width:144px}.filters select{max-width:116px}.day-divider{display:flex;align-items:center;gap:12px;color:#819477;font-size:11px;font-weight:500;margin:23px 0 12px}.day-divider:after{content:"";flex:1;height:1px;background:var(--line)}.record{margin-bottom:15px}.record-meta{display:flex;justify-content:space-between;gap:10px;color:#92a088;font-size:10px}.record-meta time{font-size:12px;color:#567654;font-weight:600}.record-text{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0;line-height:1.85}.long-text{margin:14px 0}.long-text summary{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;cursor:pointer}.long-text summary span{font-size:11px;color:#779466}.summary{padding:11px 14px;border-radius:8px;background:#f4f6ee;color:#7a8b6b;font-size:12px;margin-top:14px}.summary b{font-size:10px;color:#668056}.summary p{margin:5px 0 0;overflow-wrap:anywhere}.tags{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:12px}.tags button,.tags>span{padding:5px 9px;background:#f0efe1;color:#8b8865;font-size:10px;border-radius:5px}.tags button:hover{background:#e7e6d3}.tags small{font-size:9px;color:#a0ab98;margin-left:2px}.transaction{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;font-size:12px;color:#647b5c}.total{border-top:1px solid #ecf0e4;margin-top:12px;padding-top:11px;text-align:right;color:#768d69;font-size:11px}.total strong{font-size:13px;color:#3a694c;margin-left:10px}.record-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0e8;margin-top:15px;padding-top:7px}.record-actions>span{font-size:10px;color:#a0ad93}.delete-record{color:#a86b59}.delete-record:hover{background:#f9eee7;color:#995440}.recognition{background:#f2f5ed;border-radius:8px;padding:11px 14px;margin:13px 0;color:#6f8466;font-size:11px}.recognition summary{cursor:pointer}.recognition .record-text{font-size:12px;max-height:420px;overflow:auto;margin-bottom:8px}.recognition small{color:#9aa68e;font-size:10px}.file{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:8px 10px;margin:6px 5px 0 0;border-radius:7px;background:#eaf0e3;font-size:11px;color:#68835c;overflow-wrap:anywhere}.file button{background:transparent;color:#597853}.pagination{display:flex;align-items:center;justify-content:center;gap:18px;font-size:11px;color:#8f9d85;margin-top:20px}.empty{text-align:center;border:1px dashed #d9e2d1;border-radius:12px;padding:35px 15px;margin-top:20px;color:#8e9e84}.empty>span{font-size:32px}.empty h3{font-size:14px;font-weight:500}.empty p{font-size:11px}.error{color:#a85842!important}#notice{font-size:11px;color:#68835a;line-height:1.8;padding-top:18px;overflow-wrap:anywhere}footer{text-align:center;color:#a3ae9a;font-size:10px;padding:30px 0}#settings-panel{margin-bottom:20px}.settings-group{border-top:1px solid #e9ede2;margin-top:15px;padding-top:17px}.settings-group h3{font-size:13px;margin:0 0 8px}.settings-group p,.settings-group small{font-size:11px;color:#829377;line-height:1.8}.auth-tabs{display:flex;gap:8px;margin-top:16px}.auth-tabs button{background:#eef2e8;color:#627d5b;padding:9px 13px;font-size:12px;border-radius:7px}.auth-tabs .selected{background:#dce8d6;color:#345c43}.auth-form,#ai-form,#password-form{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:17px}.auth-form input,#ai-form input,#password-form input{flex:1;min-width:150px}.auth-form small{flex-basis:100%;font-size:11px;color:#8a987f;line-height:1.8}.setting-status{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#7a8e6c;font-size:11px;margin:10px 0}.download-note{font-size:11px;color:#8c9c80;line-height:1.8}.user-table{overflow-x:auto}.user-table table{width:100%;border-collapse:collapse;font-size:11px;margin:10px 0}.user-table td,.user-table th{text-align:left;padding:9px 7px;border-bottom:1px solid #eaf0e2}.user-table th{color:#749063}.user-table td:first-child{overflow-wrap:anywhere}#files{display:flex;flex-wrap:wrap;gap:10px}.draft-photo{position:relative;width:88px}.draft-photo .photo-thumb{height:77px}.draft-photo>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:#8d9d83;margin-top:4px}.remove-photo{position:absolute;right:-5px;top:-5px;border-radius:50%;width:23px;height:23px;background:#315745;color:#fff;box-shadow:0 1px 5px #0002;font-size:16px}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0}.photo-grid:has(>.photo-thumb:only-child){grid-template-columns:minmax(0,350px)}.photo-thumb{display:block;position:relative;padding:0;width:100%;height:160px;border-radius:10px;overflow:hidden;background:#e8eee2;border:1px solid #e3eada;text-align:left}.photo-thumb img{width:100%;height:100%;object-fit:cover;display:block;color:#8ca080;font-size:11px}.photo-thumb:hover img{filter:brightness(.95)}.photo-caption{position:absolute;inset:auto 0 0;padding:18px 10px 8px;background:linear-gradient(transparent,#243a32a0);color:#fff;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:0}.photo-thumb:hover .photo-caption,.photo-thumb:focus-visible .photo-caption{opacity:1}.preview-error{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:12px;color:#728368;font-size:11px}.photo-dialog{padding:0;border:1px solid #d6e2d1;border-radius:15px;width:min(1000px,94vw);height:90dvh;max-width:1000px;max-height:90dvh;background:#f8faf5;box-shadow:0 25px 80px #0004;overflow:hidden;color:#47654c}.photo-dialog[open]{display:flex;flex-direction:column}.photo-dialog::backdrop{background:#192b26b8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.viewer-toolbar,.viewer-nav{display:flex;align-items:center;gap:10px;padding:13px 16px;flex-shrink:0}.viewer-toolbar{border-bottom:1px solid #e3eadc}.viewer-toolbar>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.viewer-toolbar button,.viewer-nav button{background:#e6eee0;border-radius:7px;color:#496749;padding:9px 12px;font-size:12px}#photo-close{font-size:20px;padding:4px 12px}.viewer-image{flex:1;min-height:0;position:relative;display:grid;place-items:center;padding:12px}.viewer-image img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;min-height:0}.viewer-image img:not([src]){visibility:hidden}.viewer-image.zoomed{display:block;overflow:auto}.viewer-image.zoomed img{width:auto;height:auto;max-width:none;max-height:none;object-fit:initial}.viewer-message{position:absolute;color:#8ba17e;font-size:13px;padding:20px;text-align:center;pointer-events:none}.viewer-nav{justify-content:space-between;font-size:12px;border-top:1px solid #e3eadc}@media(min-width:1600px){main{margin-right:auto}}@media(max-width:1100px)and (min-width:761px){.sidebar{width:225px;padding:25px 16px}main{margin-left:225px;padding:0 26px}.brand{font-size:25px}.brand span{letter-spacing:1px}.calendar-day{height:27px}.overview-strip>div{padding:12px}.filters{flex-wrap:wrap}.filters #search{flex-basis:200px}}@media(max-width:760px){.sidebar{position:relative;inset:auto;width:100%;height:auto;padding:17px 19px 13px;border-right:0;border-bottom:1px solid #dfe7d9;overflow:visible;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}.brand{padding:0;font-size:22px;gap:8px}.brand img{width:32px;height:32px}.brand span{font-size:8px;margin-bottom:6px;letter-spacing:1px}.side-welcome{margin:3px 0;font-size:10px}.browse-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#dfe9d8;border-radius:8px;padding:9px 12px;color:#53784e;font-size:11px;min-height:36px}.browse-panel{display:none;width:100%;padding-top:17px}.browse-open .browse-panel:not(.hidden){display:block}.browse-panel:not(.hidden)+.side-welcome{display:none}.calendar-section{max-width:420px;margin:auto}.calendar-day{height:36px;font-size:12px}.month-heading{max-width:260px;margin:0 auto 10px}.weekdays{font-size:11px}.category-section .side-heading{margin-top:23px}#categories{display:grid;grid-template-columns:repeat(2,1fr);gap:4px}.category{padding:10px 12px}.category-section .calendar-note{margin-top:10px}.side-bottom{padding-top:11px;margin-top:12px}main{margin:0;padding:0 18px}header{height:55px;font-size:9px;gap:7px}.header-right{gap:2px}.header-right .quiet{font-size:10px;padding:6px}.header-right .pill{font-size:8px;padding:5px 7px}.avatar{width:25px;height:25px;font-size:10px}.intro{padding:24px 0 20px}h1{font-size:25px}.eyebrow{font-size:8px;letter-spacing:1.5px}.intro p{font-size:11px}.sun{font-size:43px;margin-right:0}.overview-strip{gap:7px;margin-bottom:16px}.overview-strip>div{padding:10px 12px;display:flex;flex-direction:column;gap:3px}.overview-strip b{font-size:23px}.overview-strip span{font-size:10px}.card{padding:18px;border-radius:12px}.card-top h2{font-size:15px}.pill{font-size:9px;padding:5px 7px}textarea{height:103px;font-size:14px}.entry-tabs{gap:3px}.entry-tabs button{padding:8px 10px;font-size:11px}.options{gap:9px;font-size:10px}.composer-bottom{gap:8px}.primary{padding:11px 15px}.upload-help{max-width:57%;font-size:9px}.upload-help small{font-size:9px}.section-title{margin-top:26px}.section-title h2{font-size:17px}.filters{flex-wrap:wrap;gap:7px}.filters #search{flex-basis:100%;width:100%}.filters select{flex:1;max-width:none}.filters input[type=date]{width:140px}.filters input,.filters select{font-size:11px;padding:9px}.secondary{font-size:11px;padding:9px 12px}.photo-grid{gap:7px;grid-template-columns:repeat(2,minmax(0,1fr))}.photo-thumb{height:140px}.photo-grid:has(>.photo-thumb:only-child) .photo-thumb{height:190px}.photo-caption{opacity:1}.record-text{font-size:14px}.record-meta{font-size:9px}.transaction{font-size:11px}.transaction .quiet{font-size:10px;padding:6px}.auth-form,#ai-form,#password-form{flex-direction:column;align-items:stretch}.auth-form input,#ai-form input,#password-form input{min-width:0;width:100%}.auth-form small{flex-basis:auto}.photo-dialog{height:88dvh;max-height:88dvh;width:96vw;border-radius:12px}.viewer-toolbar{padding:10px;gap:5px}.viewer-toolbar button,.viewer-nav button{padding:8px 10px;font-size:11px}.viewer-toolbar>span{font-size:11px}.viewer-image{padding:6px}.viewer-nav{padding:12px}.recognition .record-text{max-height:300px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media(min-width:761px){.sidebar{display:flex;flex-direction:column;overflow:hidden}.brand{flex-shrink:0}.browse-panel{display:flex;flex-direction:column;flex:1;min-height:0}.browse-scroll{overflow-y:auto;flex:1;min-height:0;scrollbar-width:thin}.nav,.side-bottom{flex-shrink:0}.side-bottom{margin-top:12px;padding-top:11px}.intro{padding:23px 0 19px}.composer textarea{height:80px}.composer{padding:21px}}
