:root { --bg:#f6f8fa; --surface:#fff; --text:#20252b; --muted:#697580; --line:#e3e8ed; --green:#167854; --green-bg:#edf7f1; --blue:#306ca8; --red:#b84e4e; --sidebar:216px; }
* { box-sizing:border-box; letter-spacing:0; }
body { margin:0; background:var(--bg); color:var(--text); font:15px/1.55 'Segoe UI','Microsoft YaHei',system-ui,sans-serif; }
a { color:inherit; text-decoration:none; } button,input,select { font:inherit; } button,a,input,select,summary { -webkit-tap-highlight-color:transparent; }
button,summary { cursor:pointer; } button { color:inherit; } button:disabled { cursor:not-allowed; opacity:.45; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline:3px solid #9ccfb7; outline-offset:3px; }
input,select { min-width:0; height:38px; border:1px solid #ccd5dd; border-radius:5px; background:white; padding:7px 11px; color:var(--text); }
input:focus,select:focus { outline:2px solid #c7e4d7; border-color:var(--green); } input[type=checkbox] { width:16px; height:16px; accent-color:var(--green); padding:0; }
select { max-width:100%; } form { margin:0; } label { display:block; } h1,h2,h3,p { margin:0; } h1 { font-size:27px; font-weight:650; line-height:1.35; overflow-wrap:anywhere; } h2 { font-size:17px; font-weight:650; } h3 { font-size:15px; } small { font-size:12px; color:var(--muted); } strong { font-weight:600; } em { font-style:normal; }
svg { width:18px; height:18px; stroke-width:1.7; flex-shrink:0; vertical-align:middle; } [hidden] { display:none!important; }
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.skip-link { position:fixed; left:20px; top:-100px; z-index:50; background:white; padding:12px; }.skip-link:focus { top:10px; }
.sidebar { position:fixed; z-index:30; width:var(--sidebar); inset:0 auto 0 0; background:white; border-right:1px solid var(--line); padding:24px 16px; display:flex; flex-direction:column; }
.brand { display:flex; gap:11px; align-items:center; font-size:21px; font-weight:650; white-space:nowrap; }.sidebar .brand { padding:0 9px; }
.brand-icon { display:grid; place-items:center; width:32px; height:32px; border-radius:6px; background:var(--green); color:white; }.brand-icon svg { width:21px; height:21px; }
.nav-label { color:#89939d; font-size:11px; margin:42px 12px 12px; }.nav-item { display:flex; align-items:center; gap:12px; height:44px; padding:0 12px; border-radius:5px; color:#596570; margin-bottom:5px; }.nav-item:hover { background:#f6f8fa; }.nav-item.active { color:var(--green); background:var(--green-bg); font-weight:600; }
.sidebar-bottom { margin-top:auto; }.workspace-user { display:flex; align-items:center; gap:10px; padding:20px 0 0; margin-top:16px; border-top:1px solid var(--line); font-size:12px; }.workspace-user small { display:block; font-size:10px; }.workspace-user form { margin-left:auto; }
.topbar { height:64px; margin-left:var(--sidebar); padding:0 32px; border-bottom:1px solid var(--line); background:white; display:flex; justify-content:space-between; align-items:center; gap:16px; }.breadcrumb { display:flex; gap:12px; align-items:center; font-size:12px; color:var(--muted); }.breadcrumb strong { color:var(--text); }.breadcrumb>svg { width:13px; }.environment { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:12px; }.status-dot { display:inline-block; flex-shrink:0; width:6px; height:6px; background:#278361; border-radius:50%; }.menu-button { display:none!important; }
.main { margin-left:var(--sidebar); padding:30px 32px 48px; min-width:0; }.public-layout .main { margin:0 auto; max-width:1280px; }.public-header { height:74px; background:white; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; padding:0 32px; }.public-header .brand { font-size:19px; }
.page-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:28px; }.page-heading p { color:var(--muted); font-size:12px; margin-top:7px; }.dot-separator { padding:0 5px; }.date-toolbar,.section-actions { display:flex; align-items:center; gap:10px; }.date-field { display:flex; align-items:center; border:1px solid #d5dde4; background:white; border-radius:5px; padding-left:11px; }.date-field>svg { color:var(--muted); width:16px; }.date-field input { border:0; background:transparent; width:148px; height:36px; font-size:13px; }
.button,.icon-button { display:inline-flex; align-items:center; justify-content:center; gap:7px; border:1px solid #cdd6de; background:white; border-radius:5px; min-height:38px; padding:7px 13px; font-size:13px; white-space:nowrap; font-weight:500; }.button:hover,.icon-button:hover { background:#f0f4f6; border-color:#b1c0cb; }.button.primary { background:var(--green); border-color:var(--green); color:white; }.button.primary:hover { background:#116446; }.button.compact { min-height:34px; padding:5px 11px; }.button.full { width:100%; }.icon-button { flex:0 0 34px; width:34px; height:34px; min-height:34px; padding:7px; border-color:transparent; background:transparent; color:#73808d; }.icon-button.outlined { border-color:#d6dee5; background:white; }.icon-button:hover { color:var(--green); }.text-link,.back-link { display:inline-flex; gap:5px; align-items:center; color:var(--green); font-size:12px; }.text-link:hover,.back-link:hover { text-decoration:underline; }.text-link svg { width:15px; }.text-button { padding:3px; border:0; background:none; font-size:12px; color:var(--muted); text-decoration:underline; }
.metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:3px 0 27px; border-bottom:1px solid var(--line); margin-bottom:20px; gap:0; }.metric { padding:0 25px; border-left:1px solid #dfe5ea; min-width:0; }.metric:first-child { border-left:0; padding-left:0; }.metric>span { color:var(--muted); font-size:12px; display:flex; align-items:center; gap:5px; }.metric>strong { font-size:28px; font-weight:600; display:block; line-height:1.45; margin:8px 0 5px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }.metric em { font-size:13px; color:var(--muted); font-weight:400; padding-left:8px; }.metric small { font-size:11px; }.tiny-icon { width:13px; height:13px; }
.muted { color:var(--muted); font-size:12px; }.positive { color:var(--green); }.negative { color:var(--red); }.numeric { text-align:right; font-variant-numeric:tabular-nums; }.numeric small { display:block; font-size:11px; margin-top:3px; font-weight:400; color:var(--muted); }
.discount-filter { display:flex; align-items:center; gap:14px; margin-bottom:26px; flex-wrap:wrap; }.discount-filter details { position:relative; }.discount-filter summary,.group-settings summary { list-style:none; display:flex; align-items:center; gap:7px; font-size:12px; color:#52606c; }.discount-filter summary::-webkit-details-marker,.group-settings summary::-webkit-details-marker,.account-summary::-webkit-details-marker { display:none; }.discount-filter summary svg { width:15px; }.filter-options { position:absolute; top:30px; left:0; z-index:10; width:238px; padding:16px; background:white; border:1px solid var(--line); border-radius:6px; box-shadow:0 8px 24px #25344112; display:flex; flex-wrap:wrap; gap:12px; }.filter-options label { display:flex; align-items:center; gap:7px; }.filter-options button { width:100%; }.count-badge { background:var(--green-bg); color:var(--green); padding:0 6px; border-radius:4px; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:17px; }.section-count { margin-left:6px; font-size:12px; color:var(--muted); font-weight:400; }.search-field { display:flex; align-items:center; padding-left:10px; gap:7px; border:1px solid #d6dee5; border-radius:5px; background:white; }.search-field svg { width:16px; color:#8b97a2; }.search-field input { width:190px; border:0; background:none; font-size:12px; height:34px; padding-left:0; }.search-field:focus-within { border-color:var(--green); }.search-field input:focus { outline:none; }
.table-frame { background:white; border:1px solid var(--line); border-radius:6px; overflow:hidden; } table { width:100%; border-collapse:collapse; text-align:left; table-layout:fixed; }th { font-size:11px; font-weight:500; color:#697580; background:#fbfcfd; height:44px; border-bottom:1px solid var(--line); padding:10px 16px; } td { padding:17px 16px; border-bottom:1px solid #ebeff2; font-size:13px; overflow-wrap:anywhere; }tr:last-child td { border-bottom:0; }tbody tr:hover { background:#fcfdfd; }
.books-table th:first-child { width:28%; }.books-table th:nth-child(2) { width:15%; }.books-table th:nth-child(3),.books-table th:nth-child(4) { width:12%; }.books-table th:nth-child(5) { width:13%; }.books-table th:nth-child(6) { width:12%; }.books-table th:last-child { width:8%; }.books-table td { padding:16px 12px; }.books-table th { padding-left:12px; padding-right:12px; }.books-table td:first-child,.books-table th:first-child { padding-left:19px; }
.avatar { display:inline-grid; place-items:center; background:#ecf4ef; color:#46735c; font-size:14px; font-weight:600; width:36px; height:36px; border-radius:7px; flex-shrink:0; }.avatar.small { width:30px; height:30px; font-size:12px; }.avatar.large { width:48px; height:48px; font-size:21px; }.avatar.color-1 { background:#edf2fa; color:#5b739d; }.avatar.color-2 { background:#f7f0ef; color:#9b6c64; }.avatar.color-3 { background:#f0f1f5; color:#747d98; }
.group-identity,.group-title { display:flex; gap:12px; align-items:center; min-width:0; }.group-identity>div,.group-title>div { min-width:0; }.group-link { font-size:13px; font-weight:550; overflow-wrap:anywhere; }.group-link:hover { color:var(--green); text-decoration:underline; }.group-identity small { display:block; margin-top:3px; font-size:10px; overflow-wrap:anywhere; }.row-actions { white-space:nowrap; text-align:right; }.row-actions .icon-button { width:28px; height:30px; min-height:30px; padding:5px; }.row-actions svg { width:15px; }.balance-cell strong { font-size:14px; }.date-cell { font-size:11px; color:#66727e; font-variant-numeric:tabular-nums; }.date-cell small { display:block; font-size:11px; margin-top:3px; }.table-footer { padding:11px 18px; display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--line); color:var(--muted); font-size:11px; }.pagination { display:flex; align-items:center; gap:10px; }
.empty-state { padding:50px 20px; display:flex; flex-direction:column; align-items:center; gap:9px; color:var(--muted); text-align:center; }.empty-state>svg { width:31px; height:31px; color:#91a499; margin-bottom:4px; }.empty-state h3 { color:#45515b; font-size:15px; font-weight:500; }.empty-state p { font-size:12px; }.large-empty { padding:85px 20px; }.recent-sync { margin-top:30px; }.sync-summary { display:flex; gap:13px; align-items:center; border-top:1px solid var(--line); padding:19px 0; }.sync-summary strong { font-size:12px; }.sync-summary small { display:block; font-size:11px; margin-top:3px; }.sync-summary>.text-link { margin-left:auto; }.soft-icon { display:grid; place-items:center; width:34px; height:34px; background:#eaf2ed; color:var(--green); border-radius:6px; }
.notice { padding:12px 16px; margin:0 0 20px; border:1px solid; border-radius:5px; font-size:13px; overflow-wrap:anywhere; }.notice.success { background:#f0f8f2; border-color:#d1e5d8; color:#286b46; }.notice.error { background:#fff5f4; border-color:#edd7d4; color:#a1413a; }.notice.neutral { background:#eff4fa; border-color:#dde6f0; color:#576b85; }.toast { position:fixed; z-index:100; bottom:25px; left:50%; transform:translateX(-50%); background:#263b32; color:#fff; padding:10px 20px; border-radius:6px; box-shadow:0 4px 20px #0002; max-width:90%; font-size:13px; text-align:center; }
.back-link { margin-bottom:18px; color:var(--muted); }.group-title h1 { font-size:25px; }.group-settings { border-bottom:1px solid var(--line); padding-bottom:18px; margin-bottom:28px; }.settings-inline { display:grid; grid-template-columns:1fr 1fr; gap:32px; margin-top:20px; }.settings-inline label { font-size:12px; margin-bottom:7px; }.settings-inline small { display:block; margin-top:6px; }.input-action { display:flex; gap:8px; }.input-action input,.input-action select { flex:1; width:0; }.ledger-filters { display:flex; align-items:end; gap:12px; margin-bottom:27px; flex-wrap:wrap; }.ledger-filters label { flex:1; min-width:135px; color:var(--muted); font-size:11px; }.ledger-filters input,.ledger-filters select { display:block; margin-top:6px; width:100%; font-size:12px; }.ledger-filters label:nth-child(3) { flex:1.2; }.ledger-filters .icon-button { height:38px; width:38px; }
.ledger-day { margin-bottom:27px; }.day-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 11px; font-size:11px; color:var(--muted); }.day-heading h3 { display:flex; align-items:center; gap:8px; font-size:13px; color:#46545f; }.day-heading h3 span { font-size:11px; color:var(--muted); font-weight:400; }.day-heading strong { font-size:13px; margin-left:7px; font-variant-numeric:tabular-nums; }.day-heading svg { width:15px; }.ledger-table th:first-child { width:8%; }.ledger-table th:nth-child(2) { width:23%; }.ledger-table th:nth-child(3) { width:14%; }.ledger-table th:nth-child(4) { width:21%; }.ledger-table th:nth-child(5) { width:25%; }.ledger-table th:last-child { width:9%; }.ledger-table td { padding:13px 14px; }.entry-time { color:var(--muted); font-variant-numeric:tabular-nums; }.expression { font-family:'Consolas','SFMono-Regular',monospace; font-size:13px; }.entry-period { font-size:10px; color:var(--muted); }.status-label { display:inline-flex; align-items:center; gap:6px; font-size:11px; color:#7b858d; }.status-label.valid { color:var(--green); }.status-label.valid:before { content:''; width:5px; height:5px; border-radius:50%; background:#479877; }.status-label.warning { color:#a04c37; }.neutral-status { background:#edf3fa; border:1px solid #dce6ef; padding:5px 10px; border-radius:5px; color:#4d6d8d; }.neutral-status svg { width:15px; }.revoked td { color:#959da5; }.revoked .expression,.revoked .entry-amount { text-decoration:line-through; }.share-footer { display:flex; align-items:center; gap:7px; justify-content:center; flex-wrap:wrap; color:var(--muted); font-size:11px; padding:20px; }.share-footer small { flex-basis:100%; text-align:center; font-size:10px; }
.recon-toolbar { display:flex; gap:15px; justify-content:space-between; margin:0 0 23px; }.data-caption { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:22px; color:var(--muted); font-size:11px; }.data-caption .status-dot { margin-right:5px; }.account-row { border-top:1px solid var(--line); }.account-row:last-child { border-bottom:1px solid var(--line); }.account-summary { display:grid; grid-template-columns:1.8fr .7fr 1fr 1fr .5fr 20px; align-items:center; gap:16px; list-style:none; padding:22px 0 16px; }.account-summary:hover { background:#f0f4f5; }.account-name { display:flex; align-items:center; gap:11px; min-width:0; }.account-name>div { min-width:0; }.account-name strong { overflow-wrap:anywhere; font-size:14px; }.account-name small { display:block; font-size:11px; }.account-value { text-align:right; font-variant-numeric:tabular-nums; }.account-value small { display:block; font-size:10px; margin-bottom:4px; }.account-value strong { font-size:16px; }.account-value em { font-size:11px; font-weight:400; }.account-summary .status-label { justify-self:center; }.expand-icon { color:var(--muted); width:15px; transition:transform .15s; }details[open]>.account-summary .expand-icon { transform:rotate(180deg); }.account-binding { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding:0 0 20px 48px; }.account-binding>svg { color:#83919c; width:14px; }.account-binding>small { font-size:10px; margin-left:auto; }.binding-form { display:flex; gap:8px; min-width:0; }.binding-form select { height:32px; width:220px; font-size:11px; padding:5px 8px; }.binding-form .button { min-height:32px; font-size:11px; }.account-detail { padding:0 0 20px 48px; }.account-breakdown { display:flex; flex-wrap:wrap; gap:18px; margin:0 0 13px; font-size:11px; color:var(--muted); }.component-scroll { overflow:auto; border:1px solid var(--line); border-radius:5px; background:white; }.component-table { min-width:720px; }.component-table th:first-child { width:26%; }.component-table td,.component-table th { padding:10px; font-size:11px; }.component-table td small { display:block; font-size:10px; margin-top:3px; }.version-detail { margin-top:12px; font-size:10px; color:var(--muted); }.version-detail code { display:block; overflow-wrap:anywhere; padding:7px 0; }.history-table th:first-child { width:22%; }.history-table th:nth-child(2) { width:15%; }.history-table th:nth-child(3) { width:12%; }.history-table th:nth-child(4) { width:10%; }.history-table td { font-size:12px; }
.settings-section { margin-bottom:36px; max-width:900px; }.settings-section h2 { padding-bottom:14px; border-bottom:1px solid var(--line); }.settings-list { margin:0; }.settings-list>div { display:grid; grid-template-columns:200px 1fr; gap:20px; padding:20px 0; border-bottom:1px solid #e8edf1; }.settings-list dt { color:var(--muted); font-size:12px; }.settings-list dd { margin:0; font-size:13px; }.settings-list .text-link { margin-left:10px; }
.login-panel { width:100%; max-width:380px; padding:30px; margin:65px auto; background:white; border:1px solid var(--line); border-radius:8px; }.login-symbol { display:grid; place-items:center; width:44px; height:44px; color:var(--green); background:var(--green-bg); border-radius:7px; margin-bottom:20px; }.login-symbol svg { width:26px; height:26px; }.login-panel h1 { font-size:24px; }.login-panel p { color:var(--muted); margin:6px 0 24px; font-size:13px; }.login-panel label { font-size:12px; margin-bottom:8px; }.password-field { position:relative; margin-bottom:18px; }.password-field input { width:100%; padding-right:44px; height:42px; }.password-field button { position:absolute; top:4px; right:4px; }.login-foot { display:flex; justify-content:center; align-items:center; gap:6px; font-size:10px; margin-top:24px; }.login-foot svg { width:13px; }.login-panel .notice { font-size:11px; }
@media(min-width:1600px) { .main { max-width:1580px; }.books-table td { padding-top:19px; padding-bottom:19px; } }
@media(max-width:1200px) { .main { padding:26px 24px 40px; }.topbar { padding:0 24px; }.metric { padding:0 17px; }.metric>strong { font-size:24px; }.books-table th:nth-child(6),.books-table .date-cell { display:none; }.books-table th:first-child { width:30%; }.books-table th:nth-child(2) { width:18%; }.books-table th:nth-child(3),.books-table th:nth-child(4) { width:14%; }.books-table th:nth-child(5) { width:14%; }.books-table th:last-child { width:10%; } }
@media(max-width:1000px) { :root { --sidebar:185px; }.sidebar { padding:24px 12px; }.sidebar .brand { font-size:19px; }.main { padding:25px 20px 40px; }.metric { padding:0 12px; }.metric>strong { font-size:22px; }.metric small { font-size:10px; }.page-heading { align-items:flex-start; }.page-heading h1 { font-size:25px; }.date-toolbar { gap:6px; }.date-field input { width:139px; }.page-heading .text-link { display:none; }.books-table th:nth-child(5),.books-table .record-cell { display:none; }.books-table th:first-child { width:34%; }.books-table th:nth-child(2) { width:20%; }.books-table th:nth-child(3),.books-table th:nth-child(4) { width:16%; }.books-table th:last-child { width:14%; }.books-table td { padding:15px 7px; }.books-table .avatar { display:none; }.books-table td:first-child { padding-left:13px; }.settings-inline { gap:20px; grid-template-columns:1fr; }.account-summary { grid-template-columns:1.5fr .5fr 1fr 1fr 15px; gap:10px; }.account-summary>.status-label { display:none; }.account-value strong { font-size:14px; }.account-name .avatar { width:30px; height:30px; }.account-binding,.account-detail { padding-left:0; }.recon-toolbar { flex-wrap:wrap; }.ledger-table th:nth-child(5),.ledger-table .entry-period { display:none; }.ledger-table th:nth-child(2) { width:28%; }.ledger-table th:nth-child(3) { width:20%; }.ledger-table th:nth-child(4) { width:30%; } }
@media(max-width:760px) { :root { --sidebar:0px; }.sidebar { width:230px; transform:translateX(-100%); transition:transform .18s; }.drawer-open .sidebar { transform:translateX(0); }.drawer-open { overflow:hidden; }.drawer-backdrop { position:fixed; inset:0; z-index:25; background:#1b29384d; border:0; border-radius:0; }.menu-button { display:inline-flex!important; }.topbar { padding:0 16px; height:58px; }.breadcrumb { gap:8px; }.breadcrumb>span,.breadcrumb>svg { display:none; }.environment { font-size:10px; max-width:190px; }.public-header { padding:0 20px; height:66px; }.main { padding:25px 20px 35px; }.page-heading { flex-wrap:wrap; gap:17px; margin-bottom:25px; }.page-heading h1,.group-title h1 { font-size:24px; }.page-heading p { font-size:11px; }.page-heading .date-toolbar { width:100%; justify-content:flex-start; gap:10px; }.page-heading .text-link { display:inline-flex; }.date-field input { width:150px; }.metrics { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:23px; padding-bottom:23px; margin-bottom:18px; }.metric { padding:0 0 0 18px; }.metric:nth-child(odd) { padding-left:0; border-left:0; }.metric>strong { font-size:25px; margin:5px 0; }.metric>span { font-size:11px; }.metric small { font-size:10px; }.metric em { font-size:11px; }.discount-filter { margin-bottom:26px; gap:10px; }.discount-filter>.muted { font-size:10px; }.section-heading { gap:10px; }.section-heading h2 { font-size:16px; white-space:nowrap; }.section-actions { gap:5px; }.search-field { gap:4px; padding-left:8px; }.search-field input { width:133px; font-size:11px; }.section-actions .outlined { width:32px; height:34px; }.books-table thead { display:none; }.books-table tbody { display:block; }.books-table tr { display:grid; grid-template-columns:1fr 1fr; padding:16px; gap:13px 16px; border-bottom:1px solid var(--line); }.books-table tr:last-child { border-bottom:0; }.books-table td,.books-table td:first-child { padding:0; border:0; }.books-table td:first-child { grid-column:1/-1; }.books-table .avatar { display:inline-grid; }.books-table .group-link { font-size:14px; }.group-identity small { font-size:10px; }.books-table .numeric { text-align:left; }.books-table .numeric:before { content:attr(data-label); display:block; font-size:10px; margin-bottom:3px; color:var(--muted); }.books-table .balance-cell { grid-column:1; grid-row:2; }.books-table .row-actions { grid-column:2; grid-row:2; align-self:center; display:flex; justify-content:flex-end; gap:6px; }.books-table .row-actions .icon-button { width:34px; height:34px; background:#f6f8fa; }.books-table .positive { grid-column:1; grid-row:3; }.books-table .negative { grid-column:2; grid-row:3; }.books-table .record-cell,.books-table .date-cell { display:none; }.books-table .balance-cell small { font-size:10px; }.table-footer { padding:10px 12px; }.recent-sync { margin-top:28px; }.sync-summary { align-items:flex-start; flex-wrap:wrap; }.sync-summary>.text-link { margin-left:47px; }.sync-summary strong { font-size:11px; }.sync-summary small { font-size:10px; }.group-heading .section-actions { width:100%; }.group-title { align-items:flex-start; }.avatar.large { width:42px; height:42px; font-size:18px; }.group-title h1 { font-size:22px; }.group-title p { overflow-wrap:anywhere; }.ledger-filters { display:grid; grid-template-columns:1fr 1fr; gap:13px 10px; }.ledger-filters label { min-width:0; }.ledger-filters .icon-button { width:100%; }.ledger-filters input,.ledger-filters select { font-size:12px; }.day-heading { align-items:flex-start; }.day-heading h3 { font-size:12px; gap:5px; }.day-heading>span { font-size:10px; text-align:right; }.day-heading strong { display:block; font-size:12px; }.ledger-table thead { display:none; }.ledger-table tbody { display:block; }.ledger-table tr { display:grid; grid-template-columns:48px minmax(0,1fr) auto; gap:9px; padding:14px; border-bottom:1px solid var(--line); }.ledger-table tr:last-child { border-bottom:0; }.ledger-table td { border:0; padding:0; font-size:12px; }.ledger-table .entry-time { grid-column:1; grid-row:1; font-size:11px; }.ledger-table .expression { grid-column:2; grid-row:1; overflow-wrap:anywhere; }.ledger-table .entry-amount { grid-column:3; grid-row:1; font-size:13px; }.ledger-table .entry-user { grid-column:2; grid-row:2; color:var(--muted); font-size:11px; }.ledger-table .entry-period { display:block; grid-column:2/4; grid-row:3; font-size:9px; }.ledger-table .entry-status { grid-column:3; grid-row:2; text-align:right; }.ledger-table .status-label { font-size:10px; }.share-footer { padding:16px 0; font-size:10px; }.recon-toolbar { gap:12px; }.recon-toolbar form { width:100%; }.recon-toolbar .date-toolbar { flex-wrap:wrap; }.recon-toolbar form>.primary { width:100%; }.recon-toolbar .date-toolbar .button { flex:1; font-size:11px; }.data-caption { flex-wrap:wrap; gap:5px; font-size:10px; }.account-summary { grid-template-columns:1fr 1fr 1fr 18px; gap:14px 8px; padding-top:20px; }.account-name { grid-column:1/4; }.account-summary .expand-icon { grid-column:4; grid-row:1; }.account-summary .account-value { text-align:left; grid-row:2; }.account-summary .account-value strong { font-size:16px; }.account-name .avatar { width:34px; height:34px; }.account-binding { gap:8px; padding-bottom:20px; }.account-binding>svg { display:none; }.account-binding>small { width:100%; margin-left:0; }.binding-form { width:100%; }.binding-form select { flex:1; width:0; }.account-breakdown { gap:6px 16px; font-size:10px; }.component-table { min-width:660px; }.history-table thead { display:none; }.history-table tbody { display:block; }.history-table tr { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:16px; border-bottom:1px solid var(--line); }.history-table td { border:0; padding:0; text-align:left; font-size:12px; }.history-table td:before { content:attr(data-label); display:block; font-size:10px; margin-bottom:5px; color:var(--muted); }.history-table td:last-child { grid-column:1/-1; }.settings-list>div { grid-template-columns:105px minmax(0,1fr); gap:15px; padding:17px 0; }.settings-list dd { font-size:12px; overflow-wrap:anywhere; }.settings-list dt { font-size:11px; }.settings-list .text-link { margin:5px 0 0; }.settings-section h2 { font-size:16px; }.login-panel { margin:30px auto; padding:25px; }.login-panel h1 { font-size:23px; } }
@media(max-width:370px) { .main { padding-left:14px; padding-right:14px; }.metric>strong { font-size:22px; }.search-field input { width:111px; }.account-value strong { font-size:14px; }.environment { max-width:155px; font-size:9px; } }
@media(prefers-reduced-motion:reduce) { *,*:before,*:after { transition:none!important; scroll-behavior:auto!important; } }
@media(max-width:760px) { .sidebar { visibility:hidden; }.drawer-open .sidebar { visibility:visible; } }
@media(max-width:760px) { .books-table [data-label="当日加账"] { grid-column:1; grid-row:3; }.books-table [data-label="当日减账"] { grid-column:2; grid-row:3; } }
.avatar-image { width:100%; height:100%; object-fit:cover; border-radius:inherit; }.avatar-upload { border:0; padding:0; position:relative; overflow:hidden; }.avatar-edit-icon { position:absolute; width:16px; height:16px; right:0; bottom:0; padding:2px; border-radius:3px; background:#fff; color:var(--green); opacity:0; }.avatar-upload:hover .avatar-edit-icon,.avatar-upload:focus-visible .avatar-edit-icon { opacity:1; }.avatar-settings { display:flex; align-items:center; gap:10px; margin:20px 0 10px; flex-wrap:wrap; }
.deduction-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding:15px 0; margin-bottom:20px; border-bottom:1px solid var(--line); }.deduction-toolbar label { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--muted); }.deduction-toolbar input { font-size:12px; width:150px; }.group-deduction-tools { margin-bottom:28px; }.group-deduction-tools .deduction-toolbar { margin-bottom:12px; }.auto-switch { display:inline-flex; align-items:center; gap:8px; font-size:12px; cursor:pointer; }.auto-switch small { font-size:10px; }.auto-switch input { appearance:none; height:19px; width:34px; border:0; background:#bbc6cd; border-radius:20px; position:relative; margin:0; flex-shrink:0; transition:background .15s; }.auto-switch input:before { content:''; position:absolute; width:13px; height:13px; border-radius:50%; left:3px; top:3px; background:white; transition:transform .15s; }.auto-switch input:checked { background:var(--green); }.auto-switch input:checked:before { transform:translateX(15px); }.binding-operations { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-left:auto; }.binding-operations>small { font-size:11px; color:var(--muted); }.books-table th:last-child { width:11%; }.books-table th:first-child { width:25%; }.row-actions .icon-button { padding:5px; }
dialog { border:1px solid var(--line); border-radius:8px; padding:0; width:min(740px,calc(100% - 32px)); max-height:88dvh; color:var(--text); background:#fff; box-shadow:0 15px 60px #172b3e33; }dialog::backdrop { background:#24323f66; }dialog[open] { display:flex; flex-direction:column; }.dialog-heading { display:flex; align-items:center; justify-content:space-between; padding:17px 22px; border-bottom:1px solid var(--line); }.dialog-heading h2 { font-size:18px; }.dialog-body { padding:20px 22px; overflow:auto; }.dialog-date { color:var(--green); font-size:14px; font-weight:600; margin-bottom:12px; }.dialog-body>div>p { margin-bottom:18px; font-size:12px; }.confirmation-table { border:1px solid var(--line); border-radius:5px; overflow:hidden; margin:18px 0; }.confirmation-row { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:8px 12px; padding:13px; border-top:1px solid var(--line); font-size:12px; align-items:center; }.confirmation-row:first-child { border-top:0; }.confirmation-row>*:not(:first-child) { text-align:right; font-variant-numeric:tabular-nums; }.confirmation-row>* { min-width:0; overflow-wrap:anywhere; }.confirmation-head { font-size:10px; background:#f8fafb; color:var(--muted); }.confirmation-name small { display:block; margin-top:3px; font-size:10px; }.confirmation-row .confirmation-note { grid-column:1/-1; color:#856046; text-align:left; font-size:10px; }.confirm-total { text-align:right; font-size:15px; font-weight:600; margin-bottom:18px; }.confirmation-check { display:flex; align-items:flex-start; gap:9px; font-size:12px; padding:13px; background:#f6f8fa; border-radius:5px; }.confirmation-check input { flex-shrink:0; margin-top:2px; }.dialog-footer { display:flex; justify-content:flex-end; gap:10px; padding:16px 22px; border-top:1px solid var(--line); }.refund-reason { font-size:12px; margin:0 0 16px; }.refund-reason textarea { display:block; margin-top:7px; width:100%; resize:vertical; min-height:60px; max-height:140px; border:1px solid #cdd6de; border-radius:5px; padding:9px; font:inherit; }.dialog-body .notice { margin:13px 0 0; }
.deduction-history th:first-child { width:24%; }.deduction-history th:nth-child(2) { width:14%; }.deduction-history th:nth-child(3) { width:13%; }.deduction-history th:nth-child(4) { width:17%; }.deduction-history th:nth-child(5) { width:21%; }.deduction-history td small { display:block; font-size:10px; margin-top:5px; }.auto-event { padding:12px 0; border-bottom:1px solid var(--line); display:flex; gap:20px; font-size:12px; }.auto-event time { color:var(--muted); }
@media(max-width:1000px) { .books-table th:last-child { width:17%; }.books-table th:first-child { width:29%; }.books-table .avatar-upload { display:inline-grid; width:30px; height:30px; }.group-identity { gap:8px; } }
@media(max-width:760px) { .books-table .avatar-upload { width:36px; height:36px; }.avatar-edit-icon { opacity:.8; }.deduction-toolbar { gap:10px; }.deduction-toolbar label { width:100%; justify-content:space-between; }.deduction-toolbar>.button { flex:1; }.binding-operations { margin-left:0; width:100%; }.account-binding>small { width:auto; }.account-row .binding-operations>small { flex-basis:100%; }.section-heading:has([data-deduct]) { flex-wrap:wrap; }.section-heading [data-deduct] { order:3; width:100%; }.confirmation-head { display:none; }.confirmation-row { grid-template-columns:1fr 1fr 1fr; gap:12px; padding:14px; }.confirmation-name { grid-column:1/-1; }.confirmation-row>*:not(:first-child) { text-align:left; }.confirmation-row>*:nth-child(2):before { content:'本次变动'; }.confirmation-row>*:nth-child(3):before { content:'当前账单'; }.confirmation-row>*:nth-child(4):before { content:'操作后'; }.confirmation-row>*:nth-child(2):before,.confirmation-row>*:nth-child(3):before,.confirmation-row>*:nth-child(4):before { display:block; font-size:10px; font-weight:400; color:var(--muted); margin-bottom:4px; }.dialog-heading { padding:13px 16px; }.dialog-heading h2 { font-size:16px; }.dialog-body { padding:16px; }.dialog-footer { padding:13px 16px; }.dialog-footer .button { flex:1; }.deduction-history thead { display:none; }.deduction-history tbody { display:block; }.deduction-history tr { display:grid; grid-template-columns:1fr 1fr; gap:14px; padding:16px; border-bottom:1px solid var(--line); }.deduction-history td { border:0; padding:0; font-size:12px; }.deduction-history .numeric { text-align:left; }.deduction-history td[data-label]:before { content:attr(data-label); display:block; color:var(--muted); font-size:10px; margin-bottom:3px; }.auto-event { flex-direction:column; gap:5px; }.auto-switch { flex-wrap:wrap; } }

/* Keep reading sizes stable across desktop and mobile layouts. */
.nav-item { font-size:15px; font-weight:500; }
.nav-item.active { font-weight:700; }
.nav-label,.workspace-user small,.environment { font-size:12px; }
.workspace-user,.breadcrumb { font-size:13px; }
.page-heading h1,.group-title h1 { font-size:27px; font-weight:700; }
h2,.section-heading h2,.settings-section h2 { font-size:18px; font-weight:700; }
.page-heading p,.date-field input,.button,.text-link,.back-link { font-size:14px; }
.date-field input { width:158px; }
.button { font-weight:600; }
.button.compact { min-height:36px; }
.metric>span { font-size:14px; font-weight:500; }
.metric>strong { font-size:28px; font-weight:700; }
.metric small,.metric em { font-size:12px; }
.muted,.discount-filter>.muted,.section-count { font-size:13px; }
.discount-filter summary,.group-settings summary { font-size:14px; }
.search-field input { font-size:14px; }
th { font-size:13px; font-weight:600; }
td,.history-table td,.deduction-history td { font-size:15px; }
.group-link,.books-table .group-link { font-size:15px; font-weight:700; }
.balance-cell strong { font-size:16px; font-weight:700; }
.books-table [data-label="当日加账"],.books-table [data-label="当日减账"] { font-size:15px; font-weight:600; }
.group-identity small,.numeric small,.date-cell,.date-cell small,.books-table .balance-cell small,.deduction-history td small { font-size:12px; }
.table-footer,.books-table .numeric:before,.history-table td:before,.deduction-history td[data-label]:before { font-size:12px; }
.books-table .numeric:before { font-weight:400; }
.settings-inline label,.ledger-filters label,.settings-list dt,.refund-reason { font-size:13px; }
.ledger-filters input,.ledger-filters select,.settings-list dd { font-size:14px; }
.day-heading,.day-heading>span,.day-heading h3 span { font-size:12px; }
.day-heading h3 { font-size:14px; font-weight:600; }
.day-heading strong { font-size:15px; font-weight:700; }
.ledger-table td,.ledger-table .expression { font-size:14px; }
.ledger-table .entry-amount { font-size:16px; font-weight:700; }
.ledger-table .entry-time,.ledger-table .entry-period,.ledger-table .status-label { font-size:12px; }
.ledger-table .entry-user { font-size:13px; }
.status-label,.data-caption,.account-name small,.account-value small,.account-breakdown,.version-detail { font-size:12px; }
.account-name strong { font-size:16px; font-weight:700; }
.account-value strong,.account-summary .account-value strong { font-size:18px; font-weight:700; }
.account-value em,.account-binding>small,.binding-operations>small { font-size:12px; }
.binding-form select,.binding-form .button { height:36px; font-size:13px; }
.component-table td,.component-table th { font-size:13px; }
.component-table td small { font-size:12px; }
.deduction-toolbar label,.deduction-toolbar input,.auto-switch,.auto-event { font-size:14px; }
.deduction-toolbar input { width:158px; }
.auto-switch small { font-size:12px; }
.dialog-heading h2 { font-size:18px; }
.dialog-body>div>p,.confirmation-row,.confirmation-check { font-size:14px; }
.confirmation-head,.confirmation-name small,.confirmation-row .confirmation-note,.confirmation-row>*:nth-child(2):before,.confirmation-row>*:nth-child(3):before,.confirmation-row>*:nth-child(4):before { font-size:12px; }
.confirm-total { font-size:18px; font-weight:700; }
.metrics.share-summary { grid-template-columns:minmax(0,1fr); }
@media(max-width:760px) {
  .section-heading { flex-wrap:wrap; }
  .section-actions { min-width:0; }
  .ledger-table tr { grid-template-columns:48px minmax(0,1fr) minmax(0,1fr); }
  .group-heading .section-actions { flex-wrap:wrap; }
  .group-deduction-tools .auto-switch { line-height:1.7; }
}
