.committee-workspace { min-height: 100%; background: #f5f8fc; color: #172b45; }
.sc2-page { min-height: 100%; padding: 22px 26px 30px; box-sizing: border-box; }
.sc2-shell { max-width: 1440px; margin: 0 auto; }
.sc2-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.sc2-stat { padding: 14px 16px; border: 1px solid #dce5ef; border-radius: 8px; background: #fff; }
.sc2-stat span { display: block; color: #78899d; font-size: 12px; line-height: 18px; }
.sc2-stat strong { display: block; margin-top: 6px; color: #1a304a; font-size: 24px; line-height: 30px; font-weight: 650; }
.sc2-panel { min-width: 0; border: 1px solid #dce5ef; border-radius: 8px; background: #fff; box-shadow: 0 4px 14px rgb(28 58 92 / 4%); overflow: hidden; }
.sc2-toolbar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #e8eef5; }
.sc2-toolbar input,.sc2-toolbar select { height: 34px; min-width: 0; padding: 6px 9px; border: 1px solid #d4dfeb; border-radius: 5px; color: #344b66; background: #fff; font-size: 12px; }
.sc2-toolbar input { width: 220px; }
.sc2-toolbar select { width: 160px; }
.sc2-toolbar button { min-height: 34px; margin-left: auto; padding: 7px 12px; border: 0; border-radius: 5px; color: #fff; background: #216fce; font-size: 12px; cursor: pointer; }
.sc2-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); min-height: 540px; }
.sc2-orgs { border-right: 1px solid #e8eef5; background: #fbfcfe; }
.sc2-orgs-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 10px; }
.sc2-orgs-head strong { color: #304862; font-size: 13px; }
.sc2-orgs-head span { color: #8b9aac; font-size: 11px; }
.sc2-org-list { display: grid; gap: 4px; padding: 0 8px 12px; }
.sc2-org { display: block; width: 100%; padding: 10px 10px; border: 1px solid transparent; border-radius: 6px; color: #52677f; background: transparent; text-align: left; cursor: pointer; }
.sc2-org:hover { background: #f0f6fd; }
.sc2-org[aria-selected="true"] { border-color: #a9c9ec; color: #155fbd; background: #edf5ff; }
.sc2-org strong { display: block; overflow: hidden; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.sc2-org small { display: block; margin-top: 3px; overflow: hidden; color: #8a99ab; font-size: 11px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.sc2-detail { min-width: 0; padding: 18px 20px 24px; }
.sc2-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid #e8eef5; }
.sc2-detail-head strong { display: block; color: #1f3651; font-size: 18px; line-height: 24px; font-weight: 650; }
.sc2-detail-head small { display: block; margin-top: 4px; color: #8291a3; font-size: 11px; line-height: 17px; }
.sc2-detail-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.sc2-state { padding: 4px 8px; border-radius: 4px; color: #25895f; background: #eaf8f1; font-size: 11px; line-height: 16px; }
.sc2-state.warn { color: #b4751e; background: #fff5e5; }
.sc2-member-count { color: #647991; font-size: 12px; }
.sc2-groups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.sc2-group { min-width: 0; padding: 14px; border: 1px solid #e0e8f1; border-radius: 7px; background: #fbfcfe; }
.sc2-group-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #e8eef5; }
.sc2-group-head strong { color: #35516d; font-size: 13px; line-height: 19px; }
.sc2-group-head span { color: #8a99ab; font-size: 11px; }
.sc2-members { display: grid; gap: 8px; padding-top: 10px; }
.sc2-member { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: center; }
.sc2-member-main { min-width: 0; }
.sc2-member-main strong { display: block; overflow: hidden; color: #344b66; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.sc2-member-main small { display: block; margin-top: 2px; overflow: hidden; color: #8998aa; font-size: 11px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.sc2-member-side { display: flex; align-items: center; gap: 6px; }
.sc2-term { color: #71829a; font-size: 10px; white-space: nowrap; }
.sc2-member-actions { display: flex; gap: 4px; }
.sc2-member-actions button { padding: 2px 4px; border: 0; color: #286ab1; background: transparent; font-size: 11px; cursor: pointer; }
.sc2-member-actions button:hover { color: #124f96; text-decoration: underline; }
.sc2-toolbar-add { min-height: 32px; padding: 6px 11px; border: 1px solid #c8d9eb; border-radius: 5px; color: #216fce; background: #f5f9fe; font-size: 12px; cursor: pointer; }
.sc2-toolbar-add:hover { border-color: #9dbfe4; color: #155fbd; background: #edf5ff; }
.sc2-empty { padding: 38px 18px; color: #8796a8; font-size: 13px; text-align: center; }
.sc2-history { margin-top: 18px; padding-top: 14px; border-top: 1px solid #e8eef5; }
.sc2-history h3 { margin: 0 0 10px; color: #3a526d; font-size: 13px; line-height: 20px; }
.sc2-history-list { display: grid; gap: 7px; }
.sc2-history-list p { margin: 0; color: #7e8ea1; font-size: 11px; line-height: 17px; }
.sc2-history-list b { color: #4b627c; font-weight: 600; }
.sc2-dialog { width: min(600px, calc(100vw - 32px)); padding: 0; border: 1px solid #dce5ef; border-radius: 8px; color: #243b56; background: #fff; box-shadow: 0 18px 54px rgb(17 42 71 / 18%); }
.sc2-dialog::backdrop { background: rgb(12 31 54 / 38%); }
.sc2-dialog form { display: flex; flex-direction: column; max-height: min(720px, calc(100dvh - 32px)); }
.sc2-dialog header,.sc2-dialog footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.sc2-dialog header { border-bottom: 1px solid #e8eef5; }
.sc2-dialog header strong { font-size: 15px; }
.sc2-dialog header button { border: 0; color: #72849a; background: transparent; font-size: 20px; cursor: pointer; }
.sc2-dialog-body { padding: 18px; overflow: auto; }
.sc2-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.sc2-field { display: grid; gap: 6px; color: #657990; font-size: 12px; }
.sc2-field.full { grid-column: 1 / -1; }
.sc2-field input,.sc2-field select { width: 100%; min-height: 36px; box-sizing: border-box; padding: 7px 9px; border: 1px solid #d4dfeb; border-radius: 5px; color: #344b66; background: #fff; font-size: 13px; }
.sc2-dialog footer { justify-content: flex-end; border-top: 1px solid #e8eef5; }
.sc2-dialog footer button { min-height: 34px; padding: 7px 12px; border: 0; border-radius: 5px; color: #586d84; background: #eef3f8; font-size: 12px; cursor: pointer; }
.sc2-dialog footer .primary { color: #fff; background: #216fce; }
.sc2-error { margin: 0 0 12px; color: #be4a4a; font-size: 12px; }
@media (max-width: 900px) { .sc2-page { padding: 16px; } .sc2-layout { grid-template-columns: 210px minmax(0,1fr); } .sc2-groups { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .sc2-stats { grid-template-columns: repeat(2, minmax(0,1fr)); } .sc2-toolbar { flex-wrap: wrap; } .sc2-toolbar input,.sc2-toolbar select { flex: 1; width: auto; } .sc2-toolbar button { margin-left: 0; } .sc2-layout { grid-template-columns: 1fr; } .sc2-orgs { border-right: 0; border-bottom: 1px solid #e8eef5; } .sc2-org-list { display: flex; overflow-x: auto; } .sc2-org { min-width: 170px; } .sc2-form-grid { grid-template-columns: 1fr; } }

/* 汇总模式默认呈现全机构数据，机构模式按需查看单个安委会。 */
.sc2-toolbar { align-items: flex-end; gap: 16px; }
.sc2-mode-switch { display: inline-flex; align-items: center; padding: 3px; border: 1px solid #d4dfeb; border-radius: 6px; background: #f5f8fc; }
.sc2-mode-switch button { min-width: 62px; min-height: 32px; padding: 6px 10px; border: 0; border-radius: 4px; color: #6f8298; background: transparent; font-size: 12px; white-space: nowrap; cursor: pointer; }
.sc2-mode-switch button[aria-selected="true"] { color: #155fbd; background: #fff; box-shadow: 0 1px 3px rgb(28 58 92 / 10%); font-weight: 600; }
.sc2-toolbar-fields { display: flex; align-items: flex-end; gap: 10px; min-width: 0; }
.sc2-toolbar-field { display: grid; gap: 5px; color: #7a8da3; font-size: 11px; }
.sc2-toolbar-field input,.sc2-toolbar-field select { width: 210px; height: 34px; box-sizing: border-box; padding: 6px 9px; border: 1px solid #d4dfeb; border-radius: 5px; color: #344b66; background: #fff; font-size: 12px; }
.sc2-toolbar-field input:focus,.sc2-toolbar-field select:focus { outline: 2px solid rgb(33 111 206 / 18%); border-color: #8bb5e3; }
.sc2-toolbar-select select { width: 170px; }
.sc2-refresh { min-height: 34px; margin-left: auto; padding: 7px 12px; border: 0; border-radius: 5px; color: #fff; background: #216fce; font-size: 12px; cursor: pointer; }
.sc2-refresh:hover { background: #155fbd; }
.sc2-summary { padding: 18px 20px 24px; }
.sc2-summary-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.sc2-summary-head strong { display: block; color: #1f3651; font-size: 16px; line-height: 22px; }
.sc2-summary-head small { display: block; margin-top: 3px; color: #8291a3; font-size: 11px; line-height: 17px; }
.sc2-summary-head > span { color: #8192a6; font-size: 12px; }
.sc2-summary-table { overflow-x: auto; border: 1px solid #e0e8f1; border-radius: 7px; }
.sc2-summary-row { display: grid; grid-template-columns: minmax(190px,1.4fr) minmax(130px,1fr) 70px 70px 70px minmax(180px,1.2fr) 76px; align-items: center; gap: 12px; min-width: 940px; padding: 12px 14px; border-top: 1px solid #e8eef5; }
.sc2-summary-row:first-child { border-top: 0; }
.sc2-summary-header { color: #8291a3; background: #f8fafc; font-size: 11px; }
.sc2-summary-org,.sc2-summary-committee { min-width: 0; }
.sc2-summary-org strong { display: block; overflow: hidden; color: #314b67; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.sc2-summary-org small,.sc2-summary-committee small { display: block; overflow: hidden; margin-top: 3px; color: #8a99ab; font-size: 11px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.sc2-summary-committee .sc2-state { display: inline-block; }
.sc2-summary-number strong { display: block; color: #304b68; font-size: 16px; line-height: 20px; font-weight: 650; }
.sc2-summary-number small { display: block; margin-top: 2px; color: #8a99ab; font-size: 10px; line-height: 15px; }
.sc2-summary-number.warn strong { color: #b4751e; }
.sc2-summary-groups { display: flex; flex-wrap: wrap; gap: 4px; }
.sc2-summary-groups span { padding: 3px 6px; border-radius: 3px; color: #4d6b89; background: #edf4fb; font-size: 10px; line-height: 15px; white-space: nowrap; }
.sc2-summary-groups em { color: #9aa8b7; font-size: 11px; font-style: normal; }
.sc2-link-button { justify-self: start; padding: 4px 0; border: 0; color: #216fce; background: transparent; font-size: 11px; cursor: pointer; }
.sc2-link-button:hover { color: #155fbd; text-decoration: underline; }
.sc2-summary + .sc2-detail { padding-top: 0; }
@media (max-width: 900px) { .sc2-toolbar { align-items: stretch; flex-wrap: wrap; } .sc2-toolbar-fields { flex: 1 1 100%; order: 3; } .sc2-refresh { margin-left: 0; } }
@media (max-width: 680px) { .sc2-toolbar-fields { flex-wrap: wrap; width: 100%; } .sc2-toolbar-field { flex: 1 1 180px; } .sc2-toolbar-field input,.sc2-toolbar-field select { width: 100%; } .sc2-summary { padding: 16px; } }
.sc2-detail-tabs { display: flex; gap: 22px; margin: 2px 20px 0; border-bottom: 1px solid #e8eef5; }
.sc2-detail-tabs button { position: relative; min-height: 42px; padding: 9px 2px; border: 0; color: #7b8da2; background: transparent; font-size: 12px; cursor: pointer; }
.sc2-detail-tabs button[aria-selected="true"] { color: #216fce; font-weight: 600; }
.sc2-detail-tabs button[aria-selected="true"]::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; border-radius: 2px; background: #216fce; content: ''; }
.sc2-change-archive { padding: 16px 20px 20px; }
.sc2-change-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.sc2-change-filters { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.sc2-change-filters label { display: grid; gap: 5px; color: #7a8da3; font-size: 11px; }
.sc2-change-filters input,.sc2-change-filters select { height: 34px; box-sizing: border-box; padding: 6px 9px; border: 1px solid #d4dfeb; border-radius: 5px; color: #344b66; background: #fff; font-size: 12px; }
.sc2-change-filters input { width: 245px; }
.sc2-change-filters select { width: 130px; }
.sc2-change-actions-top { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.sc2-change-actions-top button { min-height: 34px; padding: 7px 11px; border: 1px solid #d4dfeb; border-radius: 5px; color: #536a82; background: #fff; font-size: 12px; cursor: pointer; }
.sc2-change-actions-top button:hover { border-color: #9dbfe4; color: #216fce; }
.sc2-change-actions-top button.primary { border-color: #216fce; color: #fff; background: #216fce; }
.sc2-change-table { overflow-x: auto; border: 1px solid #e0e8f1; border-radius: 7px; }
.sc2-change-row { display: grid; grid-template-columns: 88px 92px 100px 150px 220px minmax(250px,1.5fr) 150px 90px 110px; align-items: center; gap: 12px; min-width: 1380px; padding: 15px 14px; border-top: 1px solid #e8eef5; color: #344b66; font-size: 12px; }
.sc2-change-row:first-child { border-top: 0; }
.sc2-change-header { padding-top: 12px; padding-bottom: 12px; color: #7d8fa4; background: #f8fafc; font-size: 11px; }
.sc2-change-id,.sc2-change-date { color: #5d728a; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc2-change-type,.sc2-archive-status { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border-radius: 14px; color: #216fce; background: #eaf2ff; font-size: 11px; white-space: nowrap; }
.sc2-change-type.调岗 { color: #b26c10; background: #fff2dc; }
.sc2-change-type.退出 { color: #728298; background: #edf1f5; }
.sc2-change-type.增补 { color: #14805d; background: #e8f7f0; }
.sc2-change-person strong,.sc2-change-reason strong { display: block; color: #253c57; font-size: 12px; line-height: 18px; }
.sc2-change-person small,.sc2-change-duty small,.sc2-change-reason small,.sc2-change-approval small { display: block; overflow: hidden; margin-top: 3px; color: #8999ab; font-size: 11px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.sc2-change-duty span { display: block; overflow: hidden; color: #3c526a; text-overflow: ellipsis; white-space: nowrap; }
.sc2-change-reason strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc2-change-approval { min-width: 0; }
.sc2-change-approval span { display: block; overflow: hidden; color: #3d556d; text-overflow: ellipsis; white-space: nowrap; }
.sc2-archive-status { color: #13824d; background: #e8f7ef; }
.sc2-archive-status.pending { color: #b16f12; background: #fff2dc; }
.sc2-change-actions { display: flex; gap: 6px; }
.sc2-change-actions button { padding: 4px 5px; border: 0; color: #286ab1; background: transparent; font-size: 11px; cursor: pointer; }
.sc2-change-actions button:hover { color: #124f96; text-decoration: underline; }
.sc2-change-footer { padding: 12px 2px 0; color: #8291a3; font-size: 11px; }
.sc2-field textarea { width: 100%; min-height: 72px; box-sizing: border-box; resize: vertical; padding: 8px 9px; border: 1px solid #d4dfeb; border-radius: 5px; color: #344b66; background: #fff; font: inherit; font-size: 13px; }
@media (max-width: 900px) { .sc2-change-toolbar { align-items: stretch; flex-direction: column; } .sc2-change-actions-top { justify-content: flex-start; flex-wrap: wrap; } }

/* 安委会岗位：可搜索单选与全机构共享枚举管理。 */
.sc2-role-picker { position: relative; min-width: 0; }
.sc2-role-control { display: grid; grid-template-columns: minmax(0,1fr) 36px; gap: 6px; }
.sc2-role-trigger,.sc2-role-settings { min-height: 36px; border: 1px solid #d4dfeb; border-radius: 5px; color: #344b66; background: #fff; cursor: pointer; }
.sc2-role-trigger { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 7px 9px; font-size: 13px; text-align: left; }
.sc2-role-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc2-role-settings { display: grid; place-items: center; padding: 0; color: #59718a; }
.sc2-role-trigger:hover,.sc2-role-settings:hover { border-color: #9dbfe4; color: #155fbd; background: #f8fbff; }
.sc2-role-trigger:focus-visible,.sc2-role-settings:focus-visible { outline: 2px solid rgb(33 111 206 / 22%); outline-offset: 1px; border-color: #78a9df; }
.sc2-role-popover { position: fixed; z-index: 50; inset: auto; box-sizing: border-box; margin: 0; padding: 7px; overflow: hidden; border: 1px solid #cfdbe8; border-radius: 7px; background: #fff; box-shadow: 0 14px 34px rgb(27 58 92 / 20%); }
.sc2-role-popover:popover-open { display: block; }
.sc2-role-search-wrap { position: relative; margin-bottom: 6px; }
.sc2-role-search-wrap svg { position: absolute; top: 50%; left: 9px; color: #8a9bad; transform: translateY(-50%); pointer-events: none; }
.sc2-role-search-wrap .sc2-role-search { min-height: 32px; padding-left: 30px; font-size: 12px; }
.sc2-role-options { display: grid; max-height: min(220px,var(--sc2-role-list-max,220px)); overflow: auto; overscroll-behavior: contain; }
.sc2-role-options button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 32px; padding: 6px 8px; border: 0; border-radius: 4px; color: #405872; background: transparent; font-size: 12px; text-align: left; cursor: pointer; }
.sc2-role-options button:hover,.sc2-role-options button[aria-selected="true"] { color: #155fbd; background: #edf5ff; }
.sc2-role-options button:disabled { color: #91a0b0; background: #f7f9fb; cursor: not-allowed; }
.sc2-role-options em { color: #7f91a6; font-size: 10px; font-style: normal; white-space: nowrap; }
.sc2-role-empty { padding: 18px 8px; color: #8998aa; font-size: 11px; text-align: center; }
.sc2-role-manager { width: min(760px, calc(100vw - 32px)); }
.sc2-role-manager > header,.sc2-role-manager > footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.sc2-role-manager > header { border-bottom: 1px solid #e8eef5; }
.sc2-role-manager > header > div { min-width: 0; }
.sc2-role-manager > header strong { display: block; color: #243b56; font-size: 15px; }
.sc2-role-manager > header small { display: block; margin-top: 2px; color: #8292a5; font-size: 11px; line-height: 16px; }
.sc2-role-manager > header > button { border: 0; color: #72849a; background: transparent; font-size: 20px; cursor: pointer; }
.sc2-role-manager > .sc2-dialog-body { max-height: min(590px, calc(100dvh - 160px)); }
.sc2-role-manager-error { margin: 0 0 10px; padding: 8px 10px; border-radius: 5px; color: #a13d3d; background: #fff0f0; font-size: 12px; }
.sc2-role-add { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #e8eef5; }
.sc2-role-add input,.sc2-role-name { min-height: 34px; box-sizing: border-box; border: 1px solid #d4dfeb; border-radius: 5px; color: #344b66; background: #fff; font-size: 12px; }
.sc2-role-add input { padding: 7px 9px; }
.sc2-role-add button { min-width: 64px; border: 0; border-radius: 5px; color: #fff; background: #216fce; font-size: 12px; cursor: pointer; }
.sc2-role-list { display: grid; gap: 6px; }
.sc2-role-row { display: grid; grid-template-columns: 26px minmax(150px,1fr) 48px auto; align-items: center; gap: 8px; min-height: 44px; padding: 5px 7px; border: 1px solid #e4ebf3; border-radius: 6px; background: #fbfcfe; }
.sc2-role-row.is-dragging { opacity: .45; border-color: #8bb5e3; }
.sc2-drag-handle { display: grid; place-items: center; width: 26px; min-height: 30px; padding: 0; border: 0; color: #8c9bad; background: transparent; cursor: grab; }
.sc2-drag-handle:active { cursor: grabbing; }
.sc2-role-name { width: 100%; padding: 6px 8px; }
.sc2-role-status { padding: 3px 6px; border-radius: 10px; color: #14805d; background: #e8f7f0; font-size: 10px; text-align: center; white-space: nowrap; }
.sc2-role-status.disabled { color: #75869a; background: #edf1f5; }
.sc2-role-row-actions { display: flex; align-items: center; gap: 3px; }
.sc2-role-row-actions button { min-width: 28px; min-height: 28px; padding: 4px 6px; border: 0; border-radius: 4px; color: #286ab1; background: transparent; font-size: 11px; cursor: pointer; }
.sc2-role-row-actions button:hover { background: #eaf3fd; }
.sc2-role-row-actions button:disabled { color: #b1bcc8; background: transparent; cursor: not-allowed; }
.sc2-role-row-actions button.danger { color: #b44b4b; }
.sc2-role-manager > footer { justify-content: space-between; border-top: 1px solid #e8eef5; color: #8292a5; font-size: 11px; }
.sc2-role-manager > footer button { min-height: 34px; padding: 7px 14px; border: 0; border-radius: 5px; color: #fff; background: #216fce; font-size: 12px; cursor: pointer; }
@media (max-width: 680px) { .sc2-role-row { grid-template-columns: 26px minmax(120px,1fr) 48px; } .sc2-role-row-actions { grid-column: 2 / -1; flex-wrap: wrap; } }
