/* 2.8: a phone-first ledger, with one visual system across screens. */
:root{--canvas:#f6f8f7;--paper:#fff;--ink:#202c28;--muted:#8a9590;--line:#edf0ee;--mint:#247b59;--mint-dark:#206449;--mint-soft:#eaf5ee;--clay:#d3745d}
html{background:#e9eeeb;scroll-padding-bottom:100px}
body{background:#e9eeeb;color:var(--ink);-webkit-font-smoothing:antialiased}
button,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}button:active{filter:brightness(.97)}
button:focus-visible,a:focus-visible{outline:3px solid #65ac86;outline-offset:3px}
.app-frame{width:100%;max-width:600px;padding:0;margin:0 auto}
.app-shell{width:100%;max-width:none;min-height:100dvh;margin:0;background:var(--canvas);box-shadow:none;border:0;border-radius:0}
.page,.qz-home{display:block;min-height:100dvh;padding:calc(20px + env(safe-area-inset-top)) 20px calc(110px + env(safe-area-inset-bottom))}
.page h1{font-size:23px;font-weight:650;letter-spacing:-.5px;margin:0}
.page-header{margin-bottom:24px;min-height:36px}
.page-header .eyebrow{display:none}
.page-header>svg{display:none}
.section-card{border:0;border-radius:16px;box-shadow:none;background:#fff}
.section-title-row h2{font-size:16px;letter-spacing:0}
.section-title-row h2:before{display:none}
.text-button{font-size:12px;font-weight:500;color:var(--mint);gap:4px}
.mini-tag{color:#89958e;background:#f3f6f4;font-size:10px;border-radius:5px;font-weight:400}
.app-ledger-page{padding:0 0 calc(106px + env(safe-area-inset-bottom))}
.app-topbar{padding:calc(19px + env(safe-area-inset-top)) 20px 18px;margin:0;display:flex;gap:12px;justify-content:space-between;align-items:center}
.app-ledger-page>.app-topbar{margin:0}
.app-book-button{display:flex;align-items:center;gap:10px;border:0;background:none;padding:0;color:var(--ink);text-align:left;min-width:0;min-height:38px}
.app-book-button h1{font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.app-brand-mark{width:33px;height:35px;display:grid;place-items:center;border-radius:10px;background:#247b59;color:#fff;flex-shrink:0}
.app-book-chevron{transform:rotate(90deg);color:#939e98;flex-shrink:0}
.app-header-button{border:0;background:none;color:#455d50;width:38px;min-height:40px;padding:7px;display:grid;place-items:center}
.app-month-summary{margin:0 16px;padding:14px 20px 0;border-radius:20px;background:linear-gradient(120deg,#e5f2e9,#edf6f0);color:#264e3b;overflow:hidden}
.app-summary-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}
.app-summary-top .month-navigator{display:flex;align-items:center;justify-content:flex-start;gap:5px;width:auto;max-width:none;height:30px;padding:0;margin:0 0 0 -8px;background:none;border:0;border-radius:0;box-shadow:none}
.app-summary-top .month-navigator>span{font-size:13px;font-weight:550;color:#355b45;gap:0}
.app-summary-top .month-navigator>span svg{display:none}
.app-summary-top .month-navigator button{display:grid;place-items:center;min-width:26px;width:26px;min-height:32px;height:32px;padding:0;background:none;color:#73917f;border-radius:6px}
.app-eye{display:grid;place-items:center;min-height:32px;width:32px;padding:0;border:0;border-radius:50%;background:none;color:#749682}
.app-summary-label{display:block;font-size:12px;color:#64836f}
.app-month-expense{display:flex;align-items:baseline;gap:5px;font-size:43px;line-height:1.3;font-weight:650;letter-spacing:-1.6px;color:#204b35;margin-top:3px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.app-month-expense small{font-size:23px;font-weight:500;letter-spacing:0}
.app-income-summary{display:flex;gap:32px;margin:16px 0 18px}
.app-income-summary>div{display:flex;align-items:baseline;gap:8px;min-width:0;flex-wrap:wrap;row-gap:3px}
.app-income-summary span{font-size:11px;color:#78917f}
.app-income-summary b{font-size:15px;font-weight:550;letter-spacing:-.3px;font-variant-numeric:tabular-nums}
.app-budget-row{width:100%;display:flex;align-items:center;gap:12px;min-height:44px;padding:9px 0;border:0;border-top:1px solid #d8e8dd;background:none;color:#6f8b78;text-align:left;font-size:11px}
.app-budget-row>span:first-child{white-space:nowrap}
.app-budget-row b{font-size:11px;font-weight:400;white-space:nowrap}
.app-budget-row>svg{margin-left:auto;color:#7d9987;flex-shrink:0}
.app-budget-prompt{flex:1;color:#386c4d;text-align:right}
.app-budget-track{flex:1;min-width:15px;max-width:130px;height:4px;background:#d3e4d8;border-radius:3px;overflow:hidden}
.app-budget-track i{display:block;height:100%;background:#70a57f;border-radius:3px}.app-budget-track i.over{background:#d98068}.app-budget-row .over{color:#b65e47}
.app-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:12px 16px 0;padding:6px 0;background:#fff;border-radius:16px}
.app-shortcuts>button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:58px;border:0;background:none;color:#43594b;padding:8px 4px}
.app-shortcuts>button+button{position:relative}.app-shortcuts>button+button:before{content:'';position:absolute;left:0;width:1px;height:20px;background:#eef2ef}
.app-shortcuts>button>span{display:grid;place-items:center;color:#478367}
.app-shortcuts b{font-size:12px;font-weight:500;white-space:nowrap}
.app-ledger-section{padding:0 16px;margin-top:18px}
.app-list-heading{display:flex;align-items:center;justify-content:space-between;padding:0 3px 5px}
.app-list-heading h2{font-size:17px;margin:0;font-weight:650;letter-spacing:-.3px}
.app-list-heading .text-button{min-height:34px;color:#8c9791}
.app-day-group{margin-bottom:16px}
.app-day-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 4px 10px;color:#7c8881;font-size:12px}
.app-day-heading>span{color:#56675c;display:flex;gap:7px;align-items:center;white-space:nowrap}
.app-day-heading small{font-size:10px;font-weight:400;color:#9aa49e;line-height:1.5}
.app-day-heading>small{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.app-day-list{border:0;border-radius:15px;overflow:hidden;background:#fff}
.app-transaction-button{display:block;width:100%;border:0;background:#fff;color:inherit;padding:0;text-align:left}
.app-transaction-button+.app-transaction-button{position:relative}
.app-transaction-button+.app-transaction-button:before{content:'';position:absolute;left:65px;right:14px;top:0;height:1px;background:#f0f3f1}
.transaction-row{min-height:75px;padding:14px;gap:12px;border:0}
.transaction-copy{min-width:0;flex:1}
.transaction-copy b{font-size:14px;font-weight:500;color:#2e3c33;line-height:1.5;overflow-wrap:anywhere}
.transaction-copy span{font-size:10px;color:#9aa49d;line-height:1.6;margin-top:4px}
.transaction-amount b{font-size:16px;font-weight:550;letter-spacing:-.3px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#293d30}
.transaction-amount.income b{color:#d67c5a}.transaction-amount small{font-size:10px;color:#a1aaa4;margin-top:4px}
.category-icon{width:38px;height:38px;border-radius:50%;flex-shrink:0;background:#f2f5f2;color:#819384}
.category-icon.orange{background:#fcf0df;color:#d0a14f}.category-icon.blue{background:#eaf2f8;color:#6c9fbd}.category-icon.mint,.category-icon.green{background:#edf5e9;color:#83a56b}.category-icon.purple{background:#f1edf7;color:#a18ab7}.category-icon.pink,.category-icon.red{background:#faeeed;color:#c88f83}
.app-load-more{width:100%;background:#fff;border:0;border-radius:12px;color:#5c7e68;min-height:44px;font-size:12px;margin-top:2px}
.app-list-end{text-align:center;color:#b0b9b3;font-size:10px;margin:20px 0 0}
.app-empty-ledger{text-align:center;padding:43px 12px 30px;color:#9ba89e}
.app-empty-ledger>span{display:inline-flex;color:#bacdbf;background:#eaf0eb;padding:20px;border-radius:24px;margin-bottom:8px}
.app-empty-ledger h3{color:#6f8375;font-size:15px;font-weight:500;margin:14px 0 8px}
.app-empty-ledger p{font-size:12px;line-height:1.8;margin:0 0 18px}
.app-empty-ledger .secondary-button{min-height:40px;padding:9px 22px;font-size:12px;border-radius:10px}
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:600px;height:calc(77px + env(safe-area-inset-bottom));padding:6px 9px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;border:0;border-top:1px solid #edf1ee;border-radius:0;background:#fff;box-shadow:0 -3px 16px #253e2d03;z-index:30}
.bottom-nav>button{padding:8px 3px 3px;min-height:57px;color:#a6afa9;gap:5px;font-size:10px;background:none;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.bottom-nav>button.active{color:#287a55}.bottom-nav>button.active:after{display:none}
.bottom-nav>button.active svg{fill:#e7f3eb;stroke-width:2}
.bottom-nav>button span{font-size:10px;font-weight:500}
.nav-add-wrap{display:flex;flex-direction:column;align-items:center;gap:4px;transform:none;align-self:center;margin-top:0}
.nav-add{display:grid;place-items:center;background:#247b59;width:46px;height:39px;min-height:39px;border:0;border-radius:13px;color:white;box-shadow:none;margin:0}
.nav-add-wrap>span{font-size:10px;color:#487258;font-weight:500;line-height:1.4}
.bottom-nav .nav-add-wrap{height:auto;justify-content:center;position:static}
.bottom-nav .nav-add-wrap .nav-add{position:static;top:auto;left:auto;right:auto;bottom:auto;transform:none;flex-shrink:0}
.bottom-nav .nav-add-wrap>span{margin:0}
.app-transaction-button .transaction-amount.expense b{color:#354d3b}
.app-transaction-button .transaction-amount.income b{color:#d28a5d}
.qingzhang-site-footer{display:none}
.qingzhang-icp-record{display:block!important;text-align:center;color:#a8b0aa;font-size:10px;margin:10px 0 0}
.sub-page>.month-navigator{border:0;background:#edf2ee;color:#5a7563;border-radius:10px;height:42px;box-shadow:none;margin-bottom:20px}
.app-stats-page{display:flex;flex-direction:column;gap:0}
.app-stats-page>.page-header{order:0}.app-stats-page>.month-navigator{order:1}
.app-stats-page>.stat-overview{order:2}.app-stats-page>.qz-insights{order:3}.app-stats-page>.chart-card{order:4}.app-stats-page>.category-breakdown{order:5}.app-stats-page>.soft-action{order:6}
.stat-overview{gap:12px;margin-bottom:16px}
.stat-overview>div{background:#fff;border:0;border-radius:14px;padding:20px 15px;box-shadow:none}
.stat-overview span{font-size:11px}.stat-overview strong{font-size:23px;font-weight:600;letter-spacing:-.6px;overflow-wrap:anywhere}.stat-overview small{font-size:10px;line-height:1.5}
.qz-insights,.chart-card,.category-breakdown{padding:20px;margin:0 0 16px;border:0;border-radius:16px}
.qz-daily-chart{margin-top:23px;height:80px;border-color:#edf1ee;gap:4px}.qz-daily-chart>span,.qz-daily-chart>span:nth-child(2n){background:#94b79d;border-radius:2px 2px 0 0}
.app-stat-scope{font-size:10px;color:#a1aca5;margin:16px 0 0}
.bar-chart .bar{background:#c6dccd;border-radius:6px 6px 2px 2px}.bar-chart .bar.current{background:#4b9569}
.bar-value{font-size:10px;color:#9aa69d}.bar-column>span{font-size:10px}
.category-row{padding:14px 0}.category-row b{font-size:12px;font-weight:500}.category-row strong{font-size:13px}.category-row small{font-size:10px;color:#9ba69f}
.category-row .progress-track{height:3px;background:#eff3ef}.category-row .progress-track i{background:#8eb297}
.soft-action{border:0;background:#eaf3ed;color:#50785c;border-radius:12px;min-height:44px;font-size:12px}
.asset-overview-card{background:#e8f3eb;border:0;border-radius:18px;box-shadow:none;padding:24px;color:#386449}
.asset-overview-card>span{font-size:12px;color:#6c8a75}.asset-overview-card>strong{color:#26543a;font-size:34px;font-weight:600;letter-spacing:-1px}
.asset-overview-card>div{border-color:#d6e5da}.asset-overview-card p{font-size:10px;color:#789480}.asset-overview-card b{font-size:13px;color:#3e674c;font-weight:500}
.asset-heading{margin:25px 0 13px}.asset-heading h2{font-size:16px}.asset-heading .pnl{font-size:10px;color:#9aa69e;margin:5px 0 0}
.asset-settings-button{background:none;border:0;color:#7a9181}
.account-grid{display:grid;grid-template-columns:1fr;gap:1px;border-radius:15px;background:#fff;overflow:hidden}
.account-card,.account-card.mint,.account-card.blue,.account-card.gray,.account-card.amber,.account-card.purple{display:grid;grid-template-columns:40px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:12px;align-items:center;text-align:left;border:0;border-radius:0;padding:17px 15px;background:#fff;color:var(--ink);box-shadow:none;position:relative}
.account-card:before{display:none}.account-card+.account-card{border-top:1px solid #f0f3f1}
.account-card .account-icon{grid-column:1;grid-row:1 / 3;width:38px;height:38px;border-radius:12px;background:#edf5ef;color:#648e6d}
.account-card p{grid-column:2;grid-row:2;font-size:10px;margin:4px 0 0;color:#9ca79f}
.account-card h3{grid-column:2;grid-row:1;font-size:14px;font-weight:500;margin:0;color:#3d4b41}
.account-card strong{grid-column:3;grid-row:1 / 3;font-size:17px;margin:0;letter-spacing:-.5px;font-weight:500;padding-right:14px;color:#3a5141;font-variant-numeric:tabular-nums}
.account-card .account-pencil{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#b3bfb6;background:none}
.app-assets-page .account-card{min-height:80px}
.app-assets-page .account-card .account-icon{margin:0}
.transaction-row .category-icon{box-shadow:none;border:0}
.transaction-row .category-icon.coral{background:#fcf0df;color:#c99c4c}
.transaction-row .category-icon.blue{background:#eaf2f8;color:#6c9fbd}
.transaction-row .category-icon.mint,.transaction-row .category-icon.green{background:#edf5e9;color:#83a56b}
.transaction-row .category-icon.purple{background:#f1edf7;color:#a18ab7}
.transaction-row .category-icon.pink{background:#faeeed;color:#c88f83}
.transaction-row .category-icon.amber{background:#faf3e0;color:#c4a35f}
.transaction-row .category-icon.gray{background:#f0f3f1;color:#95a59a}
.holdings-list{border:0;border-radius:15px}.holding-row{padding:17px 14px}.holding-row b{font-size:12px}.holding-row small{font-size:10px}
.settings-page .privacy-card{border:0;border-radius:16px;background:#eaf4ed;padding:22px 18px;box-shadow:none;margin-bottom:18px}
.privacy-card>span{background:#fff;color:#6f9a7b;width:45px;height:45px;border-radius:14px;flex-shrink:0}
.privacy-card h2{font-size:16px;font-weight:600}.privacy-card p{font-size:11px;color:#7b9383;line-height:1.8;margin-top:6px}
.backup-status{border:0;border-radius:14px;background:#fff;margin:12px 0;padding:15px;box-shadow:none}
.backup-status b{font-size:12px;font-weight:500}.backup-status p{font-size:10px;color:#95a198}
.ledger-books-entry,.backup-center-entry,.loan-center-entry{margin:0 0 10px;background:#fff;border:0;border-radius:14px;padding:15px;box-shadow:none;min-height:72px}
.ledger-books-entry small,.backup-center-entry small,.loan-center-entry small{font-size:10px;color:#9aa79e;line-height:1.6}
.ledger-books-entry b,.backup-center-entry b,.loan-center-entry b{font-size:13px;font-weight:500;color:#405448}
.ledger-books-entry>span,.backup-center-entry>span,.loan-center-entry>span{width:36px;height:36px;border-radius:11px;background:#eef5ef;color:#7d9a84;font-size:20px;display:grid;place-items:center}
.settings-group{border:0;background:#fff;border-radius:15px;box-shadow:none;margin:16px 0;overflow:hidden}
.settings-group h3{font-size:10px;color:#9aa59e;font-weight:400;margin:0;padding:13px 16px 0}
.settings-group>button{min-height:72px;padding:14px 16px;border-color:#f2f4f2}
.settings-group b{font-size:13px;font-weight:500}.settings-group small{font-size:10px;color:#a0aaa3;line-height:1.6}
.qingzhang-guide-entry{background:#fff;border:0;border-radius:14px;box-shadow:none;padding:15px;min-height:66px;margin-bottom:10px}
.qingzhang-guide-entry>span{background:#eef5ef;color:#7d9a84;border-radius:11px;font-family:inherit;font-weight:400}
.qingzhang-guide-entry b{font-size:13px;font-weight:500;color:#405448}.qingzhang-guide-entry small{font-size:10px;color:#9aa79e}
.settings-page .ledger-books-entry,.settings-page .backup-center-entry,.settings-page .loan-center-entry{min-height:66px}
.setting-icon{width:34px;height:34px;border-radius:10px}.version-note{font-size:10px;color:#b0b8b2;text-align:center;margin-top:24px;line-height:1.8}
.search-field{background:#fff;border:0;border-radius:11px;box-shadow:none;min-height:46px}.search-field input{font-size:13px!important}
.segmented{background:#edf2ee;border:0;border-radius:11px;padding:4px}.segmented button{font-size:13px;min-height:38px;background:none;color:#8b9b90}.segmented button.active{background:#fff;color:#3d7651;border:0;box-shadow:0 1px 4px #3245370c;border-radius:8px}
.bill-date{padding:8px 3px 10px;font-size:12px}.bill-date small{font-size:10px;color:#a0aaa3}.bill-group{margin-bottom:19px}
.qz-search-entry{border:0;background:#edf4ef;border-radius:12px}.qz-search-entry small{font-size:10px}
.modal-backdrop{background:#183f2e52;backdrop-filter:blur(2px);z-index:80}
.modal-sheet{border:0;background:#fff;border-radius:22px 22px 0 0;max-width:600px;box-shadow:none}
.modal-sheet header{padding:18px 20px;border-color:#f0f3f0;min-height:68px}
.modal-sheet header h2{font-size:18px;font-weight:600;letter-spacing:-.4px}
.modal-sheet .icon-button{border:0;background:#f1f5f2;color:#789080;border-radius:50%;width:34px;min-width:34px;height:34px;min-height:34px}
.modal-body{padding:20px;overscroll-behavior:contain}
.form-stack{gap:19px}.field>span{font-size:12px;color:#7e9084}.field input,.field select{min-height:48px;border:1px solid #eaf0eb;background:#f8faf8;border-radius:10px;color:#334e3c;padding:12px}
.amount-field{border:0;border-radius:14px;background:#f3f8f4;padding:20px;box-shadow:none}
.amount-field>span{font-size:12px;color:#90a095}.amount-field b{font-size:27px;color:#486951}.amount-field input{font-size:40px!important;line-height:1.4;color:#2b5138;font-weight:550;letter-spacing:-1px}
.category-picker .field-label{font-size:12px;color:#8c9d91}.category-picker>div{gap:8px}.category-picker button{border:0;border-radius:12px;background:none;min-height:67px;padding:7px 0;color:#8b9b91;font-size:11px;gap:6px}.category-picker button.active{background:#eaf4ed;color:#4e7d5c}.category-picker .category-icon{width:32px;height:32px}
.primary-button{border:0;background:#287c56;color:#fff;border-radius:12px;min-height:49px;font-size:14px;font-weight:500;box-shadow:none}
.secondary-button{border:0;background:#edf5ef;color:#548060;border-radius:11px;font-size:13px}
.app-entry-form>button[type=submit]{position:sticky;bottom:0;z-index:2;box-shadow:0 0 0 10px #fff;margin-top:6px}
.field input:focus-visible,.field select:focus-visible,.amount-field input:focus-visible{outline:2px solid #8cba9b;outline-offset:2px}
body:has(.modal-backdrop){overflow:hidden}
.modal-backdrop{inset:0}
.brand-splash{background:#f6f8f7;animation:app-launch-out .2s ease .25s forwards}
.brand-splash__tagline{display:none}
.brand-splash__name{font-family:inherit;font-size:20px;letter-spacing:0}
.brand-splash__mark{box-shadow:none;border-radius:23px;width:78px;height:78px}
@keyframes app-launch-out{to{opacity:0;visibility:hidden}}
.qz-ocr-review{background:#f1f7f2;border-color:#e1ebe2}.qz-ocr-candidate{background:#fff}.qz-ocr-candidate[aria-pressed=true]{background:#e8f3e9;border-color:#74a27b;box-shadow:none}
.app-editor .ocr-rule-card{border:0;background:#f7faf7;box-shadow:none;padding:15px;border-radius:13px}
.app-editor .ocr-enhancement-note,.app-editor .ocr-rule-head{display:none}
.app-editor .ocr-rule-card>p{font-size:11px;line-height:1.65;color:#8a9c8d;margin:0 0 12px}
.app-editor .qz-ocr-review{padding:15px}.app-editor .qz-ocr-review h3{font-size:14px;font-weight:550}
.app-editor .qz-ocr-candidate small{font-size:10px;line-height:1.55}
.app-editor .ocr-preview img{height:160px;max-height:160px;object-fit:contain}
.app-editor .result-banner{font-size:11px;line-height:1.6;background:#edf6ef;box-shadow:none;border:0;border-radius:11px;padding:11px 13px}
.ocr-choice{border:1px solid #e7eee9;background:#f8fbf9;border-radius:16px;min-height:160px}.ocr-choice>span{box-shadow:none;background:#eaf3ec;color:#70a07d}.ocr-choice b{font-size:14px}.ocr-choice small{font-size:11px;line-height:1.7}
.qz-search-screen{background:var(--canvas);max-width:600px}.qz-search-header{border-color:#eaf0ec;background:#fff;padding:20px}.qz-search-header h1{font-size:20px}.qz-search-header p{display:none}
.qz-query,.qz-filter-card{border:0;border-radius:12px}.qz-filter-card{background:white}.qz-results article{border:0}.qz-type-pills button{border:0;background:#fff}.qz-type-pills .active{background:#4c8d65}
.ledger-books-modal,.backup-modal,.loan-modal{z-index:90}
.toast,.backup-toast{font-size:12px;bottom:calc(95px + env(safe-area-inset-bottom));border-radius:11px}
@media(max-width:599px){
  html,.modal-body{scrollbar-width:none}
  html::-webkit-scrollbar,.modal-body::-webkit-scrollbar{display:none}
  .modal-backdrop:has(.app-editor){align-items:stretch;padding:0;background:#fff;backdrop-filter:none}
  .modal-sheet.app-editor{display:flex;flex-direction:column;width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding-top:env(safe-area-inset-top)}
  .app-editor>.modal-handle{display:none}.app-editor>.modal-body{flex:1;min-height:0;overflow:auto;padding-bottom:calc(25px + env(safe-area-inset-bottom))}
}
@media(min-width:600px){
  .app-frame{padding:24px 0;max-width:600px}.app-shell{border:1px solid #dde6df;border-radius:22px;overflow:hidden;min-height:calc(100dvh - 48px)}
  .page{min-height:calc(100dvh - 48px)}.app-ledger-page{padding-top:0}
  .bottom-nav{bottom:24px;max-width:598px;border-radius:0 0 21px 21px}
  .modal-backdrop{align-items:center}.modal-sheet{max-width:520px;border-radius:22px;max-height:90dvh}.modal-sheet .modal-handle{display:none}
  .app-topbar{padding-top:23px}.app-month-summary{margin:0 20px;padding-left:24px;padding-right:24px}
  .app-shortcuts{margin-left:20px;margin-right:20px}.app-ledger-section{padding:0 20px}
  .page:not(.app-ledger-page){padding-left:24px;padding-right:24px}
}
@media(max-width:359px){
  .app-topbar{padding-left:16px;padding-right:16px}.app-book-button h1{max-width:170px;font-size:18px}
  .app-month-summary{margin:0 12px;padding-left:16px;padding-right:16px}.app-month-expense{font-size:38px}.app-income-summary{gap:20px}
  .app-shortcuts{margin-left:12px;margin-right:12px}.app-shortcuts>button{gap:5px}.app-shortcuts b{font-size:11px}
  .app-ledger-section{padding:0 12px}.transaction-row{padding:13px 11px;gap:9px}.transaction-copy b{font-size:13px}.transaction-amount b{font-size:14px}
  .app-day-heading{gap:5px}.app-day-heading small{font-size:9px}.app-budget-row{gap:9px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}.brand-splash{display:none!important}}
