/* 系统管理目标页；不改变现有看板、抽屉和部门工作台的布局。 */
#lt-system[hidden]{display:none!important}
body.lt-system-active>main.page{display:none}
#lt-system{display:grid;grid-template-columns:184px minmax(0,1fr);min-height:calc(100dvh - 60px);background:#f4f6fa;color:#243650;font-size:13px}
#lt-system .lt-sidebar{background:#fff;border-right:1px solid #e8edf4;padding:26px 12px}
#lt-system .lt-sidebar h2{font-size:17px;padding:0 16px;margin:0 0 28px}
#lt-system .lt-menu-group{padding:10px 16px;color:#8794a7;font-size:12px}
#lt-system .lt-sidebar a{display:block;padding:12px 16px;border-radius:5px;background:#edf4ff;color:#1677ff;font-weight:500}
#lt-system .lt-content{min-width:0;padding:22px 28px 36px}
#lt-system .lt-breadcrumb{display:flex;gap:10px;align-items:center;color:#7d8ba0;font-size:12px;margin-bottom:22px}
#lt-system .lt-breadcrumb span{color:#bdc7d6}
#lt-system .lt-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}
#lt-system h1{font-size:23px;line-height:1.5;margin:0;color:#20334f;font-weight:600}
#lt-system #lt-updated{display:block;font-size:11px;color:#91a0b4;margin-top:5px;min-height:17px}
#lt-system .lt-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:4px}
#lt-system .btn{font-size:12px;padding:7px 16px;border-radius:5px;min-height:34px;white-space:nowrap}
#lt-system .btn:disabled{opacity:.5;cursor:default}
#lt-system #lt-dirty{color:#d48806;font-size:12px}
#lt-system .lt-panel{background:#fff;border:1px solid #e5ebf3;border-radius:8px;padding:20px 22px 24px}
#lt-system .lt-toolbar{display:flex;align-items:center;gap:24px;margin-bottom:22px}
#lt-system .lt-toolbar label{display:flex;align-items:center;gap:10px;font-size:13px}
#lt-system #lt-year{min-width:112px;padding:7px 12px;border:1px solid #d9e2ef;background:#fff;border-radius:5px;color:#243650}
#lt-system #lt-view{display:flex;background:#f2f5f9;border-radius:5px;padding:3px;gap:3px}
#lt-system #lt-view button{padding:7px 17px;border-radius:4px;font-size:12px;color:#7a889e;white-space:nowrap}
#lt-system #lt-view button[aria-pressed=true]{background:#fff;color:#1677ff;box-shadow:0 1px 4px #24446c12}
#lt-system .lt-unit{margin-left:auto;color:#94a0b2;font-size:11px}
#lt-system #lt-categories{display:flex;gap:28px;border-bottom:1px solid #e9edf4;margin-bottom:18px}
#lt-system #lt-categories[hidden]{display:none}
#lt-system #lt-categories button{padding:0 4px 12px;font-size:13px;border-bottom:2px solid transparent;color:#71819a}
#lt-system #lt-categories button.active{color:#1677ff;border-bottom-color:#1677ff;font-weight:500}
#lt-system #lt-error{color:#c43147;font-size:12px;line-height:1.5}
#lt-system #lt-error:not(:empty){padding:0 0 12px}
#lt-system #lt-table{overflow:auto;border:1px solid #e5ebf3;border-radius:5px;scrollbar-width:thin}
#lt-system table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;text-align:left;table-layout:fixed}
#lt-system .lt-quarter-table{min-width:1110px}
#lt-system .lt-month-table{min-width:1440px}
#lt-system .lt-annual-table{min-width:1000px}
#lt-system th,#lt-system td{padding:15px 16px;border-bottom:1px solid #edf0f5;vertical-align:middle;height:64px}
#lt-system thead th{height:56px;font-weight:400;color:#7c8da7;background:#f6f8fc;white-space:nowrap}
#lt-system thead th span{display:inline-block;margin-left:9px;font-size:11px;color:#a2aec0}
#lt-system tbody th{font-weight:500;color:#29415f;background:#fff}
#lt-system tr>:first-child{width:208px;position:sticky;left:0;z-index:1;box-shadow:1px 0 #edf0f5}
#lt-system thead tr>:first-child{z-index:2}
#lt-system .lt-quarter-table tr>:last-child{width:150px;background:#fafbfd}
#lt-system .lt-annual-table tr>:last-child{background:#fafbfd}
#lt-system tbody tr:last-child>:is(th,td){border-bottom:0}
#lt-system tbody tr:hover td,#lt-system tbody tr:hover th{background:#fafcff}
#lt-system .lt-cell-editor{display:flex;align-items:center;gap:6px;min-width:0}
#lt-system .lt-cell-editor select{width:86px;flex:none;background:#fff;border:1px solid #e1e7ef;border-radius:4px;padding:6px 7px;color:#667991;font-size:12px;height:32px}
#lt-system .lt-cell-editor input{width:74px;min-width:0;height:32px;border:1px solid #dce4ee;border-radius:4px;padding:6px 7px;background:#fff;color:#203d62;font-size:13px;font-variant-numeric:tabular-nums}
#lt-system .lt-cell-editor input[aria-invalid=true]{border-color:#d24b60;background:#fff7f8}
#lt-system :is(input,select):focus{outline:2px solid #c3dbff;outline-offset:1px;border-color:#1677ff}
#lt-system button:focus-visible,#lt-system a:focus-visible{outline:2px solid #1677ff;outline-offset:2px}
#lt-system .lt-amount{font-variant-numeric:tabular-nums;font-weight:500;color:#244260}
#lt-system .lt-status{font-size:11px;color:#9aa6b8;white-space:nowrap}
#lt-system .lt-status-draft,#lt-system .lt-status-partial{color:#c18a2e}
#lt-system .lt-status-none{color:#8896a9}
.head.portal-header .portal-main-links:has(#lt-system-nav){flex:0 1 576px}
.head.portal-header .portal-main-links>#lt-system-nav{flex:0 0 96px;display:flex;align-items:center;justify-content:center;padding:0 12px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:#697790;font-size:14px;font-weight:400;white-space:nowrap}
.head.portal-header .portal-main-links>#lt-system-nav:hover{background:#f2f6fd;color:#1677ff}
.head.portal-header .portal-main-links>#lt-system-nav[aria-current=page]{color:#1677ff;border-bottom-color:#1677ff}
body.lt-system-active .head.portal-header .chain-trigger{border-bottom-color:transparent;color:#697790}
#lifecycle>.sectionhead>.titlegroup{flex:0 1 auto}
#lifecycle #lt-open-targets{margin-right:auto;margin-left:12px;padding:6px 13px;font-size:12px;border-color:#cfdff7;background:#fff;color:#1677ff;white-space:nowrap}
#lifecycle .lt-target-state{font-size:10px;color:#b18a4b;margin-left:4px;white-space:nowrap}
#lifecycle .lt-card-state{font-size:17px;color:#8593a9;font-weight:500}
#lifecycle .lt-muted{color:#8593a9}
#lifecycle .life-count-row{flex-wrap:wrap;row-gap:3px}
#dialog .lt-leave-message{padding:12px 0;font-size:14px;color:#50647d}
@media(max-width:1200px){#lt-system{grid-template-columns:154px minmax(0,1fr)}#lt-system .lt-content{padding:20px}#lt-system .lt-page-head{flex-wrap:wrap}#lt-system .lt-actions{justify-content:flex-start}}
@media(max-width:700px){#lt-system{grid-template-columns:minmax(0,1fr)}#lt-system .lt-sidebar{display:none}#lt-system .lt-content{padding:16px 12px}#lt-system .lt-panel{padding:16px 12px}#lt-system .lt-toolbar{gap:12px;flex-wrap:wrap}#lt-system .lt-unit{margin-left:0}#lt-system #lt-categories{gap:20px;overflow:auto}#lt-system h1{font-size:20px}#lt-system .lt-page-head{margin-bottom:14px}#lt-system .lt-actions{gap:7px}#lt-system #lt-dirty{width:100%}#lt-system #lt-view button{padding:7px 11px}#lifecycle #lt-open-targets{margin-left:6px}}
