:root{color-scheme:light;--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-left: env(safe-area-inset-left, 0px);--safe-right: env(safe-area-inset-right, 0px)}*,*:before,*:after{box-sizing:border-box}html,body{height:100%;overflow:hidden;overscroll-behavior-y:none}body{margin:0;font-family:Hiragino Sans,Hiragino Kaku Gothic ProN,Noto Sans SC,PingFang SC,sans-serif;font-size:14px;line-height:1.5;color:#5c5c5c;background:#f7f5f2}.font-num{font-family:Lato,sans-serif}#root{min-height:100vh;min-height:100dvh;width:calc(100% - var(--safe-left) - var(--safe-right));max-width:480px;margin:0 auto;background:#f7f5f2;box-shadow:none}.login-gate{min-height:100vh;min-height:100dvh;background:#f7f5f2;display:flex;align-items:flex-end;justify-content:flex-end;padding:24px;padding-top:calc(24px + var(--safe-top));padding-bottom:calc(24px + var(--safe-bottom));box-sizing:border-box}.login-gate__icons{display:flex;gap:10px;align-items:center}.login-gate__btn{display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:none;border-radius:50%;background:transparent;color:#8b7355;cursor:pointer;transition:transform .2s ease,color .2s ease}.login-gate__btn:hover{color:#7a6347}.login-gate__btn--jump{animation:login-gate-jump .35s ease}@keyframes login-gate-jump{0%{transform:translateY(0)}40%{transform:translateY(-22px)}to{transform:translateY(0)}}.login-gate--wrong .login-gate__icons{animation:login-gate-shake .4s ease}@keyframes login-gate-shake{0%,to{transform:translate(0)}20%{transform:translate(-6px)}40%{transform:translate(6px)}60%{transform:translate(-4px)}80%{transform:translate(4px)}}.login-gate--exiting .login-gate__icons{animation:login-gate-exit .6s ease forwards}@keyframes login-gate-exit{to{transform:translate(120%);opacity:0}}.app{display:flex;flex-direction:column;height:100vh;height:100dvh;min-height:0;overflow:hidden}.app-header-bar{position:sticky;flex-shrink:0;top:0;z-index:10;background:#f7f5f2;border-bottom:1px solid #e8e4df;padding:calc(var(--header-padding-top, 8px) + var(--safe-top)) 18px 8px;display:flex;justify-content:space-between;align-items:center}.app-header-bar--brand{background:#7c2d2d;border-bottom:none}.app-header-bar--brand .app-header-bar__title{color:#f7f5f2;font-size:18px;font-weight:600;margin:0}.app-header-bar--brand .app-header-bar__icon{color:#f7f5f2;flex-shrink:0}.app-header-bar__dropdown-wrap{position:relative}.app-header-bar__icon-btn{display:flex;align-items:center;justify-content:center;padding:6px;border:none;border-radius:6px;background:transparent;color:#f7f5f2;cursor:pointer}.app-header-bar__icon-btn:hover{background:#ffffff26}.app-header-bar__dropdown{position:absolute;top:100%;right:0;margin-top:6px;min-width:120px;background:#f7f5f2;border:1px solid #e8e4df;border-radius:6px;box-shadow:0 4px 12px #0000001a;z-index:20}.app-header-bar__dropdown-item{display:block;width:100%;padding:10px 14px;border:none;border-radius:0;background:none;color:#333;font-size:14px;text-align:left;cursor:pointer}.app-header-bar__dropdown-item:first-child{border-radius:6px 6px 0 0}.app-header-bar__dropdown-item:hover{background:#e5e0da}.app-header-bar__back{display:flex;align-items:center;justify-content:center;padding:6px;border:none;border-radius:6px;background:transparent;color:#f7f5f2;cursor:pointer}.app-header-bar__back:hover{background:#ffffff26}.app-header-bar--with-back{display:flex;align-items:center}.app-header-bar--with-back .app-header-bar__title--center{flex:1;text-align:center;margin:0}.app-header-bar__spacer{width:38px;flex-shrink:0}.app__main{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain}.app__main--entry-collapsed{padding-bottom:52px}.app__main--entry-expanded{padding-bottom:300px}.app__main--full{padding-bottom:calc(18px + var(--safe-bottom))}.app-entry-fixed{position:fixed;bottom:var(--keyboard-inset, 0px);left:50%;transform:translate(-50%);width:calc(100% - var(--safe-left) - var(--safe-right));max-width:480px;max-height:calc(100vh - 64px - var(--safe-top));max-height:calc(var(--visible-height, 100dvh) - 64px - var(--safe-top));overflow-y:auto;overscroll-behavior-y:contain;padding-bottom:var(--safe-bottom);z-index:10;background:#ddd8d1}.app-entry-fixed--expanded{background:#e5e0da}.entry-bar{display:flex;justify-content:space-between;align-items:center;width:100%;padding:14px 18px;border:none;cursor:pointer;font:inherit;text-align:left}.entry-bar--collapsed{background:transparent;color:#333}.entry-bar__title{font-size:18px;font-weight:600;margin:0;color:inherit}.entry-bar__icon{flex-shrink:0;color:#5c5c5c}.entry-bar--collapsed:hover .entry-bar__icon{color:#333}.app-footer{padding:16px 18px;border-top:1px solid #e8e4df}.app-footer__export{width:100%}.app-section{padding:18px;border-bottom:1px solid #e8e4df}.app-section:last-of-type{border-bottom:none}.btn{padding:8px 14px;border:1px solid #e8e4df;border-radius:5px;font-size:13px;cursor:pointer;background:#fff;color:#5c5c5c}.btn:disabled{opacity:.5;cursor:not-allowed}.btn--primary{background:#8b7355;border-color:#8b7355;color:#fff}.btn--danger{background:#a08060;border-color:#a08060;color:#fff}.input{width:100%;padding:10px 12px;border:1px solid #e8e4df;border-radius:5px;font-size:14px;background:#fff;color:#333}.input:focus{outline:none;border-color:#8b7355}@media(max-width:768px){.input,input.input,input[type=text],input[type=password],input[type=number],input[type=email],input[type=search],textarea{font-size:16px!important}}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;top:var(--visible-top, 0px);bottom:auto;height:100vh;height:var(--visible-height, 100dvh);background:#00000059;z-index:100;display:flex;align-items:center;justify-content:center;padding:calc(16px + var(--safe-top)) calc(16px + var(--safe-right)) calc(16px + var(--safe-bottom)) calc(16px + var(--safe-left))}.modal-box{background:#f7f5f2;border-radius:6px;border:1px solid #e8e4df;max-width:100%;max-height:100%;overflow:auto}.import-export-modal{min-width:280px}.import-export-modal__header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #e8e4df}.import-export-modal__body{padding:16px}.import-export-modal__form{display:flex;flex-direction:column;gap:12px}.import-export-modal__label{font-size:12px;color:#5c5c5c}.import-export-modal__input{width:100%;box-sizing:border-box}.import-export-modal__error{margin:0;font-size:13px;color:#9e5a5a}.import-export-modal__btn{align-self:flex-start}.import-export-modal__actions{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}.import-export-modal__action-btn{width:100%}.import-export-modal__file-input{position:absolute;width:0;height:0;opacity:0;pointer-events:none}.import-export-modal__hint{margin:0 0 8px;font-size:12px;color:#5c5c5c;line-height:1.5}.import-export-modal__message{margin:0;font-size:13px;color:#333}.toast{position:fixed;bottom:calc(24px + var(--safe-bottom));left:50%;transform:translate(-50%);padding:10px 20px;background:#8b7355;color:#fff;border-radius:5px;z-index:200;animation:fadeIn .2s ease}.toast--error{background:#c0594b}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.num-positive{color:#9e5a5a}.num-negative{color:#5d8a5d}.entry-section{border-bottom:1px solid #e8e4df}.entry-section--bottom{border-bottom:none;border-top:1px solid #e8e4df}.entry-section__header{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;border-bottom:none}.entry-section__title{margin:0;font-size:15px;font-weight:600;color:#333}.entry-section__title-row{display:flex;align-items:center;gap:10px}.entry-section__date-btn{padding:2px 4px;border:none;border-radius:4px;background:transparent;color:#b0a89e;cursor:pointer;font-size:13px;font-family:Lato,sans-serif;line-height:1.4}.entry-section__date-btn:hover{background:#0000000a;color:#8b7355}.entry-section__month-popover{padding:4px 18px 6px;border-bottom:1px solid #e8e4df}.entry-section__collapse-btn{display:flex;align-items:center;justify-content:center;padding:4px;border:none;border-radius:5px;background:transparent;color:#5c5c5c;cursor:pointer}.entry-section__collapse-btn:hover{background:#f5f0eb;color:#333}.entry-section__confirm-btn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:none;border-radius:5px;background:transparent;color:#333;cursor:pointer}.entry-section__confirm-btn:disabled{opacity:.5;cursor:not-allowed}.entry-section__confirm-btn:not(:disabled):hover{background:#f5f0eb}.entry-section__form{padding:12px 18px}.entry-section__row{margin-top:12px}.entry-section__row--icons{margin-top:0}.entry-section__row--note{display:flex;gap:10px;align-items:center}.entry-section__row--actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.entry-section__note{flex:1;min-width:100px}.entry-section__tags-btn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:none;border-radius:5px;background:transparent;color:#5c5c5c;cursor:pointer;flex-shrink:0}.entry-section__tags-btn:hover{background:#f5f0eb;color:#333}.entry-section__tag-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;z-index:100}.entry-section__tag-sheet{position:fixed;left:0;right:0;bottom:0;max-height:40vh;background:#f7f5f2;border-top:1px solid #e8e4df;border-radius:12px 12px 0 0;z-index:101;display:flex;flex-direction:column;box-shadow:0 -4px 12px #00000014}.entry-section__tag-sheet-header{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid #e8e4df;font-weight:600;color:#333}.entry-section__tag-sheet-close{background:none;border:none;font-size:22px;line-height:1;color:#5c5c5c;cursor:pointer;padding:0 4px}.entry-section__tag-sheet-body{overflow-y:auto;padding:12px 18px;flex:1;min-height:0}.entry-section__tag-sheet-empty{margin:0;color:#888;font-size:13px}.entry-section__tag-sheet-grid{display:flex;flex-wrap:wrap;gap:8px}.entry-section__tag{padding:8px 14px;border:1px solid #e8e4df;border-radius:6px;background:#fff;font-size:13px;color:#5c5c5c;cursor:pointer}.entry-section__tag:hover{border-color:#8b7355;color:#333}.entry-section__month-cell{border:1px solid #e8e4df;border-radius:5px;background:#fff;padding:2px}.entry-section__amount-btn{flex:1;min-width:80px;padding:10px 12px;border:1px solid #e8e4df;border-radius:5px;background:#fff;text-align:left;font-size:15px;color:#333;cursor:pointer}.category-strip{display:flex;gap:8px;flex-wrap:wrap}.category-btn{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px;border:1px solid #e8e4df;border-radius:5px;background:#fff;cursor:pointer;font-size:12px;min-width:48px;color:#5c5c5c}.category-btn--icon-only{min-width:44px}.category-btn--icon-only .category-btn__icon{display:flex;align-items:center;justify-content:center}.category-btn--active{border-color:#8b7355;background:#f5f0eb;color:#333}.category-btn__icon{display:inline-flex;color:inherit}.category-btn--more{border-style:dashed}.month-picker{display:flex;gap:2px}.month-picker--arrows{display:flex;align-items:center;gap:8px}.month-picker__arrow{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:none;border-radius:5px;background:transparent;color:#5c5c5c;cursor:pointer}.month-picker__arrow:disabled{opacity:.3;cursor:not-allowed}.month-picker__arrow:not(:disabled):hover{background:#f5f0eb;color:#333}.month-picker__label{min-width:80px;text-align:center;font-size:14px;color:#333}.month-picker__select{padding:8px;border:none;border-radius:4px;font-size:13px;background:transparent;color:#333}.category-modal__header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #e8e4df}.category-modal__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:16px}.number-pad{padding:0}.number-pad__grid{margin:0}.number-pad__row{display:flex;gap:6px;margin-bottom:6px}.number-pad__row:last-child{margin-bottom:0}.number-pad__key{flex:1;padding:12px 0;border:none;border-radius:8px;background:#f0f0f0;font-size:17px;cursor:pointer;text-align:center;color:#333;-webkit-tap-highlight-color:transparent}.number-pad__key:active{background:#e0dcd7}.number-pad__key--placeholder{visibility:hidden}.number-pad__key--fn{background:#e8e4df;color:#5c5c5c}.number-pad__key--fn:active{background:#d5d0ca}.number-pad__key--fn:disabled{cursor:default}.number-pad__key--loading{opacity:.85;pointer-events:none}.number-pad__key--loading .spin{display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.spin{animation:spin .8s linear infinite}.bill-form{display:flex;flex-direction:column}.bill-form__body{padding:8px 18px 0}.bill-form__categories{margin-bottom:0}.bill-form__note-row{display:flex;gap:12px;align-items:center;padding:7px 0 10px}.bill-form__note{flex:1;min-width:0;height:38px;border-color:transparent;background:#fffdf9}.bill-form__note:focus{border-color:#b7a48d}.bill-form__note::placeholder{color:#a09485}.bill-form__amount-inline{flex:0 0 auto;min-width:2em;max-width:58%;font-size:23px;color:#4f463b;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:36px;font-family:Lato,sans-serif}.bill-form__currency{color:#999;margin-right:2px;font-size:15px}.bill-form__expr{font-family:Lato,sans-serif}.bill-form__preview{text-align:right;font-size:12px;color:#8b7355;margin-bottom:4px;padding-right:2px}.bill-form__month-inline-row{position:relative;margin-bottom:6px}.bill-form__month-btn{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border:1px solid #e8e4df;border-radius:5px;background:#fff;color:#5c5c5c;cursor:pointer;font-size:13px;font-family:Lato,sans-serif}.bill-form__month-btn:hover{background:#f5f0eb;color:#333}.bill-form__month-popover{margin-top:4px;padding:6px 0;border:1px solid #e8e4df;border-radius:5px;background:#fff;display:inline-flex}.bill-form__actions{display:flex;gap:10px;padding:8px 0 4px;justify-content:flex-start}.bill-form__tags-inline{display:flex;flex-wrap:wrap;gap:6px;padding:3px 0 7px}.bill-form__tag-inline,.bill-form__tags-more{display:flex;align-items:center;gap:3px;min-height:29px;padding:5px 10px;border:1px solid #ded4c6;border-radius:5px;background:#eee7de;color:#7c6b58;font:inherit;font-size:11px;line-height:1.4;cursor:pointer}.bill-form__tag-inline[aria-pressed=true]{background:#deceb8;border-color:#b29b7e;color:#594530}.bill-form__tags-more{padding-left:7px;padding-right:3px;background:transparent;border-color:transparent;color:#8b7355}.bill-form__tags-status{margin:3px 0 7px;font-size:11px;color:#918577}.bill-form__tags-retry{margin:3px 0 7px;border:0;background:none;color:#a15848;font:inherit;font-size:11px;cursor:pointer}.bill-form__tag-inline:focus-visible,.bill-form__tags-more:focus-visible,.bill-form__tags-retry:focus-visible{outline:2px solid #8b7355;outline-offset:2px}.bill-list__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.bill-list__title{margin:0;font-size:15px;font-weight:600;color:#333}.bill-list__month-picker{margin:0}.bill-list__empty{color:#5c5c5c;margin:16px 0;font-size:13px}.bill-list__groups{list-style:none;padding:0;margin:0}.bill-list__group{margin-bottom:20px}.bill-list__month{font-weight:600;margin-bottom:8px;color:#5c5c5c;font-size:13px}.bill-list__items{list-style:none;padding:0;margin:0}.bill-list__item{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #e8e4df;cursor:pointer}.bill-list__item:hover{background:#f5f0eb}.bill-list__icon{display:flex;align-items:center;color:#5c5c5c;flex-shrink:0}.bill-list__note{flex:1;color:#5c5c5c;font-size:13px;min-width:0}.bill-list__amount{font-weight:400;min-width:70px;color:#333;text-align:right;flex-shrink:0}.bill-edit-modal__header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #eee}.bill-edit-modal__body{padding:16px;display:flex;flex-direction:column;gap:12px}.bill-edit-modal__label{font-size:12px;color:#666}.bill-edit-modal__month{display:flex;align-items:center;gap:4px}.bill-edit-modal__month-sep{color:#5c5c5c;font-family:Lato,sans-serif}.bill-edit-modal__footer{display:flex;justify-content:space-between;gap:12px;padding:16px;border-top:1px solid #eee}.bill-edit-modal__body--entry .bill-edit-modal__row{margin-top:12px}.bill-edit-modal__body--entry .bill-edit-modal__row:first-child{margin-top:0}.bill-edit-modal__row--note{display:flex;gap:10px;align-items:center}.bill-edit-modal__note-input{flex:1;min-width:0}.bill-edit-modal__tags-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #e8e4df;border-radius:8px;background:#fff;color:#5c5c5c;flex-shrink:0}.bill-edit-modal__tags-btn:hover{background:#f5f0eb;color:#333}.bill-edit-modal__row--actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.bill-edit-modal__month-cell{flex-shrink:0}.bill-edit-modal__amount-btn{flex:1;min-width:80px;padding:10px 14px;border:1px solid #e8e4df;border-radius:8px;background:#fff;color:#333;font-size:16px;text-align:left}.bill-edit-modal__amount-btn:hover{background:#f5f0eb}.bill-edit-modal__tag-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;z-index:10}.bill-edit-modal__tag-sheet{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:90%;max-width:360px;max-height:70vh;background:#fff;border-radius:12px;box-shadow:0 8px 24px #00000026;z-index:11;display:flex;flex-direction:column}.bill-edit-modal__tag-sheet-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #e8e4df}.bill-edit-modal__tag-sheet-body{overflow-y:auto;padding:12px 16px;flex:1;min-height:0}.bill-edit-modal__tag-sheet-empty{margin:0;color:#888;font-size:13px}.bill-edit-modal__tag-sheet-grid{display:flex;flex-wrap:wrap;gap:8px}.bill-edit-modal__tag{padding:8px 14px;border:1px solid #e8e4df;border-radius:8px;background:#fff;color:#333;font-size:13px;cursor:pointer}.bill-edit-modal__tag:hover{border-color:#8b7355;color:#333}.tag-manage-page{padding:18px}.tag-manage-page__loading{padding:24px;color:#5c5c5c;text-align:center}.tag-manage-page__section{margin-bottom:20px}.tag-manage-page__section-title{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:15px;font-weight:600;color:#333}.tag-manage-page__chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.tag-manage-page__chip{padding:6px 12px;border:1px solid #e8e4df;border-radius:6px;background:#fff;color:#333;font-size:13px;cursor:pointer}.tag-manage-page__chip:hover{background:#f5f0eb;border-color:#ddd8d1}.tag-manage-page__add-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px dashed #c4beb5;border-radius:6px;background:transparent;color:#5c5c5c;cursor:pointer}.tag-manage-page__add-btn:hover{border-color:#8b7355;color:#8b7355}.tag-edit-modal__header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #e8e4df}.tag-edit-modal__body{padding:16px;display:flex;flex-direction:column;gap:12px}.tag-edit-modal__label{font-size:12px;color:#5c5c5c}.tag-edit-modal__footer{display:flex;justify-content:flex-end;gap:12px;padding:16px;border-top:1px solid #e8e4df}.budget-progress{padding-top:12px;padding-bottom:12px}.budget-progress__header-row{display:flex;align-items:center;justify-content:space-between;min-height:32px;margin-bottom:4px}.budget-progress__title{margin:0;font-size:15px;font-weight:600;color:#333}.budget-progress__stats-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:none;border-radius:5px;background:transparent;color:#5c5c5c;cursor:pointer}.budget-progress__stats-btn:hover{background:#f5f0eb;color:#333}.budget-progress__empty{margin:0;color:#888;font-size:13px}.budget-progress__list{display:flex;flex-direction:column;gap:4px;list-style:none;padding:0;margin:0}.budget-progress__item{margin:0}.budget-progress__head{display:flex;align-items:center;min-height:24px;gap:8px}.budget-progress__icon{display:flex;align-items:center;color:#5c5c5c;flex-shrink:0}.budget-progress__nums{font-size:12px;color:#5c5c5c;flex-shrink:0}.budget-manage-page{padding:18px}.budget-manage-page__loading{padding:24px;color:#5c5c5c;text-align:center}.budget-manage-page__section{margin-bottom:20px}.budget-manage-page__section-title{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:15px;font-weight:600;color:#333}.budget-manage-page__list{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.budget-manage-page__item{display:flex;align-items:center;gap:8px;padding:6px 12px;border:1px solid #e8e4df;border-radius:6px;background:#fff;color:#333;font-size:13px;cursor:pointer}.budget-manage-page__item:hover{background:#f5f0eb;border-color:#ddd8d1}.budget-manage-page__period{color:#5c5c5c}.budget-manage-page__none{color:#888;font-size:13px}.budget-manage-page__add-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px dashed #c4beb5;border-radius:6px;background:transparent;color:#5c5c5c;cursor:pointer}.budget-manage-page__add-btn:hover{border-color:#8b7355;color:#8b7355}.budget-edit-modal__header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #e8e4df}.budget-edit-modal__body{padding:16px;display:flex;flex-direction:column;gap:12px}.budget-edit-modal__label{font-size:12px;color:#5c5c5c}.budget-edit-modal__category-strip,.budget-edit-modal__month-row{margin-top:4px}.budget-edit-modal__amount-btn{display:block;width:100%;padding:10px 12px;border:1px solid #e8e4df;border-radius:8px;background:#fff;font-size:16px;text-align:left;cursor:pointer;margin-top:4px}.budget-edit-modal__amount-btn:hover{background:#f5f0eb}.budget-edit-modal__footer{display:flex;justify-content:flex-end;gap:12px;padding:16px;border-top:1px solid #e8e4df}.fixed-bills-page{padding:18px;display:flex;flex-direction:column;min-height:0}.fixed-bills-page__loading{padding:24px;color:#5c5c5c;text-align:center}.fixed-bills-page__list{list-style:none;padding:0;margin:0 0 16px}.fixed-bills-page__row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #e8e4df}.fixed-bills-page__row-main{flex:1;display:flex;align-items:center;gap:12px;min-width:0;padding:0;border:none;background:none;text-align:left;cursor:pointer;color:inherit;font:inherit}.fixed-bills-page__row-main:hover{opacity:.85}.fixed-bills-page__cat{display:flex;align-items:center;gap:6px;flex-shrink:0;min-width:20px;font-size:13px;color:#333}.fixed-bills-page__note{flex:1;min-width:0;font-size:13px;color:#5c5c5c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fixed-bills-page__amount{flex-shrink:0;font-size:13px;color:#333}.fixed-bills-page__execute-btn{display:flex;align-items:center;gap:4px;padding:6px 10px;border:1px solid #e8e4df;border-radius:6px;background:#fff;color:#5c5c5c;font-size:12px;cursor:pointer}.fixed-bills-page__execute-btn:hover{background:#f5f0eb;border-color:#ddd8d1;color:#333}.fixed-bills-page__footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:16px;border-top:1px solid #e8e4df;margin-top:auto}.fixed-bills-page__footer-btn{display:flex;align-items:center;gap:6px}.fixed-bills-page__toast{position:fixed;bottom:80px;left:50%;transform:translate(-50%);padding:10px 20px;border-radius:8px;background:#000000bf;color:#fff;font-size:13px;z-index:1000}.fixed-bill-edit-modal__header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #e8e4df}.fixed-bill-edit-modal__body{padding:16px;display:flex;flex-direction:column;gap:12px}.fixed-bill-edit-modal__body--entry .fixed-bill-edit-modal__row{margin-top:12px}.fixed-bill-edit-modal__body--entry .fixed-bill-edit-modal__row:first-child{margin-top:0}.fixed-bill-edit-modal__row--note{display:flex;gap:10px;align-items:center}.fixed-bill-edit-modal__note-input{flex:1;min-width:0}.fixed-bill-edit-modal__tags-btn{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #e8e4df;border-radius:8px;background:#fff;color:#5c5c5c;cursor:pointer}.fixed-bill-edit-modal__tags-btn:hover{background:#f5f0eb;color:#333}.fixed-bill-edit-modal__row--amount{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.fixed-bill-edit-modal__amount-btn{flex:1;min-width:80px;padding:10px 12px;border:1px solid #e8e4df;border-radius:8px;background:#fff;font-size:16px;text-align:left;cursor:pointer}.fixed-bill-edit-modal__amount-btn:hover{background:#f5f0eb}.fixed-bill-edit-modal__confirm-btn{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:none;border-radius:8px;background:#8b7355;color:#fff;cursor:pointer}.fixed-bill-edit-modal__confirm-btn:disabled{opacity:.5;cursor:not-allowed}.fixed-bill-edit-modal__confirm-btn:not(:disabled):hover{background:#7a6347}.fixed-bill-edit-modal__tag-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;z-index:10}.fixed-bill-edit-modal__tag-sheet{position:fixed;left:0;right:0;bottom:0;max-height:50vh;background:#fff;border-radius:12px 12px 0 0;box-shadow:0 -4px 20px #0000001a;display:flex;flex-direction:column;z-index:11}.fixed-bill-edit-modal__tag-sheet-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #e8e4df}.fixed-bill-edit-modal__tag-sheet-body{overflow-y:auto;padding:12px 16px;flex:1;min-height:0}.fixed-bill-edit-modal__tag-sheet-empty{margin:0;color:#888;font-size:13px}.fixed-bill-edit-modal__tag-sheet-grid{display:flex;flex-wrap:wrap;gap:8px}.fixed-bill-edit-modal__tag{padding:8px 12px;border:1px solid #e8e4df;border-radius:6px;background:#fff;font-size:13px;color:#333;cursor:pointer}.fixed-bill-edit-modal__tag:hover{border-color:#8b7355;color:#333}.fixed-bill-edit-modal__label{font-size:12px;color:#5c5c5c}.fixed-bill-edit-modal__footer{display:flex;justify-content:flex-end;gap:12px;padding:16px;border-top:1px solid #e8e4df}.fixed-bill-execute-modal__header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #e8e4df}.fixed-bill-execute-modal__body{padding:16px;display:flex;flex-direction:column;gap:12px}.fixed-bill-execute-modal__label{font-size:12px;color:#5c5c5c}.fixed-bill-execute-modal__footer{display:flex;justify-content:flex-end;padding:16px;border-top:1px solid #e8e4df}.budget-stats-page__menu{position:relative}.budget-stats-page__menu-list{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:120px;padding:5px;border:1px solid #e2d9cc;border-radius:6px;background:#f7f5f2;box-shadow:0 8px 24px #30292120}.budget-stats-page__menu-list button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;border-radius:3px;background:transparent;color:#8d7d68;font:inherit;font-size:12px;cursor:pointer}.budget-stats-page__menu-list button:hover,.budget-stats-page__menu-list button[aria-pressed=true]{background:#eae3d9}.full-year-stats__year-nav .budget-stats-page__year{display:flex;align-items:center;gap:5px}.budget-stats-page__year>svg{margin-left:6px;color:#a59681}.budget-stats-page .budget-stats-page__details{margin-top:8px}.budget-stats__table{width:100%;height:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;color:#766957;font-size:12px;font-variant-numeric:tabular-nums}.budget-stats__month-col{width:48px}.budget-stats__amount-col{width:76px}.budget-stats__table th,.budget-stats__table td{height:36px;padding:0 10px 0 6px;border-bottom:1px solid #ede6dc;white-space:nowrap;text-align:right;font-weight:400}.budget-stats__table th:first-child{text-align:center;padding-right:6px;color:#a19583;font-size:10px}.budget-stats__table thead th{position:sticky;top:0;z-index:2;height:40px;background:#f7f5f2;color:#a39786;font-size:10px;border-bottom:1px solid #e1d8cb}.budget-stats__data-row--year>*{background:#eee8df}.budget-stats__table td button{display:flex;align-items:center;justify-content:flex-end;width:100%;min-height:32px;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.budget-stats__table td button:hover{background:#eee8df}.budget-stats__table .budget-stats__over{color:#bd9995}.budget-stats__table .budget-stats__under{color:#8fa78e}.budget-stats__diff-axis{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;font-size:9px;color:#b0a593}.budget-stats__diff-axis>span:nth-child(2){position:absolute;left:50%;transform:translate(-50%)}.budget-stats__table .budget-stats__diff-cell,.budget-stats__table .budget-stats__diff-heading{padding-left:8px;padding-right:14px}.budget-stats__table .budget-stats__diff-track{position:relative;width:100%;height:36px;min-height:0;background:linear-gradient(to right,#e7e0d5 1px,transparent 1px,transparent calc(100% - 1px),#e7e0d5 calc(100% - 1px))}.budget-stats__diff-zero{position:absolute;left:50%;width:1px;top:0;bottom:0;background:#cfc4b5;pointer-events:none}.budget-stats__diff-bar{position:absolute;top:50%;height:12px;transform:translateY(-50%);pointer-events:none}.budget-stats__diff-bar--over{background:#bd9995;border-radius:0 2px 2px 0}.budget-stats__diff-bar--under{background:#8fa78e;border-radius:2px 0 0 2px}.budget-stats-page__message{margin:auto;text-align:center;font-size:13px;color:#a19380}.budget-stats-page__message button{padding:6px 16px;border:0;border-radius:4px;background:#eee8df;color:#8b7355;cursor:pointer}@media(max-width:360px){.budget-stats__month-col{width:42px}.budget-stats__amount-col{width:64px}.budget-stats__table th,.budget-stats__table td{padding-right:6px}}@media(max-height:760px){.budget-stats__table th,.budget-stats__table td{height:30px}.budget-stats__table td button{min-height:28px}.budget-stats__table .budget-stats__diff-track{min-height:0;height:30px}}.monthly-stats__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.monthly-stats__header-actions{display:flex;align-items:center;gap:4px}.monthly-stats__full-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:none;border-radius:5px;background:transparent;color:#78736c;cursor:pointer}.monthly-stats__full-btn:hover{background:#f0ebe6;color:#4b4540}.monthly-stats__full-btn--active{color:#8b7355}.monthly-stats__title{margin:0;font-size:15px;font-weight:600;color:#333}.monthly-stats__loading{margin:0;color:#5c5c5c}.monthly-stats__table-wrap{overflow-x:auto}.monthly-stats__table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}.monthly-stats__category-col{width:68px}.monthly-stats__current-col{width:28%}.monthly-stats__table th{padding:6px 6px 10px;color:#8c867e;font-size:11px;font-weight:400}.monthly-stats__table td{padding:5px 6px;color:#49453f}.monthly-stats__table th:last-child,.monthly-stats__table td:last-child{padding-right:30px}.monthly-stats__table .monthly-stats__number{text-align:right;white-space:nowrap}.monthly-stats__parent-row{cursor:pointer}.monthly-stats__parent-row td{height:40px;border-top:1px solid #e5e0d8;font-weight:600}.monthly-stats__group:has(.monthly-stats__child-row) .monthly-stats__parent-row td{padding-bottom:5px}.monthly-stats__group:has(.monthly-stats__child-row) .monthly-stats__child-row:last-child td{padding-bottom:10px}.monthly-stats__table tr[role=button]{cursor:pointer}.monthly-stats__table tr[role=button]:hover,.monthly-stats__parent-row:hover{background:#f1ede7}.monthly-stats__row--active{background:#eee9e1!important}.monthly-stats__table .monthly-stats__icon-cell{padding-right:0}.monthly-stats__category-actions{display:flex;align-items:center;gap:2px}.monthly-stats__category-toggle,.monthly-stats__category-filter{display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0;border:0;background:transparent;cursor:pointer;border-radius:4px}.monthly-stats__category-toggle{width:22px;color:#aaa096}.monthly-stats__category-filter{width:28px;color:#686056}.monthly-stats__category-toggle:hover,.monthly-stats__category-filter:hover{background:#eae4da}.monthly-stats__child-row td{padding-top:5px;padding-bottom:5px;font-size:12px;color:#8e877e;font-weight:400}.monthly-stats__child-row .monthly-stats__icon-cell{padding-left:52px}.monthly-stats__child-row .category-icon{display:block;color:#aaa093}.monthly-stats__comparison{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:baseline;gap:5px;font-weight:400}.monthly-stats__difference{font-size:10px;font-weight:400}.monthly-stats__difference--over{color:#c5aaa7}.monthly-stats__difference--under{color:#a8b6a6}.monthly-stats__difference--equal{color:#c3bcb2}.monthly-stats__row--muted td:not(.monthly-stats__icon-cell){color:#bcb4a9}.monthly-stats__row--muted .monthly-stats__difference{opacity:.55}.monthly-stats__total{font-weight:600;border-top:1px solid #d9d2c7;cursor:pointer;background:#eee9e1}.monthly-stats__total td{padding-top:10px;padding-bottom:10px}.monthly-stats__total:hover{background:#e8e1d6}.monthly-stats__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.monthly-stats button:focus-visible,.monthly-stats tr:focus-visible{outline:2px solid #b5a18a;outline-offset:2px}@media(max-width:360px){.monthly-stats__category-col{width:60px}.monthly-stats__table th,.monthly-stats__table td{padding-left:4px;padding-right:4px}.monthly-stats__category-toggle{width:20px}.monthly-stats__category-filter{width:26px}.monthly-stats__child-row .monthly-stats__icon-cell{padding-left:40px}.monthly-stats__comparison{gap:3px;font-size:12px}.monthly-stats__difference{font-size:9px}}.stats-load-status{padding:28px 18px;color:#918577;font-size:12px;text-align:center}.stats-load-status button{padding:6px 14px;border:1px solid #ddd4c8;border-radius:4px;background:#f1ece5;color:#7b6c5b;font:inherit;cursor:pointer}.app[hidden]{display:none}#root:has(.full-year-stats){min-height:100vh;min-height:100dvh}.full-year-stats{width:100%;height:100vh;height:100dvh;min-height:0;overflow:hidden;background:#f7f5f2}.full-year-stats__header{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;flex-shrink:0;gap:8px}.full-year-stats__header--with-percentage{grid-template-columns:76px minmax(0,1fr) 76px}.full-year-stats__header-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px}.full-year-stats__header .app-header-bar__title{flex:1}.full-year-stats__filter-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:6px;border:0;border-radius:5px;background:transparent;color:#f7f5f2;cursor:pointer}.full-year-stats__filter-btn:hover,.full-year-stats__back:hover{background:#ffffff1a}.full-year-stats__filter-btn--active{background:#ffffff2e}.full-year-stats__back{width:36px;height:36px}.full-year-stats__body{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;overflow:hidden;padding-bottom:max(8px,var(--safe-bottom))}.full-year-stats__year-nav{display:flex;align-items:center;justify-content:center;flex-shrink:0;gap:22px;padding:6px 18px 2px}.full-year-stats__year-nav button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:4px;background:transparent;color:#8f8374;cursor:pointer}.full-year-stats__year-nav button:disabled{color:#d2cbc1;cursor:default}.full-year-stats__year-nav>span{font-size:17px;font-weight:600;color:#5c5247}.full-year-stats__year-nav small{margin-left:5px;font-size:11px;font-weight:400;color:#a29788}.full-year-stats__chart-wrap{flex-shrink:0;margin:0 18px;padding:10px 4px 6px;border-top:1px solid #e5dfd6}.full-year-stats__chart-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px;margin-bottom:8px;color:#766b5f;font-size:11px}.full-year-stats__chart-selection{min-width:0;max-width:72%;white-space:nowrap}.full-year-stats__chart-subtitle{margin-left:8px;color:#b3a99c;font-size:10px}.full-year-stats__chart-heading>button{display:flex;align-items:center;gap:4px;border:0;padding:2px 0;background:transparent;color:#8d7b64;font:inherit;cursor:pointer}.full-year-stats__legend{display:inline-flex;align-items:center;gap:5px;color:#a99d8d;font-size:9px}.full-year-stats__legend i{width:14px;border-top:1px dashed #b7aa98}.full-year-stats__plot{position:relative;height:clamp(128px,19dvh,180px);margin-left:30px;margin-bottom:22px}.full-year-stats__gridline{position:absolute;left:0;right:0;border-top:1px solid #ede7df;pointer-events:none}.full-year-stats__gridline>span{position:absolute;left:-31px;top:-7px;font-size:9px;color:#bdb2a4}.full-year-stats__average-line{position:absolute;left:0;right:0;z-index:1;border-top:1px dashed #bbae9c;pointer-events:none}.full-year-stats__bars{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:stretch;gap:3px}.full-year-stats__bar-slot{position:relative;display:flex;align-items:flex-end;justify-content:center;flex:1;min-width:0;padding:0;border:0;background:transparent;cursor:pointer}.full-year-stats__chart-bar{display:block;width:55%;max-width:18px;border-radius:2px 2px 0 0;background:#b8aa96}.full-year-stats__bar-slot:hover .full-year-stats__chart-bar,.full-year-stats__bar-slot--selected .full-year-stats__chart-bar{background:#8b7355}.full-year-stats__chart-bar--stacked{display:flex;flex-direction:column;overflow:hidden;background:transparent}.full-year-stats__chart-segment{display:block;width:100%;flex-shrink:0}.full-year-stats__bar-slot--selected .full-year-stats__chart-bar--stacked{outline:1px solid #b5a18a;outline-offset:2px}.full-year-stats__color-legend{display:flex;align-items:center;justify-content:center;gap:10px;height:24px;margin-top:-2px}.full-year-stats__color-legend button{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:30px;height:24px;padding:0;border:0;border-radius:3px;background:transparent;cursor:pointer}.full-year-stats__color-legend button[aria-pressed=true]{background:#eee8df}.full-year-stats__color-legend i{width:5px;height:5px;border-radius:1px}.full-year-stats__chart-label{position:absolute;left:0;right:0;bottom:-19px;text-align:center;font-size:9px;color:#a99b8a}.full-year-stats__details{display:flex;flex-direction:column;flex:1;min-height:0;margin-top:6px;border-top:1px solid #e5dfd6}.full-year-stats__details-heading{display:flex;align-items:center;flex-shrink:0;gap:8px;padding:8px 18px 4px}.full-year-stats__details-heading h2{margin:0;font-size:13px;font-weight:600;color:#62594f}.full-year-stats__details-heading .monthly-stats__full-btn{width:30px;height:30px;margin-left:auto}.full-year-stats__scroll{flex:1;min-height:0;width:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:#d2c8ba transparent}.full-year-stats__table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums;font-size:12px}.full-year-stats__table thead th{position:sticky;top:0;z-index:3;height:30px;padding:5px 10px;background:#f7f5f2;border-bottom:1px solid #e5dfd6;color:#9f9484;font-size:10px;font-weight:400;text-align:right;white-space:nowrap}.full-year-stats__table th,.full-year-stats__table td{height:32px;border-bottom:1px solid #eee8df}.full-year-stats__table .full-year-stats__td-label,.full-year-stats__table .full-year-stats__th-label{position:sticky;left:0;z-index:2;width:64px;min-width:64px;max-width:64px;padding:0 5px;background:#f7f5f2}.full-year-stats__table thead .full-year-stats__th-label{z-index:5}.full-year-stats__table .full-year-stats__average{position:sticky;left:64px;z-index:2;min-width:74px;width:74px;padding:4px 12px 4px 8px;background:#f1ede6;text-align:right;color:#9b8d7c;font-weight:400;box-shadow:1px 0 #e5dfd6}.full-year-stats__table thead .full-year-stats__average{z-index:5;font-size:10px}.full-year-stats__row-actions{display:flex;align-items:center;gap:0}.full-year-stats__row-toggle,.full-year-stats__row-select{display:inline-flex;align-items:center;justify-content:center;height:28px;border:0;border-radius:3px;background:transparent;cursor:pointer}.full-year-stats__row-toggle{width:20px;padding:0;color:#b3a594}.full-year-stats__row-select{width:30px;padding:0;color:#7c6c59;font-size:11px}.full-year-stats__row-total .full-year-stats__row-select{width:50px;font-weight:600}.full-year-stats__child-row .full-year-stats__row-actions{justify-content:flex-end}.full-year-stats__child-row .full-year-stats__row-select{width:23px;color:#b3a593}.full-year-stats__child-row td{height:28px;font-size:11px}.full-year-stats__td-num{min-width:80px;padding:0;text-align:right;color:#6e6253}.full-year-stats__amount{display:inline-flex;align-items:center;justify-content:flex-end;width:100%;min-height:32px;border:0;padding:4px 10px;background:transparent;color:inherit;font:inherit;cursor:pointer}.full-year-stats__amount:disabled{cursor:default}.full-year-stats__child-row .full-year-stats__amount{min-height:28px;padding-top:4px;padding-bottom:4px}.full-year-stats__child-row .full-year-stats__td-num{color:#a19584}.full-year-stats__amount:hover{background:#eee8df}.full-year-stats__data-row--selected>*,.full-year-stats__table .full-year-stats__data-row--selected>.full-year-stats__td-label{background:#eee8df}.full-year-stats__table .full-year-stats__data-row--selected>.full-year-stats__average{background:#e7dfd3}.full-year-stats__row-total>*{border-top:1px solid #d9cebe}.full-year-stats__row-total .full-year-stats__td-num{font-weight:600}.full-year-stats__data-row--muted .full-year-stats__td-num{color:#c1b6a7}.full-year-stats button:focus-visible{outline:2px solid #b5a18a;outline-offset:-2px}@media(max-width:360px){.full-year-stats__details-heading{gap:4px}.full-year-stats__color-legend{gap:6px}}@media(max-height:760px){.full-year-stats__year-nav{padding-top:4px;padding-bottom:0}.full-year-stats__year-nav button{height:28px}.full-year-stats__chart-wrap{padding-top:8px;padding-bottom:4px}.full-year-stats__chart-heading{min-height:20px;margin-bottom:6px}.full-year-stats__plot{height:clamp(108px,17dvh,128px);margin-bottom:18px}.full-year-stats__details{margin-top:4px}.full-year-stats__details-heading{padding-top:4px;padding-bottom:2px}.full-year-stats__details-heading .monthly-stats__full-btn{height:28px}.full-year-stats__table thead th{height:30px;padding-top:6px;padding-bottom:6px}}@media(max-height:680px){.full-year-stats__plot{height:100px}}.number-pad__key{background:#fff;border:1px solid #e8e4df;color:#333}.number-pad__key--fn{background:#f0ebe6;border-color:#e0d9d0;color:#5c5c5c}.bill-edit-modal__header{border-bottom-color:#e8e4df}.bill-edit-modal__footer{border-top-color:#e8e4df}.category-selector__row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px}.category-selector__row .category-btn{min-width:0;padding:10px 2px;height:42px;justify-content:center}.category-selector__row--secondary{grid-template-columns:repeat(8,minmax(0,1fr));grid-auto-flow:row;margin-top:8px;padding-top:8px;padding-bottom:8px;border-top:1px solid #e8e4df}.category-selector__row--primary .category-btn{height:46px;background:#fff;border-color:#ddd5cb;border-radius:7px;color:#62513f}.category-selector__row--primary .category-btn--active{background:#fff;border-color:#8b7355;color:#594530;box-shadow:inset 0 0 0 .4px #8b7355}.category-selector__row--secondary .category-btn{height:40px;background:#f1ece5;border-color:#ddd4c8;color:#7b6c5b}.category-selector__row--secondary .category-btn--active{background:#efe1cf;border-color:#8b7355;color:#594530;box-shadow:inset 0 0 0 .4px #8b7355}.bill-form .number-pad__key{background:#f9f7f3}.bill-form .number-pad__key--fn{background:#eae4dc;color:#7d6c59}.bill-form .number-pad__key:active{background:#ded4c6}.bill-form .number-pad__key[aria-label=确认记账]{background:#8b7355;color:#fff}.bill-form .number-pad__key[aria-label=确认记账]:active{background:#705b43}.category-selector button:focus-visible{outline:2px solid #8b7355;outline-offset:2px}.tag-manage-page__hint{font-size:12px;color:#888}.form-error{color:#a4493d;font-size:12px;margin:8px 16px}.fixed-bill-edit-modal .bill-form{padding-bottom:14px}.year-details-modal{overflow:hidden;width:min(400px,calc(100vw - 32px));max-height:72vh;max-height:min(72dvh,560px);margin:auto;padding:0;border:1px solid #e2d9cc;border-radius:8px;background:#f7f5f2;color:#5c5247;box-shadow:0 12px 48px #3d30232b}.year-details-modal[open]{display:flex;flex-direction:column}.year-details-modal::backdrop{background:#30292161}.year-details-modal__header{flex-shrink:0;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:17px 18px 12px}.year-details-modal__header h2{margin:0;font-size:15px;font-weight:600}.year-details-modal__scope{display:flex;align-items:center;gap:5px;margin-top:8px;color:#a19380}.year-details-modal__close{display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;padding:0;border:0;border-radius:4px;background:transparent;color:#a19380;cursor:pointer}.year-details-modal__close:hover{background:#eee8df}.year-details-modal__summary{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 18px;padding:0 0 12px;border-bottom:1px solid #e5ded3;font-size:11px;color:#a69a89}.year-details-modal__summary strong{font-size:16px;font-weight:400;color:#72624e}.year-details-modal__scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 18px}.year-details-modal__list{margin:0;padding:0;list-style:none}.year-details-modal__item{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #ede6dc}.year-details-modal__item:last-child{border-bottom:0}.year-details-modal__icon{flex-shrink:0;display:flex;color:#a49682}.year-details-modal__note{flex:1;min-width:0;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.year-details-modal__amount{flex-shrink:0;font-size:12px;color:#74634e}.year-details-modal__empty{margin:0;padding:30px 0 34px;text-align:center;font-size:12px;color:#b5a995}.year-details-modal button:focus-visible{outline:2px solid #b5a18a;outline-offset:1px}
