@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Noto+Serif+SC:wght@600;700&display=swap";:root{color:#19221d;font-synthesis:none;--ink:#19221d;--muted:#6a716c;--line:#19221d24;--paper:#fbfaf6;--green:#1f4b3a;--lime:#d8e8a9;--amber:#e4a853;--surface:#fbfaf6;--surface-soft:#f4f2eb;--danger:#9a3327;--positive:#1f4b3a;--radius-card:20px;--shadow-float:0 10px 30px #19221d1f;background:#f3f1ea;font-family:DM Sans,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0;padding-bottom:88px}main{max-width:1120px;margin:0 auto;padding:24px 42px 0}.app-header{justify-content:space-between;align-items:center;gap:18px;width:min(1120px,100% - 32px);min-height:64px;margin:0 auto;display:flex}.app-brand{color:var(--ink);letter-spacing:.08em;align-items:center;gap:10px;text-decoration:none;display:inline-flex}.app-brand span{width:30px;height:30px;color:var(--paper);background:var(--green);letter-spacing:0;border-radius:9px;place-items:center;font-size:11px;font-weight:700;display:grid}.app-brand strong{font-size:12px}.app-header p{color:var(--muted);margin:0;font-size:12px}.bottom-navigation{z-index:20;border:1px solid var(--line);width:min(520px,100% - 24px);box-shadow:var(--shadow-float);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fbfaf6f0;border-radius:18px;grid-template-columns:repeat(5,minmax(54px,1fr));padding:6px;display:grid;position:fixed;bottom:16px;right:50%;transform:translate(50%)}.bottom-navigation button{min-height:54px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:12px;place-items:center;gap:2px;font-size:12px;display:grid}.bottom-navigation button>span{place-items:center;width:18px;height:18px;line-height:1;display:grid}.bottom-navigation svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #e4a853b3}.side-drawer{z-index:40;background:#141f2847;justify-content:center;align-items:end;animation:.18s ease-out drawer-backdrop;display:flex;position:fixed;inset:0}.side-drawer-panel{background:#fff;border-radius:24px 24px 0 0;width:min(760px,100vw);max-height:88vh;padding:16px 24px 28px;animation:.22s ease-out drawer-slide-in;overflow-y:auto;box-shadow:0 -18px 42px #141f282e}.side-drawer-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:12px 0 18px;display:flex;position:relative}.side-drawer-handle{background:#d9e0e8;border-radius:99px;width:36px;height:4px;position:absolute;top:-7px;left:50%;transform:translate(-50%)}.side-drawer-header h2{margin:0;font-family:inherit;font-size:20px}.side-drawer-header button{width:32px;height:32px;color:var(--muted);background:var(--surface-soft);cursor:pointer;border:0;border-radius:50%;place-items:center;padding:0;font-size:24px;display:grid}.side-drawer-content>form,.side-drawer-content>.initializer,.side-drawer-content>.compact-editor,.side-drawer-content>.receivable-form,.side-drawer-content>.restricted-equity-form{margin-top:20px}.side-drawer-content .initializer{border-radius:0;min-height:0;margin:20px 0 0;padding:0}.side-drawer-content .account-inline-editor{background:0 0;border-radius:0;margin:20px 0 0;padding:0}@keyframes drawer-backdrop{0%{opacity:0}to{opacity:1}}@keyframes drawer-slide-in{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media (width<=560px){.side-drawer-panel{max-height:92vh;padding-left:20px;padding-right:20px}}.home-page{gap:28px;padding-bottom:28px;display:grid}.home-hero{color:#f8f5ec;background:radial-gradient(circle at 80% 15%,#d8e8a93b,#0000 26%),linear-gradient(145deg,#16372d,#245441 60%,#17382e);border-radius:28px;justify-content:space-between;align-items:end;gap:32px;min-height:270px;padding:42px;display:flex}.home-hero h1{margin:0;font-size:18px;font-weight:500}.home-hero>div>strong{font-size:calc(40px * var(--top-card-amount-scale,1));letter-spacing:-.04em;margin:8px 0;font-weight:500;display:block}.home-hero>div>p:last-child{color:#f8f5ecb3;margin:0;font-size:13px}.app-header-controls{align-items:center;gap:8px;display:flex}.app-card-menu{z-index:30;position:relative}.app-card-menu summary{width:32px;height:32px;color:var(--green);background:var(--surface-soft);cursor:pointer;border:0;border-radius:9px;place-items:center;font-size:16px;line-height:1;list-style:none;display:grid}.app-card-menu summary:after{display:none}.menu-icon{fill:currentColor;width:18px;height:18px}.app-card-menu summary::-webkit-details-marker{display:none}.app-card-menu-panel{z-index:31;border:1px solid var(--line);width:220px;color:var(--ink);box-shadow:var(--shadow-float);background:#fff;border-radius:14px;gap:12px;padding:14px;display:grid;position:absolute;top:40px;right:0}.app-card-menu-panel button{color:#fff;background:var(--green);cursor:pointer;border:0;border-radius:9px;min-height:38px}.app-card-menu-panel label{color:var(--muted);gap:8px;font-size:12px;display:grid}.app-card-menu-panel input,.app-card-menu-panel select{width:100%;accent-color:var(--green)}.app-card-menu-panel select,.app-card-menu-panel input[type=number]{border:1px solid var(--line);min-height:36px;color:var(--ink);background:#fff;border-radius:8px;padding:7px 9px}.home-section{padding:4px 0}.home-section-heading{justify-content:space-between;align-items:end;gap:16px;margin-bottom:16px;display:flex}.home-section-heading .eyebrow{color:#8a6a33;margin-bottom:6px}.home-section-heading h2{margin:0;font-size:23px}.home-section-heading>span{color:var(--muted);font-size:12px}.home-domain-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.home-domain-card{border:1px solid var(--line);border-radius:var(--radius-card);min-height:150px;color:var(--ink);background:var(--surface);text-align:left;cursor:pointer;align-content:start;gap:9px;padding:20px;display:grid}.home-domain-card:hover{border-color:var(--green);transform:translateY(-1px)}.home-domain-card>span{color:var(--muted);font-size:13px}.home-domain-card strong{font-size:23px;font-weight:600}.home-domain-card small{color:var(--muted);font-size:11px;line-height:1.5}.home-todo-card{border-radius:var(--radius-card);background:#fdf5f1;border:1px solid #ead4cc;justify-content:space-between;align-items:center;gap:24px;padding:22px;display:flex}.home-todo-card.is-complete{background:#f1f7f3;border-color:#c9ddd2}.home-todo-card h3,.home-account-row h3{margin:7px 0 4px;font-size:17px}.home-todo-card p{color:var(--muted);margin:0;font-size:13px}.home-todo-card>button{border:1px solid var(--green);color:#fff;background:var(--green);cursor:pointer;border-radius:999px;min-width:88px;min-height:42px}.status-warning,.status-ok{border-radius:999px;padding:3px 7px;font-size:11px;font-weight:600;display:inline-block}.status-warning{color:#8b3b2f;background:#f7e8e3}.status-ok{color:var(--green);background:#e6eee9}.home-account-list{border-top:1px solid var(--line)}.home-account-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:17px 2px;display:flex}.home-account-row span,.home-account-row small{color:var(--muted);font-size:12px}.home-account-row h3{font-size:16px}.home-account-row strong{white-space:nowrap;font-size:19px}.domain-page{padding-bottom:28px}.domain-hero{border-radius:var(--radius-card);color:#f8f5ec;background:linear-gradient(145deg,#17382e,#245441);padding:34px}.domain-hero .eyebrow{color:#f8f5ecad;margin-bottom:8px}.domain-hero h1{margin:0;font-size:23px}.domain-hero strong{letter-spacing:-.04em;margin:8px 0;font-size:clamp(38px,6vw,58px);font-weight:500;display:block}.domain-hero>p:last-child{color:#f8f5ecb8;margin:0;font-size:13px}.domain-page .balance-sheet-overview{background:0 0;margin-top:24px;padding:0}:root{--ink:#20242a;--muted:#747b86;--line:#e9edf3;--paper:#fff;--surface:#fff;--surface-soft:#f7f9fc;--green:#1677ff;--positive:#16a36a;--danger:#b85f65;--radius-card:16px}body{background:#eef3f8;padding-bottom:0}main,.app-header{width:min(760px,100%);max-width:760px}main{background:#fff;min-height:864px;padding:0 20px 74px}.app-header{background:#fff;min-height:68px;padding:0 24px}.app-brand span{background:#1677ff}.app-header p{color:#1677ff;background:#eaf3ff;border-radius:99px;padding:6px 12px;font-size:10px;font-weight:700}.bottom-navigation{width:min(720px,100% - 40px);box-shadow:none;background:#f7f9fc;border:0;border-radius:16px;padding:3px;bottom:14px;right:50%}.bottom-navigation button{border-radius:12px;min-height:44px;font-size:10px}.bottom-navigation button>span,.bottom-navigation svg{width:16px;height:16px}.bottom-navigation button.is-active{color:#1677ff;background:#eaf3ff}.home-page{gap:18px;padding-top:6px}.home-title h1{margin:0;font-size:22px}.home-title p{color:var(--muted);margin:4px 0 0;font-size:10px}.home-hero{background:#1677ff;border-radius:20px;min-height:168px;padding:22px}.home-hero>div>strong{font-size:calc(40px * var(--top-card-amount-scale,1));margin:4px 0}.home-hero h1{font-size:15px}.home-hero>div>p:last-child{font-size:10px}.home-hero-aside{gap:12px}.home-hero-aside dl{gap:14px}.home-hero-aside dd{font-size:13px}.home-hero{padding-bottom:44px;position:relative}.home-hero-summary{border-top:1px solid #ffffff40;grid-template-columns:repeat(4,1fr);padding-top:8px;display:grid;position:absolute;bottom:10px;left:22px;right:22px}.home-hero-summary button{color:#fff;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.home-hero-summary span{color:#dcebff;font-size:9px;display:block}.home-hero-summary strong{font-size:9px}.home-domain-grid{display:none}.home-section-heading h2{font-size:17px}.home-section-heading .eyebrow{display:none}.home-todo-card{border:0;border-radius:16px;padding:16px}.home-account-row{padding:10px 4px}.domain-page{padding-top:20px}.domain-hero{background:#56728f;border-radius:20px;min-height:150px;padding:22px}.domain-hero-receivables{background:#4c8b78}.domain-hero-liabilities{background:#9b5d62}.domain-hero strong{font-size:calc(38px * var(--top-card-amount-scale,1))}.domain-page .balance-sheet-overview{margin-top:22px}.domain-page .balance-sheet-category-details{border:0;border-radius:0;padding:0}@media (width>=761px){.app-header,main{box-shadow:0 0 0 1px #20242a08}}.fund-page-title{padding:20px 0 14px}.fund-page-title p,.fund-page-title span{color:var(--muted);font-size:11px}.fund-page-title p{margin:0 0 30px}.fund-page-title h1{letter-spacing:-.02em;margin:0 0 4px;font-family:inherit;font-size:23px}.fund-page-title span{display:block}main:has(.fund-page-title){padding-top:0}main:has(.fund-page-title) .hero{background:#467493;border-radius:20px;min-height:150px;padding:22px}main:has(.fund-page-title) .total-card strong{font-size:calc(38px * var(--top-card-amount-scale,1));margin:7px 0 10px}main:has(.fund-page-title) .total-card small:first-of-type{display:inline}.fund-quick-actions{padding:22px 0 8px}.fund-quick-actions h2{margin:0 0 14px;font-family:inherit;font-size:17px}.fund-quick-actions>div{grid-template-columns:1fr 1fr;gap:12px;display:grid}.fund-quick-actions button{min-height:56px;color:var(--ink);text-align:left;cursor:pointer;background:#f5f7fa;border:0;border-radius:14px;padding:12px 16px;font-weight:700}.fund-quick-actions .fund-primary-action{color:#fff;text-align:center;background:#1677ff}main:has(.fund-page-title) .overview-tabs{background:0 0;margin:0 -2px;padding:8px 0 12px;position:static}main:has(.fund-page-title) .overview-tabs button{padding:7px 10px;font-size:11px}main:has(.fund-page-title) .overview-tabs button[aria-selected=true]{color:#1677ff;background:#eaf3ff}main:has(.fund-page-title) .section{padding:18px 0 24px}main:has(.fund-page-title) .section-heading{margin-bottom:14px}main:has(.fund-page-title) .section-heading .eyebrow{display:none}main:has(.fund-page-title) .info-tip{display:none}main:has(.fund-page-title) .section-heading h2{font-family:inherit;font-size:17px}main:has(.fund-page-title) .layer-grid{border-top:1px solid var(--line);grid-template-columns:1fr;gap:0;display:grid}main:has(.fund-page-title) .layer-grid[hidden]{display:none}main:has(.fund-page-title) .layer-card{border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;min-height:0;padding:17px 0}main:has(.fund-page-title) .layer-head{border:0;align-items:center;padding:0}main:has(.fund-page-title) .layer-head>div:first-child>span{display:none}main:has(.fund-page-title) .layer-head h3{margin:0;font-size:15px}main:has(.fund-page-title) .layer-amount{align-items:center;gap:8px;display:flex}main:has(.fund-page-title) .layer-amount>strong{font-size:14px}main:has(.fund-page-title) .layer-toggle{color:#1677ff;cursor:pointer;background:0 0;border:0;padding:4px 0;font-size:12px}main:has(.fund-page-title) .unit-list{margin:12px 0 0;display:block}:is(main:has(.fund-page-title) .unit-list[hidden],main:has(.fund-page-title) .empty-layer[hidden]){display:none}.domain-page .domain-hero{align-content:center;min-height:150px;display:grid}.domain-page .domain-hero h1{letter-spacing:-.02em;font-family:inherit;font-size:22px}.domain-page .domain-hero strong{font-size:calc(38px * var(--top-card-amount-scale,1))}.domain-page .balance-sheet-category-details{margin-top:22px}.domain-page .category-detail-heading{grid-template-columns:1fr auto;align-items:center;gap:8px;margin-bottom:10px;display:grid}.domain-page .category-detail-heading .eyebrow{display:none}.domain-page .category-detail-heading h2{margin:0;font-family:inherit;font-size:17px}.domain-page .category-detail-heading>strong{color:var(--muted);font-size:13px}.domain-page .balance-sheet-category-details ul{border:0;margin:0}.domain-page .balance-sheet-category-details li{background:#f5f7fa;border:0;border-radius:14px;gap:4px 12px;min-height:64px;padding:14px 16px}.domain-page .balance-sheet-category-details li+li{margin-top:10px}.domain-page .balance-sheet-category-details li strong{font-size:14px}.domain-page .balance-sheet-category-details li .text-button{flex-basis:auto;padding:4px 0;font-size:12px}.domain-page .restricted-equity-history{margin-top:22px}.domain-page .restricted-equity-history>h2{font-family:inherit;font-size:16px}@media (width<=560px){.fund-page-title p{margin-bottom:22px}.fund-quick-actions>div{gap:8px}.fund-quick-actions button{min-height:52px;padding:10px;font-size:13px}}.hero{color:#f8f5ec;background:radial-gradient(circle at 78% 10%,#d8e8a940,#0000 27%),linear-gradient(145deg,#16372d 0%,#245441 58%,#17382e 100%);border-radius:30px;justify-content:space-between;align-items:end;gap:24px;min-height:240px;padding:48px 64px;display:flex;position:relative;overflow:hidden}.global-controls{z-index:1;align-self:start;gap:10px;display:flex;position:relative}.global-controls button{color:#f8f5ec;cursor:pointer;background:#ffffff14;border:1px solid #ffffff59;border-radius:999px;padding:9px 15px}.global-controls button:hover{background:#ffffff29}.overview-tabs{z-index:5;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f3f1eaf0;gap:8px;padding:18px;display:flex;position:sticky;top:0;overflow-x:auto}.overview-tabs button{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:999px;flex:none;padding:10px 17px}.overview-tabs button[aria-selected=true]{color:#fff;border-color:var(--green);background:var(--green)}.hero:after{content:"";border:1px solid #ffffff24;border-radius:50%;width:350px;height:350px;position:absolute;top:-140px;right:-80px;box-shadow:0 0 0 60px #ffffff06,0 0 0 120px #ffffff05}.eyebrow{color:inherit;letter-spacing:.17em;text-transform:uppercase;margin:0 0 18px;font-size:12px;font-weight:600}h1,h2{font-family:Noto Serif SC,serif}h1{letter-spacing:-.04em;margin:0;font-size:clamp(44px,5vw,72px);line-height:1.16}.balance-sheet-overview{border:1px solid var(--line);background:var(--paper);border-radius:30px;margin-bottom:24px;padding:52px 64px 44px}.balance-sheet-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:end;gap:36px;padding-bottom:38px;display:flex}.balance-sheet-heading-actions{justify-items:end;gap:18px;display:grid}.balance-sheet-heading .eyebrow{color:#8a6a33;margin-bottom:12px}.balance-sheet-heading>div>strong{color:var(--green);letter-spacing:-.05em;margin-top:8px;font-size:clamp(38px,4vw,56px);font-weight:500;display:block}.balance-sheet-totals{gap:48px;margin:0;display:flex}.balance-sheet-totals div{min-width:150px}.balance-sheet-totals dt{color:var(--muted);font-size:13px}.balance-sheet-totals dd{margin:8px 0 0;font-size:22px;font-weight:600}.balance-sheet-controls{gap:8px;display:flex}.balance-sheet-controls button{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:999px;padding:8px 13px}.balance-sheet-controls button:hover,.balance-sheet-controls button[aria-pressed=true]{color:var(--green);border-color:var(--green);background:#1f4b3a0f}.balance-sheet-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-top:28px;display:grid}.balance-sheet-category{appearance:none;border:1px solid var(--line);width:100%;min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:#f7f5ef;border-radius:18px;padding:22px;transition:border-color .18s,box-shadow .18s,transform .18s}.balance-sheet-category:hover{transform:translateY(-2px)}.balance-sheet-category:focus-visible{outline-offset:3px;outline:3px solid #3c67503d}.balance-sheet-category[aria-pressed=true]{border-color:var(--green);box-shadow:0 0 0 2px #3c67501f}.balance-sheet-category.restricted{background:#eef0e5}.balance-sheet-category.receivables{background:#e7efe9}.balance-sheet-category.liabilities{background:#f4ebe6}.balance-sheet-category>span,.balance-sheet-category>small{color:var(--muted);display:block}.balance-sheet-category>strong{margin:8px 0;font-size:25px;font-weight:600;display:block}.balance-sheet-category>small{min-height:36px;line-height:1.5}.balance-sheet-category-details{border:1px solid var(--line);background:#faf9f5;border-radius:20px;margin-top:24px;padding:28px}.category-detail-heading{justify-content:space-between;align-items:end;gap:24px;display:flex}.category-detail-heading h2{margin:6px 0 0}.category-detail-heading>strong{font-size:25px}.balance-sheet-category-details ul{border-top:1px solid var(--line);margin:18px 0 0;padding:0;list-style:none}.balance-sheet-category-details li{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:13px 0;font-size:12px;display:flex}.balance-sheet-category-details li div{min-width:0}.balance-sheet-category-details li span,.balance-sheet-category-details li small{display:block}.balance-sheet-category-details li small{color:var(--muted);margin-top:4px;line-height:1.4}.balance-sheet-category-details li strong{white-space:nowrap}.balance-sheet-category-details li{flex-wrap:wrap}.balance-sheet-category-details li .text-button{text-align:left;flex-basis:100%}.restricted-equity-form{flex-basis:100%;gap:12px;padding-top:12px;display:grid}.receivable-form{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0;padding:16px;display:grid}.receivable-form label{color:var(--muted);gap:6px;font-size:13px;display:grid}.receivable-form input,.receivable-form select,.restricted-equity-form input{border:1px solid var(--line);width:100%;min-height:42px;color:var(--ink);background:#fff;border-radius:9px;padding:9px 11px}.receivable-form input:focus,.receivable-form select:focus,.restricted-equity-form input:focus{border-color:var(--green);outline:2px solid #1f4b3a2e}.receivable-form .wide-field,.restricted-equity-form .wide-field{grid-column:1/-1}.receivable-form .form-actions{margin-top:0}.receivable-form .checkbox-field,.receivable-form .payment-account-field{border:1px solid var(--line);background:#fff;border-radius:14px;padding:14px 16px}.receivable-form .checkbox-field{color:var(--ink);cursor:pointer;align-items:center;gap:12px;display:flex}.receivable-form .checkbox-field input{width:18px;min-height:18px;accent-color:var(--green);margin:0}.receivable-form .checkbox-field span{gap:2px;display:grid}.receivable-form .checkbox-field strong{font-size:14px}.receivable-form .checkbox-field small{color:var(--muted);font-size:12px}.receivable-form .payment-account-field{gap:8px}.receivable-facts{gap:2px;display:grid}.receivable-status{font-weight:700}.receivable-status.overdue{color:var(--danger)}.receivable-status.settled{color:var(--positive)}@media (width<=720px){.receivable-form,.restricted-equity-form{grid-template-columns:1fr}.receivable-form .wide-field,.restricted-equity-form .form-actions,.restricted-equity-form [role=alert]{grid-column:auto}}.restricted-equity-form label{color:var(--muted);gap:6px;font-size:12px;display:grid}.restricted-equity-form{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0;padding:16px}.restricted-equity-form .form-actions,.restricted-equity-form [role=alert]{grid-column:1/-1}.restricted-equity-form .form-actions{margin-top:0}.restricted-equity-history{margin-top:28px}.restricted-equity-history>h2{font-size:18px}.total-card{z-index:1;position:relative}.total-card span,.total-card small{color:#ffffffa8;display:block}.total-card strong{letter-spacing:-.04em;margin:8px 0;font-size:clamp(40px,4.4vw,66px);font-weight:500;display:block}.section{padding:100px 18px 32px}.section-heading{justify-content:space-between;align-items:end;gap:40px;margin-bottom:36px;display:flex}.section-heading h2{margin:0;font-size:38px}.collapse-title{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:0;display:inline-flex}button[aria-expanded],details:not(.info-tip)>summary{align-items:center;gap:7px;display:inline-flex}button[aria-expanded]:after,details:not(.info-tip)>summary:after{content:"";border-bottom:1.5px solid;border-right:1.5px solid;width:7px;height:7px;transition:transform .18s;transform:rotate(45deg)translateY(-2px)}button[aria-expanded=true]:after,details[open]:not(.info-tip)>summary:after{transform:rotate(225deg)translate(-2px)}details:not(.info-tip)>summary{list-style:none}details:not(.info-tip)>summary::-webkit-details-marker{display:none}.collapsible-content{animation:.18s ease-out reveal-editor}.collapsible-content[hidden]{display:none}.section-heading .eyebrow{color:#8a6a33;margin-bottom:10px}.section-heading>p{max-width:420px;color:var(--muted);margin:0;line-height:1.7}.section-title-row{align-items:center;gap:18px;display:flex}.home-heading-actions{align-items:center;gap:12px;display:flex}.sort-control{color:var(--muted);align-items:center;gap:7px;font-size:12px;display:inline-flex}.sort-control select{border:1px solid var(--line);min-height:32px;color:var(--ink);background:#fff;border-radius:9px;padding:5px 26px 5px 9px}.info-tip{flex:none;position:relative}.info-tip summary{border:1px solid var(--line);width:22px;height:22px;color:var(--muted);cursor:pointer;border-radius:50%;place-items:center;font-family:serif;font-size:13px;font-weight:700;list-style:none;display:grid}.info-tip summary::-webkit-details-marker{display:none}.info-tip[open] summary{color:#fff;border-color:var(--green);background:var(--green)}.info-tip>div{z-index:10;border:1px solid var(--line);width:min(320px,100vw - 48px);color:var(--ink);background:var(--paper);border-radius:10px;padding:13px 15px;font-size:13px;font-weight:400;line-height:1.6;position:absolute;top:30px;left:0;box-shadow:0 12px 34px #19221d24}.section-action{border:1px solid var(--green);color:var(--green);cursor:pointer;background:0 0;border-radius:999px;padding:9px 15px}.section-action:hover{color:#fff;background:var(--green)}.layer-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.layer-card{border:1px solid var(--line);background:#fbfaf6b8;border-radius:20px;min-height:380px;padding:28px}.layer-2{background:#e8ecdf}.layer-3{background:#ebe6de}.layer-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:24px;display:flex}.layer-head>div>span{color:var(--muted);font-size:12px}.layer-head h3{margin:6px 0 0;font-size:24px}.layer-amount{justify-items:end;gap:8px;display:grid}.layer-amount>strong{font-size:22px;font-weight:500}.cash-layer-indicator{justify-content:flex-end;align-items:center;gap:8px;display:flex}.cash-layer-indicator .status-badge{margin-left:0}.cash-layer-indicator .info-tip>div{left:auto;right:0}.unit-list{margin:8px 0 0;padding:0;list-style:none}.unit-list li{border-bottom:1px solid var(--line);padding:20px 0}.unit-title{justify-content:space-between;gap:16px;font-size:14px;display:flex}.unit-title strong{white-space:nowrap}.status-badge{color:var(--green);background:#1f4b3a1a;border-radius:999px;margin-left:8px;padding:3px 7px;font-size:10px;font-weight:600;display:inline-block}.status-amounts{flex-wrap:wrap;gap:6px 12px;display:flex}.status-amounts span{color:var(--ink);font-size:12px}.unit-list p,.empty-layer{color:var(--muted);margin:8px 0 0;font-size:12px;line-height:1.5}.empty-layer{padding:24px 0}.unit-list .text-button{margin-top:10px;font-size:12px}.accounts-section{padding-bottom:100px}.account-list{border-top:1px solid var(--line)}.account-list-toolbar{justify-content:flex-end;margin:18px 0 10px;display:flex}.account-row{border-bottom:1px solid var(--line);gap:18px;padding:34px 0;display:grid}.account-row.editing{padding-bottom:0}.account-summary{justify-content:space-between;align-items:center;gap:32px;display:flex}.account-summary>div:first-child{flex:1}.account-header-actions{align-items:center;gap:18px;display:flex}.account-type{color:#8a6a33;letter-spacing:.08em;font-size:12px;font-weight:600}.account-summary h3{margin:8px 0 14px;font-size:22px}.account-summary strong{font-size:28px;font-weight:500}.account-action{color:var(--green);cursor:pointer;white-space:nowrap;background:0 0;border:0;padding:0}.account-action:disabled{color:var(--muted);cursor:not-allowed;opacity:.65}.secondary-account-action{font-size:12px}.reconciliation-badge{color:#8b3b2f;background:#f7e8e3;border-radius:999px;margin:10px 0 0 10px;padding:3px 7px;font-size:10px;font-weight:600;display:inline-block}.reconciliation-badge.reconciled{color:var(--green);background:#e6eee9}.reconciliation-detail{color:#8b3b2f;margin-top:8px;display:block}.reconciliation-ok{color:var(--green)}.reconciliation-warning{color:#8b3b2f}.allocations{gap:8px;display:grid}.allocation-wrapper{gap:0;display:grid}.allocation{background:#ffffff8c;border-radius:10px;justify-content:space-between;align-items:center;gap:20px;padding:14px 16px;display:flex}.allocation div{gap:3px;display:grid}.allocation small{color:var(--muted)}.allocation strong{white-space:nowrap}.allocation .text-button{white-space:nowrap;font-size:12px}.history-kind{color:#8a6a33;margin-bottom:5px;font-size:11px;display:block}.graph-section,.history-section{border-top:1px solid var(--line);padding-top:40px;padding-bottom:100px}.empty-history{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:16px;padding:34px}.history-list{border-top:1px solid var(--line)}.history-tabs{gap:8px;margin-bottom:18px;display:flex}.history-tabs button{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:999px;padding:9px 16px}.history-tabs button[aria-selected=true]{color:#fff;border-color:var(--ink);background:var(--ink)}.history-row{border-bottom:1px solid var(--line);grid-template-columns:1fr auto 1.2fr;align-items:center;gap:32px;padding:26px 0;display:grid}.history-row h3{margin:6px 0}.history-row p{color:var(--muted);margin:0}.history-row>strong{font-size:20px}.history-row .positive{color:var(--green)}.history-row .negative{color:#9a3327}.history-details{color:var(--muted);gap:5px;font-size:13px;display:grid}.history-details small{color:#8a6a33;margin-top:5px}.adjustment-history-row>strong{max-width:440px;font-size:15px;line-height:1.5}.relationship-graph{border:1px solid var(--line);background-color:#0000;background-image:linear-gradient(#19221d06 1px,#0000 1px),linear-gradient(90deg,#19221d06 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:24px 24px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;border-radius:20px;width:100%;margin:24px 0 40px;overflow-x:auto}.relationship-graph svg{width:100%;min-width:1120px;height:auto;display:block}.relationship-graph-deferred{min-height:940px}.relationship-graph-placeholder{border:1px solid var(--line);color:var(--muted);background:var(--surface-soft);border-radius:20px;margin:24px 0 40px;padding:18px;font-size:13px}.column-labels text{fill:var(--muted);letter-spacing:.12em;font-size:11px;font-weight:600}.graph-edges path{fill:none;stroke:#1f4b3a52;stroke-width:1.5px}.graph-node rect{fill:var(--paper);stroke:#19221d29;stroke-width:1px}.graph-node.total rect{fill:var(--green);stroke:var(--green)}.graph-node.layer rect{fill:#e8ecdf}.graph-node.unit rect{fill:#f3e8d5;stroke:#8a6a3359}.graph-node.logical rect{fill:#fbfaf6}.graph-node.real rect{fill:#e5ebe7;stroke:#1f4b3a59}.graph-node text{fill:var(--ink);font-family:DM Sans,Microsoft YaHei,sans-serif}.graph-node.total text{fill:#f8f5ec}.node-eyebrow{letter-spacing:.08em;opacity:.62;font-size:10px;font-weight:600}.node-title{font-size:15px;font-weight:600}.node-amount{font-size:17px;font-weight:500}.node-note{opacity:.56;font-size:9px}footer{border-top:1px solid var(--line);color:var(--muted);letter-spacing:.09em;justify-content:space-between;padding:28px 18px;font-size:11px;display:flex}.state-page{text-align:center;place-content:center;min-height:100vh;display:grid}.unlock-page{background:#eef3f8;place-items:center;min-height:100vh;padding:24px;display:grid}.unlock-panel{border:1px solid var(--line);background:#fff;border-radius:18px;gap:18px;width:min(360px,100%);padding:28px;display:grid;box-shadow:0 18px 48px #20242a14}.unlock-panel>div{align-items:center;gap:10px;display:flex}.unlock-panel>div span{color:#fff;background:#1677ff;border-radius:10px;place-items:center;width:34px;height:34px;font-size:12px;font-weight:700;display:grid}.unlock-panel>div p{color:var(--muted);letter-spacing:.08em;margin:0;font-size:12px;font-weight:700}.unlock-panel h1{letter-spacing:0;margin:4px 0 0;font-family:inherit;font-size:22px}.unlock-panel label{color:var(--muted);gap:8px;font-size:13px;display:grid}.unlock-panel input{border:1px solid var(--line);width:100%;min-height:46px;color:var(--ink);background:#fff;border-radius:10px;padding:10px 12px}.unlock-panel button{width:100%}.unlock-error{color:var(--danger);margin:0;font-size:13px}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.sync-status-control{z-index:32;position:relative}.sync-status-control summary{color:#1677ff;cursor:pointer;background:#eaf3ff;border-radius:999px;align-items:center;gap:6px;min-height:30px;padding:6px 10px;font-size:10px;font-weight:700;list-style:none;display:inline-flex}.sync-status-control summary::-webkit-details-marker{display:none}.sync-dot{background:#1677ff;border-radius:50%;width:7px;height:7px}.sync-dirty{background:#e4a853}.sync-error,.sync-conflict{background:#b85f65}.sync-locked{background:#747b86}.sync-status-panel{border:1px solid var(--line);background:#fff;border-radius:14px;gap:8px;width:190px;padding:12px;display:grid;position:absolute;top:38px;right:0;box-shadow:0 10px 30px #20242a1f}.sync-status-panel p{color:var(--ink);background:0 0;padding:0;font-size:12px;font-weight:500}.sync-status-panel small{color:var(--muted);font-size:11px}.sync-status-panel button{color:#fff;cursor:pointer;background:#1677ff;border:0;border-radius:9px;min-height:34px;font-size:12px}.sync-status-panel button:disabled{opacity:.55;cursor:wait}button,input,select{font:inherit}.initializer{background:var(--paper);border-radius:28px;max-width:1080px;min-height:calc(100vh - 48px);margin:24px auto;padding:56px}.accounts-section .initializer{border:1px solid var(--line);border-radius:20px;max-width:none;min-height:0;margin:0 0 28px;padding:34px;animation:.18s ease-out reveal-editor}.initializer-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:end;gap:32px;padding-bottom:28px;display:flex}.initializer-heading .eyebrow{color:#8a6a33;margin-bottom:8px}.initializer-heading h2{margin:0;font-size:38px}.form-grid{grid-template-columns:1.3fr 1fr 1fr;gap:16px;margin-top:32px;display:grid}.initializer label{color:var(--muted);gap:8px;font-size:13px;display:grid}.initializer input:not([type=radio]),.initializer select{border:1px solid var(--line);width:100%;min-height:46px;color:var(--ink);background:#fff;border-radius:9px;padding:10px 12px}.initializer input:focus,.initializer select:focus{border-color:var(--green);outline:2px solid #1f4b3a38}.account-inline-editor{background:#e8ecdf;border-radius:18px 18px 0 0;grid-column:1/-1;margin:4px -18px 0;padding:30px 34px 34px;animation:.18s ease-out reveal-editor}.inline-editor-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:end;gap:24px;padding-bottom:22px;display:flex}.inline-editor-heading .eyebrow{color:#8a6a33;margin-bottom:7px}.inline-editor-heading h3{margin:0;font-size:24px}.inline-editor-heading>span{color:var(--muted);font-size:13px}.account-inline-editor label{color:var(--muted);gap:8px;font-size:13px;display:grid}.account-inline-editor input,.account-inline-editor select{border:1px solid var(--line);width:100%;min-height:46px;color:var(--ink);background:#fff;border-radius:9px;padding:10px 12px}.account-inline-editor input:focus,.account-inline-editor select:focus{border-color:var(--green);outline:2px solid #1f4b3a38}@keyframes reveal-editor{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.usage-options{border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:28px;margin:28px 0;padding:20px 0;display:flex}.usage-options legend{float:left;color:var(--ink);margin-right:34px;font-weight:600}.usage-options label{color:var(--ink);grid-template-columns:auto 1fr;align-items:center;display:flex}.allocation-editor-heading{justify-content:space-between;align-items:center;display:flex}.allocation-editor-heading h3{margin:0}.allocation-editor-heading small{color:var(--muted)}.allocation-fields{border-bottom:1px solid var(--line);grid-template-columns:38px 1fr 1.35fr .75fr auto;align-items:end;gap:14px;padding:22px 0;display:grid}.balance-update-grid{grid-template-columns:repeat(3,1fr)}.balance-allocation-fields{grid-template-columns:38px 1fr .75fr}.readonly-allocation{align-self:center;gap:5px;display:grid}.readonly-allocation small{color:var(--muted)}.allocation-index{color:#8a6a33;align-self:center;font-size:12px;font-weight:600}.text-button,.remove-button{color:var(--green);cursor:pointer;background:0 0;border:0;padding:0}.remove-button{color:#9a463a;min-height:46px}.secondary-actions{color:var(--muted);font-size:12px;position:relative}.secondary-actions summary{cursor:pointer;white-space:nowrap}.secondary-actions[open] .text-button{white-space:nowrap;margin-top:6px;display:block}.balance-check{color:#8b3b2f;background:#f7e8e3;border-radius:10px;justify-content:space-between;gap:24px;margin-top:24px;padding:18px;display:flex}.balance-check.balanced{color:var(--green);background:#e6eee9}.form-error{color:#9a3327;margin:14px 0 0}.form-actions{justify-content:flex-end;gap:12px;margin-top:28px;display:flex}.primary-button,.secondary-button{cursor:pointer;border-radius:999px;min-width:120px;padding:12px 18px}.primary-button{border:1px solid var(--green);color:#fff;background:var(--green)}.secondary-button{border:1px solid var(--line);color:var(--ink);background:0 0}.primary-button:disabled{opacity:.55;cursor:wait}.compact-editor{background:#ffffffa6;border-radius:12px;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px;padding:16px;display:grid}.compact-editor label{color:var(--muted);gap:6px;font-size:12px;display:grid}.compact-editor input,.compact-editor select{border:1px solid var(--line);width:100%;min-height:40px;color:var(--ink);background:#fff;border-radius:8px;padding:8px 10px}.compact-editor .form-error,.compact-actions{grid-column:1/-1}.fund-unit-management,.fund-unit-admin-list{gap:18px;display:grid}.fund-unit-admin-list h3{margin:0 0 10px;font-size:18px}.fund-unit-admin-row{border:1px solid var(--line);background:#ffffffb3;border-radius:12px;gap:12px;padding:14px;display:grid}.fund-unit-admin-row p{color:var(--muted);margin:6px 0 0;font-size:12px}.fund-unit-admin-actions{flex-wrap:wrap;gap:8px;display:flex}.fund-unit-admin-actions .text-button:disabled{cursor:not-allowed;opacity:.45}.inline-editor{margin-top:4px}.balance-change-preview{color:var(--muted);background:#ffffff8c;border-radius:8px;grid-column:1/-1;padding:10px 12px;font-size:13px}.calibration-table{grid-column:1/-1;gap:10px;display:grid}.calibration-row{border:1px solid var(--line);background:#ffffff94;border-radius:8px;grid-template-columns:minmax(120px,1fr) minmax(120px,.75fr) minmax(120px,.75fr);align-items:end;gap:10px;padding:12px;display:grid}.calibration-row>div{gap:5px;display:grid}.calibration-row strong{font-size:14px}.calibration-row small{color:var(--muted)}.compact-actions{justify-content:flex-end;align-items:center;gap:16px;display:flex}.compact-actions .primary-button{min-width:104px;padding:9px 14px}.ownership-editor{background:#e8ecdf;border-radius:0 0 10px 10px;margin-top:0}.reconciliation-editor{border-radius:12px;grid-template-columns:repeat(2,1fr);margin:0}@media (width<=900px){main{padding:16px 16px 0}.balance-sheet-overview{padding:34px 26px}.balance-sheet-heading{flex-direction:column;align-items:start}.balance-sheet-heading-actions{justify-items:start;width:100%}.balance-sheet-totals{justify-content:space-between;gap:20px;width:100%}.balance-sheet-categories{grid-template-columns:1fr 1fr}.hero{min-height:210px;padding:38px 32px}.global-controls{flex-direction:column}.layer-grid{grid-template-columns:1fr}.layer-card{min-height:auto}.section{padding:72px 4px 20px}.section-heading,.account-summary{flex-direction:column;align-items:start}.account-inline-editor{margin:0;padding:24px 20px}.inline-editor-heading{flex-direction:column;align-items:start}.graph-section{padding-top:72px;padding-bottom:72px}.initializer{margin:16px auto;padding:30px 22px}.form-grid,.allocation-fields,.history-row,.compact-editor,.calibration-row{grid-template-columns:1fr}.allocation-index{display:none}.usage-options{flex-direction:column;align-items:start;gap:14px}}@media (width<=560px){.balance-sheet-totals{flex-direction:column}.balance-sheet-categories{grid-template-columns:1fr}}@media (width<=760px){body{padding-bottom:84px}.bottom-navigation{touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-backdrop-filter:none}.bottom-navigation button{touch-action:manipulation;-webkit-user-select:none;user-select:none}input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}main.home-page{padding:12px 20px 104px}.home-hero{flex-direction:column;align-items:stretch;gap:14px;min-height:300px;padding:20px 20px 92px}.home-hero>div>strong{font-size:calc(40px * var(--top-card-amount-scale,1));overflow-wrap:anywhere}.home-hero-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;padding-top:10px;bottom:16px;left:20px;right:20px}.home-hero-summary button{min-width:0}.home-hero-summary span,.home-hero-summary strong{overflow-wrap:anywhere}.home-todo-card{flex-direction:column;align-items:flex-start;gap:14px;padding:18px}.home-todo-card>button{width:100%}.home-account-row{align-items:flex-start;gap:12px;padding:14px 4px}.home-account-row>div{min-width:0}.home-account-row h3{overflow-wrap:anywhere}.home-account-row strong{overflow-wrap:anywhere;white-space:normal;text-align:right;max-width:46%}main.domain-page{min-height:0;padding:20px 20px 104px}.domain-page .domain-hero{min-height:164px;padding:24px 20px}.domain-page .balance-sheet-overview{margin-top:24px}.domain-page .balance-sheet-category-details{border:1px solid var(--line);background:var(--surface-soft);border-radius:16px;padding:18px}.domain-page .category-detail-heading{gap:12px}.domain-page .category-detail-heading h2{overflow-wrap:anywhere;min-width:0}.domain-page .category-detail-heading>strong{overflow-wrap:normal;white-space:nowrap;text-align:right;max-width:none}.domain-page .balance-sheet-category-details li{gap:8px 14px;padding:16px 18px}.domain-page .balance-sheet-category-details li div{min-width:0}.domain-page .balance-sheet-category-details li strong{overflow-wrap:anywhere;white-space:normal;text-align:right;max-width:100%}.domain-page .receivable-form,.domain-page .restricted-equity-form{padding:18px}main:has(.fund-page-title){min-height:0;padding:0 20px 104px}main:has(.fund-page-title) .hero{min-height:144px;padding:20px}main:has(.fund-page-title) .total-card strong{font-size:calc(38px * var(--top-card-amount-scale,1));overflow-wrap:anywhere;display:block}.fund-page-title{padding-top:16px}.fund-page-title p{margin-bottom:18px}.fund-quick-actions{padding-top:18px}.fund-quick-actions>div{gap:8px}.fund-quick-actions button{min-height:52px;padding:10px;font-size:13px}main:has(.fund-page-title) .overview-tabs{margin:0;padding:8px 0 12px;scroll-padding-inline:20px}main:has(.fund-page-title) .overview-tabs button{min-height:38px;padding:7px 11px}main:has(.fund-page-title) .section{padding:18px 0 28px}main:has(.fund-page-title) .section-heading{align-items:flex-start}main:has(.fund-page-title) .section-title-row{min-width:0}main:has(.fund-page-title) .section-heading h2{overflow-wrap:anywhere}.section-action{min-height:42px}.layer-head{align-items:flex-start;gap:12px}.layer-amount{text-align:right;max-width:52%}.layer-amount>strong,.unit-title strong{overflow-wrap:anywhere;white-space:normal}.unit-title{align-items:flex-start;gap:10px}.status-badge{margin-left:4px}.accounts-section,.history-section,.graph-section{padding-bottom:40px}.account-row{gap:12px;padding:22px 0}.account-summary{gap:10px}.account-summary h3{overflow-wrap:anywhere;margin:5px 0 8px;font-size:18px}.account-summary strong{white-space:normal;overflow-wrap:anywhere;font-size:22px}.account-header-actions{flex-wrap:wrap;align-items:flex-start;gap:8px 14px}.account-action{text-align:left;min-height:38px}.reconciliation-badge{margin:4px 0 0}.allocation{flex-wrap:wrap;align-items:flex-start;gap:8px 12px}.allocation>div{min-width:min(100%,200px)}.allocation strong{white-space:normal;overflow-wrap:anywhere;margin-left:auto}.history-tabs{padding-bottom:2px;overflow-x:auto}.history-tabs button{flex:none;min-height:40px}.history-row{gap:8px;padding:18px 0}.history-row h3{margin:3px 0;font-size:15px}.history-row>strong{overflow-wrap:anywhere;font-size:17px}.history-details{font-size:12px}.relationship-graph{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;border-radius:14px;margin:14px 0 28px;padding-inline:12px;scroll-padding-inline:12px;position:relative}.relationship-graph-deferred{min-height:940px}.relationship-graph:focus-visible{outline-offset:3px;outline:3px solid #e4a853b3}.relationship-graph:before{content:"左右滑动查看完整关系";color:var(--muted);background:#fffc;padding:9px 12px;font-size:12px;display:block}.relationship-graph svg{width:1320px;min-width:1320px}.accounts-section .initializer,.initializer{border-radius:14px;margin:0 0 24px;padding:22px 16px 28px}.initializer-heading{align-items:flex-start;gap:12px;padding-bottom:18px}.initializer-heading h2{font-size:25px}.form-grid,.allocation-fields,.balance-update-grid,.balance-allocation-fields,.compact-editor,.reconciliation-editor{grid-template-columns:minmax(0,1fr)}.form-grid{margin-top:22px}.allocation-fields{gap:12px;padding:18px 0}.allocation-index{display:block}.allocation-fields .remove-button{justify-self:start;min-height:40px}.usage-options{gap:12px;margin:20px 0;padding:16px 0}.usage-options legend{float:none;margin:0 0 4px}.balance-check{flex-direction:column;align-items:flex-start;gap:8px;padding:14px}.form-actions,.compact-actions{gap:10px}.form-actions{padding-bottom:16px}.primary-button,.secondary-button,.compact-actions .primary-button{flex:1;min-width:0;min-height:44px}.compact-editor{gap:12px;padding:14px}.compact-actions{justify-content:stretch}.compact-actions .text-button{min-width:72px}.account-inline-editor{padding:18px 14px}footer{flex-wrap:wrap;align-items:flex-start;gap:10px 18px;padding:24px 4px 28px}}
