:root{--ink:#18231f;--ink-soft:#33413b;--muted:#727d77;--muted-2:#929b96;--canvas:#f3f5f2;--surface:#fff;--surface-soft:#f8f9f6;--line:#dfe5e0;--line-strong:#ccd5ce;--green:#176f56;--green-deep:#124f3e;--green-soft:#e9f3ed;--red:#c9513a;--red-soft:#faece8;--amber:#b97b23;--amber-soft:#fbf2e4;--blue:#3f6f9e;--blue-soft:#edf3f8;--violet:#825879;--sidebar:#14231e;--sidebar-soft:#1e312a;--shadow:0 12px 32px #17231e0f;--shadow-lg:0 28px 80px #111e1829;color:var(--ink);background:var(--canvas);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;letter-spacing:0;font-family:Noto Sans SC,Microsoft YaHei,PingFang SC,Hiragino Sans GB,system-ui,sans-serif}*{box-sizing:border-box}html{background:var(--canvas);min-width:320px}body{background:linear-gradient(#18231f05 1px, transparent 1px), linear-gradient(90deg, #18231f05 1px, transparent 1px), var(--canvas);background-size:26px 26px;min-width:320px;min-height:100vh;margin:0}body.modal-open{overflow:hidden}button,input,select,textarea{font:inherit;letter-spacing:0}button{color:inherit}button,select{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}button,input,select{outline:none}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline-offset:2px;outline:3px solid #176f563d}h1,h2,h3,p{margin:0}button{border:0}#root{min-height:100vh}::selection{color:#fff;background:var(--green)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#c5cec8 padding-box padding-box;border:3px solid #0000;border-radius:10px}.desktop-only{display:initial}.app-shell{background:0 0;min-height:100vh;display:flex}.sidebar{z-index:30;color:#f3f7f4;background:var(--sidebar);flex-direction:column;width:244px;padding:24px 16px 18px;display:flex;position:fixed;inset:0 auto 0 0}.sidebar:after{z-index:-1;content:"";pointer-events:none;background-color:#0000;background-image:linear-gradient(#ffffff05 1px,#0000 1px),linear-gradient(90deg,#ffffff05 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:28px 28px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;position:absolute;inset:0}.brand{color:#fff;text-align:left;background:0 0;align-items:center;gap:11px;width:100%;padding:0 8px;display:flex}.brand-mark{color:#ecf7f1;background:#ffffff14;border:1px solid #ffffff29;border-radius:8px;flex:none;place-items:center;width:38px;height:38px;display:inline-grid}.brand>span:last-child,.login-brand>span:last-child,.mobile-login-brand>span:last-child{flex-direction:column;gap:1px;display:flex}.brand strong,.login-brand strong,.mobile-login-brand strong{font-size:17px;font-weight:750}.brand small,.login-brand small,.mobile-login-brand small{color:#9eafa6;font-size:10px}.store-card{background:#ffffff0d;border:1px solid #ffffff14;border-radius:8px;align-items:center;gap:9px;margin-top:26px;padding:11px 10px;display:flex}.store-icon{color:#d5e6dd;background:#ffffff14;border-radius:6px;flex:none;place-items:center;width:30px;height:30px;display:grid}.store-card>span:nth-child(2){flex-direction:column;flex:1;min-width:0;display:flex}.store-card small{color:#8fa198;font-size:9px}.store-card strong{color:#f0f4f1;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.store-card>svg{color:#879a90}.side-nav{flex-direction:column;flex:1;gap:4px;margin-top:26px;display:flex}.nav-label{color:#71847a;text-transform:uppercase;margin:0 12px 7px;font-size:9px;font-weight:700}.nav-label-spaced{margin-top:22px}.nav-button{color:#9caea4;text-align:left;background:0 0;border-radius:7px;align-items:center;gap:11px;width:100%;padding:10px 12px;font-size:12px;transition:color .16s,background-color .16s;display:flex;position:relative}.nav-button:hover{color:#edf5f0;background:#ffffff0e}.nav-button.active{color:#fff;background:#ffffff17}.nav-button.active svg{color:#8ed3b7}.nav-active-mark{background:#8ed3b7;border-radius:2px 0 0 2px;width:2px;position:absolute;top:10px;bottom:10px;right:0}.sidebar-foot{flex-direction:column;gap:12px;display:flex}.network-status{background:#8ed3b70f;border:1px solid #8ed3b71f;border-radius:8px;align-items:center;gap:9px;padding:11px 10px;display:flex}.network-status>div{flex-direction:column;flex:1;min-width:0;display:flex}.network-status strong{color:#d9ebe1;font-size:10px;font-weight:600}.network-status small{color:#7f9388;font-size:8px}.network-status>svg{color:#7eae98}.network-status.is-offline{background:#e2ae5b14;border-color:#e2ae5b38}.network-status.is-offline>svg,.network-status.is-offline strong{color:#e7c586}.network-status.is-syncing>svg,.network-status.is-syncing strong{color:#9ed4bb}.network-status.is-local{background:#8ed3b71a;border-color:#8ed3b72e}.network-status.is-local>svg,.network-status.is-local strong{color:#a9d8c3}.status-dot{background:#50c68b;border-radius:50%;flex:none;width:7px;height:7px;display:inline-block;box-shadow:0 0 0 3px #50c68b21}.secure-note{color:#72867b;align-items:center;gap:7px;padding:0 9px;font-size:8px;display:flex}.secure-note svg{color:#708c7d;flex:none}.workspace{flex:1;min-width:0;margin-left:244px}.topbar{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f7f8f5e6;border-bottom:1px solid #ccd5cec2;justify-content:space-between;align-items:center;height:66px;padding:0 30px;display:flex;position:sticky;top:0}.mobile-brand{display:none}.topbar-context,.topbar-actions{align-items:center;gap:12px;display:flex}.topbar-context{color:var(--muted);font-size:11px}.topbar-divider{background:var(--line-strong);width:1px;height:16px}.network-pill{border:1px solid var(--line);color:var(--ink-soft);background:var(--surface);border-radius:20px;align-items:center;gap:7px;padding:6px 9px;font-size:10px;display:flex}.network-pill .status-dot{width:6px;height:6px;box-shadow:none;background:#2b9d68}.network-pill.is-offline{color:#7b5b2b;background:#fbf5e9;border-color:#ead7b7}.network-pill.is-syncing,.network-pill.is-local{color:var(--green);background:var(--green-soft)}.offline-banner{color:#6f552d;background:#fbf5e9;border-bottom:1px solid #ead7b7;align-items:center;gap:10px;padding:10px 30px;display:flex}.offline-banner.is-syncing{color:#28634e;background:#eff7f2;border-color:#cfe4d9}.offline-banner>svg{flex:none}.offline-banner>div{flex-direction:column;gap:1px;display:flex}.offline-banner strong{font-size:10px}.offline-banner span{font-size:9px;line-height:1.5}.profile-anchor{position:relative}.profile-trigger{background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:8px;padding:5px 7px 5px 5px;display:flex}.profile-trigger:hover{border-color:var(--line);background:var(--surface)}.profile-copy{text-align:left;flex-direction:column;min-width:72px;display:flex}.profile-copy strong{color:var(--ink);font-size:11px;font-weight:650}.profile-copy small{color:var(--muted);font-size:9px}.profile-menu{border:1px solid var(--line);background:var(--surface);width:224px;box-shadow:var(--shadow-lg);border-radius:8px;padding:12px;position:absolute;top:calc(100% + 9px);right:0}.profile-menu-head{align-items:center;gap:10px;padding:3px 2px 11px;display:flex}.profile-menu-head>span:last-child{flex-direction:column;display:flex}.profile-menu-head strong{font-size:12px}.profile-menu-head small{color:var(--muted);font-size:10px}.profile-role{border-bottom:1px solid var(--line);padding:8px 2px 12px}.profile-menu>button:not(.install-app-trigger){width:100%;color:var(--red);background:0 0;border-radius:6px;align-items:center;gap:8px;margin-top:7px;padding:9px 8px;font-size:11px;display:flex}.profile-menu>button:not(.install-app-trigger):hover{background:var(--red-soft)}.profile-menu>button.profile-menu-action{color:var(--ink-soft)}.profile-menu>button.profile-menu-action:hover{color:var(--green);background:var(--green-soft)}.profile-menu>button.profile-menu-logout{color:var(--red)}.profile-menu>button.profile-menu-logout:hover{background:var(--red-soft)}.install-app-trigger{background:0 0;border-radius:6px;align-items:center;gap:8px;width:100%;margin-top:7px;padding:9px 8px;font-size:11px;text-decoration:none;display:flex;color:var(--green)!important}.install-app-trigger:hover{background:var(--green-soft)!important}.main-content{width:100%;max-width:1480px;margin:0 auto;padding:29px 30px 52px}.page-stack{flex-direction:column;gap:18px;display:flex}.page-header{justify-content:space-between;align-items:flex-end;gap:24px;min-height:66px;display:flex}.page-header h1{color:var(--ink);margin-top:3px;font-size:27px;font-weight:720;line-height:1.25}.eyebrow,.panel-kicker{color:var(--green);text-transform:uppercase;font-size:9px;font-weight:750}.page-description{color:var(--muted);margin-top:5px;font-size:11px}.page-actions{flex-shrink:0;align-items:center;gap:9px;display:flex}.button{white-space:nowrap;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:8px 14px;font-size:11px;font-weight:650;transition:background-color .16s,border-color .16s,transform .12s;display:inline-flex}.button:active{transform:translateY(1px)}.button-primary{color:#fff;background:var(--green)}.button-primary:hover{background:var(--green-deep)}.button-secondary{border-color:var(--line);color:var(--ink-soft);background:var(--surface)}.button-secondary:hover{border-color:var(--line-strong);background:#f8faf7}.button-danger{color:#fff;background:var(--red)}.button-danger:hover{background:#ae402b}.button-compact{min-height:30px;padding:6px 9px;font-size:9px}.full-button{width:100%}.icon-button{border:1px solid var(--line);width:34px;height:34px;color:var(--muted);background:var(--surface);border-radius:7px;flex:none;place-items:center;display:inline-grid}.icon-button:hover{color:var(--ink);border-color:var(--line-strong)}.icon-button.subtle{background:0 0;border-color:#0000;width:29px;height:29px}.icon-button.subtle:hover{border-color:var(--line);background:var(--surface-soft)}.text-button{color:var(--green);background:0 0;align-items:center;gap:3px;padding:5px;font-size:10px;font-weight:650;display:inline-flex}.panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;box-shadow:0 1px 2px #17231e03}.panel-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.panel-head h2{color:var(--ink);margin-top:2px;font-size:14px;font-weight:680}.panel-head.compact{align-items:center}.panel-head>svg{color:var(--muted-2)}.soft-tag{color:var(--muted);background:var(--surface-soft);border-radius:20px;align-items:center;padding:5px 8px;font-size:9px;display:inline-flex}.avatar{color:#fff;border:2px solid #ffffffdb;border-radius:50%;flex:none;place-items:center;font-weight:650;display:inline-grid;box-shadow:0 0 0 1px #18231f14}.avatar-sm{width:29px;height:29px;font-size:8px}.avatar-md{width:36px;height:36px;font-size:9px}.avatar-lg{width:46px;height:46px;font-size:11px}.badge{white-space:nowrap;border-radius:20px;justify-content:center;align-items:center;width:fit-content;padding:4px 7px;font-size:8px;font-weight:650;display:inline-flex}.role-admin{color:#165e49;background:var(--green-soft)}.role-manager{color:var(--blue);background:var(--blue-soft)}.role-bookkeeper{color:var(--amber);background:var(--amber-soft)}.role-viewer{color:#6e6b67;background:#f0f1ef}.type-income{color:var(--green);background:var(--green-soft)}.type-expense{color:var(--red);background:var(--red-soft)}.receipt-received{color:var(--green);background:var(--green-soft)}.receipt-unreceived{color:var(--amber);background:var(--amber-soft)}.income,.money-income{color:var(--green)}.expense,.money-expense{color:var(--red)}.login-page{background:#f5f6f3;grid-template-columns:minmax(460px,1.03fr) minmax(460px,.97fr);min-height:100vh;display:grid}.login-story{color:#f5faf7;background:#14231e;position:relative;overflow:hidden}.login-story:before{content:"";background-color:#0000;background-image:linear-gradient(#ffffff06 1px,#0000 1px),linear-gradient(90deg,#ffffff06 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:34px 34px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;position:absolute;inset:0}.login-story:after{content:"";border:1px solid #8fceb21f;border-radius:50%;width:520px;height:520px;position:absolute;bottom:-190px;right:-150px;box-shadow:0 0 0 70px #8fceb209,0 0 0 140px #8fceb206}.login-story-inner{z-index:1;flex-direction:column;max-width:660px;min-height:100vh;margin:0 auto;padding:44px 64px 48px;display:flex;position:relative}.login-brand{align-items:center;gap:12px;display:flex}.login-brand-mark{color:#dff1e8;background:#ffffff14;border:1px solid #ffffff26;border-radius:8px;flex:none;place-items:center;width:44px;height:44px;display:inline-grid}.login-copy{margin-top:auto;padding:76px 0 54px}.login-kicker{color:#a8c9b9;background:#97d4b80f;border:1px solid #97d4b829;border-radius:20px;align-items:center;gap:7px;padding:7px 10px;font-size:10px;display:inline-flex}.login-copy h1{color:#f1f7f3;margin-top:22px;font-family:STSong,Songti SC,SimSun,serif;font-size:54px;font-weight:600;line-height:1.32}.login-copy p{color:#95a99e;max-width:380px;margin-top:18px;font-size:13px;line-height:1.8}.login-snapshot{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffff0e;border:1px solid #ffffff1a;border-radius:8px;padding:18px}.snapshot-head,.snapshot-foot{justify-content:space-between;align-items:center;display:flex}.snapshot-head{color:#9db0a5;font-size:9px}.snapshot-head span:first-child{color:#e0ebe5;font-weight:650}.snapshot-metrics{grid-template-columns:1.2fr .8fr;gap:26px;margin-top:18px;display:grid}.snapshot-metrics>div{flex-direction:column;gap:4px;display:flex}.snapshot-metrics small{color:#8fa298;font-size:9px}.snapshot-metrics strong{color:#f3f8f5;font-size:21px;font-weight:650}.snapshot-metrics span{color:#8fa298;font-size:8px}.snapshot-metrics .positive{color:#82cba9}.snapshot-track{background:#ffffff14;border-radius:3px;height:3px;margin:18px 0 13px;overflow:hidden}.snapshot-track span{border-radius:inherit;background:#75b999;width:67%;height:100%;display:block}.snapshot-foot{color:#788c81;font-size:8px}.secure-label{align-items:center;gap:5px;display:inline-flex}.login-panel{background:#f7f8f5;place-items:center;padding:36px;display:grid}.login-form-wrap{width:min(100%,372px)}.mobile-login-brand{display:none}.login-heading{margin-bottom:26px}.login-security-icon{width:43px;height:43px;color:var(--green);background:#edf5f0;border:1px solid #d6e2db;border-radius:8px;place-items:center;margin-bottom:18px;display:inline-grid}.login-heading h2{color:var(--ink);font-size:26px;font-weight:720}.login-heading p{color:var(--muted);margin-top:6px;font-size:11px}.login-form{flex-direction:column;gap:15px;display:flex}.offline-login-note{color:#745a32;background:#fbf5e9;border:1px solid #ead7b7;border-radius:7px;align-items:flex-start;gap:8px;padding:10px 12px;font-size:9px;line-height:1.6;display:flex}.offline-login-note svg{flex:none;margin-top:1px}.field{flex-direction:column;gap:7px;display:flex}.field>span:first-child{color:var(--ink-soft);font-size:10px;font-weight:650}.field input,.field select{border:1px solid var(--line);width:100%;height:40px;color:var(--ink);background:var(--surface);border-radius:7px;padding:0 12px;font-size:11px}.field input::placeholder{color:#a3aba6}.field input:focus,.field select:focus{border-color:#83a998;box-shadow:0 0 0 3px #176f5612}.field select:disabled{cursor:not-allowed;color:var(--muted);background:#f3f5f2}.input-with-icon{border:1px solid var(--line);height:44px;color:var(--muted-2);background:var(--surface);border-radius:7px;align-items:center;gap:10px;padding:0 12px;transition:border-color .16s,box-shadow .16s;display:flex}.input-with-icon:focus-within{border-color:#83a998;box-shadow:0 0 0 3px #176f5612}.input-with-icon input{min-width:0;height:100%;box-shadow:none;background:0 0;border:0;flex:1;padding:0}.input-with-icon input:focus{box-shadow:none}.input-with-icon input:focus-visible,.search-box input:focus-visible,.amount-field input:focus-visible,.field input:focus-visible,.field select:focus-visible{outline:none}.input-icon-button{width:28px;height:28px;color:var(--muted);background:0 0;border-radius:5px;place-items:center;display:grid}.input-icon-button:hover{background:var(--surface-soft)}.login-options{color:var(--muted);justify-content:space-between;align-items:center;gap:15px;font-size:9px;display:flex}.login-reset-link{color:var(--green);background:0 0;padding:0;font-size:9px;font-weight:650}.login-reset-link:hover{text-decoration:underline}.check-line{align-items:center;gap:7px;display:inline-flex}.check-line input{width:14px;height:14px;accent-color:var(--green)}.form-error{color:#a33d29;background:var(--red-soft);border:1px solid #efd0c8;border-radius:6px;padding:9px 11px;font-size:10px}.form-notice{color:#28634e;background:var(--green-soft);border:1px solid #cfe4d9;border-radius:6px;padding:9px 11px;font-size:10px}.password-form{gap:16px}.password-code-row{grid-template-columns:minmax(0,1fr) 142px;align-items:end;gap:10px;display:grid}.password-code-button{white-space:nowrap;justify-content:center;min-height:40px}.password-phone-chip,.password-security-note,.password-service-warning{border-radius:7px;align-items:flex-start;gap:8px;padding:10px 12px;font-size:9px;line-height:1.6;display:flex}.password-phone-chip{color:#28634e;background:var(--green-soft);border:1px solid #cfe4d9}.password-security-note{color:#4f6d80;background:#f2f7fa;border:1px solid #dce6ec}.password-service-warning{color:#7b5b2b;background:#fbf5e9;border:1px solid #ead7b7}.password-phone-chip svg,.password-security-note svg,.password-service-warning svg{flex:none;margin-top:1px}.login-submit{justify-content:space-between;width:100%;min-height:44px;padding:0 16px}.demo-access{border-top:1px solid var(--line);flex-direction:column;gap:8px;margin-top:23px;padding-top:19px;display:flex}.demo-access>span{color:var(--muted);font-size:9px}.demo-access>div{gap:8px;display:flex}.demo-access button{border:1px solid var(--line);color:var(--ink-soft);background:var(--surface);border-radius:6px;padding:6px 11px;font-size:9px}.demo-access button:hover{color:var(--green);border-color:#aabcb2}.demo-access small{color:var(--muted-2);font-size:8px}.login-footnote{color:var(--muted-2);justify-content:center;align-items:center;gap:6px;margin-top:30px;font-size:8px;display:flex}.mode-select-page,.local-access-page{min-height:100vh;color:var(--ink);background-color:#f3f5f2;background-image:linear-gradient(#18231f09 1px,#0000 1px),linear-gradient(90deg,#18231f09 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:28px 28px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box}.mode-select-page{place-items:center;padding:34px 20px;display:grid}.mode-select-shell{border:1px solid var(--line);width:min(920px,100%);box-shadow:var(--shadow-lg);background:#fffffff0;border-radius:12px;padding:34px}.mode-select-brand{align-items:center;gap:11px;display:flex}.mode-select-brand>span:last-child{flex-direction:column;display:flex}.mode-select-brand strong{font-size:16px;font-weight:720}.mode-select-brand small{color:var(--muted);font-size:9px}.mode-select-heading{margin:34px 0 24px}.mode-select-heading>span{color:var(--green);letter-spacing:.08em;font-size:9px;font-weight:700}.mode-select-heading h1{margin-top:8px;font-size:clamp(25px,4vw,36px);font-weight:720}.mode-select-heading p{color:var(--muted);margin-top:8px;font-size:11px}.mode-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.mode-card{border:1px solid var(--line);min-height:230px;color:var(--ink);text-align:left;background:var(--surface);border-radius:9px;grid-template-columns:48px minmax(0,1fr);gap:14px;padding:22px;transition:transform .16s,border-color .16s,box-shadow .16s;display:grid}.mode-card:hover{border-color:#9bb7aa;transform:translateY(-2px);box-shadow:0 14px 34px #18231f17}.mode-card-local{background:#f8fcf9;border-color:#bcd8ca}.mode-card-icon{width:48px;height:48px;color:var(--green);background:var(--green-soft);border-radius:9px;place-items:center;display:grid}.mode-card-icon.shared{color:#3f6f9e;background:var(--blue-soft)}.mode-card>span:nth-child(2){flex-direction:column;display:flex}.mode-card small{color:var(--muted);font-size:8px}.mode-card strong{margin-top:4px;font-size:18px;font-weight:700}.mode-card p{color:var(--muted);margin-top:9px;font-size:10px;line-height:1.65}.mode-card-action{border-top:1px solid var(--line);color:var(--ink-soft);grid-column:1/-1;justify-content:space-between;align-self:end;align-items:center;padding-top:15px;font-size:10px;font-weight:650;display:flex}.mode-security-note{color:#4f6d80;background:#f2f7fa;border-radius:7px;align-items:center;gap:8px;margin-top:17px;padding:11px 13px;font-size:9px;display:flex}.local-access-page{grid-template-columns:minmax(320px,.82fr) minmax(430px,1.18fr);display:grid}.local-access-story{color:#e8f1ec;background:radial-gradient(circle at 20% 15%,#489f7a33,#0000 32%),#14231e;min-height:100vh;padding:42px}.local-access-story-inner{flex-direction:column;justify-content:space-between;min-height:calc(100vh - 84px);display:flex}.local-story-copy>span{color:#8ec6aa;align-items:center;gap:7px;font-size:10px;display:inline-flex}.local-story-copy h1{color:#f4f8f5;max-width:430px;margin-top:16px;font-size:clamp(32px,4.5vw,54px);font-weight:730;line-height:1.13}.local-story-copy p{color:#93a89c;max-width:420px;margin-top:16px;font-size:11px;line-height:1.75}.local-story-points{flex-wrap:wrap;gap:9px;display:flex}.local-story-points span{color:#b5cfc1;background:#8cccae0f;border:1px solid #94d2b526;border-radius:7px;align-items:center;gap:7px;padding:9px 11px;font-size:9px;display:inline-flex}.local-access-panel{place-items:center;padding:40px;display:grid}.local-access-form-wrap{width:min(460px,100%)}.local-back-button{color:var(--muted);background:0 0;align-items:center;gap:6px;margin-bottom:26px;padding:0;font-size:9px;display:inline-flex}.local-back-button:hover{color:var(--green)}.local-access-heading{margin-bottom:24px}.local-access-heading h2{font-size:27px;font-weight:720}.local-access-heading p{color:var(--muted);margin-top:6px;font-size:10px}.local-backup-divider{background:var(--line);height:1px;margin:18px 0}.local-import-file{margin-top:2px}.local-mode-description{color:var(--muted);font-size:10px;line-height:1.7}@media (width<=820px){.mode-card-grid,.local-access-page{grid-template-columns:1fr}.local-access-story{min-height:auto;padding:28px 22px}.local-access-story-inner{gap:32px;min-height:280px}.local-access-panel{padding:28px 20px 48px}}@media (width<=560px){.mode-select-page{padding:14px}.mode-select-shell{padding:22px 16px}.mode-card{min-height:200px;padding:17px}.mode-select-heading{margin:24px 0 18px}}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;display:grid}.summary-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-height:126px;padding:14px 15px 13px;position:relative;overflow:hidden}.summary-card:before{content:"";width:3px;position:absolute;inset:0 auto 0 0}.summary-green:before{background:var(--green)}.summary-red:before{background:var(--red)}.summary-ink:before{background:var(--ink)}.summary-amber:before{background:var(--amber)}.summary-card-top{justify-content:space-between;align-items:center;display:flex}.summary-icon{width:30px;height:30px;color:var(--green);background:var(--green-soft);border-radius:6px;place-items:center;display:grid}.summary-red .summary-icon{color:var(--red);background:var(--red-soft)}.summary-ink .summary-icon{color:var(--ink-soft);background:#edf0ee}.summary-amber .summary-icon{color:var(--amber);background:var(--amber-soft)}.summary-change{color:var(--red);align-items:center;gap:4px;font-size:9px;font-weight:650;display:flex}.summary-change.is-positive{color:var(--green)}.summary-change small{color:var(--muted-2);font-size:8px;font-weight:400}.summary-note{color:var(--muted-2);font-size:8px}.summary-card>p{color:var(--muted);margin-top:12px;font-size:9px}.summary-card>strong{color:var(--ink);margin-top:1px;font-size:22px;font-weight:700;display:block}.summary-card>strong small{color:var(--muted);margin-right:3px;font-size:11px;font-weight:500}.summary-spark{opacity:.36;align-items:flex-end;gap:2px;width:62px;height:31px;display:flex;position:absolute;bottom:14px;right:14px}.summary-spark i{background:var(--green);border-radius:2px 2px 0 0;width:4px}.summary-red .summary-spark i{background:var(--red)}.summary-ink .summary-spark i{background:var(--ink)}.summary-amber .summary-spark i{background:var(--amber)}.dashboard-chart-row{grid-template-columns:minmax(0,1.62fr) minmax(290px,.82fr);gap:13px;display:grid}.trend-panel,.category-panel,.recent-panel,.account-panel{padding:17px}.chart-legend{color:var(--muted);align-items:center;gap:14px;font-size:9px;display:flex}.chart-legend span{align-items:center;gap:5px;display:inline-flex}.legend-dot{border-radius:2px;width:7px;height:7px;display:inline-block}.legend-dot.income{background:var(--green)}.legend-dot.expense{background:var(--red)}.chart-wrap{height:236px;margin-top:12px}.panel-empty-state{min-height:236px;color:var(--muted);text-align:center;background:#fbfcfa;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:6px;margin-top:12px;padding:24px;display:flex}.panel-empty-state.compact{min-height:170px}.panel-empty-icon{width:43px;height:43px;color:var(--green);background:var(--green-soft);border:1px solid #d9e7df;border-radius:50%;place-items:center;margin-bottom:4px;display:grid}.panel-empty-state strong{color:var(--ink-soft);font-size:11px}.panel-empty-state p{max-width:260px;font-size:9px;line-height:1.6}.panel-empty-state .text-button{margin-top:3px}.category-panel{flex-direction:column;display:flex}.donut-wrap{height:178px;margin-top:3px;position:relative}.donut-center{flex-direction:column;align-items:center;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.donut-center small{color:var(--muted);font-size:8px}.donut-center strong{color:var(--ink);margin-top:2px;font-size:15px}.category-list{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;gap:9px 16px;padding-top:8px;display:grid}.category-list>div,.account-list>div,.account-pie-legend>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.category-list span,.account-list span,.account-pie-legend span{color:var(--muted);align-items:center;gap:6px;font-size:9px;display:inline-flex}.category-list i,.account-list i,.account-pie-legend i{border-radius:2px;width:6px;height:6px;display:inline-block}.category-list strong{color:var(--ink-soft);font-size:9px}.dashboard-bottom-row{grid-template-columns:minmax(0,1.62fr) minmax(290px,.82fr);gap:13px;display:grid}.transaction-list{margin-top:10px}.transaction-row{border-top:1px solid var(--line);grid-template-columns:32px minmax(130px,1.3fr) auto minmax(90px,.75fr) minmax(92px,.7fr);align-items:center;gap:10px;min-height:52px;display:grid}.transaction-icon{border-radius:6px;place-items:center;width:29px;height:29px;display:grid}.transaction-icon.is-income{color:var(--green);background:var(--green-soft)}.transaction-icon.is-expense{color:var(--red);background:var(--red-soft)}.transaction-main{flex-direction:column;gap:2px;min-width:0;display:flex}.transaction-main strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:650;overflow:hidden}.transaction-main span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.detail-calc{color:var(--muted-2)!important;font-size:7px!important}.transaction-meta{color:var(--ink-soft);flex-direction:column;align-items:flex-end;gap:1px;font-size:9px;display:flex}.transaction-meta small{color:var(--muted-2);font-size:8px}.transaction-amount{text-align:right;white-space:nowrap;font-size:10px;font-weight:650}.dashboard-aside{flex-direction:column;gap:13px;display:flex}.account-list{flex-direction:column;gap:10px;margin-top:13px;display:flex}.account-list strong{color:var(--ink-soft);font-size:10px}.account-total{border-top:1px solid var(--line);justify-content:space-between;align-items:center;margin-top:13px;padding-top:12px;display:flex}.account-total span{color:var(--muted);font-size:9px}.account-total strong{color:var(--ink);font-size:13px}.sync-card{background:#f1f8f3;border:1px solid #cee2d6;border-radius:8px;align-items:center;gap:10px;padding:13px 14px;display:flex}.sync-card-icon{width:31px;height:31px;color:var(--green);background:#e0f0e6;border-radius:50%;place-items:center;display:grid}.sync-card>div:nth-child(2){flex-direction:column;flex:1;display:flex}.sync-card strong{color:#1e5e49;font-size:10px}.sync-card span{color:#759083;font-size:8px}.online-devices{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.online-devices>div{display:flex}.online-devices i{color:#fff;background:#517c67;border:1px solid #f1f8f3;border-radius:50%;place-items:center;width:19px;height:19px;margin-left:-5px;font-size:6px;font-style:normal;display:grid}.tip-card{background:#fdf8ef;border:1px solid #ead8bb;border-radius:8px;gap:11px;padding:14px;display:flex}.tip-icon{width:31px;height:31px;color:var(--amber);background:#f6ead6;border-radius:50%;flex:none;place-items:center;display:grid}.tip-card strong{color:#72511e;font-size:10px}.tip-card p{color:#927b59;margin-top:3px;font-size:8px;line-height:1.55}.tip-card button{color:#8a5d18;background:0 0;align-items:center;gap:2px;margin-top:7px;padding:0;font-size:8px;display:inline-flex}.ledger-summary{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));min-height:65px;padding:0;display:grid;overflow:hidden}.ledger-summary>div{border-right:1px solid var(--line);align-items:center;gap:10px;min-width:0;padding:10px 16px;display:flex}.ledger-summary>div+div{padding-left:16px}.ledger-summary-count{border-right:0!important}.ledger-summary-icon{border-radius:7px;place-items:center;width:34px;height:34px;display:grid}.ledger-summary-icon.income{background:var(--green-soft)}.ledger-summary-icon.expense{background:var(--red-soft)}.ledger-summary-icon.pending{color:var(--amber);background:var(--amber-soft)}.ledger-summary>div>span:last-child{flex-direction:column;gap:1px;display:flex}.ledger-summary small{color:var(--muted);font-size:8px}.ledger-summary strong{color:var(--ink);font-size:13px}.ledger-summary em{color:var(--amber);font-size:7px;font-style:normal}.ledger-panel{overflow:hidden}.ledger-toolbar{border-bottom:1px solid var(--line);background:#fbfcfa;align-items:center;gap:9px;padding:14px 16px;display:flex}.search-box{border:1px solid var(--line);width:min(330px,34%);height:34px;color:var(--muted-2);background:var(--surface);border-radius:6px;align-items:center;gap:8px;padding:0 10px;display:flex}.search-box:focus-within{border-color:#83a998;box-shadow:0 0 0 3px #176f560f}.search-box input{min-width:0;color:var(--ink);background:0 0;border:0;flex:1;font-size:10px}.search-box input::placeholder{color:#9ba59f}.segmented-control{border:1px solid var(--line);background:#f3f5f2;border-radius:7px;padding:3px;display:inline-flex}.segmented-control button{min-width:48px;color:var(--muted);background:0 0;border-radius:5px;padding:5px 10px;font-size:9px}.segmented-control button.active{color:var(--ink);background:var(--surface);box-shadow:0 1px 3px #17231e14}.segmented-control.large button{min-width:74px;padding:7px 13px;font-size:10px}.select-control{border:1px solid var(--line);height:34px;color:var(--muted);background:var(--surface);border-radius:6px;align-items:center;gap:6px;padding:0 9px;display:flex}.select-control select{min-width:64px;color:var(--ink-soft);background:0 0;border:0;font-size:9px}.account-select{margin-left:auto}.ledger-table-wrap{overflow-x:auto}.ledger-table{border-collapse:collapse;white-space:nowrap;width:100%}.ledger-table th{border-bottom:1px solid var(--line);color:var(--muted);text-align:left;background:#f8f9f7;padding:10px 13px;font-size:8px;font-weight:600}.ledger-table td{height:55px;color:var(--muted);border-bottom:1px solid #ebefec;padding:8px 13px;font-size:9px}.ledger-table tbody tr:hover{background:#fbfcfa}.ledger-table td>strong,.ledger-table td>small{display:block}.ledger-table td>strong{color:var(--ink-soft);font-size:9px}.ledger-table td>small{color:var(--muted-2);margin-top:2px;font-size:8px}.date-main{color:var(--ink)!important}.account-chip{border:1px solid var(--line);color:var(--ink-soft);background:var(--surface-soft);border-radius:20px;padding:4px 7px;font-size:8px;display:inline-flex}.receipt-toggle{white-space:nowrap;border-radius:20px;align-items:center;gap:4px;width:fit-content;padding:4px 7px;font-size:8px;font-weight:650;display:inline-flex}.receipt-toggle.received{color:var(--green);background:var(--green-soft)}.receipt-toggle.unreceived{color:var(--amber);background:var(--amber-soft)}.receipt-toggle:hover:not(:disabled){filter:brightness(.97)}.receipt-toggle:disabled{cursor:default;opacity:.72}.receipt-toggle.compact{padding:3px 5px;font-size:7px}.receipt-switch{border:1px solid var(--line);background:#f6f8f5;border-radius:7px;gap:3px;padding:3px;display:inline-flex}.receipt-switch button{color:var(--muted);white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:5px;align-items:center;gap:3px;padding:4px 6px;font-size:8px;display:inline-flex}.receipt-switch button:hover:not(:disabled){color:var(--ink-soft);background:var(--surface)}.receipt-switch button.active.received{color:var(--green);background:var(--green-soft);border-color:#c9dfd2}.receipt-switch button.active.unreceived{color:var(--amber);background:var(--amber-soft);border-color:#ead8b8}.receipt-switch button:disabled{cursor:default;opacity:.62}.receipt-switch.compact{gap:2px;padding:2px}.receipt-switch.compact button{padding:3px 5px;font-size:7px}.receipt-na{color:var(--muted-2);font-size:8px}.sync-pending-badge{color:#7b5b2b;white-space:nowrap;background:#f5ead8;border-radius:10px;align-items:center;gap:4px;width:fit-content;margin-top:5px;padding:3px 6px;font-size:7px;font-weight:650;display:inline-flex}.ledger-mobile-item .sync-pending-badge{vertical-align:middle;margin:0 0 0 6px}.align-right{text-align:right!important}.amount-cell{font-weight:650;font-size:10px!important}.row-actions{width:44px}.ledger-mobile-list{display:none}.empty-state{min-height:230px;color:var(--muted-2);flex-direction:column;justify-content:center;align-items:center;gap:7px;display:flex}.empty-state strong{color:var(--ink-soft);font-size:11px}.empty-state span{margin-bottom:5px;font-size:9px}.ledger-footer{color:var(--muted);background:#fbfcfa;justify-content:space-between;align-items:center;padding:11px 16px;font-size:8px;display:flex}.pagination{align-items:center;gap:6px;display:flex}.pagination button{border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:5px;padding:5px 8px;font-size:8px}.pagination span{color:#fff;background:var(--green);border-radius:5px;place-items:center;width:24px;height:24px;display:grid}.delete-preview{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;flex-direction:column;align-items:center;gap:5px;margin:5px 0 22px;padding:22px;display:flex}.delete-preview>span{color:var(--muted);font-size:9px}.delete-preview>strong{font-size:24px}.delete-preview>small{color:var(--muted);font-size:9px}.report-controls{justify-content:space-between;align-items:center;gap:14px;display:flex}.report-period{color:var(--muted);align-items:center;gap:6px;font-size:9px;display:inline-flex}.report-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;display:grid}.report-metric{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:flex-start;gap:11px;min-height:112px;padding:16px;display:flex}.report-metric-icon{width:32px;height:32px;color:var(--green);background:var(--green-soft);border-radius:6px;flex:none;place-items:center;display:grid}.metric-expense .report-metric-icon{color:var(--red);background:var(--red-soft)}.metric-receivable .report-metric-icon{color:var(--amber);background:var(--amber-soft)}.metric-net .report-metric-icon{color:var(--ink-soft);background:#edf0ee}.metric-note .report-metric-icon{color:var(--amber);background:var(--amber-soft)}.report-metric>div{flex-direction:column;gap:3px;display:flex}.report-metric small{color:var(--muted);font-size:8px}.report-metric strong{color:var(--ink);font-size:19px;font-weight:700}.report-metric strong span{color:var(--muted);margin-right:2px;font-size:10px;font-weight:500}.report-metric>div>span{color:var(--green);font-size:8px}.metric-note>div>span{color:var(--muted)}.report-main-grid{grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:13px;display:grid}.report-chart-panel,.report-expense-panel,.daily-report-panel,.account-analysis-panel{padding:17px}.report-chart-wrap{height:265px;margin-top:13px}.expense-ranking{flex-direction:column;gap:16px;margin-top:18px;display:flex}.ranking-item>div{grid-template-columns:24px minmax(55px,.8fr) 1fr auto;align-items:center;gap:7px;display:grid}.ranking-number{color:var(--muted-2);font-variant-numeric:tabular-nums;font-size:8px}.ranking-item strong{color:var(--ink-soft);font-size:9px}.ranking-item div>span:nth-child(3){color:var(--muted);text-align:right;font-size:8px}.ranking-item small{color:var(--ink-soft);font-size:8px;font-weight:650}.ranking-track{background:#eef1ee;border-radius:4px;height:4px;margin:6px 0 0 31px;display:block;overflow:hidden}.ranking-track i{border-radius:inherit;height:100%;display:block}.report-bottom-grid{grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:13px;display:grid}.daily-report-table{margin-top:12px}.daily-report-head,.daily-report-row{grid-template-columns:1.1fr .9fr .9fr .9fr;align-items:center;gap:12px;display:grid}.daily-report-head{color:var(--muted);background:#f6f8f5;border-radius:5px;padding:8px 10px;font-size:8px}.daily-report-row{border-bottom:1px solid #edf0ed;min-height:40px;padding:0 10px;font-size:9px}.daily-report-row strong{color:var(--ink-soft);font-size:9px}.daily-report-row span{font-size:9px}.account-pie-row{grid-template-columns:150px 1fr;align-items:center;gap:12px;min-height:216px;display:grid}.account-pie{height:150px;position:relative}.account-pie>span{flex-direction:column;align-items:center;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.account-pie small{color:var(--muted);font-size:8px}.account-pie strong{font-size:13px}.account-pie-legend{flex-direction:column;gap:12px;display:flex}.account-pie-legend strong{color:var(--ink-soft);font-size:9px}.report-account-list{flex-direction:column;gap:15px;margin-top:20px;display:flex}.report-account-item>div{justify-content:space-between;align-items:center;gap:12px;display:flex}.report-account-item>div span{color:var(--muted);align-items:center;gap:7px;font-size:9px;display:inline-flex}.report-account-item span i{border-radius:2px;width:7px;height:7px}.report-account-item strong{font-size:9px}.report-account-track{background:#eef1ee;border-radius:5px;height:5px;margin-top:7px;display:block;overflow:hidden}.report-account-track i{border-radius:inherit;height:100%;display:block}.report-account-total{border-top:1px solid var(--line);justify-content:space-between;align-items:center;margin-top:2px;padding-top:13px;display:flex}.report-account-total span{color:var(--muted);font-size:9px}.report-account-total strong{color:var(--ink);font-size:13px}.team-summary-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.team-summary-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:center;gap:11px;min-height:82px;padding:14px 16px;display:flex}.team-summary-icon{border-radius:7px;flex:none;place-items:center;width:36px;height:36px;display:grid}.team-summary-icon.green{color:var(--green);background:var(--green-soft)}.team-summary-icon.blue{color:var(--blue);background:var(--blue-soft)}.team-summary-icon.amber{color:var(--amber);background:var(--amber-soft)}.team-summary-card>div{flex-direction:column;display:flex}.team-summary-card small{color:var(--muted);font-size:8px}.team-summary-card strong{color:var(--ink);font-size:19px}.team-summary-card>span:last-child{color:var(--muted-2);margin-left:auto;font-size:8px}.team-content-grid{grid-template-columns:minmax(0,1.55fr) minmax(290px,.7fr);gap:13px;display:grid}.team-list-panel,.role-template-panel{padding:17px}.team-list{margin-top:12px}.team-member{border-top:1px solid var(--line);grid-template-columns:38px minmax(100px,1fr) 82px minmax(100px,.65fr) auto;align-items:center;gap:10px;min-height:61px;display:grid}.team-member.disabled{opacity:.6}.team-member-main{flex-direction:column;min-width:0;display:flex}.team-member-main>div{align-items:center;gap:5px;display:flex}.team-member-main strong{color:var(--ink);font-size:10px}.team-member-main span{color:var(--muted);font-size:8px}.self-tag{background:var(--green-soft);border-radius:10px;padding:2px 5px;color:var(--green)!important;font-size:7px!important}.team-member-activity{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.team-member-activity span{color:var(--muted);align-items:center;gap:4px;font-size:8px;display:inline-flex}.team-member-activity i{background:#aab1ad;border-radius:50%;width:5px;height:5px}.team-member-activity span.is-active{color:var(--green)}.team-member-activity span.is-active i{background:#32a66d}.team-member-activity small{color:var(--muted-2);font-size:7px}.team-member-actions{align-items:center;gap:3px;display:flex}.team-side-column{flex-direction:column;gap:13px;display:flex}.role-template-list{flex-direction:column;gap:15px;margin-top:17px;display:flex}.role-template-list>div{align-items:flex-start;gap:10px;display:flex}.role-template-icon{width:28px;height:28px;color:var(--green);background:var(--green-soft);border-radius:6px;flex:none;place-items:center;display:grid}.role-template-icon.role-管理人{color:var(--blue);background:var(--blue-soft)}.role-template-icon.role-记账员{color:var(--amber);background:var(--amber-soft)}.role-template-icon.role-查看人员{color:var(--muted);background:#f0f1ef}.role-template-list strong{color:var(--ink-soft);font-size:9px}.role-template-list p{color:var(--muted);margin-top:2px;font-size:8px;line-height:1.5}.security-tip{background:#faf7f0;border:1px solid #e4dccd;border-radius:8px;padding:15px}.security-tip>div{width:31px;height:31px;color:var(--amber);background:#f2e8d8;border-radius:50%;place-items:center;margin-bottom:9px;display:grid}.security-tip strong{color:#6e552e;font-size:10px}.security-tip p{color:#8c795c;margin-top:4px;font-size:8px;line-height:1.6}.role-preview{color:var(--green);background:#f2f8f4;border:1px solid #d9e8df;border-radius:7px;align-items:flex-start;gap:9px;padding:11px;display:flex}.role-preview>div{flex-direction:column;gap:2px;display:flex}.role-preview strong{color:#28634e;font-size:9px}.role-preview span{color:#668477;font-size:8px;line-height:1.55}.member-edit-section{border-top:1px solid var(--line);justify-content:space-between;align-items:center;padding-top:3px;display:flex}.member-edit-section>div{flex-direction:column;gap:2px;display:flex}.member-edit-section strong{color:var(--ink-soft);font-size:10px}.member-edit-section span{color:var(--muted);font-size:8px;line-height:1.5}.permission-list{grid-template-columns:1fr 1fr;gap:8px;display:grid}.permission-item{border:1px solid var(--line);cursor:pointer;border-radius:7px;align-items:flex-start;gap:9px;padding:11px;display:flex;position:relative}.permission-item:hover{border-color:var(--line-strong);background:#fbfcfa}.permission-item input{opacity:0;position:absolute}.custom-check{border:1px solid var(--line-strong);color:#0000;background:var(--surface);border-radius:4px;flex:none;place-items:center;width:16px;height:16px;display:grid}.permission-item input:checked+.custom-check{border-color:var(--green);color:#fff;background:var(--green)}.permission-item:has(input:disabled){cursor:not-allowed;opacity:.62;background:#f7f8f6}.permission-item>span:last-child{flex-direction:column;gap:2px;display:flex}.permission-item strong{color:var(--ink-soft);font-size:9px}.permission-item small{color:var(--muted);font-size:8px}.permission-warning{color:#80652f;background:var(--amber-soft);border-radius:6px;align-items:center;gap:7px;padding:9px 10px;font-size:8px;display:flex}.install-guide{flex-direction:column;gap:9px;display:flex}.install-guide-step{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;align-items:flex-start;gap:11px;padding:12px;display:flex}.install-step-icon{width:35px;height:35px;color:var(--green);background:var(--green-soft);border-radius:7px;flex:none;place-items:center;display:grid}.install-guide-step>div{flex-direction:column;gap:1px;display:flex}.install-guide-step small{color:var(--green);font-size:7px;font-weight:700}.install-guide-step strong{color:var(--ink);font-size:10px}.install-guide-step p{color:var(--muted);font-size:8px;line-height:1.55}.install-note{color:#76613d;background:var(--amber-soft);border-radius:6px;margin-top:12px;padding:10px 11px;font-size:8px;line-height:1.55}.audit-summary-row{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:center;min-height:66px;padding:9px 16px;display:flex}.audit-summary-item{border-right:1px solid var(--line);align-items:center;gap:10px;min-width:190px;padding-right:24px;display:flex}.audit-summary-item+.audit-summary-item{padding-left:24px}.audit-summary-icon{border-radius:7px;place-items:center;width:33px;height:33px;display:grid}.audit-summary-icon.green{color:var(--green);background:var(--green-soft)}.audit-summary-icon.blue{color:var(--blue);background:var(--blue-soft)}.audit-summary-icon.red{color:var(--red);background:var(--red-soft)}.audit-summary-item>div{flex-direction:column;display:flex}.audit-summary-item small{color:var(--muted);font-size:8px}.audit-summary-item strong{color:var(--ink);font-size:12px}.audit-retention{color:var(--muted);align-items:center;gap:6px;margin-left:auto;font-size:8px;display:flex}.audit-panel{overflow:hidden}.audit-toolbar .select-control:last-child{margin-left:auto}.audit-list{padding:0 16px}.audit-list-head,.audit-row{grid-template-columns:1.1fr .7fr 1fr 1.65fr .8fr;align-items:center;gap:14px;display:grid}.audit-list-head{min-height:36px;color:var(--muted);background:#f8f9f7;font-size:8px}.audit-row{border-top:1px solid var(--line);min-height:62px;color:var(--muted);font-size:9px}.audit-action{align-items:center;gap:8px;display:flex}.audit-action strong{color:var(--ink-soft);font-size:9px}.audit-action-icon{border-radius:6px;flex:none;place-items:center;width:28px;height:28px;display:grid}.audit-action-icon.green{color:var(--green);background:var(--green-soft)}.audit-action-icon.blue{color:var(--blue);background:var(--blue-soft)}.audit-action-icon.red{color:var(--red);background:var(--red-soft)}.audit-action-icon.amber{color:var(--amber);background:var(--amber-soft)}.audit-operator,.audit-target{color:var(--ink-soft)}.audit-target,.audit-detail{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.audit-row time{color:var(--muted-2);text-align:right}.settings-grid{grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:13px;display:grid}.settings-grid.second{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.settings-main-panel,.network-panel,.backup-panel,.categories-panel{padding:18px}.settings-form{flex-direction:column;gap:13px;margin-top:20px;display:flex}.form-grid{gap:13px;display:grid}.form-grid.two{grid-template-columns:1fr 1fr}.settings-save{align-self:flex-start}.inline-success{color:#28634e;background:#f1f8f4;border:1px solid #cbe1d4;border-radius:7px;align-items:center;gap:7px;padding:10px 12px;font-size:9px;display:flex}.online-pill{color:var(--green);background:var(--green-soft);border-radius:20px;align-items:center;gap:5px;padding:5px 8px;font-size:8px;display:inline-flex}.online-pill i{background:#2e9f69;border-radius:50%;width:5px;height:5px}.server-overview{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;align-items:center;gap:11px;margin-top:18px;padding:14px;display:flex}.server-icon{width:42px;height:42px;color:var(--green);background:var(--green-soft);border-radius:7px;flex:none;place-items:center;display:grid}.server-overview>div:last-child{flex-direction:column;gap:2px;display:flex}.server-overview strong{color:var(--ink);font-size:10px}.server-overview span{color:var(--muted);font-size:8px}.network-stats{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px;display:grid}.network-stats>div{border:1px solid var(--line);border-radius:6px;grid-template-columns:auto 1fr;gap:2px 6px;padding:10px;display:grid}.network-stats svg{color:var(--muted-2);grid-row:span 2}.network-stats span{color:var(--muted);font-size:7px}.network-stats strong{color:var(--ink-soft);font-size:9px}.private-network-note{color:#6f6551;background:#faf7f1;border-radius:6px;align-items:flex-start;gap:7px;margin-top:12px;padding:9px 10px;font-size:8px;line-height:1.5;display:flex}.private-network-note svg{color:var(--amber);flex:none}.backup-status{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;align-items:center;gap:11px;margin-top:17px;padding:14px;display:flex}.backup-icon{width:40px;height:40px;color:var(--blue);background:var(--blue-soft);border-radius:50%;flex:none;place-items:center;display:grid}.backup-status>div{flex-direction:column;gap:2px;display:flex}.backup-status small{color:var(--muted);font-size:8px}.backup-status strong{color:var(--ink);font-size:11px}.backup-status span{color:var(--muted);font-size:8px}.setting-toggle{border-bottom:1px solid var(--line);cursor:pointer;align-items:center;gap:10px;margin-top:13px;padding:12px 0;display:flex}.setting-toggle>span:first-child{flex-direction:column;flex:1;gap:2px;display:flex}.setting-toggle strong{color:var(--ink-soft);font-size:9px}.setting-toggle small{color:var(--muted);font-size:8px}.setting-toggle input{opacity:0;position:absolute}.toggle-track{background:#c9d0cb;border-radius:20px;flex:none;width:34px;height:19px;transition:background-color .16s;position:relative}.toggle-track i{background:#fff;border-radius:50%;width:13px;height:13px;transition:transform .16s;position:absolute;top:3px;left:3px}.setting-toggle input:checked+.toggle-track{background:var(--green)}.setting-toggle input:checked+.toggle-track i{transform:translate(15px)}.backup-actions{justify-content:space-between;align-items:center;gap:10px;margin-top:13px;display:flex}.backup-actions span{color:var(--muted-2);font-size:7px}.category-setting-group{flex-direction:column;gap:7px;margin-top:14px;display:flex}.category-setting-group>span{color:var(--muted);font-size:8px}.category-setting-group>div{flex-wrap:wrap;gap:6px;display:flex}.category-setting-group i{border:1px solid var(--line);color:var(--ink-soft);background:var(--surface-soft);border-radius:20px;padding:5px 8px;font-size:8px;font-style:normal}.categories-panel .full-button{margin-top:16px}.category-custom-note{color:#668477;background:var(--green-soft);border-radius:6px;margin-top:14px;padding:9px 10px;font-size:8px;line-height:1.55}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0c16127a;place-items:center;padding:24px;animation:.14s ease-out fade-in;display:grid;position:fixed;inset:0;overflow-y:auto}.modal-panel{background:var(--surface);width:min(100%,470px);max-height:calc(100vh - 48px);box-shadow:var(--shadow-lg);border:1px solid #ffffff42;border-radius:8px;padding:20px;animation:.18s ease-out modal-in;overflow-y:auto}.modal-panel.modal-wide{width:min(100%,620px)}.modal-panel.modal-xwide{width:min(100%,920px)}.modal-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.modal-head h2{color:var(--ink);font-size:18px;font-weight:700}.modal-description{color:var(--muted);margin-top:5px;font-size:9px;line-height:1.55}.modal-actions{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:8px;margin-top:20px;padding-top:15px;display:flex}.modal-form{flex-direction:column;gap:14px;display:flex}.transaction-form{flex-direction:column;gap:15px;display:flex}.transaction-type-switch{grid-template-columns:1fr 1fr;gap:7px;display:grid}.transaction-type-switch button{border:1px solid var(--line);height:42px;color:var(--muted);background:var(--surface);border-radius:7px;justify-content:center;align-items:center;gap:7px;font-size:10px;display:flex}.transaction-type-switch button.active.expense{color:var(--red);background:var(--red-soft);border-color:#e5afa4}.transaction-type-switch button.active.income{color:var(--green);background:var(--green-soft);border-color:#adcfbd}.transaction-import-shortcuts{background:#f7faf8;border:1px solid #dce6e0;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;display:flex}.transaction-import-shortcuts>span{min-width:0;color:var(--green);align-items:center;gap:9px;display:flex}.transaction-import-shortcuts>span>span{flex-direction:column;gap:2px;display:flex}.transaction-import-shortcuts strong{color:var(--ink-soft);font-size:9px}.transaction-import-shortcuts small{color:var(--muted);font-size:8px}.transaction-import-shortcuts>div{flex:none;gap:6px;display:flex}.transaction-import-shortcuts label{height:34px;color:var(--red);white-space:nowrap;background:var(--surface);cursor:pointer;border:1px solid #e5afa4;border-radius:6px;align-items:center;gap:5px;padding:0 10px;font-size:9px;font-weight:650;display:inline-flex}.transaction-import-shortcuts label.income{color:var(--green);border-color:#adcfbd}.transaction-import-shortcuts label:hover{background:var(--red-soft)}.transaction-import-shortcuts label.income:hover{background:var(--green-soft)}.transaction-import-shortcuts input{display:none}.receipt-choice{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.receipt-choice>span{color:var(--muted);font-size:9px}.receipt-choice>div{gap:5px;display:flex}.receipt-choice button{border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:6px;align-items:center;gap:5px;padding:6px 9px;font-size:8px;display:inline-flex}.receipt-choice button.active.received{color:var(--green);background:var(--green-soft);border-color:#b5d5c3}.receipt-choice button.active.unreceived{color:var(--amber);background:var(--amber-soft);border-color:#e4ceaa}.amount-field{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;flex-direction:column;gap:6px;padding:13px 15px;display:flex}.amount-field>span{color:var(--muted);font-size:8px}.amount-field>div{align-items:center;gap:5px;display:flex}.amount-field strong{color:var(--ink-soft);font-size:20px;font-weight:500}.amount-field input{width:100%;color:var(--ink);background:0 0;border:0;font-size:29px;font-weight:700}.amount-field input::placeholder{color:#bcc4bf}.receipt-upload{border:1px dashed var(--line-strong);cursor:pointer;border-radius:7px;align-items:center;gap:10px;padding:12px;display:flex}.receipt-upload:hover{background:#fbfcfa;border-color:#93afa0}.receipt-upload input{opacity:0;width:1px;height:1px;position:absolute}.receipt-upload-icon{width:34px;height:34px;color:var(--green);background:var(--green-soft);border-radius:6px;flex:none;place-items:center;display:grid}.receipt-upload>span:last-child{flex-direction:column;gap:2px;min-width:0;display:flex}.receipt-upload strong{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.receipt-upload small{color:var(--muted);font-size:8px}.quote-upload-step{flex-direction:column;gap:12px;display:flex}.chat-import-card{background:#f3f8fa;border:1px solid #d8e4ea;border-radius:8px;padding:14px}.chat-import-head{align-items:center;gap:10px;display:flex}.chat-import-head>span{width:38px;height:38px;color:var(--blue);background:var(--blue-soft);border-radius:8px;flex:none;place-items:center;display:grid}.chat-import-head>div{flex-direction:column;gap:2px;display:flex}.chat-import-head strong{color:var(--ink);font-size:11px}.chat-import-head small{color:var(--muted);font-size:8px}.chat-import-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0;display:grid}.chat-import-steps span{color:var(--muted);background:#ffffffad;border:1px solid #dfe8ec;border-radius:6px;flex-direction:column;gap:5px;padding:9px;font-size:8px;line-height:1.45;display:flex}.chat-import-steps b{color:#fff;background:var(--blue);border-radius:50%;place-items:center;width:18px;height:18px;font-size:7px;display:grid}.chat-app-actions{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:9px;display:grid}.chat-app-actions .button{width:100%;color:var(--blue);background:#f8fbfc;border-color:#d2e1e8}.chat-open-hint{color:#56727d;background:#eaf3f6;border-radius:5px;margin-bottom:8px;padding:7px 9px;font-size:8px;line-height:1.5}.chat-import-card>p{color:#7c8a91;text-align:center;margin-top:8px;font-size:7px;line-height:1.55}.chat-share-note{color:#607983;background:#f0f6f8;border-radius:6px;align-items:flex-start;gap:7px;padding:9px 10px;font-size:8px;line-height:1.55;display:flex}.chat-share-note svg{color:var(--blue);flex:none}.quote-dropzone{border:1px dashed var(--line-strong);text-align:center;background:var(--surface-soft);cursor:pointer;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:230px;padding:24px;display:flex}.quote-dropzone:hover{background:#f7faf8;border-color:#94ad9f}.quote-dropzone input{opacity:0;width:1px;height:1px;position:absolute}.quote-upload-icon{width:52px;height:52px;color:var(--green);background:var(--green-soft);border-radius:50%;place-items:center;margin-bottom:4px;display:grid}.quote-dropzone strong{color:var(--ink);font-size:12px}.quote-dropzone>span:not(.quote-upload-icon){color:var(--muted);margin-bottom:5px;font-size:9px}.quote-format-note{color:#756441;background:var(--amber-soft);border-radius:6px;padding:10px 11px;font-size:8px;line-height:1.6}.quote-format-note a{color:#855e1e;text-underline-offset:2px;margin-left:8px;font-weight:650;text-decoration:underline;display:inline-block}.quote-preview-step{flex-direction:column;gap:12px;display:flex}.quote-preview-head{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:11px;display:flex}.quote-preview-head>div{align-items:center;gap:9px;min-width:0;display:flex}.quote-file-icon{width:35px;height:35px;color:var(--green);background:var(--green-soft);border-radius:7px;flex:none;place-items:center;display:grid}.quote-preview-head>div>span:last-child{flex-direction:column;gap:2px;min-width:0;display:flex}.quote-preview-head strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.quote-preview-head small{color:var(--muted);font-size:8px}.quote-detection{justify-content:space-between;align-items:center;gap:14px;display:flex}.quote-detection>div:first-child{flex-direction:column;gap:2px;display:flex}.quote-detection small{color:var(--muted);font-size:8px}.quote-detection strong{color:var(--ink-soft);font-size:9px}.quote-type-switch{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;gap:4px;padding:3px;display:inline-flex}.quote-type-switch button{color:var(--muted);background:0 0;border-radius:5px;align-items:center;gap:5px;padding:6px 9px;font-size:8px;display:inline-flex}.quote-type-switch button.active.income{color:var(--green);background:var(--green-soft)}.quote-type-switch button.active.expense{color:var(--red);background:var(--red-soft)}.quote-settings{grid-template-columns:minmax(140px,.7fr) minmax(250px,1.3fr);align-items:end;gap:10px;display:grid}.quote-receipt-choice{min-height:40px;padding:7px 10px}.quote-warning{color:#80652f;background:var(--amber-soft);border-radius:6px;align-items:flex-start;gap:7px;padding:9px 10px;font-size:8px;line-height:1.55;display:flex}.quote-warning svg{flex:none}.quote-preview-table{border:1px solid var(--line);border-radius:7px;overflow-x:auto}.quote-preview-table-head,.quote-preview-row{grid-template-columns:42px minmax(115px,1.15fr) minmax(100px,1fr) minmax(80px,.75fr) 58px 50px 78px 82px;align-items:center;gap:5px;min-width:700px;display:grid}.quote-preview-table-head{min-height:35px;color:var(--muted);background:#f6f8f5;padding:0 9px;font-size:8px}.quote-preview-list{max-height:290px;overflow-y:auto}.quote-preview-row{border-top:1px solid var(--line);min-height:43px;padding:5px 9px}.quote-preview-row input:not([type=checkbox]){border:1px solid var(--line);width:100%;min-width:0;height:31px;color:var(--ink-soft);background:var(--surface);border-radius:5px;padding:0 7px;font-size:8px}.quote-preview-row input[type=number]{text-align:right}.quote-preview-row input.quote-calculated-amount{color:var(--green);background:var(--green-soft);font-weight:700}.quote-row-check{color:var(--muted);align-items:center;gap:5px;font-size:8px;display:flex}.quote-row-check input{width:13px;height:13px;accent-color:var(--green)}.quote-row-check>span{display:none}.quote-import-summary{color:var(--muted);background:var(--green-soft);border-radius:6px;justify-content:space-between;align-items:center;gap:12px;padding:10px 11px;font-size:9px;display:flex}.quote-import-summary strong{color:var(--green);font-size:11px}.quote-formula-note{color:#7a8d82;font-size:8px}.toast{z-index:150;color:#235942;min-width:280px;max-width:430px;box-shadow:var(--shadow-lg);background:#f2f9f5;border:1px solid #cbe1d4;border-radius:8px;align-items:center;gap:9px;padding:12px 13px;font-size:10px;animation:.18s ease-out toast-in;display:flex;position:fixed;bottom:24px;right:24px}.toast>span{flex:1}.toast button{color:#6b8577;background:0 0;border-radius:5px;place-items:center;width:24px;height:24px;display:grid}.toast.is-error{color:#8f3525;background:#fdf1ee;border-color:#efcfc7}.toast.is-error>svg{color:var(--red)}.server-loading{min-height:100vh;color:var(--muted);background:linear-gradient(#18231f05 1px, transparent 1px), linear-gradient(90deg, #18231f05 1px, transparent 1px), var(--canvas);background-size:26px 26px;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.server-loading-mark{width:52px;height:52px;color:var(--green);background:var(--green-soft);border:1px solid #d6e2db;border-radius:8px;place-items:center;margin-bottom:8px;display:grid}.server-loading>svg{color:var(--green)}.server-loading strong{color:var(--ink);font-size:14px}.server-loading p{font-size:10px}.spin{animation:1s linear infinite spin}.mobile-nav,.mobile-sheet-backdrop{display:none}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-in{0%{opacity:0;transform:translateY(8px)scale(.99)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1200px){.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-card{min-height:116px}.dashboard-chart-row,.dashboard-bottom-row,.report-main-grid,.report-bottom-grid{grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr)}.report-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-member{grid-template-columns:38px minmax(100px,1fr) 80px auto}.team-member-activity{display:none}}@media (width<=1000px){.sidebar{width:218px}.workspace{margin-left:218px}.sidebar{padding-left:12px;padding-right:12px}.dashboard-chart-row,.dashboard-bottom-row,.report-main-grid,.report-bottom-grid,.team-content-grid,.settings-grid,.settings-grid.second{grid-template-columns:1fr}.dashboard-aside{grid-template-columns:1fr 1fr;display:grid}.account-panel{grid-row:span 2}.team-member{grid-template-columns:38px minmax(100px,1fr) 80px minmax(100px,.7fr) auto}.team-member-activity{display:flex}.team-side-column{grid-template-columns:1.2fr .8fr;display:grid}.ledger-toolbar{flex-wrap:wrap}.search-box{width:100%}.account-select{margin-left:0}.audit-summary-row{flex-wrap:wrap}.audit-retention{border-top:1px solid var(--line);width:100%;margin-top:7px;padding-top:7px}}@media (width<=880px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:60px;padding:0 18px}.mobile-brand{align-items:center;gap:8px;display:flex}.mobile-brand .brand-mark{border-color:var(--line);width:31px;height:31px;color:var(--green);background:var(--green-soft)}.mobile-brand strong{color:var(--ink);font-size:14px}.topbar-context{display:none}.main-content{padding:22px 18px 94px}.mobile-nav{z-index:50;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff5;border:1px solid #cdd6d0e6;border-radius:12px;grid-template-columns:repeat(4,1fr);height:62px;padding:5px 8px;display:grid;position:fixed;bottom:10px;left:10px;right:10px;box-shadow:0 12px 34px #14231e24}.mobile-nav button{color:var(--muted);background:0 0;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:8px;display:flex}.mobile-nav button.active{color:var(--green);background:var(--green-soft)}.mobile-sheet-backdrop{z-index:90;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0c161266;justify-content:center;align-items:flex-end;padding:12px;display:flex;position:fixed;inset:0}.mobile-sheet{background:var(--surface);width:100%;box-shadow:var(--shadow-lg);border-radius:12px;padding:17px;animation:.16s ease-out modal-in}.mobile-sheet-head{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.mobile-sheet-head>div{flex-direction:column;gap:2px;display:flex}.mobile-sheet-head strong{font-size:13px}.mobile-sheet-head span{color:var(--muted);font-size:9px}.mobile-more-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.mobile-more-grid button{border:1px solid var(--line);min-height:70px;color:var(--ink-soft);background:var(--surface-soft);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:7px;font-size:9px;display:flex}.mobile-more-grid button:last-child{color:var(--red)}.login-page{background:#f7f8f5;display:block}.login-story{display:none}.login-panel{min-height:100vh;padding:26px}.mobile-login-brand{align-items:center;gap:10px;margin-bottom:52px;display:flex}.mobile-login-brand strong{color:var(--ink)}.mobile-login-brand .login-brand-mark{color:var(--green);background:#edf5f0;border-color:#d6e2db}.mobile-login-brand small{color:var(--muted)}.login-form-wrap{width:min(100%,390px)}.report-metric-grid{grid-template-columns:repeat(2,1fr)}.team-member{grid-template-columns:38px minmax(100px,1fr) 80px auto}.team-member-activity,.ledger-table-wrap{display:none}.ledger-mobile-list{display:block}.ledger-mobile-item{border-bottom:1px solid var(--line);grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:58px;padding:0 14px;display:grid}.ledger-mobile-item>div:nth-child(2){flex-direction:column;gap:2px;min-width:0;display:flex}.ledger-mobile-item>div:nth-child(2) strong{color:var(--ink);font-size:10px}.ledger-mobile-item>div:nth-child(2) small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.mobile-item-side{flex-direction:column;align-items:flex-end;gap:2px;display:flex}.mobile-item-side strong{white-space:nowrap;font-size:10px}.mobile-item-side span{color:var(--muted);font-size:8px}.audit-list{padding:8px 14px 0}.audit-list-head{display:none}.audit-row{grid-template-columns:1fr auto;gap:5px 12px;padding:11px 0;display:grid}.audit-action{grid-column:1}.audit-operator{grid-area:1/2}.audit-target,.audit-detail{grid-column:1/-1}.audit-target:before{color:var(--muted-2);content:"对象："}.audit-detail:before{color:var(--muted-2);content:"详情："}.audit-row time{text-align:right;grid-column:2}}.mobile-more-grid a.mobile-app-download{border:1px solid var(--line);min-height:70px;color:var(--ink-soft);background:var(--surface-soft);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:7px;font-size:9px;text-decoration:none;display:flex}.mobile-more-grid .install-app-trigger{margin-top:0}@media (width<=640px){.desktop-only{display:none!important}.topbar{padding:0 14px}.add-top-button{width:34px;height:34px;min-height:34px;padding:0}.add-top-button span{display:none}.main-content{padding:17px 13px 92px}.page-stack{gap:13px}.page-header{flex-direction:column;align-items:flex-start;gap:12px;min-height:0}.page-header h1{font-size:23px}.page-actions{width:100%}.page-actions .button{flex:1}.summary-grid,.report-metric-grid{gap:9px}.summary-card{min-height:108px;padding:12px}.summary-card>strong{font-size:18px}.summary-card>p{margin-top:9px}.summary-change small,.summary-spark{display:none}.dashboard-chart-row,.dashboard-bottom-row{gap:9px}.trend-panel,.category-panel,.recent-panel,.account-panel,.report-chart-panel,.report-expense-panel,.daily-report-panel,.account-analysis-panel,.team-list-panel,.role-template-panel,.settings-main-panel,.network-panel,.backup-panel,.categories-panel{padding:14px}.chart-wrap{height:210px}.chart-legend{gap:9px}.panel-head h2{font-size:13px}.transaction-row{grid-template-columns:30px minmax(0,1fr) auto;gap:8px;min-height:55px}.transaction-row .badge,.transaction-meta{display:none}.transaction-main strong,.transaction-amount{font-size:10px}.dashboard-aside{display:flex}.account-panel{grid-row:auto}.sync-card,.tip-card{padding:12px}.ledger-summary{grid-template-columns:1fr 1fr;gap:11px;padding:13px;display:grid}.ledger-summary>div{border-right:0;min-width:0;padding:0}.ledger-summary>div+div{padding-left:0}.ledger-summary-count{display:none!important}.ledger-summary strong{font-size:11px}.ledger-toolbar{gap:7px;padding:11px}.segmented-control,.segmented-control button,.select-control{flex:1}.select-control select{width:100%}.account-select{flex-basis:40%}.ledger-mobile-item{padding:0 11px}.ledger-footer{padding:10px 12px}.report-controls{flex-direction:column;align-items:flex-start;gap:8px}.segmented-control.large{width:100%}.report-metric{flex-direction:column;gap:7px;min-height:100px;padding:12px}.report-metric-icon{width:29px;height:29px}.report-metric strong{font-size:15px}.report-metric strong span{font-size:9px}.report-chart-wrap{height:225px}.daily-report-head,.daily-report-row{grid-template-columns:1.15fr .9fr .9fr .9fr;gap:5px}.account-pie-row{grid-template-columns:130px 1fr}.team-summary-row{grid-template-columns:1fr;gap:8px}.team-summary-card{min-height:68px;padding:11px 13px}.team-summary-card>span:last-child{display:none}.team-member{grid-template-columns:36px minmax(0,1fr) auto;gap:8px;padding:9px 0}.team-member>.badge,.team-member-activity{display:none}.team-member-actions .button{width:30px;padding:0;font-size:0}.team-side-column{display:flex}.permission-list{grid-template-columns:1fr}.audit-summary-row{grid-template-columns:1fr 1fr;gap:10px;padding:12px;display:grid}.audit-summary-item{border:0;min-width:0;padding:0!important}.audit-summary-item+.audit-summary-item{padding-left:0}.audit-summary-icon{width:29px;height:29px}.audit-retention{grid-column:1/-1}.audit-toolbar .select-control:last-child{margin-left:0}.audit-toolbar .search-box{width:100%}.form-grid.two{grid-template-columns:1fr}.settings-grid{gap:9px}.network-stats{grid-template-columns:1fr}.backup-actions{flex-direction:column;align-items:flex-start}.login-panel{place-items:start center;padding:22px 20px}.login-form-wrap{padding-top:20px}.mobile-login-brand{margin-bottom:38px}.login-heading h2{font-size:23px}.login-options{flex-direction:column;align-items:flex-start;gap:8px}.modal-backdrop{align-items:end;padding:8px}.modal-panel,.modal-panel.modal-wide,.modal-panel.modal-xwide{border-radius:12px;width:100%;max-height:calc(100vh - 18px);padding:17px}.quote-dropzone{min-height:200px;padding:18px}.chat-import-steps{grid-template-columns:1fr}.chat-import-steps span{flex-direction:row;align-items:center}.quote-detection{flex-direction:column;align-items:stretch}.quote-type-switch{width:100%}.quote-type-switch button{flex:1;justify-content:center}.quote-settings{grid-template-columns:1fr}.quote-preview-head{align-items:flex-start}.quote-preview-table-head,.quote-preview-row{min-width:760px}.toast{min-width:0;bottom:82px;left:12px;right:12px}.mobile-more-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=380px){.summary-card>strong{font-size:16px}.summary-icon{width:27px;height:27px}.report-metric strong{font-size:13px}.chart-wrap,.report-chart-wrap{height:190px}.amount-field input{font-size:24px}}@media (width<=560px){.password-code-row{grid-template-columns:1fr}.password-code-button{width:100%}.transaction-import-shortcuts{flex-direction:column;align-items:stretch}.transaction-import-shortcuts>div{width:100%}.transaction-import-shortcuts label{flex:1;justify-content:center}}
