/* Approved collection workspace: scoped to this module; shared keyword tables stay unchanged. */
.main-content #app .collect-run-overview { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); min-height:82px; margin:0 0 18px; border:1px solid #dbe4f5; border-radius:12px; background:linear-gradient(110deg,#fff,#f5f8ff); box-shadow:0 4px 14px #27477b05; }
.collect-run-metric { position:relative; display:flex; align-items:center; gap:14px; min-width:0; padding:16px 22px; }
.collect-run-metric + .collect-run-metric::before { content:""; position:absolute; top:20px; bottom:20px; left:0; width:1px; background:#e2e8f3; }
.collect-run-icon { display:grid; place-items:center; width:38px; height:38px; flex:0 0 38px; border-radius:10px; background:#edf2ff; color:#4266e3; }
.tone-1 .collect-run-icon { background:#edf7f3; color:#238c76; }
.tone-2 .collect-run-icon { background:#f0f3f9; color:#6e819e; }
.tone-3 .collect-run-icon { background:#fff5e8; color:#b87b25; }
.collect-run-copy { display:flex; align-items:center; justify-content:space-between; flex:1; min-width:0; gap:12px; }
.collect-run-copy > span { color:#62748f; font-size:13px; white-space:nowrap; }
.main-content #app .collect-run-copy strong { color:#243653; font-size:28px; line-height:1; font-weight:600; font-variant-numeric:tabular-nums; }
.main-content #app .tone-3 .collect-run-copy strong { color:#a86f20; }
.collect-run-copy small { margin-left:8px; font-size:11px; font-weight:400; color:#8a97ad; }
.main-content #app .collect-record-filters { display:flex; align-items:stretch; gap:12px; margin:0 0 12px; }
.collect-record-search { flex:1; min-width:120px; display:flex; align-items:center; overflow:hidden; border:1px solid #d6deef; border-radius:8px; background:#fff; }
.main-content #app .collect-record-search input { flex:1; width:0; min-width:0; height:44px; padding:10px 13px; border:0; border-radius:0; background:transparent; box-shadow:none; }
.main-content #app .collect-record-search button { display:grid; place-items:center; align-self:stretch; width:46px; flex:0 0 46px; margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; color:#52688b; cursor:pointer; }
.collect-record-search:focus-within { outline:2px solid #bdcbff; outline-offset:1px; }
.collect-record-select { position:relative; flex:0 0 150px; }
.main-content #app .collect-record-select select { appearance:none; width:100%; min-height:44px; padding:10px 30px 10px 14px; border:1px solid #d6deef; border-radius:8px; background:#fff; }
.collect-record-select > span { position:absolute; right:13px; top:50%; transform:translateY(-50%); color:#52688b; pointer-events:none; }
.collect-record-scope { display:flex; gap:14px; margin:6px 0 12px; color:#7888a2; font-size:12px; }
.main-content #app .collect-record-panel { overflow:hidden; }
.main-content #app .collect-record-table { width:100%; min-width:1100px; table-layout:fixed; }
.main-content #app .collect-record-table th, .main-content #app .collect-record-table td { padding:16px 18px; vertical-align:middle; }
.collect-record-table th:nth-child(1) { width:13%; }
.collect-record-table th:nth-child(2) { width:31%; }
.collect-record-table th:nth-child(3) { width:9%; }
.collect-record-table th:nth-child(4) { width:14%; }
.collect-record-table th:nth-child(5) { width:10%; }
.collect-record-table th:nth-child(6) { width:9%; }
.collect-record-table th:nth-child(7) { width:14%; }
.main-content #app .collect-record-theme strong { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:13px; line-height:1.65; }
.collect-record-date { font-variant-numeric:tabular-nums; white-space:nowrap; font-size:12px!important; }
.collect-record-actions { display:flex; align-items:center; gap:14px; white-space:nowrap; }
.main-content #app .collect-record-link { appearance:none; display:inline-flex; align-items:center; width:auto; min-height:24px; margin:0; padding:2px 0; border:0; border-radius:3px; background:transparent; box-shadow:none; color:#3158cf; font:inherit; font-size:12px; text-align:left; cursor:pointer; }
.main-content #app .collect-record-link:hover { text-decoration:underline; }
.main-content #app .collect-record-link:focus-visible { outline:2px solid #4169e1; outline-offset:3px; }
.collect-mechanism { display:inline-flex; align-items:center; gap:5px; padding:3px 7px; border:1px solid #e3e9fb; border-radius:5px; background:#f0f4ff; color:#4865be; font-size:12px; white-space:nowrap; }
.collect-mechanism svg { width:12px; height:12px; flex:0 0 12px; }
.collect-record-status { display:inline-block; padding:3px 8px; border-radius:5px; font-size:12px; white-space:nowrap; }
.collect-record-status.is-good { background:#e9f7f2; color:#218d73; }
.collect-record-status.is-warn { background:#fff4e2; color:#a66d15; }
.collect-record-status.is-neutral { background:#f1f4f9; color:#61728f; }
.collect-record-progress { display:block; margin-top:4px; color:#7889a3; font-size:11px; }
.main-content #app .collect-record-empty { height:120px; text-align:center; color:#7586a0; }
.collect-record-pagination { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; border-top:1px solid #e2e9f3; color:#7889a4; font-size:12px; }
.collect-record-pagination > div { display:flex; align-items:center; gap:12px; white-space:nowrap; }
.main-content #app .collect-record-pagination select { width:auto; min-height:32px; padding:4px 8px; border:0; background:transparent; }
body:has(.collect-workspace-drawer-backdrop) { overflow:hidden; }
.collect-workspace-drawer-backdrop { position:fixed; inset:0; z-index:150; }
.collect-workspace-drawer-shade { position:absolute; inset:0; background:#15294d26; }
.main-content #app .collect-workspace-drawer { position:absolute; top:74px; right:0; bottom:0; display:flex; flex-direction:column; width:560px; max-width:100vw; background:#fff; color:#1d2b45; box-shadow:-10px 0 35px #182d4c15; }
.collect-workspace-drawer > header { flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 26px; border-bottom:1px solid #dce5f3; background:linear-gradient(115deg,#fff,#f5f8ff); }
.main-content #app .collect-workspace-drawer > header h2 { margin:0; font-size:21px; line-height:1.4; }
.main-content #app .collect-drawer-close { min-width:28px; padding:0; border:0; background:none; box-shadow:none; color:#76859e; font-size:24px; cursor:pointer; }
.collect-workspace-drawer-body { flex:1; overflow-y:auto; overscroll-behavior:contain; min-height:0; padding:24px 26px; }
.collect-workspace-drawer > footer { flex:0 0 auto; display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:10px; padding:18px 26px; border-top:1px solid #e3e8f1; background:#fff; }
.collect-workspace-drawer > footer > [data-collect-auto-action]:first-child { margin-right:auto; }
.collect-management-status { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:24px; font-size:14px; }
.collect-management-status > span { display:inline-flex; align-items:center; gap:7px; color:#7887a0; }
.collect-management-status > span.is-on { color:#208a70; }
.collect-management-status i { width:6px; height:6px; border-radius:50%; background:currentColor; }
.collect-management-kv { display:flex; align-items:start; justify-content:space-between; gap:20px; padding:12px 0; border-bottom:1px solid #edf0f6; font-size:13px; line-height:1.7; }
.collect-management-kv > span:first-child { flex-shrink:0; color:#7b89a1; }
.collect-management-kv > span:last-child { text-align:right; overflow-wrap:anywhere; }
.main-content #app .collect-workspace-drawer-body h3 { display:flex; align-items:center; gap:8px; margin:22px 0 12px; font-size:14px; line-height:1.6; }
.collect-workspace-drawer-body h3::before { content:""; flex:0 0 3px; width:3px; height:12px; border-radius:3px; background:#6c88ed; }
.collect-management-topics { display:flex; flex-wrap:wrap; gap:8px; }
.collect-management-topics span { padding:7px 10px; border-radius:6px; background:#f3f6fc; color:#526784; font-size:12px; }
.collect-management-notice { margin:18px 0; padding:15px 16px; border:1px solid #f5e5c7; border-radius:9px; background:#fff8ec; color:#956819; font-size:13px; line-height:1.8; }
.collect-management-notice > button { display:block!important; margin-top:6px!important; }
.collect-execution-theme { overflow-wrap:anywhere; }
.collect-execution-detail dl { margin:16px 0; }
.collect-execution-detail dl > div { display:flex; justify-content:space-between; gap:20px; padding:12px 0; border-bottom:1px solid #edf0f6; font-size:13px; line-height:1.7; }
.collect-execution-detail dt { color:#7b89a1; flex:0 0 auto; }
.collect-execution-detail dd { margin:0; text-align:right; overflow-wrap:anywhere; }
.collect-detail-questions p { margin:0; padding:12px 0; border-top:1px solid #e7ecf5; font-size:13px; line-height:1.8; }
.collect-detail-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:16px 0; }
.main-content #app .collect-workspace-drawer .collect-results-panel { min-width:0; margin:16px 0 0; padding:0; }
.main-content #app .collect-workspace-drawer .collect-result-card { min-width:0; overflow-wrap:anywhere; }
.collect-directional-form .field { margin-bottom:20px; }
.collect-directional-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:24px; }
@media(max-width:1200px) { .collect-run-copy { flex-direction:column; align-items:flex-start; gap:8px; } .collect-run-metric { gap:12px; padding:16px; } .collect-record-select { flex-basis:130px; } }
@media(max-width:760px) { .main-content #app .collect-run-overview { grid-template-columns:repeat(2,minmax(0,1fr)); } .collect-run-metric:nth-child(3)::before { display:none; } .collect-run-metric:nth-child(n+3) { border-top:1px solid #e2e8f3; } .main-content #app .collect-record-filters { flex-wrap:wrap; } .collect-record-search { flex-basis:100%; } .collect-record-select { flex:1 1 100px; } .collect-record-pagination { flex-direction:column; align-items:flex-start; } .collect-record-pagination > div { flex-wrap:wrap; gap:8px; } .main-content #app .collect-workspace-drawer { top:0; width:100%; } .collect-workspace-drawer > header { padding:18px 20px; } .collect-workspace-drawer-body { padding:20px; } .collect-workspace-drawer > footer { padding:14px 20px; } }

.main-content #app .collect-workspace-tabs { border-bottom:0!important; }
.main-content #app .collect-workspace-tabs .collect-tab-label { padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; }
.main-content #app .collect-record-panel > .table-wrap { margin:0!important; border:0!important; border-radius:0!important; }
