:root{--paper: #f6f5f0;--white: #fffefa;--ink: #263b33;--muted: #93958a;--green: #284f3e;--green-soft: #edf2e9;--border: #e8e8de;--orange: #b9825f;--red: #b76755;--shadow: 0 12px 40px #253a2c06;--font-numbers: "Helvetica Neue", Arial, sans-serif;font-family:Helvetica Neue,Arial,PingFang SC,Microsoft YaHei,Noto Sans CJK SC,sans-serif;font-variant-numeric:lining-nums tabular-nums;color:var(--ink);background:var(--paper);font-synthesis:none;font-size:14px;line-height:1.6}*{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}button:disabled{cursor:default;opacity:.55}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible{outline:2px solid #91a988;outline-offset:4px}input,select,textarea{color:var(--ink);border:1px solid var(--border);background:var(--white);border-radius:8px;min-width:0;padding:12px 14px;outline:none;width:100%;transition:border .2s}input:focus,select:focus,textarea:focus{border-color:#7f9b81;box-shadow:0 0 0 3px #284f3e09}input::placeholder,textarea::placeholder{color:#b1b2a8}textarea{resize:vertical}h1,h2,h3,p{margin:0}h1{font-size:29px;font-weight:600;letter-spacing:1px;line-height:1.5}h2{font-size:18px;font-weight:600}h3{font-size:16px;font-weight:500}svg{flex-shrink:0;vertical-align:middle}.muted{color:var(--muted);font-size:13px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:500;color:#89917f}.sidebar{width:234px;background:#eeefe6;border-right:1px solid #e4e6da;position:fixed;left:0;top:0;bottom:0;display:flex;flex-direction:column;padding:36px 22px 20px}.brand{display:flex;align-items:center;gap:12px;font-family:Songti SC,STSong,serif;font-size:27px;font-weight:600;letter-spacing:5px}.brand-mark{width:45px;height:49px;background:var(--green);border-radius:13px;display:grid;place-items:center;color:#faf8ed;transform:rotate(-5deg)}.brand-mark svg{transform:rotate(5deg)}.brand-sub{display:block;font-size:9px;letter-spacing:2.1px;font-family:var(--font-numbers);font-weight:400;margin-top:-3px}.sidebar-caption{color:#999e8b;font-size:11px;margin:26px 0 25px 10px;letter-spacing:1.5px}.side-nav{display:grid;gap:8px}.side-nav>a{display:flex;align-items:center;gap:13px;min-height:47px;padding:0 16px;border-radius:9px;font-size:13px;color:#7f8676;transition:.2s}.side-nav>a.router-link-active{background:var(--green);color:#fffefa;box-shadow:0 6px 12px #284f3e0d}.side-nav>a:hover:not(.router-link-active){background:#e3e6d9}.nav-dot{width:5px;height:5px;border-radius:50%;background:#a9b99a;margin-left:auto}.sidebar-note{margin:auto 5px 35px;padding-top:55px;color:#88917a}.sidebar-note p{font-family:Songti SC,STSong,serif;font-size:18px;line-height:1.9;margin:16px 0 14px}.sidebar-note>span{font-family:var(--font-numbers);letter-spacing:1.8px;font-size:8px}.account{display:flex;align-items:center;gap:10px;border-top:1px solid #dce0d2;padding-top:20px}.avatar{width:34px;height:34px;display:grid;place-items:center;background:#dfe5d6;color:#54704d;border-radius:50%;flex-shrink:0;font-family:var(--font-numbers);font-size:17px}.avatar.warm{background:#f2e8da;color:#a58662}.account-text{flex:1;min-width:0}.account-text b,.account-text span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-text b{font-size:11px;font-weight:500}.account-text span{font-size:10px;color:#969c89}.icon-button{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;border-radius:7px;color:#87907e}.icon-button:hover{background:#e9ecdf}.main-content{margin-left:234px;max-width:1600px;padding:39px 48px 45px}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:34px;gap:20px}.page-header h1{margin:6px 0 5px}.page-header p{font-size:12px;color:#989b8e;letter-spacing:.4px}.header-date{display:flex;align-items:center;gap:8px;color:#909582;font-size:11px;white-space:nowrap}.workspace-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px;gap:15px}.segmented{display:flex;gap:4px;padding:4px;background:#eaece2;border-radius:9px;flex-shrink:0}.segmented>button{border:0;background:transparent;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:6px;padding:8px 19px;color:#858b7d;font-size:12px;transition:.2s}.segmented>button.active{background:var(--white);color:var(--green);box-shadow:0 2px 5px #3346310a}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:8px;padding:10px 18px;min-height:41px;white-space:nowrap;font-size:12px;transition:background .2s,transform .2s}.button:active{transform:translateY(1px)}.button.primary{background:var(--green);color:#fffef6}.button.primary:hover:not(:disabled){background:#193e2c}.button.secondary{border-color:var(--border);background:var(--white);color:#7b846f}.button.small{min-height:33px;padding:6px 12px;font-size:11px}.button.subtle{background:transparent}.danger{color:var(--red)!important}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:none;color:var(--green);font-size:12px;padding:5px 0}.text-button:hover{text-decoration:underline}.book-selectors{display:flex;align-items:center;gap:12px;margin-bottom:24px;flex-wrap:wrap}.compact-field{display:flex;align-items:center;gap:8px;color:#909583;font-size:11px;min-width:0}.compact-field select{font-size:12px;width:auto;max-width:230px;background:transparent;border:0;padding:3px 22px 3px 0;color:#4f5d48;cursor:pointer}.readonly-tag{font-size:10px;background:#eaece2;color:#8b937e;border-radius:4px;padding:2px 7px}.summary-grid{display:grid;grid-template-columns:1.18fr 1fr 1fr;gap:18px;margin-bottom:28px}.summary-card{position:relative;overflow:hidden;background:var(--white);padding:18px 20px;border-radius:12px;border:1px solid var(--border);min-height:140px;box-shadow:var(--shadow)}.summary-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#8c9381;position:relative;z-index:1}.summary-number{display:flex;align-items:baseline;gap:8px;font-size:34px;letter-spacing:-.6px;font-family:var(--font-numbers);margin-top:14px;line-height:1.3;position:relative;z-index:1;font-variant-numeric:lining-nums tabular-nums}.summary-number>span{font-size:18px}.summary-note{display:block;font-size:10px;color:#a2a795;letter-spacing:.6px;margin-top:12px;position:relative;z-index:1}.balance-card{background:var(--green);border-color:var(--green);color:#fcf9ee}.balance-card .summary-label{color:#c6d0bc}.balance-card .summary-note{color:#a0b69d}.balance-decoration{position:absolute;width:165px;height:165px;border:1px solid #ffffff0c;border-radius:50%;right:-70px;bottom:-80px;box-shadow:0 0 0 25px #ffffff03,0 0 0 50px #ffffff03}.small-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center}.small-icon.income,.entry-icon.income{background:#edf2e7;color:#719060}.small-icon.expense,.entry-icon.expense{background:#f5eee4;color:#b38e6a}.income{color:#779565}.expense{color:#b58765}.income-bg{background:#92aa7d}.expense-bg{background:#c3a07c}.panel{background:var(--white);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow)}.ledger-panel{padding:27px 29px 0}.section-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-header h2{font-size:15px}.section-header p{font-size:10px;color:#a2a794;margin-top:6px}.period-nav{display:flex;align-items:center;gap:8px;font-size:11px;color:#88917c;white-space:nowrap}.timeline-legend{display:flex;justify-content:space-between;max-width:420px;margin:5px auto 18px;font-size:9px;letter-spacing:1px;color:#9ca08f}.timeline-legend>span{display:flex;align-items:center;gap:7px}.legend-dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:8px}.timeline{position:relative;padding-bottom:12px}.timeline:before{content:"";position:absolute;top:6px;bottom:20px;left:50%;width:1px;background:#e9ebdf}.timeline-day{position:relative;padding-top:3px;margin-bottom:28px}.timeline-date{position:relative;text-align:center;z-index:1;margin-bottom:15px}.timeline-date>span{display:inline-block;font-size:11px;font-weight:500;letter-spacing:1px;background:#eff1e7;border-radius:5px;padding:3px 13px;color:#7e8b6e}.timeline-date small{display:block;margin:5px auto 0;width:max-content;padding:0 8px;background:var(--white);color:#a3a895;font-size:9px}.timeline-row{position:relative;display:flex;min-height:64px;padding-bottom:8px}.timeline-row.income{justify-content:flex-start;padding-right:calc(50% + 25px)}.timeline-row.expense{justify-content:flex-end;padding-left:calc(50% + 25px)}.timeline-node{position:absolute;left:calc(50% - 3px);top:28px;background:#a6b993;border:2px solid var(--white);box-shadow:0 0 0 1px #d8e1cf;width:7px;height:7px;border-radius:50%}.timeline-row.expense .timeline-node{background:#c6a27c;box-shadow:0 0 0 1px #eadfce}.timeline-entry{display:flex;align-items:center;gap:11px;width:100%;text-align:left;background:#fafbf6;border:1px solid #e8ecdf;border-radius:8px;padding:10px 12px;color:var(--ink);transition:.2s}.timeline-entry:disabled,.entry-row:disabled{opacity:1}.timeline-entry:hover:not(:disabled){border-color:#b7c6a5;box-shadow:0 3px 15px #244c3d05}.timeline-row.expense .timeline-entry{background:#fcfaf6;border-color:#eee9df}.entry-icon{height:32px;width:32px;display:grid;place-items:center;border-radius:9px;flex-shrink:0}.entry-info{flex:1;min-width:0;display:flex;flex-direction:column}.entry-info b{font-size:12px;font-weight:500}.entry-info>span{font-size:10px;color:#a0a48f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px;margin-top:2px}.entry-info small{font-size:9px;color:#959e86}.entry-amount{font-size:18px;letter-spacing:-.3px;white-space:nowrap;font-family:var(--font-numbers);font-variant-numeric:lining-nums tabular-nums}.timeline-footer{border-top:1px solid #eff0e8;padding:17px;text-align:center;display:flex;gap:8px;justify-content:center;align-items:center;font-size:10px;color:#a9b097;letter-spacing:.5px}.owner-breakdown{display:flex;gap:20px;flex-wrap:wrap;margin:-12px 0 20px;font-size:11px;color:#969d87}.owner-breakdown b{color:#627657;margin-right:10px;font-weight:500}.owner-breakdown i{margin:0 8px;font-style:normal;color:#c4c9b9}.error-banner{padding:13px 16px;background:#f9eee8;color:#a4614d;border-radius:8px;font-size:12px;margin-bottom:20px;display:flex;justify-content:space-between;gap:12px}.loading-state{display:flex;justify-content:center;align-items:center;gap:10px;min-height:200px;font-size:12px;color:#98a18c}.spinner{border:2px solid #e7ebdf;border-top-color:#6e8b5f;width:18px;height:18px;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0}.weekday{text-align:center;font-size:11px;color:#9ca58d;padding:0 0 17px}.calendar-cell{position:relative;min-height:107px;background:transparent;border:0;border-top:1px solid #edf0e5;border-radius:3px;text-align:left;padding:10px 8px 8px;display:flex;flex-direction:column;align-items:flex-start;color:#7b886f}.calendar-cell:hover{background:#f5f7ee}.calendar-cell.selected{background:#edf2e6;box-shadow:inset 0 0 0 1px #cbd8bc}.day-number{font-size:12px}.day-number i{font-style:normal;font-size:8px;background:var(--green);color:#fff;border-radius:3px;margin-left:5px;padding:1px 3px}.today .day-number{font-weight:600;color:var(--green)}.day-balance{font-family:var(--font-numbers);font-size:14px;margin-top:8px}.day-detail{font-size:8px;color:#a1aa95;margin-top:4px;line-height:1.5}.day-empty{font-size:10px;color:#d1d8c7;margin-top:15px}.selected-day{border-top:1px solid var(--border);padding:25px 0 20px;margin-top:22px}.selected-day .section-header{margin-bottom:15px}.selected-day h3{font-size:14px}.selected-day .muted{font-size:10px}.entry-list{display:grid}.entry-row{width:100%;text-align:left;display:flex;align-items:center;gap:12px;border:0;border-bottom:1px solid #eff1e8;padding:13px 0;background:transparent}.entry-row:last-child{border-bottom:0}.entry-row .entry-info>span{max-width:100%}.entry-edit{margin-left:7px;color:#b0b99f}.empty-inline{text-align:center;padding:32px 16px;color:#a3ab97;font-size:12px}.empty-state{text-align:center;padding:65px 25px;display:flex;align-items:center;flex-direction:column;gap:15px;color:#819174}.empty-state h3{font-size:19px;color:var(--ink)}.empty-state p{font-size:12px;margin-bottom:5px}.footnote{display:flex;align-items:center;gap:7px;color:#a2a995;font-size:11px;margin-top:24px;line-height:1.9}.books-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.book-card{padding:15px}.book-cover{background:#e7ecdc;border-radius:7px;padding:28px 22px 25px;min-height:225px;color:#657a51;display:flex;flex-direction:column;align-items:flex-start;position:relative;overflow:hidden}.book-cover:after{content:"";position:absolute;left:8px;top:0;bottom:0;border-left:1px solid #ffffff7a}.book-cover>span{font-family:var(--font-numbers);font-size:8px;letter-spacing:2px;margin-top:22px}.book-cover h2{font-family:Songti SC,STSong,serif;font-size:23px;letter-spacing:2px;margin:7px 0 22px;overflow-wrap:anywhere}.book-cover small{font-family:var(--font-numbers);font-size:8px;letter-spacing:1px}.cover-1{background:#ece4d7;color:#a18b6b}.cover-2{background:#dce7e3;color:#698e80}.book-card-footer{display:flex;justify-content:space-between;align-items:center;padding:14px 1px 0}.new-book-card{min-height:310px;border:1px dashed #d6ddca;background:#f1f3e9;border-radius:12px;padding:22px;color:#8c9a7c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.new-book-card>span{width:50px;height:50px;background:#e7ecdc;border-radius:50%;display:grid;place-items:center}.new-book-card h3{font-size:13px}.new-book-card p{font-size:10px;color:#a1ac94}.category-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.category-panel{padding:24px}.category-panel h2{display:flex;align-items:center;gap:10px}.category-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #eef0e7;padding:12px 0;font-size:12px}.category-row.inactive{color:#b4bbaa}.category-row.inactive .legend-dot{opacity:.45}.category-row .text-button{font-size:10px;color:#97a087}.sharing-intro{background:#e9eee1;border-radius:10px;padding:20px 23px;display:flex;align-items:center;gap:15px;margin-bottom:24px;color:#789069}.sharing-intro p{font-size:14px;color:#5c7550}.sharing-intro p>span{display:block;font-size:11px;color:#92a082;margin-top:4px}.sharing-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.share-code-panel,.join-panel{padding:28px}.sharing-grid h2{margin:5px 0 12px}.sharing-grid .muted{font-size:11px}.share-code{font-family:var(--font-numbers);letter-spacing:8px;font-size:34px;color:var(--green);margin:25px 0;overflow-wrap:anywhere}.share-actions{display:flex;gap:10px}.share-code-panel .footnote{font-size:10px}.join-panel .field{margin:28px 0 22px}.code-input{font-family:var(--font-numbers);letter-spacing:3px;text-transform:uppercase;font-size:17px}.code-input::placeholder{letter-spacing:1px;font-size:12px}.sharing-lists{margin-top:22px}.sharing-lists>.panel{padding:22px}.sharing-lists .section-header{margin-bottom:10px}.sharing-lists h2{font-size:14px;margin:0}.count-badge{background:#eef1e5;padding:0 7px;border-radius:5px;color:#8b9a77;font-size:10px}.person-row{display:flex;align-items:center;gap:10px;padding:17px 0;border-top:1px solid #eff1e7}.person-row>div{flex:1;min-width:0}.person-row b,.person-row>div>span{display:block;overflow-wrap:anywhere}.person-row b{font-size:11px;font-weight:500}.person-row>div>span{font-size:10px;color:#a4ad95;margin-top:3px}.person-row .text-button{font-size:10px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#152f2466;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:50}.modal{background:var(--white);border:1px solid #ffffffe0;border-radius:16px;max-width:470px;width:100%;padding:29px;max-height:92dvh;overflow-y:auto;box-shadow:0 30px 100px #152f2433}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.modal-header h2{font-family:Songti SC,STSong,serif;font-size:23px;margin-top:4px}.modal-header .eyebrow{font-size:8px}.field{display:flex;flex-direction:column;gap:9px;margin-bottom:20px;font-size:12px;color:#7e8b70}.field input,.field textarea,.field select{font-size:13px}.optional{font-size:10px;color:#adb69f;display:contents}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:27px}.modal-actions>.danger{margin-right:auto}.input-action{display:flex;align-items:center;border:1px solid var(--border);border-radius:8px;overflow:hidden}.input-action:focus-within{border-color:#7f9b81}.input-action input{border:0;box-shadow:none!important;flex:1;width:100px;background:transparent}.input-action button{padding:10px 13px;white-space:nowrap;font-size:11px}.entry-types{margin-bottom:22px}.entry-types>button{flex:1}.amount-field{display:block;border-bottom:1px solid var(--border);margin-bottom:24px;padding-bottom:12px}.amount-field>span{font-size:11px;color:#a0a98f}.amount-field>div{display:flex;align-items:baseline;gap:10px;font-family:var(--font-numbers);font-size:23px}.amount-field input{border:0;font-size:37px;box-shadow:none;padding:4px 0;background:transparent;font-family:var(--font-numbers)}.category-pills{display:flex;flex-wrap:wrap;gap:7px}.category-pill{border:1px solid rgba(var(--category-ink-rgb, 77, 107, 59),.22);background:rgba(var(--category-rgb, 127, 184, 81),.09);color:var(--category-ink, #4d6b3b);border-radius:6px;font-size:11px;padding:7px 13px;display:flex;align-items:center;gap:3px}.category-pill.selected{background:rgba(var(--category-rgb, 127, 184, 81),.2);border-color:var(--category-ink, #4d6b3b);color:var(--category-ink, #4d6b3b);box-shadow:inset 0 0 0 1px var(--category-color, #7fb851);font-weight:600}.add-category{border-style:dashed;border-color:#e8ebdf;background:#f9faf4;color:#929d80}.inline-error{font-size:12px;color:#aa6650;background:#faf0e8;border-radius:6px;padding:10px 12px;margin:12px 0}.inline-success{font-size:12px;color:#6c8955;background:#eef4e5;border-radius:6px;padding:10px 12px;margin:12px 0}.toast-message{position:fixed;bottom:28px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:10px;padding:13px 16px;background:#fffefa;border:1px solid #d9e3cd;color:#5c7b49;box-shadow:0 8px 40px #152f241a;border-radius:10px;z-index:100;max-width:90vw;font-size:12px}.toast-message.error{color:#a4664c;border-color:#eddbcb}.toast-enter-active,.toast-leave-active{transition:.2s}.toast-enter,.toast-leave-to{opacity:0;transform:translate(-50%,10px)}.bottom-nav{display:none}.auth-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:#e9ecdf;display:flex;flex-direction:column;padding:45px 54px;color:var(--green)}.auth-story .brand{font-size:29px}.story-copy{margin:auto 0;padding:75px 0;max-width:460px}.story-copy .eyebrow{font-family:var(--font-numbers);font-size:10px}.story-copy h1{font-family:Songti SC,STSong,serif;font-size:clamp(36px,4.2vw,58px);font-weight:500;line-height:1.5;letter-spacing:3px;margin:22px 0}.story-copy h1>span{color:#a9b88a}.story-copy p{font-size:13px;line-height:2.2;color:#98a184}.story-line{display:flex;align-items:center;gap:20px;margin-top:45px;color:#9aac81}.story-line span{height:1px;width:60px;background:#cdd6ba}.auth-story footer{font-size:10px;letter-spacing:1px;color:#9aa487}.auth-story footer span{display:block;font-family:var(--font-numbers);font-size:8px;letter-spacing:1.5px;margin-top:10px}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:50px 40px;background:var(--white)}.auth-form{width:100%;max-width:350px}.auth-form h2{font-family:Songti SC,STSong,serif;font-size:29px;letter-spacing:2px;margin:9px 0}.auth-form>.muted{font-size:12px}.auth-tabs{margin:30px 0 24px}.auth-tabs>button{flex:1;font-size:12px}.auth-form form{margin-top:26px}.auth-submit{width:100%;margin-top:8px;justify-content:space-between;font-size:13px;padding:13px 18px}.auth-forgot{display:flex;margin:18px auto 0;font-size:11px;color:#8e9b7e}.auth-footnote{margin-top:45px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;color:#a2ad91}@media(min-width:1500px){.main-content{padding-left:65px;padding-right:65px}}@media(max-width:1150px){.sidebar{width:205px;padding:30px 17px 20px}.main-content{margin-left:205px;padding:30px 28px}.header-date{display:none}.summary-card{padding:20px}.summary-number{font-size:29px}.ledger-panel{padding:24px 20px 0}.timeline-row.income{padding-right:calc(50% + 16px)}.timeline-row.expense{padding-left:calc(50% + 16px)}.timeline-entry{padding:11px;gap:8px}.timeline-entry .entry-icon{display:none}.entry-amount{font-size:17px}.books-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.share-code{font-size:29px;letter-spacing:6px}}@media(max-width:760px){.sidebar{display:none}.main-content{margin-left:0;padding:26px 18px 100px}.page-header{margin-bottom:18px}.page-header .eyebrow{font-size:8px;letter-spacing:2px}.page-header h1{font-size:25px;margin:4px 0}.page-header p{font-size:10px}.workspace-toolbar{margin-bottom:16px;gap:9px}.segmented>button{padding:7px 12px;font-size:11px;gap:5px}.view-switch svg{width:14px}.workspace-toolbar>.button{padding:9px 13px;min-height:37px;font-size:11px}.book-selectors{margin-bottom:18px;gap:7px 13px}.compact-field{font-size:10px}.compact-field select{font-size:11px;max-width:170px}.summary-grid{gap:9px;grid-template-columns:1fr 1fr;margin-bottom:19px}.balance-card{grid-column:1/-1;min-height:108px}.summary-card{padding:12px 14px;min-height:108px;border-radius:10px}.summary-label{font-size:11px}.summary-number{font-size:27px;margin-top:12px;gap:6px}.summary-number>span{font-size:16px}.balance-card .summary-number{font-size:34px;margin-top:6px}.summary-note{font-size:8px;letter-spacing:0;margin-top:7px}.small-icon{width:24px;height:24px}.balance-card .summary-note{position:absolute;right:18px;bottom:20px;font-size:9px}.ledger-panel{padding:20px 13px 0;border-radius:10px}.section-header{gap:7px;margin-bottom:22px}.section-header h2{font-size:13px}.section-header p{font-size:9px;max-width:200px;line-height:1.6}.period-nav{font-size:10px;gap:3px}.period-nav .icon-button{width:24px;height:28px}.timeline-legend{max-width:80%;font-size:8px;margin-bottom:18px}.timeline-row.income{padding-right:calc(50% + 11px)}.timeline-row.expense{padding-left:calc(50% + 11px)}.timeline-entry{padding:8px 9px;gap:3px;flex-wrap:wrap;align-items:flex-start}.timeline-entry .entry-info{width:100%;flex-basis:100%}.timeline-entry .entry-info b{font-size:11px}.timeline-entry .entry-info>span{font-size:9px;max-width:125px}.timeline-entry .entry-amount{font-size:18px;margin-top:0}.timeline-row{min-height:64px}.timeline-node{top:30px}.timeline-date small{font-size:8px}.timeline-date>span{font-size:10px}.timeline-day{margin-bottom:22px}.timeline-footer{font-size:9px;padding:15px 0;gap:5px;letter-spacing:0}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:20;display:flex;justify-content:space-around;align-items:flex-start;padding:12px 5px max(12px,env(safe-area-inset-bottom));background:#fffefaed;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid #e5e9dc}.bottom-nav>a{display:flex;flex-direction:column;align-items:center;gap:4px;flex:1;color:#a2ac95;font-size:9px}.bottom-nav>a.router-link-active{color:var(--green)}.toast-message{bottom:88px;width:max-content;max-width:92vw}.calendar-cell{min-height:82px;padding:7px 3px}.weekday{font-size:10px;padding-bottom:12px}.day-number{font-size:10px}.day-number i{font-size:7px;margin-left:2px;padding:0 2px}.day-balance{font-size:9px;letter-spacing:-.35px;margin-top:8px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}.day-detail{font-size:7px;margin-top:5px;letter-spacing:-.4px;overflow-wrap:anywhere}.calendar-blank{min-height:30px}.selected-day{padding-top:19px;margin-top:15px}.entry-row .entry-info>span{font-size:9px}.entry-row .entry-amount{font-size:17px}.owner-breakdown{margin:0 0 16px;gap:6px;font-size:10px;flex-direction:column}.books-grid{gap:12px}.book-card{padding:10px}.book-cover{padding:22px 18px;min-height:195px}.book-cover h2{font-size:20px;margin:9px 0 17px}.book-cover>span{font-size:6px;letter-spacing:1.3px}.book-cover small{font-size:7px}.book-card-footer{padding-top:10px;flex-wrap:wrap;gap:6px}.book-card-footer .text-button{font-size:10px}.book-card-footer .icon-button{width:26px;height:26px}.new-book-card{min-height:265px;padding:12px;gap:10px}.new-book-card h3{font-size:11px}.new-book-card p{font-size:9px;text-align:center}.new-book-card>span{height:40px;width:40px}.category-columns{grid-template-columns:1fr;gap:16px}.category-panel{padding:20px}.sharing-grid{grid-template-columns:1fr;gap:16px}.sharing-intro{padding:16px;gap:11px;margin-bottom:17px}.sharing-intro p{font-size:12px}.sharing-intro p>span{font-size:9px;line-height:1.7}.share-code-panel,.join-panel{padding:24px}.share-code{font-size:35px;letter-spacing:8px;margin:20px 0}.sharing-lists{margin-top:16px}.modal-backdrop{padding:12px;align-items:center}.modal{padding:23px 20px;max-height:94dvh;border-radius:13px}.modal-header{margin-bottom:20px}.modal-header h2{font-size:22px}.modal-actions{gap:8px}.field{margin-bottom:17px}.category-pill{padding:7px 11px}.auth-page{grid-template-columns:1fr}.auth-story{padding:23px 26px 28px;min-height:190px}.auth-story .brand{font-size:23px;gap:10px}.auth-story .brand-mark{height:37px;width:35px;border-radius:10px}.auth-story .brand-mark svg{width:21px}.auth-story .brand-sub{font-size:7px}.story-copy{padding:28px 0 0;max-width:100%}.story-copy .eyebrow,.story-copy p,.story-line,.auth-story footer{display:none}.story-copy h1{font-size:27px;margin:0;line-height:1.6;letter-spacing:2px}.story-copy h1 br{display:none}.auth-form-wrap{padding:35px 28px 40px;align-items:flex-start}.auth-form{max-width:400px}.auth-form h2{font-size:25px}.auth-form>.eyebrow{font-size:8px}.auth-footnote{margin-top:30px}.auth-tabs{margin-top:25px}.footnote{font-size:9px}.auth-page .toast-message{bottom:20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.history-loader{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 14px;min-height:44px;padding:10px 0 12px;color:#9aa58c;font-size:11px}.history-loading{display:inline-flex;align-items:center;gap:9px}.history-error{color:var(--red)}.history-loader .text-button{font-size:11px}.timeline-blank{min-height:180px}.timeline-blank .timeline-day{min-height:68px;margin-bottom:0}.timeline-blank .timeline-day:last-child{min-height:48px}.history-loader-blank{min-height:0;padding:0}.my-back{display:flex;align-items:center;gap:4px;width:fit-content;margin-bottom:13px;color:#839276;font-size:11px}.profile-view{display:flex;flex-direction:column;min-height:calc(100dvh - 220px);max-width:780px}.profile-account{display:flex;align-items:center;gap:18px;padding:27px}.profile-avatar{display:grid;place-items:center;width:58px;height:58px;flex-shrink:0;border-radius:18px;background:#e6eddd;color:#657e51;font-size:25px}.profile-account>div{min-width:0}.profile-account h2{font-size:17px;margin:3px 0}.profile-account p{color:#8b9780;font-size:12px;overflow-wrap:anywhere}.profile-account .eyebrow{font-size:8px}.profile-leaf{margin-left:auto;color:#b4c2a3}.profile-section-label{font-size:11px;color:#94a087;margin:29px 0 12px 3px;letter-spacing:1px}.profile-functions{padding:0 23px}.profile-functions>a{display:flex;align-items:center;gap:15px;padding:23px 0}.profile-functions>a+a{border-top:1px solid #edf0e5}.profile-functions>a>svg{margin-left:auto;color:#a5af98}.profile-feature-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:12px;flex-shrink:0}.profile-feature-icon.green{background:#ecf1e5;color:#7b9469}.profile-feature-icon.sand{background:#f5eee2;color:#ae926d}.profile-feature-icon.mint{background:#e9f1ed;color:#7c9b8c}.profile-feature-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.profile-feature-copy b{font-size:14px;font-weight:500}.profile-feature-copy>span{font-size:11px;color:#a0a992}.profile-bottom{margin-top:auto;padding-top:45px}.profile-logout{width:100%;background:var(--white);border-color:#e8dfd4;color:#aa7963;padding:14px 20px}.profile-logout:hover{background:#faf3ec}.logout-confirm-copy{font-size:13px;color:#87957a;line-height:1.9}@media(max-width:760px){.profile-view{min-height:calc(100dvh - 240px)}.profile-account{padding:22px 19px;gap:13px}.profile-avatar{height:49px;width:49px;border-radius:14px;font-size:22px}.profile-account h2{font-size:15px}.profile-account p{font-size:11px}.profile-leaf{width:25px}.profile-functions{padding:0 18px}.profile-functions>a{gap:12px;padding:20px 0}.profile-feature-icon{width:40px;height:40px;border-radius:11px}.profile-feature-copy b{font-size:13px}.profile-feature-copy>span{font-size:9px;line-height:1.8}.profile-bottom{padding-top:35px}.my-back{margin-bottom:9px;font-size:10px}}.profile-security>button{display:flex;align-items:center;gap:15px;padding:23px 0;width:100%;background:transparent;border:0;text-align:left}.profile-security>button+button{border-top:1px solid #edf0e5}.profile-security>button>svg{margin-left:auto;color:#a5af98}.profile-security>button:hover .profile-feature-copy b{color:#65834f}.password-note{margin-bottom:23px;color:#95a087;font-size:11px;line-height:1.9}@media(max-width:760px){.profile-security>button{gap:12px;padding:20px 0}}.category-color-dot{box-shadow:0 0 0 1px #263b331c;width:8px;height:8px}.color-picker{min-width:0;padding:0;margin:0 0 20px;border:0}.color-picker legend{padding:0;margin-bottom:11px;color:#7e8b70;font-size:12px}.color-options{display:flex;flex-wrap:wrap;gap:10px}.color-swatch{display:grid;place-items:center;width:29px;height:29px;padding:0;border:2px solid var(--white);border-radius:50%;box-shadow:0 0 0 1px #263b3310;color:#fff}.color-swatch[aria-pressed=true]{outline:2px solid #9aa68c;outline-offset:2px}.custom-color{display:flex;align-items:center;gap:10px;width:max-content;margin-top:15px;color:#939e86;font-size:11px}.custom-color input{width:33px;height:28px;padding:2px;cursor:pointer}.custom-color span{font-size:10px}.new-category-controls{padding:14px;background:#f7f8f1;border:1px solid var(--border);border-radius:8px}.new-category-controls .color-picker{margin:14px 0 0}.date-picker{width:100%}.date-trigger{display:flex;align-items:center;gap:10px;width:100%;min-height:46px;padding:11px 13px;border:1px solid var(--border);border-radius:8px;background:var(--white);text-align:left;color:#526747}.date-trigger>span{flex:1;font-size:13px}.date-trigger>small{color:#a0ab92;font-size:10px}.date-trigger>svg:first-child{color:#8e9f7c}.date-trigger[aria-expanded=true]{border-color:#9bae8a;box-shadow:0 0 0 3px #284f3e06}.date-chevron{color:#a3ad97;transform:rotate(90deg);transition:transform .18s}.date-chevron.open{transform:rotate(-90deg)}.date-panel{margin-top:10px;padding:14px;border:1px solid #e1e8d8;border-radius:12px;background:#fafbf6;box-shadow:0 5px 16px #284f3e05}.date-shortcuts{display:flex;gap:8px;padding-bottom:13px;border-bottom:1px solid #e9ede1}.date-shortcuts>button{border:1px solid #e2e8d9;border-radius:6px;background:#fffefa;padding:5px 14px;color:#7d906b;font-size:11px}.date-shortcuts>button:hover{background:#eaf0e1;border-color:#becfae}.date-panel-header{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:9px 0 11px}.date-panel-header .icon-button{width:29px;height:29px}.date-month-selects{display:flex;align-items:center;gap:5px}.date-month-selects select{width:auto;border:0;background:transparent;padding:5px 4px;font-size:12px;color:#61794f;cursor:pointer}.date-day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.date-weekday{text-align:center;padding-bottom:6px;color:#9da990;font-size:10px}.date-weekday.weekend{color:#b59c7d}.date-day{position:relative;height:33px;padding:0;border:0;border-radius:7px;background:transparent;color:#687e57;font-size:12px;font-variant-numeric:lining-nums tabular-nums}.date-day.adjacent{color:#bdc6b1}.date-day:hover:not(:disabled){background:#eaf0e1}.date-day.today:after{content:"";position:absolute;bottom:3px;left:calc(50% - 1.5px);width:3px;height:3px;background:#839d69;border-radius:50%}.date-day.selected,.date-day.selected:hover{background:var(--green);color:#fffefa;box-shadow:0 3px 7px #284f3e12}.date-day.selected.today:after{background:#d7e4c6}.date-day:focus-visible{outline:2px solid #9eb38c;outline-offset:1px}.date-panel-note{display:flex;justify-content:center;align-items:center;gap:5px;margin-top:12px;color:#a3ad96;font-size:9px}.date-panel-note>span:first-child{width:3px;height:3px;border-radius:50%;background:#839d69}.date-note-divider{padding:0 3px}@media(max-width:760px){.date-panel{padding:12px}.date-day{height:32px}}.delete-confirm-icon{display:grid;place-items:center;height:52px;width:52px;border-radius:15px;background:#faeee7;color:#b67860;margin-bottom:17px}.delete-confirm-copy{font-size:12px;color:#a08e7f;line-height:1.9}.delete-record-summary{background:#f8f6ef;border:1px solid #e9e5da;padding:16px;border-radius:10px;margin-top:18px}.delete-record-summary>div{display:flex;align-items:center;justify-content:space-between;gap:15px}.delete-record-summary>div>span{font-size:12px;color:#768369}.delete-record-summary b{font-size:22px;font-weight:500;color:#aa725b;font-variant-numeric:lining-nums tabular-nums;white-space:nowrap}.delete-record-summary>p{color:#a1aa93;font-size:10px;margin-top:8px}.delete-record-summary .delete-record-note{color:#8e9980;overflow-wrap:anywhere}.button.delete-submit{color:#fffefa;background:#b2765e}.button.delete-submit:hover:not(:disabled){background:#985d46}.profile-nickname{margin-left:auto;color:#8ba079}.entry-info small{overflow-wrap:anywhere}.merge-selector>span{color:#97a486;font-size:10px;margin-left:7px}.merge-selected-tags{display:flex;flex-wrap:wrap;gap:5px}.merge-selected-tags>span{padding:2px 7px;background:#edf1e5;border-radius:4px;color:#8c9a7a;font-size:10px;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.merge-description{font-size:12px;color:#929f83;line-height:1.9;margin-bottom:19px}.merge-actions{display:flex;align-items:center;gap:15px;margin-bottom:20px;font-size:11px;color:#879975}.merge-actions>span{margin-right:auto}.merge-group{margin-bottom:20px}.merge-group header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.merge-group header b{font-size:12px;font-weight:500;overflow-wrap:anywhere}.merge-group header>span{color:#a3ad96;font-size:10px;flex-shrink:0}.merge-book-option{display:flex;align-items:center;gap:10px;padding:12px;background:#f7f9f0;border:1px solid #e8edde;border-radius:7px;margin-bottom:6px;cursor:pointer;color:#849773;font-size:12px}.merge-book-option input{width:16px;height:16px;margin:0;accent-color:#284f3e;flex-shrink:0}.merge-book-option>span{overflow-wrap:anywhere}.view-tab-label{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:760px){.view-tab-label{max-width:78px}}.view-switch{min-width:0;flex-shrink:1}.view-switch>button{flex-shrink:0}.view-switch>button:nth-child(2){min-width:0;flex-shrink:1}
