:root{font-family:'DM Sans',sans-serif;color:#283f36;background:#f7f7f0;font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:12px;padding:12px 18px;background:#e9eee6;color:#283f36;font-weight:600}button.primary{background:#324e40;color:white}button.ghost{background:transparent;padding:8px}input,select{padding:12px;border:1px solid #dce1d5;border-radius:10px;background:white;max-width:100%;width:100%;color:#283f36}label{display:block;font-size:12px;color:#657569;margin:12px 0 6px}h1,h2,h3{font-family:Manrope,sans-serif;margin:0}h1{font-size:40px;letter-spacing:-1.5px}h2{font-size:25px}p{line-height:1.6}.muted{color:#7b877c}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:2px;font-weight:700;color:#758170}.shell{max-width:1160px;margin:auto;padding:30px 36px}.top,.row{display:flex;align-items:center;justify-content:space-between;gap:14px}.top{padding-bottom:30px;border-bottom:1px solid #dde2d7}.brand{font-family:Manrope;font-weight:800;font-size:24px}.brand span{display:inline-grid;place-items:center;background:#dfe8d8;width:36px;height:36px;border-radius:12px;margin-right:10px}.intro{padding:48px 0 30px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:#fff;border:1px solid #e2e6dc;border-radius:22px;padding:25px}.book{cursor:pointer;transition:transform .2s}.book:hover{transform:translateY(-4px)}.icon{font-size:30px;background:#edf1e7;border-radius:18px;width:65px;height:65px;display:grid;place-items:center;margin-bottom:28px}.chips{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}.chip{background:#f1f3ec;padding:5px 10px;border-radius:8px;font-size:12px}.book h2{font-size:22px}.big{font:800 30px Manrope}.tabs{display:flex;gap:8px;margin:26px 0}.tabs .active{background:#324e40;color:white}.content{display:grid;grid-template-columns:1.6fr 1fr;gap:20px}.bill{padding:20px 0;border-bottom:1px solid #edf0e8}.bill:last-child{border:0}.small{font-size:12px}.balance{padding:15px 0;border-bottom:1px solid #eef0e8}.positive{color:#3b7852}.negative{color:#b47558}.footer{margin-top:40px;font-size:12px;color:#84907f}.banner{background:#edf0e3;border-radius:14px;padding:14px 18px;margin-top:24px;font-size:13px}.empty{padding:40px 10px;text-align:center;color:#86927e}dialog{border:0;border-radius:24px;max-width:720px;width:calc(100% - 24px);padding:28px;color:#283f36;max-height:90vh}dialog::backdrop{background:#20372c66}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.item{background:#f5f6f0;border-radius:14px;padding:14px;margin:12px 0}.checks{display:flex;gap:12px;flex-wrap:wrap}.checks label{display:flex;gap:6px;align-items:center;font-size:13px;margin:8px 0}.checks input{width:auto}.error{color:#a84c3b;padding:10px 0}.summary{background:#e9f0e3;padding:18px;border-radius:12px;margin:18px 0}.actions{display:flex;gap:8px;flex-wrap:wrap}textarea{width:100%;min-height:180px;padding:12px;border:1px solid #ddd;border-radius:12px;font:inherit}.money{font-variant-numeric:tabular-nums}a{color:inherit}@media(max-width:700px){.shell{padding:22px 18px}.grid,.content{grid-template-columns:1fr}.intro{padding:32px 0 24px}h1{font-size:31px}.top{padding-bottom:20px}.top .small{display:none}.card{padding:22px}.formgrid{grid-template-columns:1fr 1fr}.row{flex-wrap:wrap}.book .icon{margin-bottom:18px}.tabs{overflow:auto}.big{font-size:26px}}
.dual-money{display:flex;flex-direction:column;gap:6px;font-size:15px;font-weight:500;line-height:1.35;font-variant-numeric:tabular-nums;margin:4px 0}.align-right{text-align:right}.primary-amount{font-size:18px;font-weight:700;color:#283f36}.secondary-amount{font-size:14px;color:#7b877c;font-weight:500}.total-money{margin:22px 0}.total-money .dual-money{text-align:left}.total-money .primary-amount{font:800 30px Manrope,sans-serif;letter-spacing:-.5px}.total-money .secondary-amount{font-size:17px}.cash-owner{background:#f6f8f1;border-radius:14px;padding:14px;flex:1;min-width:160px}.cash-owner>span{font-size:13px;color:#657569}.cash-owner .dual-money{text-align:left;margin-top:8px}.book .primary-amount{font-size:16px}@media(max-width:700px){.total-money .primary-amount{font-size:28px}.bill>.row:first-child{flex-wrap:nowrap;align-items:flex-start}.bill>.row:first-child>div:first-child{flex:1;min-width:0}.bill .dual-money{flex-shrink:0}.cash-owner{min-width:140px}.primary-amount{font-size:17px}}
.book-summary{border-top:1px solid #e2e6dc;padding-top:21px;margin-top:8px;display:grid;grid-template-columns:1fr;gap:10px;position:relative;padding-bottom:22px}.book-summary.has-cash{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:12px;align-items:end}.summary-label{font-size:12px;color:#7b877c;margin-bottom:8px}.book-spent{text-align:right}.book-summary .book-spent .primary-amount{font-family:Manrope,sans-serif;font-size:20px;letter-spacing:-.4px}.book-summary .book-cash .primary-amount{font-family:Manrope,sans-serif;font-size:25px;letter-spacing:-.6px}.book-summary .secondary-amount{font-size:13px}.book-summary .book-cash .secondary-amount{font-size:14px}.book-summary .dual-money{gap:4px}.book-arrow{position:absolute;right:0;bottom:0;color:#71806e;font-size:17px}.book-summary:not(.has-cash){display:flex;align-items:center;justify-content:space-between;padding-bottom:22px}.book-summary:not(.has-cash) .book-spent{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px}.book-summary:not(.has-cash) .summary-label{margin:0}@media(min-width:701px) and (max-width:1050px){.book-summary.has-cash{grid-template-columns:1fr}.book-cash .dual-money{text-align:left}.book-summary .book-spent .primary-amount{font-size:18px}}@media(max-width:370px){.book-summary .book-cash .primary-amount{font-size:22px}.book-summary .book-spent .primary-amount{font-size:18px}.book-summary.has-cash{gap:8px}}
/* Restore the original card amount typography. */
.book-summary .book-spent .primary-amount,.book-summary .book-cash .primary-amount{font-family:'DM Sans',sans-serif;font-weight:700;letter-spacing:normal}.book-summary .secondary-amount,.summary-label{font-family:'DM Sans',sans-serif;letter-spacing:normal}

/* Consistent amount typography across book and account views. */
.big,.primary-amount,.total-money .primary-amount{font-family:'DM Sans',sans-serif;font-weight:700;letter-spacing:normal}.wallet-card{margin-bottom:22px}.wallet-card .actions{margin-top:18px}.wallet-card .balance .dual-money{margin-left:auto}.secondary-amount{font-family:'DM Sans',sans-serif}@media(max-width:700px){.wallet-card .balance{gap:10px}.wallet-card .balance>div:first-child{flex:1;min-width:130px}.wallet-card .balance button{font-size:12px;padding:10px}}

.account-stack{margin:0 0 28px;padding-bottom:0;isolation:isolate}.account-card{position:relative;border:1px solid #dce3d6;border-radius:22px;background:#f0f3eb;padding:0 22px 20px;box-shadow:0 -3px 12px #283f3605}.account-card+.account-card{margin-top:-16px}.account-cash{background:#e9f0e3}.account-wise{background:#f3f5ee}.account-deposit{background:#fff}.account-card:last-child{padding-bottom:0}.account-card[open]{padding-bottom:20px}.account-card summary{display:flex;align-items:center;gap:14px;min-height:110px;padding:22px 0;cursor:pointer;list-style:none}.account-card summary::-webkit-details-marker{display:none}.account-title{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}.account-title>strong{font-size:16px}.account-title .small{line-height:1.4}.account-amount{flex-shrink:0}.account-amount .primary-amount{font-size:23px}.account-amount .secondary-amount{font-size:13px}.account-chevron{font-size:22px;transition:transform .2s}.account-card[open] .account-chevron{transform:rotate(180deg)}.account-body{border-top:1px solid #dce3d6;padding:18px 0 6px}.account-body>p:first-child{margin-top:0}.account-body .actions{margin-top:18px}.account-body .balance .dual-money{margin-left:auto}.account-card summary:focus-visible{outline:2px solid #3b7852;outline-offset:4px;border-radius:10px}@media(max-width:700px){.account-card{padding-left:18px;padding-right:18px}.account-card summary{gap:10px;min-height:112px}.account-title>strong{font-size:15px}.account-title .small{font-size:11px}.account-amount .primary-amount{font-size:22px}.account-body .balance>div:first-child{flex:1;min-width:130px}.account-body .balance button{font-size:12px;padding:10px}}@media(max-width:370px){.account-amount .primary-amount{font-size:19px}.account-card summary{gap:8px}.account-title>strong{font-size:14px}}

.book-summary.has-cash{align-items:start;padding-top:24px;padding-bottom:25px;column-gap:18px}.book-summary .summary-label{margin-bottom:10px}.book-summary .book-spent{min-width:0}.book-summary .dual-money{gap:7px}.account-cimb{background:#f0f3ed}.account-title>strong{overflow-wrap:anywhere}.account-cimb .account-title>strong{font-size:14px}@media(max-width:370px){.book-summary.has-cash{column-gap:12px}.account-cimb .account-title>strong{font-size:13px}}

.personal-spending-row{display:grid;grid-template-columns:minmax(65px,1fr) minmax(0,2fr);align-items:start;gap:16px;padding:18px 0}.person-name{padding-top:4px;overflow-wrap:anywhere}.person-amounts{min-width:0;text-align:right}.person-amounts .dual-money{margin:0;gap:6px}.spending-total{text-align:right}.spending-total+.spending-total{margin-top:12px}.spending-pending{display:block;font-size:11px;font-weight:400;color:#7b877c;line-height:1.5;margin-top:8px;overflow-wrap:anywhere}.person-amounts .secondary-amount{font-size:13px}@media(max-width:370px){.personal-spending-row{gap:10px}.person-amounts .primary-amount{font-size:16px}.person-amounts .secondary-amount{font-size:12px}}

/* Compact payment summary, following the two-line reference. */
.cover-sources{display:flex;flex-direction:column;align-items:flex-end;gap:3px;margin-top:12px;font-size:10px;line-height:1.45;font-weight:500;color:#7b877c;text-align:right}.cover-source-line{display:flex;align-items:baseline;gap:5px;white-space:nowrap}.cover-source-line>span{display:inline;flex:none}.book-summary.has-cash{padding-bottom:28px}@media(max-width:370px){.cover-sources{font-size:9px}.cover-source-line{gap:4px}}

.account-card .custody-history>summary{min-height:0;padding:8px 0;font-size:13px;display:list-item;list-style:disclosure-closed}.account-card .custody-history[open]>summary{list-style:disclosure-open}.account-card .custody-history>summary::-webkit-details-marker{display:inline}

/* Spending categories: compact accordion, two charts with exact legends. */
.account-categories{background:#f9faf5}.account-categories .account-amount{font-variant-numeric:tabular-nums}.category-chart-heading,.category-personal-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:8px 0 18px}.category-chart-heading h3{font-size:16px}.category-chart-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:center}.category-donut{width:220px;max-width:100%;margin:auto}.category-donut svg{display:block;width:100%;overflow:visible}.donut-label{font:500 12px 'DM Sans',sans-serif;fill:#7b877c}.donut-total{font:700 21px 'DM Sans',sans-serif;fill:#283f36}.category-legend{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}.category-legend th,.category-legend td{padding:10px 0;border-bottom:1px solid #e6ebdf;font-size:13px}.category-legend th{text-align:left;font-weight:500;display:flex;gap:9px;align-items:center}.category-legend th small{display:block;color:#7b877c;font-size:11px;margin-top:3px}.category-legend td{text-align:right;white-space:nowrap;padding-left:12px}.category-legend td:last-child{color:#7b877c;font-size:12px}.category-dot{display:inline-block;width:9px;height:9px;flex-shrink:0;border-radius:50%}.category-personal{border-top:1px solid #dce3d6;padding-top:24px;margin-top:26px}.category-personal-top h3{font-size:16px}.category-switch{display:flex;gap:5px;flex-wrap:wrap}.category-switch button{padding:8px 14px;border-radius:9px;font-size:12px}.category-switch button[aria-pressed=true]{background:#324e40;color:white}.category-switch button:focus-visible{outline:2px solid #638b70;outline-offset:3px}.category-note{font-size:12px;color:#7b877c;line-height:1.6;margin:16px 0 8px}.account-card .category-unclassified>summary{min-height:0;padding:12px 0;font-size:13px;list-style:disclosure-closed;display:list-item}.account-card .category-unclassified[open]>summary{list-style:disclosure-open}.category-review-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #e6ebdf;font-size:13px}.category-review-row span{min-width:0;overflow-wrap:anywhere}.category-review-row small{display:block;font-size:11px;color:#7b877c;margin-top:4px}.category-review-row button{flex-shrink:0;padding:8px 12px;font-size:12px}.category-edit-item{border:1px solid #dce3d6;border-radius:12px;padding:12px;margin:18px 0}.category-edit-item legend{font-size:13px;padding:0 6px}.category-edit-part{display:grid;grid-template-columns:minmax(0,1fr) 95px 36px;gap:6px;margin:8px 0}.category-edit-part button{padding:6px}.category-edit-part select,.category-edit-part input{font-size:13px;padding:10px 8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:700px){.category-chart-layout{grid-template-columns:1fr;gap:8px}.category-donut{width:210px}.category-legend th,.category-legend td{font-size:12px}.category-legend td{padding-left:8px}.category-personal-top{align-items:flex-start}.category-edit-part{grid-template-columns:minmax(0,1fr) 75px 30px}.category-legend th span:last-child{overflow-wrap:anywhere}}

:root{background:#f4f1e8;color:#283d32}.brand,h1,h2{font-family:Georgia,'Songti SC','Noto Serif CJK SC',serif}.brand{font-size:28px;letter-spacing:3px}.top{border-color:#c8cbb9}.brand span{background:#354b36;color:#f4f1e8}.card{background:#fbfaf5;border-color:#d5d8c7;box-shadow:0 8px 28px #283d3205}button.primary,.tabs .active{background:#364b36}button{background:#e3e5d4}.intro{padding-top:30px}.journal-date{background:#dce2d0;padding:16px;border-radius:12px}.footer{line-height:1.7}@media print{button,.tabs,.footer,.top{display:none!important}.shell{max-width:none;padding:0}.content{display:block}.card{break-inside:avoid;box-shadow:none}.intro{padding:10px 0}body{background:white}}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-ui-8780038f6e.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+20-7E,U+A3,U+A5,U+B7,U+D7,U+2014,U+2019,U+2026,U+3001-3002,U+300C-300D,U+4E00,U+4E0A-4E0B,U+4E0D-4E0E,U+4E22,U+4E24,U+4E26,U+4E2A,U+4E2D,U+4E3A-4E3B,U+4E48,U+4E4B,U+4E50,U+4E5F,U+4E70,U+4E86,U+4E8E,U+4EA4,U+4EAB,U+4EBA,U+4EC0,U+4EC5,U+4ECA-4ECB,U+4ECD-4ECE,U+4ED6,U+4ED8,U+4EE3-4EE5,U+4EF6,U+4EFD,U+4F1A,U+4F20,U+4F46,U+4F4D,U+4F4F,U+4F53,U+4F55,U+4F59,U+4F5C,U+4F60,U+4F7F,U+4F86,U+4F8B,U+4FDD,U+4FE1,U+4FEE,U+500B,U+505C,U+5065,U+5099,U+50A8,U+50B3,U+50C5,U+50CF,U+5132,U+5143,U+5148,U+5165,U+5167-5169,U+516C,U+5173,U+5176,U+517B,U+5185,U+518D,U+5199,U+51C6,U+51FA-51FB,U+5206,U+5212,U+5217,U+521D,U+5220,U+5225,U+522A-522B,U+5230,U+5236,U+524D,U+5269,U+52A0,U+52A8-52A9,U+52D5,U+5305,U+532F,U+533B,U+5348,U+5355-5356,U+5361,U+5370,U+5386,U+539F,U+53CA,U+53D6-53D8,U+53E5-53E6,U+53EA,U+53EF-53F0,U+53F2,U+53F7,U+5403-5404,U+5408-5409,U+540C-540E,U+5411,U+5417,U+5427,U+542B,U+548C,U+5496,U+54CD,U+54EA,U+5531,U+555F,U+5561,U+559C,U+55AE,U+55CE,U+5668,U+56F4,U+56FE,U+570D,U+5713,U+5716,U+5728,U+5730,U+5757,U+578B,U+5831,U+584A,U+586B,U+589E,U+58EB,U+58F0,U+5904,U+5907,U+590D,U+5916,U+591A,U+591C,U+5927,U+5929,U+5931,U+5956-5957,U+5976,U+597D,U+5982,U+59CB,U+5A1B,U+5A31,U+5B50,U+5B57-5B58,U+5B83,U+5B89,U+5B8C,U+5B9A,U+5B9E,U+5BB5-5BB6,U+5BE6,U+5BEB,U+5BF9,U+5BFC,U+5C06-5C07,U+5C0B,U+5C0D,U+5C0F,U+5C11,U+5C1A,U+5C31,U+5C45,U+5C4F,U+5C55,U+5C81,U+5DE5,U+5DF1-5DF2,U+5DF4,U+5E01-5E03,U+5E2E,U+5E33,U+5E38,U+5E55,U+5E63,U+5E74,U+5E76,U+5E8F,U+5E94,U+5EA6,U+5EB7,U+5EFA,U+5F00,U+5F02,U+5F0F,U+5F15,U+5F53,U+5F55,U+5F71,U+5F88,U+5F8C,U+5F9E,U+5FC3,U+5FC5,U+603B,U+6062,U+606F,U+60F3,U+610F,U+613F,U+6162,U+6167,U+61C9,U+620F-6211,U+6216,U+622A,U+6232,U+6236-6237,U+623F-6240,U+624B,U+6253,U+627E,U+628A,U+62A5,U+62E9,U+6301,U+6309,U+6362,U+636E,U+638C,U+63A7,U+63CF-63D0,U+63DB,U+63F4,U+641C,U+642D,U+64A4,U+64C7,U+64CA,U+64CD,U+64DA,U+652F,U+6536,U+6539,U+6548,U+6557,U+6570,U+6574,U+6578,U+6587,U+6599,U+659C,U+65B0,U+65B9,U+65BC,U+65C5,U+65E0,U+65E5,U+65E9,U+65F6,U+660E,U+6613,U+6628,U+662F,U+663E,U+6642,U+665A,U+667A,U+6682,U+66AB,U+66F4,U+66FF-6700,U+6703,U+6708-6709,U+670D,U+671B,U+671F,U+672A,U+672C,U+673A,U+6742,U+6761,U+6765,U+676F,U+6790,U+679C,U+67D4,U+67E5,U+6807,U+680F,U+6838,U+683C,U+6848,U+689D,U+68C0,U+695A,U+6A02,U+6A19,U+6A5F,U+6A94,U+6AA2,U+6B04,U+6B21-6B22,U+6B3E,U+6B61,U+6B63-6B65,U+6B72,U+6B77,U+6BB5,U+6BCF,U+6C11,U+6C34,U+6C47,U+6C7D,U+6C92,U+6CA1,U+6CB9,U+6CD5,U+6CE8,U+6CF0,U+6D17,U+6D3B,U+6D4B,U+6D4F,U+6D88,U+6E05,U+6E29,U+6E2C,U+6E38,U+6E90,U+6E96,U+6EAB,U+6F14,U+700F,U+70B9-70BA,U+7121,U+7247-7248,U+7259,U+7269,U+72EC,U+734E,U+7368,U+73B0,U+73FE,U+7406,U+751F,U+7528,U+7535,U+754C,U+7559,U+7565,U+756B,U+7570,U+75C5,U+75D5,U+7684,U+76D6,U+76EE,U+76F8,U+770B,U+771F,U+77E5,U+7801,U+786E,U+78BA,U+78BC,U+793A,U+793C,U+7968,U+79AE,U+79BB,U+79CD,U+79DF,U+79F0,U+7A0B,U+7A31,U+7A7A,U+7ACB,U+7B14,U+7B26,U+7B2C,U+7B46,U+7B49,U+7B80,U+7B97,U+7BC4,U+7C21,U+7C7B,U+7D00,U+7D22,U+7D30,U+7D50,U+7D66,U+7DB2,U+7DDA,U+7DE8,U+7E3D,U+7E41,U+7E7C,U+7E8C,U+7EBF,U+7EC6,U+7ED3,U+7ED9,U+7EE7,U+7EED,U+7F16,U+7F3A,U+7F51,U+7F6E,U+7F8E,U+8054,U+8072,U+80FD,U+81EA,U+81F3-81F4,U+81FA,U+8207,U+8212,U+82B1,U+82F1,U+8303,U+8336,U+836F,U+83DC,U+84CB,U+85AA,U+85E5,U+8655,U+865F,U+884C,U+8863,U+8865,U+8868,U+88AB,U+88C5,U+88D5,U+88DC-88DD,U+88E1,U+8907,U+8981,U+8986,U+89BD,U+89C8,U+89E3,U+8A00,U+8A08,U+8A18,U+8A2D,U+8A3A-8A3B,U+8A66,U+8A71,U+8A8D,U+8A9E,U+8AAA,U+8ABF,U+8ACB,U+8B58,U+8B70,U+8B80,U+8B8A,U+8B93,U+8BA1,U+8BA4,U+8BA9,U+8BAE,U+8BB0,U+8BBE,U+8BC6,U+8BCA,U+8BD5,U+8BDD,U+8BED,U+8BF4,U+8BF7,U+8BFB,U+8C03,U+8C61,U+8CA0-8CA1,U+8CA8,U+8CB7,U+8CBB,U+8CC7,U+8CE3,U+8CFC,U+8D1F,U+8D22,U+8D25-8D27,U+8D2D,U+8D39,U+8D44,U+8D85,U+8DDF,U+8DE1,U+8DE8,U+8DEF,U+8DF3,U+8ECA,U+8F2F,U+8F38,U+8F49,U+8F66,U+8F6C,U+8F91,U+8F93,U+8FA8,U+8FBE,U+8FC7,U+8FD1,U+8FD4,U+8FD8-8FD9,U+8FDB,U+8FF0,U+8FF9,U+9000-9001,U+9009,U+9017,U+9019-901A,U+9023,U+9032,U+904A,U+904E,U+9054,U+9078,U+907A,U+9084,U+90E8,U+90FD,U+914D,U+91AB,U+91CC-91CD,U+91CF,U+91D1,U+9280,U+9296,U+92B7,U+9304,U+9322,U+9435,U+94B1,U+94C1,U+94E2,U+94F6,U+9500,U+9577,U+957F-9580,U+9589,U+958B,U+9593,U+95DC,U+95E8,U+95ED,U+95F4,U+9645,U+9650,U+9664,U+9669,U+968F,U+9694,U+969B,U+96A8,U+96AA,U+96DC,U+96E2,U+96F6,U+96FB,U+9700,U+9762,U+97F3,U+97FF,U+9801,U+9806,U+9810,U+984C-984D,U+9858,U+985E,U+986F,U+9875,U+987A,U+9884,U+9898,U+989D,U+98EF,U+98F2,U+990A,U+9910,U+9918,U+996D-996E,U+9996,U+99AC,U+9A6C,U+9AD4,U+9EBC,U+9EDE,U+FF08-FF09,U+FF0B-FF0C,U+FF0F,U+FF1A-FF1B,U+FF1F}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-00-c7a64ae9f3.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+A0-A2,U+A4,U+A6-B6,U+B8-D6,U+D8-103,U+110-113,U+11A-11B,U+128-12B,U+143-144,U+147-148,U+14C-14F,U+152-153,U+168-16D,U+192,U+1A0-1A1,U+1AF-1B0,U+1CD-1DC,U+1F8-1F9,U+2002-2003,U+2010-2013,U+2015-2016,U+2018,U+201A,U+201C-201E,U+2020-2022,U+2025,U+2027,U+2030,U+2032-2033,U+2035,U+2039-203C,U+2042,U+2047-2049,U+2051,U+3000,U+3003-300B,U+300E-303F,U+3041-3096,U+3099-30FF,U+4E01-4E09,U+4E0C,U+4E0F-4E21,U+4E23,U+4E25,U+4E27-4E29,U+4E2B-4E2C,U+4E2E-4E39,U+4E3C-4E47,U+4E49-4E4A,U+4E4C-4E4F,U+4E51-4E5E,U+4E60-4E6F,U+4E71-4E85,U+4E87-4E8D,U+4E8F-4EA3,U+4EA5-4EAA,U+4EAC-4EB9,U+4EBB-4EBF,U+4EC1-4EC4,U+4EC6}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-01-a4fdccdf68.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+4EC7-4EC9,U+4ECC,U+4ECF-4ED5,U+4ED7,U+4ED9-4EE2,U+4EE6-4EF5,U+4EF7-4EFC,U+4EFE-4F19,U+4F1B-4F1F,U+4F21-4F45,U+4F47-4F4C,U+4F4E,U+4F50-4F52,U+4F54,U+4F56-4F58,U+4F5A-4F5B,U+4F5D-4F5F,U+4F61-4F7E,U+4F80-4F85,U+4F87-4F8A,U+4F8C-4FDC,U+4FDE-4FE0,U+4FE2-4FED,U+4FEF-500A,U+500C-505B,U+505D-5064,U+5066-5098,U+509A-50A7,U+50A9-50B2,U+50B4-50C4,U+50C6-50CE,U+50D0-5131,U+5133-5142}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-02-c3908d417b.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+5144-5147,U+5149-5164,U+5166,U+516A-516B,U+516D-5172,U+5174-5175,U+5177-517A,U+517C-5184,U+5186-518C,U+518E-5198,U+519A-51C5,U+51C7-51F9,U+51FC-5205,U+5207-5211,U+5213-5216,U+5218-521C,U+521E-521F,U+5221-5224,U+5226-5229,U+522C-522F,U+5231-5235,U+5237-524C,U+524E-5268,U+526A-529F,U+52A1-52A7,U+52AA-52D4,U+52D6-5304,U+5306-532E,U+5330-533A,U+533C-5347,U+5349-5354,U+5357-5360,U+5362-536F,U+5371-5385,U+5387-539E,U+53A0-53C4}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-03-cab3bcfb8a.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+53C5-53C9,U+53CB-53D5,U+53D9-53E4,U+53E7-53E9,U+53EB-53EE,U+53F1,U+53F3-53F6,U+53F8-5402,U+5405-5407,U+540A-540B,U+540F-5410,U+5412-5416,U+5418-5426,U+5428-542A,U+542C-548B,U+548D-5495,U+5497-54CC,U+54CE-54E9,U+54EB-5530,U+5532-555E,U+5560,U+5562-559B,U+559D-55AD,U+55AF-55CD,U+55CF-563C}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-04-e10fcd2b23.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+563D-5667,U+5669-56F3,U+56F5-56FD,U+56FF-570C,U+570E-5712,U+5714-5715,U+5717-5727,U+5729-572F,U+5731-5756,U+5758-578A,U+578C-5830,U+5832-5849,U+584B-586A,U+586C-589D,U+589F-58A2}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-05-701bf9955f.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+58A3-58EA,U+58EC-58EF,U+58F1-5903,U+5905-5906,U+5908-590C,U+590E-5915,U+5917-5919,U+591B,U+591D-5926,U+5928,U+592A-5930,U+5932-5955,U+5958-5975,U+5977-597C,U+597E-5981,U+5983-59CA,U+59CC-5A1A,U+5A1C-5A30,U+5A32-5B0D}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-06-d641d74378.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+5B0E-5B4F,U+5B51-5B56,U+5B59-5B82,U+5B84-5B88,U+5B8A-5B8B,U+5B8D-5B99,U+5B9B-5B9D,U+5B9F-5BB4,U+5BB7-5BE5,U+5BE7-5BEA,U+5BEC-5BF8,U+5BFA-5BFB,U+5BFD-5C05,U+5C08-5C0A,U+5C0C,U+5C0E,U+5C10,U+5C12-5C19,U+5C1B-5C30,U+5C32-5C44,U+5C46-5C4E,U+5C50-5C54,U+5C56-5C80,U+5C82-5D7F}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-07-af0db2f0c7.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+5D80-5DE4,U+5DE6-5DF0,U+5DF3,U+5DF5-5E00,U+5E04-5E2D,U+5E2F-5E32,U+5E34-5E37,U+5E39-5E54,U+5E56-5E62,U+5E64-5E73,U+5E75,U+5E77-5E8E,U+5E90-5E93,U+5E95-5EA5,U+5EA7-5EB6,U+5EB8-5EF9,U+5EFB-5EFF,U+5F01,U+5F03-5F0E,U+5F10-5F14,U+5F16-5F52,U+5F54,U+5F56-5F70,U+5F72-5F87,U+5F89-5F8B,U+5F8D-5F9D,U+5F9F-5FC2,U+5FC4,U+5FC6-5FF6}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-08-328fbf607b.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+5FF7-603A,U+603C-6061,U+6063-606E,U+6070-60F2,U+60F4-610E,U+6110-613E,U+6140-6161,U+6163-6166,U+6168-61C8,U+61CA-620E,U+6212-6215,U+6217-6229,U+622B-6231,U+6233-6235,U+6238-623E,U+6241-624A,U+624C-6252,U+6254-6263}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-09-94b6811803.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+6264-627D,U+627F-6289,U+628B-62A4,U+62A6-62E8,U+62EA-6300,U+6302-6308,U+630A-6361,U+6363-636D,U+636F-638B,U+638D-63A6,U+63A8-63CE,U+63D1-63DA,U+63DC-63F3,U+63F5-641B,U+641D-642C,U+642E-64A3,U+64A5-64C6,U+64C8-64C9,U+64CB-64CC,U+64CE-64CF}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-10-44fd285a82.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+64D0-64D9,U+64DB-652E,U+6530-6535,U+6537-6538,U+653A-6547,U+6549-6556,U+6558-656F,U+6571-6573,U+6575-6577,U+6579-6586,U+6588-6598,U+659A-659B,U+659D-65AF,U+65B1-65B8,U+65BA-65BB,U+65BD-65C4,U+65C6-65DF,U+65E1-65E4,U+65E6-65E8,U+65EA-65F5,U+65F7-660D,U+660F-6612,U+6614-6627,U+6629-662E,U+6630-663D,U+663F-6641,U+6643-6659,U+665B-6679,U+667B-6681,U+6683-66AA,U+66AC-66F3,U+66F5-66FE,U+6701-6702,U+6704-6707,U+670A-670C,U+670E-671A,U+671C-671E,U+6720-6729,U+672B,U+672D-6739,U+673B-6741,U+6743-6752}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-11-63ac9b81ef.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+6753-6760,U+6762-6764,U+6766-676E,U+6770-678F,U+6791-679B,U+679D-67D3,U+67D5-67E4,U+67E6-6806,U+6808-680E,U+6810-6837,U+6839-683B,U+683D-6847,U+6849-689C,U+689E-68BF,U+68C1-6959,U+695B-69B9}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-12-1dbaf42bd3.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+69BA-6A01,U+6A03-6A18,U+6A1A-6A5E,U+6A60-6A93,U+6A95-6AA1,U+6AA3-6B03,U+6B05-6B20,U+6B23-6B3D,U+6B3F-6B60,U+6B62,U+6B66-6B71,U+6B73-6B76,U+6B78-6BB4,U+6BB6-6BCE,U+6BD0-6C10,U+6C12-6C23}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-13-391f7972ad.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+6C24-6C33,U+6C35-6C46,U+6C48-6C7C,U+6C7E-6C91,U+6C93-6CA0,U+6CA2-6CB8,U+6CBA-6CD4,U+6CD6-6CE7,U+6CE9-6CEF,U+6CF1-6D16,U+6D18-6D3A,U+6D3C-6D4A,U+6D4C-6D4E,U+6D50-6D87,U+6D89-6E04,U+6E06-6E28,U+6E2A-6E2B,U+6E2D-6E37,U+6E39-6E8D}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-14-bbc7216811.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+6E8E-6E8F,U+6E91-6E95,U+6E97-6EAA,U+6EAC-6F13,U+6F15-700E,U+7010-70B8,U+70BB-70EC}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-15-352fb45ee5.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+70ED-7120,U+7122-7246,U+7249-7258,U+725A-7268,U+726A-72EB,U+72ED-734A}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-16-6235f27172.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+734B-734D,U+734F-7367,U+7369-73AF,U+73B1-73FD,U+73FF-7405,U+7407-751E,U+7520-7527,U+7529-7534,U+7536-754B,U+754D-7558,U+755A-7564,U+7566-756A,U+756C-756F,U+7571-75AF}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-17-b525ddc76d.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+75B0-75C4,U+75C6-75D4,U+75D6-7683,U+7685-76D5,U+76D7-76ED,U+76EF-76F7,U+76F9-770A,U+770C-771E,U+7720-77E4,U+77E6-7800,U+7802-7811}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-18-a90db0caf6.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+7812-786D,U+786F-78B9,U+78BB,U+78BD-7939,U+793B,U+793D-7967,U+7969-79AD,U+79AF-79BA,U+79BC-79CC,U+79CE-79DE,U+79E0-79EF,U+79F1-7A0A,U+7A0C-7A30,U+7A32-7A76}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-19-222581aed8.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+7A77-7A79,U+7A7B-7ACA,U+7ACC-7B13,U+7B15-7B25,U+7B27-7B2B,U+7B2D-7B45,U+7B47-7B48,U+7B4A-7B7F,U+7B81-7B96,U+7B98-7BC3,U+7BC5-7C20,U+7C22-7C7A,U+7C7C-7CDA}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-20-bc6d80c14c.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+7CDB-7CFF,U+7D01-7D21,U+7D23-7D2F,U+7D31-7D4F,U+7D51-7D65,U+7D67-7DB1,U+7DB3-7DD9,U+7DDB-7DE7,U+7DE9-7E3C,U+7E3E-7E40,U+7E42-7E7B,U+7E7D-7E8B,U+7E8D-7EBE,U+7EC0-7EC5,U+7EC7-7ED2,U+7ED4-7ED8,U+7EDA-7EE6,U+7EE8-7EEC,U+7EEE-7F15,U+7F17-7F39,U+7F3B-7F46}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-21-a32930ef96.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+7F47-7F50,U+7F52-7F6D,U+7F6F-7F8D,U+7F8F-8053,U+8055-8071,U+8073-80FC,U+80FE-81A4}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-22-8fb03099ab.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+81A5-81E9,U+81EB-81F2,U+81F5-81F9,U+81FB-8206,U+8208-8211,U+8213-82B0,U+82B2-82F0,U+82F2-8302,U+8304-8335,U+8337-836E,U+8370-83DB,U+83DD-8408}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-23-90208a73b3.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+8409-84CA,U+84CC-85A9,U+85AB-85E4,U+85E6-8654,U+8656-865E,U+8660-8665}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-24-3e6f25da84.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+8666-884B,U+884D-8862,U+8864,U+8866-8867,U+8869-88AA,U+88AC-88C2}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-25-8bbe1b9ac2.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+88C3-88C4,U+88C6-88D4,U+88D6-88DB,U+88DE-88E0,U+88E2-8906,U+8908-8980,U+8982-8985,U+8987-89BC,U+89BE-89C7,U+89C9-89E2,U+89E4-89FF,U+8A01-8A07,U+8A09-8A17,U+8A19-8A2C,U+8A2E-8A39,U+8A3C-8A65,U+8A67-8A70,U+8A72-8A8C,U+8A8E-8A9D,U+8A9F-8AA9,U+8AAB-8ABE,U+8AC0-8ACA,U+8ACC-8B32}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-26-35b083ee93.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+8B33-8B57,U+8B59-8B6F,U+8B71-8B7F,U+8B81-8B89,U+8B8B-8B92,U+8B94-8BA0,U+8BA2-8BA3,U+8BA5-8BA8,U+8BAA-8BAD,U+8BAF,U+8BB1-8BBD,U+8BBF-8BC5,U+8BC7-8BC9,U+8BCB-8BD4,U+8BD6-8BDC,U+8BDE-8BEC,U+8BEE-8BF3,U+8BF5-8BF6,U+8BF8-8BFA,U+8BFC-8C02,U+8C04-8C60,U+8C62-8C9F,U+8CA2-8CA7,U+8CA9-8CB6,U+8CB8-8CBA,U+8CBC-8CC6,U+8CC8-8CE2,U+8CE4-8CFB,U+8CFD-8D1E,U+8D20-8D21,U+8D23-8D24,U+8D28-8D2C,U+8D2E-8D38,U+8D3A-8D43,U+8D45-8D84,U+8D86-8DB0}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-27-c9dacdfceb.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+8DB1-8DDE,U+8DE0,U+8DE2-8DE7,U+8DE9-8DEE,U+8DF0-8DF2,U+8DF4-8EC9,U+8ECB-8F2E,U+8F30-8F37,U+8F39-8F48,U+8F4A-8F65,U+8F67-8F6B,U+8F6D-8F90,U+8F92,U+8F94-8FA7,U+8FA9-8FBD,U+8FBF-8FC6,U+8FC8-8FD0,U+8FD2-8FD3,U+8FD5-8FD7,U+8FDA,U+8FDC-8FEF,U+8FF1-8FF8,U+8FFA-8FFF,U+9002-9008,U+900A-9016,U+9018,U+901B-9022,U+9024-9026}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-28-1c46c2fb9c.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+9027-9031,U+9033-9049,U+904B-904D,U+904F-9053,U+9055-9077,U+9079,U+907B-9083,U+9085-90E7,U+90E9-90FC,U+90FE-914C,U+914E-91AA,U+91AC-91CB,U+91CE,U+91D0,U+91D2-927F,U+9281-928E}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-29-36db0a5dd4.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+928F-9295,U+9297-92B6,U+92B8-9303,U+9305-9321,U+9323-9434,U+9436-94B0,U+94B2-94C0,U+94C2-94E1,U+94E3-94EE}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-30-bb9d643c13.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+94EF-94F5,U+94F7-94FF,U+9501-9576,U+9578-957E,U+9581-9588,U+958A,U+958C-9592,U+9594-95DB,U+95DD-95E7,U+95E9-95EC,U+95EE-95F3,U+95F5-9644,U+9646-964F,U+9651-9663,U+9665-9668,U+966A-968E,U+9690-9693,U+9695-969A,U+969C-96A7,U+96A9,U+96AB-96DB,U+96DD-96E1,U+96E3-96F5,U+96F7-96FA,U+96FC-96FF,U+9701-9760}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-31-0211ea3a4e.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+9761,U+9763-97F2,U+97F4-97FE,U+9800,U+9802-9805,U+9807-980F,U+9811-984B,U+984E-9857,U+9859-985D,U+985F-986E,U+9870-9874,U+9876-9879,U+987B-9883,U+9885-9897,U+9899-989C,U+989E-98EE,U+98F0-98F1,U+98F3-9909,U+990B-990F,U+9911-9917,U+9919-996C,U+996F-9995,U+9997-99AB,U+99AD-99D1}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-32-bbbe64d219.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+99D2-9A6B,U+9A6D-9AD3,U+9AD5-9C2B}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-33-8810d4f69e.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+9C2C-9E83}
@font-face{font-family:'Rixi Song';src:url('fonts/subsets/song-34-f203842899.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+9E84-9EBB,U+9EBD-9EDD,U+9EDF-9FFF,U+FF01-FF07,U+FF0A,U+FF0D-FF0E,U+FF10-FF19,U+FF1C-FF1E,U+FF20-FF9F,U+FFA1-FFBE,U+FFC2-FFC7,U+FFCA-FFCF,U+FFD2-FFD7,U+FFDA-FFDC,U+FFE0-FFE6,U+FFE8-FFEE}
:root{--liqing-song:'Rixi Song','Songti SC','SimSun',serif}body,button,input,select,textarea,h1,h2,h3,.brand,.big,.primary-amount,.secondary-amount,.total-money .primary-amount,.book-summary .primary-amount{font-family:var(--liqing-song)!important}
.quick-home{max-width:760px}.quick-home textarea{min-height:150px;background:#fffef9}.home-book{display:flex;align-items:center;gap:20px;text-align:left;width:100%;max-width:760px;padding:24px}.home-book>span:last-child{margin-left:auto}.home-book strong{font-size:22px}.home-book-icon{font-size:30px;color:#526246}@media(max-width:700px){.quick-home{padding:20px}.home-book{padding:20px}}
/* Softer example text for quick entry; entered values retain their text colour. */
#homequick::placeholder,#quicktext::placeholder{color:#a9ada5;opacity:1}

#homeservice::placeholder,#hometax::placeholder,#qservice::placeholder,#qtax::placeholder{color:#a9ada5;opacity:1}
#modal:has(.quick-result){width:min(480px,calc(100% - 24px));padding:0;background:#faf9f2;border-radius:24px;max-height:94dvh}
.quick-result{color:#283f36}.result-toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 22px;border-bottom:1px solid #e0e5d9;font-size:13px;color:#758170}.result-receipt{padding:26px 28px 20px;position:relative;background:radial-gradient(ellipse at top right,#eaf0e2,transparent 65%)}.result-brand{display:flex;align-items:center;gap:10px;font-size:25px}.result-brand small{display:block;font-size:11px;letter-spacing:2px;margin-top:5px;color:#758170}.result-mark{display:grid;place-items:center;background:#344c37;color:#f8f6ed;border-radius:14px;width:48px;height:48px;font-size:32px}.result-caption{margin:26px 0 6px;color:#758170;font-size:13px}.result-total{font-size:36px;overflow-wrap:anywhere}.result-totals{margin:18px 0;font-size:13px;color:#657569}.result-totals>div,.result-items>div{display:flex;justify-content:space-between;gap:18px;margin:8px 0}.result-people{border-top:1px dashed #cbd3c3;border-bottom:1px dashed #cbd3c3;padding:8px 0}.result-people>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;font-size:21px}.result-people small{display:block;font-size:11px;margin-top:4px;color:#758170}.result-people strong{font-size:23px;font-weight:400;white-space:nowrap}.result-items{font-size:12px;color:#758170;margin-top:18px;overflow-wrap:anywhere}.result-watermark{display:block;text-align:right;margin-top:26px;font-size:18px;color:#526246}.result-watermark span{font-size:10px}.result-actions{text-align:center;padding:0 20px 20px}.result-actions p{margin:8px 0 14px;font-size:11px}@media(max-width:400px){.result-receipt{padding:22px 20px}.result-total{font-size:30px}.result-people strong{font-size:20px}}

/* Compact sharing receipt, especially inside mobile in-app browsers. */
#modal:has(.quick-result){width:min(420px,calc(100% - 24px));max-height:88dvh;overflow:auto;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.quick-result .result-toolbar{padding:6px 16px;font-size:12px}.quick-result .result-toolbar button{font-size:16px;min-width:36px;min-height:36px;padding:6px}
.quick-result .result-receipt{padding:18px 20px 14px}.quick-result .result-brand{font-size:22px;gap:9px}.quick-result .result-mark{width:36px;height:36px;font-size:25px;border-radius:11px}.quick-result .result-brand small{font-size:10px;margin-top:2px;letter-spacing:1px}
.quick-result .result-caption{font-size:12px;margin:16px 0 3px}.quick-result .result-total{font-size:30px;line-height:1.2}.quick-result .result-totals{margin:12px 0;font-size:12px}.quick-result .result-totals>div{margin:5px 0}
.quick-result .result-people{padding:5px 0}.quick-result .result-people>div{font-size:17px;padding:9px 0;gap:12px}.quick-result .result-people small{display:none}.quick-result .result-people strong{font-size:19px}.quick-result .result-people>div>span{overflow-wrap:anywhere}
.result-details{margin-top:10px;font-size:11px;color:#758170}.result-details summary{cursor:pointer}.quick-result .result-items{margin-top:8px;font-size:11px}.quick-result .result-watermark{margin-top:14px;font-size:15px}.quick-result .result-actions{padding:0 16px 12px}.quick-result .result-actions p{font-size:10px;margin:4px 0 8px}.quick-result .result-actions button{font-size:13px;padding:8px 16px}
@media(max-height:650px){.quick-result .result-brand small{display:none}.quick-result .result-caption{margin-top:10px}.quick-result .result-people>div{padding:6px 0}}

.person-formula{padding:10px 0;border-bottom:1px solid #e0e5d9}.person-formula strong{font-size:13px;color:#526246}.person-formula p{font-size:12px;line-height:1.6;margin:4px 0;overflow-wrap:anywhere}.formula-note{font-size:10px;line-height:1.5;color:#758170}

/* Latin glyphs use sans serif; Chinese falls through to Song. */
@font-face{font-family:'Liqing Latin';src:url('fonts/Lato-Regular.ttf') format('truetype');font-display:swap;font-style:normal;font-weight:400;unicode-range:U+0000-024F,U+2000-206F,U+20A0-20CF,U+2100-214F,U+2190-22FF}
:root{--liqing-song:'Liqing Latin','Rixi Song','Songti SC','SimSun',serif}
body,button,input,select,textarea,h1,h2,h3,.brand,.big,.primary-amount,.secondary-amount,.total-money .primary-amount,.book-summary .primary-amount{font-family:var(--liqing-song)!important}
.image-save-panel{padding:18px}.image-save-panel h2{font-size:20px}.image-save-controls{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.image-save-controls a{display:inline-block;border-radius:12px;padding:10px 16px;background:#e9eee6;color:#283f36;text-decoration:none;font-size:14px}.image-save-panel img{display:block;width:100%;height:auto;border-radius:12px;-webkit-touch-callout:default;user-select:auto}.image-save-panel p{font-size:12px;color:#657569}.image-save-panel button{font-size:14px}

/* Prevent iOS focus zoom without disabling pinch-to-zoom. */
@media(hover:none) and (pointer:coarse){input,select,textarea{font-size:16px!important}#homequick,#quicktext{font-size:16px!important;line-height:1.65}}
.image-save-panel img{border-radius:0}



@font-face{font-family:'Receipt Latin';src:url('fonts/Lato-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0000-024F,U+2000-206F,U+20A0-20CF,U+2100-214F,U+2190-22FF}
.quick-result .result-receipt{font-family:'Receipt Latin','Rixi Song','Songti SC',serif;font-weight:400}
.quick-result .result-total{font-size:34px;font-weight:400}.receipt-money{white-space:nowrap;font-variant-numeric:tabular-nums}.receipt-money small{font-size:.75em;margin-right:.3em;font-weight:400;vertical-align:baseline;color:#657569}.result-total .receipt-money small{font-size:.6em}
.quick-result .result-people strong{font-size:21px;font-weight:400}.quick-result .result-people>div{font-size:19px;padding:9px 0}.quick-result .result-totals{font-size:14px}
.quick-result .receipt-money small{display:inline!important}

/* Approved 厘清 · SORT’em artwork, with the original proportions preserved. */
.brand-lockup,.brand-icon{display:block;position:relative;overflow:hidden;flex-shrink:0;mix-blend-mode:darken}
.brand-lockup{width:170px;aspect-ratio:1360/530}
.brand-lockup img,.brand-icon img{position:absolute;max-width:none;height:auto}
.brand-lockup img{width:150.588235%;left:-25.735294%;top:-13.207547%}
.brand-icon{width:54px;aspect-ratio:550/530}
.brand-icon img{width:372.363636%;left:-63.636364%;top:-13.207547%}
.brand>.brand-lockup{display:block;width:170px;height:auto;border-radius:0;background:transparent;margin:0}
.quick-result .result-brand{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.quick-result .result-brand .brand-lockup{width:168px}
.quick-result .result-brand>small{font-size:11px;letter-spacing:1px;margin:0;color:#758170}
.quick-result .result-watermark{display:flex;justify-content:flex-end;align-items:center;gap:7px}
.quick-result .result-watermark .brand-lockup{width:94px}
.quick-result .result-watermark>span:last-child{font-family:'Receipt Latin',sans-serif;font-size:10px}
@media(max-width:420px){.top{gap:6px}.brand>.brand-lockup{width:135px}.top>.ghost{font-size:12px;padding:6px}}

/* A short, skippable introduction to the persistent ledger. */
#modal:has(.ledger-guide){max-width:500px;padding:24px;background:#fbfaf5}
.guide-top{flex-wrap:nowrap}.guide-top button{padding:6px;min-width:36px;min-height:36px}
.guide-progress{display:flex;gap:6px;margin:14px 0 22px}.guide-progress span{height:3px;flex:1;background:#e0e5d9;border-radius:2px}.guide-progress .active{background:#526c4b}
.ledger-guide .guide-intro{font-size:13px;color:#758170;margin:0 0 18px}
.ledger-guide h2{margin-bottom:14px}.ledger-guide h2:focus{outline:none}
.ledger-guide>p{line-height:1.8}.guide-example{padding:15px 18px;border-radius:12px;background:#edf0e3;margin:18px 0;font-size:15px}
.ledger-guide .guide-note{font-size:13px;color:#657569;min-height:48px}
.guide-actions,.guide-actions>div{display:flex;align-items:center;justify-content:space-between;gap:6px}.guide-actions{margin-top:24px;flex-wrap:wrap}
.ledger-guide .guide-replay{font-size:12px;color:#758170;margin:18px 0 0}
@media(max-width:420px){#modal:has(.ledger-guide){padding:20px}.guide-actions button{font-size:13px;padding:10px 12px}}
