/* 轻量工作台：白色导航、浅蓝背景与数据卡片。 */
:root{--ink:#293247;--muted:#858d9e;--subtle:#657087;--line:#edf0f6;--canvas:#f7f9fc;--nav:#fff;--nav-muted:#7a8496;--blue:#647fee;--blue-dark:#506cdd;--blue-light:#eef2ff;--green:#28aa91;--red:#d16470;--radius:15px;--sidebar:240px}
.sidebar{color:#343b49;border-right:1px solid #ebedf3}.brand{gap:11px;padding:23px 24px 22px}.brand-mark{width:35px;height:37px;background:#edf3ff;border:0;color:#627fed;border-radius:9px;font-size:25px}.brand-mark:after{display:none}.brand strong{color:#303745;font-size:20px;letter-spacing:3px}.brand small{color:#8b93a4;letter-spacing:1px}.workspace-label{margin:0 20px 15px;padding:8px 10px;background:#f8faff;border:1px solid #edf1fa;color:#7c879e}.status-dot{background:#41b9a0}.sidebar nav{padding-left:12px;padding-right:12px}.sidebar nav a{padding:12px 16px;gap:13px;margin:3px 0;color:#59616f;font-size:13px;border-radius:7px}.sidebar nav a:hover{background:#f6f8ff;color:#617ce0}.sidebar nav a.active{color:#607bdf;background:#eef2ff}.sidebar nav a.active:before{display:none}.sidebar nav a svg{width:18px;height:18px;opacity:1}.nav-caption{margin:20px 16px 8px;color:#9a9faf;font-size:10px;letter-spacing:1px}.nav-note{color:#9aa5c1;border-color:#e3e8f5}.sidebar-bottom{border-top-color:#edf0f5;background:#fff}.profile-avatar{background:#edf1ff;color:#647ee3}.profile-copy strong{color:#485061}.profile-copy small{color:#8b93a3}.logout{color:#8c95a7}.logout:hover{color:#627ee7}
.topbar{height:60px;background:#fbfcff;border-bottom-color:#edf0f6;padding-left:26px;padding-right:26px}.breadcrumb,.topbar-right{color:#858b9b}.breadcrumb strong{color:#535c70}.demo-pill{color:#6483d6;background:#f0f5ff;border-color:#dbe6ff}.page-content{padding:22px 26px 18px}.page-heading{margin-bottom:22px;gap:16px}.page-heading .eyebrow{color:#8191ba;letter-spacing:.8px;margin-bottom:5px}.page-heading h1{font-size:23px;font-weight:500;letter-spacing:.2px;color:#293247}.page-heading p{color:#7c8596;font-size:12px}.button{min-height:37px;border-radius:7px;padding:8px 15px;font-weight:400}.button.primary{background:#647fee;border-color:#647fee;box-shadow:0 3px 7px #647fee16}.button.primary:hover{background:#536fdf}.button.secondary{background:white;border-color:#dfe5f3;color:#6b7fa8}.button.secondary:hover{background:#f5f8ff;border-color:#b9c9ef}.text-button,.row-action{color:#6881d7}.row-action:hover{background:#eef3ff}.row-action.danger{color:#a3929a}.icon-button:hover{color:#607cde;background:#eef3ff}
.ledger-panel,.overview-panel{background:#fff;border:1px solid #e8ecf3;border-radius:15px;box-shadow:0 2px 5px #52638b02}.panel-toolbar{background:#fff;padding:20px 22px;border-bottom-color:#eef1f7}.filter-field{color:#7c8594}.filter-field input,.filter-field select,.search-field{border-color:#e2e7f1;border-radius:6px;height:35px;background:#fff}.filter-field input,.filter-field select,.search-field input{color:#59677e}.search-field input::placeholder{color:#9aa3b4}.table-context{color:#8a93a4;padding:18px 22px}.table-context strong{color:#4f5b70;font-size:13px;font-weight:500}.live-dot{background:#7e98ee}.count-chip{color:#8295c5;background:#f0f4fd;padding:1px 7px}.data-table thead th{background:#f8faff;border-top-color:#f0f3f9;border-bottom-color:#edf1f7;color:#7d879b;font-size:11px;font-weight:400;padding-top:13px;padding-bottom:13px}.data-table th .unit{color:#9ca6ba}.data-table tbody td{color:#586376;border-bottom-color:#f0f3f8;padding-top:16px;padding-bottom:16px}.data-table tbody tr:hover,.data-table tbody tr:hover .actions-cell{background:#f7f9ff}.data-table .money{color:#3d506d;font-weight:500}.data-table td.primary-cell{color:#4a6087}.data-table td .subline,.data-table .muted,.data-table .remark-cell{color:#8a96ab}.data-table .index-cell{color:#a3adbf}.data-table .actions-cell{border-left-color:#f1f4f9}.table-footer{background:#fcfdff;border-color:#edf1f7;color:#8791a5;padding:16px 22px}.table-footer strong{color:#607acb;font-weight:500}.page-button{border-color:#e2e8f4;color:#6c85c6;border-radius:6px}.page-footnote{color:#99a2b3}.pill{border-radius:5px}.pill.green{background:#eaf8f2;color:#3d9f83}.pill.blue{background:#edf2ff;color:#6d87d4}.pill.amber{background:#fff6e6;color:#ba975c}.pill.gray{background:#f2f4f8;color:#8e96a6}.archive-tabs{gap:8px;border-bottom-color:#e8edf5}.archive-tabs button{color:#8591a6;padding:11px 16px}.archive-tabs button.active{color:#627ee5;border-bottom-color:#7e96f2;background:#f0f4ff;border-radius:7px 7px 0 0}
.summary-strip{gap:20px;margin-bottom:20px}.summary-card,.summary-card:first-child{background:white;border:1px solid #e7ecf5;border-radius:15px;padding:23px 22px 21px;min-height:142px;box-shadow:none}.summary-card .card-label{font-size:12px;color:#858c9d}.summary-card .card-value{color:#263249;font-size:28px;font-weight:500;margin:8px 0;letter-spacing:0;padding-right:44px}.summary-card .card-value small{font-size:11px;color:#929daf}.summary-card .card-note{color:#929aac;font-size:10px;border:0;padding:0}.card-icon{position:absolute;top:43px;right:20px;width:48px;height:48px;border-radius:13px;background:#f0f3ff;color:#7c92e6;display:grid;place-items:center}.card-icon svg{width:23px;height:23px;stroke-width:1.7}.overview-panels{grid-template-columns:.9fr 1.25fr;gap:20px;margin-bottom:24px}.overview-panel .panel-title{padding:23px 22px 12px;border:0;background:white}.panel-title h2{font-size:15px;color:#414d63;font-weight:500}.panel-title span{color:#929caf;font-size:11px}.panel-title a{color:#7890d9;font-size:11px}.chart-body{padding:16px 22px 20px}.dashboard-chart{display:block;width:100%;height:260px;fill:none;stroke:none;overflow:visible}.chart-grid-line{stroke:#edf0f7;stroke-width:1;stroke-dasharray:4 4}.chart-axis-label{fill:#96a0b2;font:11px 'Segoe UI','Microsoft YaHei',sans-serif;stroke:none}.trend-line{fill:none;stroke:#748fe7;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.trend-area{stroke:none;fill:#7f9bf510}.chart-point{fill:white;stroke:#7996ef;stroke-width:1.8}.chart-point:hover{fill:#6a8bec;r:5}.project-bar{fill:#88a3f6;stroke:none}.project-bar:hover{fill:#6787ed}.chart-caption,.chart-labels{color:#8f9aaf;font-size:11px}.chart-caption:before{background:#8ba6f7}.bar{background:#8da7f8}.bar-column:nth-child(3n) .bar{background:#6e91ee}.bar:hover{background:#577de3}.overview-quick{margin-bottom:16px}.overview-quick strong{font-size:14px;font-weight:500;color:#56647e}
.drawer-header{background:#fff;border-bottom-color:#edf0f7;color:#3b4961}.drawer-header .eyebrow{color:#8d9cc1}.drawer-header h2{font-weight:500}.drawer-body{background:white}.drawer-footer{background:#fcfdff;border-top-color:#eaf0f8}.field input,.field select,.field textarea{border-color:#e0e7f2;border-radius:6px;color:#52617a}.field input:focus,.field select:focus,.field textarea:focus,.login-form input:focus{border-color:#91a7f0;box-shadow:0 0 0 3px #7995ee10}.calculation-preview{background:#f3f6ff;border-color:#e0e8ff;color:#6178b4}.login-page,.login-form-side{background:#fff}.login-story{background:#f0f4ff}.login-story-copy .eyebrow{color:#8499ce}.login-story-copy h1{color:#435b8a}.login-story-copy p{color:#8a9cbd}.login-story-footer{color:#94a5c8}.login-welcome{color:#8c9fc9}.login-form-wrap h2{color:#344765;font-weight:500}.login-form-wrap>p,.login-form>label{color:#8492a9}.login-form input{background:#fbfcff;border-color:#dfe7f5}.login-assistance{color:#98a2b5;border-top-color:#edf1f8}.login-environment{color:#8998b1}
@media(min-width:1550px){.page-content{padding:24px 28px 20px}.topbar{padding:0 28px}}@media(max-width:1150px){:root{--sidebar:216px}.page-content{padding:22px 20px 16px}.summary-strip{gap:12px}.summary-card,.summary-card:first-child{padding:20px 16px}.summary-card .card-value{font-size:23px}.card-icon{width:38px;height:38px;right:13px}}@media(max-width:850px){.overview-panels{grid-template-columns:1fr}.sidebar{box-shadow:6px 0 28px #3c4d7615}.summary-card .card-value{font-size:26px}}@media(max-width:600px){.page-content{padding:20px 14px 14px}.page-heading{gap:12px;margin-bottom:18px}.page-heading h1{font-size:22px}.page-heading .heading-actions{justify-content:flex-start}.summary-strip{gap:10px}.summary-card,.summary-card:first-child{padding:17px 13px;min-height:139px}.summary-card .card-value{font-size:21px;padding-right:0;position:relative}.summary-card .card-label{font-size:10px;padding-right:23px}.summary-card .card-note{font-size:9px}.card-icon{top:13px;right:11px;width:27px;height:27px;border-radius:8px}.card-icon svg{width:17px;height:17px}.panel-toolbar{padding:15px}.chart-body{padding:12px 15px 18px}.dashboard-chart{height:230px}.table-context{padding:16px}}

/* 台账与表单阅读字号，保持浅色工作台的层次。 */
.data-table{font-size:14px}
.data-table thead th{font-size:13px;font-weight:500;color:#53617a}
.data-table th .unit{font-size:11px;color:#69788f}
.data-table tbody td{color:#34435b}
.data-table td.primary-cell,.data-table .money{color:#293b57}
.data-table .remark-cell{font-size:14px;color:#52627a}
.data-table td .subline,.data-table .muted{font-size:12px;color:#65748b}
.data-table .index-cell{font-size:12px;color:#708099}
.row-action{font-size:13px;color:#506bd1;padding:4px 6px}
.row-action.danger{color:#846975}
.archive-tabs button{font-size:14px;color:#5c6c84}
.filter-field,.table-context,.table-footer,.pagination{font-size:13px;color:#61718a}
.filter-field input,.filter-field select,.search-field input{font-size:14px;color:#34435b}
.search-field input::placeholder{color:#748198}
.table-context strong{font-size:14px;color:#35465f}
.count-chip,.pill{font-size:12px}
.pill.gray{color:#606d81}
.pill.green{color:#247b63}
.pill.blue{color:#4f69af}
.pill.amber{color:#8e6a2d}
.field>span{font-size:14px;font-weight:500;color:#40516c}
.field input,.field select,.field textarea{font-size:15px;color:#293b55;min-height:42px}
.field input:read-only{color:#53647d}
.field small,.field .input-unit b{font-size:12px;color:#687990}
.field .input-unit b{top:12px}
.form-section{font-size:13px;color:#596d88}
.detail-list{font-size:14px;line-height:1.8}
.detail-list dt{color:#62738d}
.detail-list dd{color:#2f405b;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
.archive-detail-list{margin:0;grid-template-columns:140px minmax(0,1fr);gap:0 18px}
.archive-detail-list dt,.archive-detail-list dd{padding:11px 0;border-bottom:1px solid #edf1f7}
.archive-detail-list dt:last-of-type,.archive-detail-list dd:last-of-type{border-bottom:0}
@media(max-width:600px){.archive-detail-list{grid-template-columns:115px minmax(0,1fr);column-gap:12px}}
.field input[aria-invalid=true]{border-color:#c95f6b;background:#fffafb;box-shadow:0 0 0 2px #c95f6b12}
.field small.field-error,.calculation-preview p.calculation-error{color:#b34454;font-size:13px}
