/* v7 composition, scoped to the existing news page and its drawers. */
body.news-workbench main{max-width:none;padding:24px 26px 30px}body.news-workbench .shell{grid-template-columns:160px minmax(0,1fr)}
.wb-statistics{display:flex;align-items:stretch;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:20px;font-variant-numeric:tabular-nums}.wb-stat{padding:14px 22px 14px 0;min-width:110px;border-right:1px solid var(--line);margin-right:22px}.wb-stat span{display:block;font-size:11px;color:var(--muted)}.wb-stat strong{font-size:26px;font-weight:600;line-height:1.5;letter-spacing:-.6px}.wb-counts{display:flex;flex-wrap:wrap;align-content:center;gap:2px 16px;flex:1}.wb-counts button{padding:2px 0;border:0;background:none;font-size:11px;color:var(--muted);min-height:30px;white-space:nowrap}
.wb-processing{padding-bottom:18px;border-bottom:1px solid var(--line)}.wb-processing-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.wb-state{font-size:11px;color:var(--muted);display:inline-flex;align-items:center;gap:7px}.wb-state:before{content:"";width:6px;height:6px;background:#a3a3a3}.wb-state.active:before{background:#26734e}.wb-run-actions,.wb-processing-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.wb-switch-label{display:flex;gap:9px;align-items:center;font-size:12px;min-height:40px;cursor:pointer}.wb-switch-label .switch{width:34px;height:20px}.wb-switch-label .switch input{width:34px;height:20px}.wb-switch-label .switch>span{width:34px;height:20px}.wb-switch-label .switch>span:after{width:14px;height:14px;top:3px;left:3px}.wb-switch-label .switch input:checked+span:after{transform:translateX(14px)}.wb-processing-group .text-button{font-size:11px;min-height:40px;padding:0 4px}.wb-manual{border-left:1px solid var(--line);padding-left:22px;margin-left:10px}.wb-manual .field-help{font-size:11px;margin:0}.wb-progress-text{font-size:12px;color:#525252;margin-top:8px;overflow-wrap:anywhere}.wb-progress-text:empty{display:none}.wb-processing progress{appearance:none;width:100%;height:3px;display:block;margin-top:12px;border:0;background:#f2f2f2}.wb-processing progress::-webkit-progress-bar{background:#f2f2f2}.wb-processing progress::-webkit-progress-value{background:#171717}
.wb-usage{display:flex;align-items:center;flex-wrap:wrap;gap:7px 18px;margin-top:12px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.wb-usage strong{font-size:12px;color:var(--ink);font-weight:500}.wb-usage details{margin-left:auto;position:relative}.wb-usage details>summary{font-size:11px;font-weight:400;min-height:40px;display:flex;align-items:center}.wb-usage details[open]>summary{margin-bottom:0}.wb-usage-note{position:absolute;right:0;top:40px;background:#fff;border:1px solid var(--line);padding:16px;width:min(310px,85vw);z-index:6;line-height:1.9;color:#525252;box-shadow:0 8px 25px #0000000c}.wb-usage-note p+p{margin-top:10px}.wb-usage-toggle{display:flex;gap:16px;margin-bottom:8px}.wb-usage-toggle button{border:0;border-bottom:1px solid transparent;background:none;font-size:11px;min-height:40px}.wb-usage-toggle button[aria-pressed=true]{border-bottom-color:#171717}#wb-usage-unknown{color:var(--red)}
#news .news-view-switch{margin:14px 0 0}#news .news-filters{display:flex;flex-wrap:wrap;gap:9px;align-items:center;padding:16px 0 8px;border:0;margin:0}#news .news-filters label{display:block;min-width:100px}#news .news-filters .news-search{flex:1;max-width:400px;min-width:180px}#news .news-filters input,#news .news-filters select{font-size:12px;min-height:40px}#news .news-tool-actions{display:flex;align-items:center;gap:9px;margin-left:auto}#news .news-trash-button{display:inline-flex;align-items:center;gap:6px;min-height:40px;margin-left:7px;padding:0 0 0 16px;border-left:1px solid var(--line);color:var(--muted);font-size:12px;white-space:nowrap}#news .news-trash-button:hover{color:var(--ink)}#news .news-trash-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}#news .news-back-icon,#news .news-trash-button[aria-pressed=true] .news-trash-icon{display:none}#news .news-trash-button[aria-pressed=true] .news-back-icon{display:block}.wb-extra-filters{position:relative}.wb-extra-filters>summary{font-size:11px;min-height:40px;display:flex;align-items:center;cursor:pointer}.wb-extra-filters>div{position:absolute;z-index:5;right:0;top:40px;background:white;border:1px solid var(--line);padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:12px;width:360px}.wb-extra-filters label{font-size:11px;color:var(--muted)}.wb-selection{display:flex;align-items:center;gap:14px;min-height:36px;color:var(--muted);font-size:11px}.wb-selection .text-button{font-size:11px;min-height:40px;padding:0}.wb-reading-error{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#faf2e6;color:#8b6223;padding:12px 14px;margin:14px 0;font-size:12px}
#news .news-table{table-layout:fixed;min-width:1000px}#news .news-table th:first-child,#news .news-table th:nth-child(2),#news .news-table th:last-child{width:auto}#wb-columns col:nth-child(1){width:36px}#wb-columns col:nth-child(2){width:24%}#wb-columns col:nth-child(3){width:23%}#wb-columns col:nth-child(4){width:22%}#wb-columns col:nth-child(5){width:18%}#wb-columns col:nth-child(6){width:89px}#wb-columns col:nth-child(7){width:60px}#news .news-table th{font-size:11px;padding:12px;background:#fafafa;position:sticky;top:0;z-index:1;white-space:nowrap}#news .news-table td{font-size:12px;line-height:1.8;padding:18px 12px;overflow-wrap:anywhere}#news .news-table td.wb-check{padding:7px 0}.wb-check-hit{display:flex;align-items:center;justify-content:center;width:36px;min-height:40px;cursor:pointer}.wb-check-hit input,#wb-select-page,.wb-source-choice input{accent-color:var(--ink)}.wb-news-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 6px;font-size:10px;color:#858585;line-height:1.8;margin-top:6px}.wb-news-meta>span+span:before{content:"·";margin-right:6px}.wb-news-meta>span{white-space:nowrap}#news .news-title-button{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.wb-points{margin:0;padding-left:16px}.wb-points li+li{margin-top:7px}.wb-relation+.wb-relation{margin-top:14px}.wb-relation p+p{margin-top:7px}.wb-related-link{border:0;background:none;text-align:left;padding:4px 0;min-height:40px;font:inherit;font-size:11px;color:#525252;text-decoration:underline;text-decoration-color:#c8c8c8;text-underline-offset:3px;line-height:1.7}.wb-tag{display:block;font-size:10px;color:var(--muted);margin-bottom:2px}.wb-conflict,.wb-conflict .wb-tag{color:var(--red)}.wb-source-note{display:block;font-size:10px;color:#858585;line-height:1.8;margin-top:8px}.wb-status{font-size:10px;padding:3px 7px}.wb-status.done{background:#eaf5ed;color:#2c7951}.wb-status.partial,.wb-status.stale{background:#faf2e6;color:#8b6223}.wb-footnote{font-size:11px;color:var(--muted);margin-top:12px;line-height:1.8}.wb-dialog{width:min(650px,94vw);max-height:92dvh;overflow:auto;border:1px solid var(--line);padding:28px;background:white}.wb-dialog::backdrop{background:#0003}.wb-dialog h2{font-size:20px;margin-bottom:18px}.wb-dialog p{font-size:12px;margin:12px 0;line-height:1.9}.wb-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.wb-sources{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin:20px 0 12px}.wb-source-choice{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);min-height:53px;font-size:12px;cursor:pointer}.wb-source-choice input{width:15px;height:15px;flex:none}
#wb-detail{padding:0;overflow:hidden}.wb-detail-shell{height:100%;display:flex;flex-direction:column;min-height:0}.wb-detail-head{flex:none;padding:26px 30px 0;border-bottom:1px solid var(--line)}.wb-detail-head>div{display:flex;align-items:start;justify-content:space-between;gap:16px}.wb-detail-head h2{font-size:21px;letter-spacing:-.5px;overflow-wrap:anywhere}.wb-detail-head .button{flex:none}.wb-detail-head>p{margin-top:8px;font-size:12px;color:var(--muted);line-height:1.8}.wb-detail-tabs{display:flex;gap:24px;margin-top:14px}.wb-detail-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:12px 0;color:var(--muted);font-size:13px;min-height:44px}.wb-detail-tabs button[aria-selected=true]{border-bottom-color:var(--ink);color:var(--ink);font-weight:550}.wb-detail-panel{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 30px 30px;outline-offset:-4px}.wb-detail-panel h3{font-size:13px;margin-bottom:12px}.wb-evidence-point{margin-bottom:20px;font-size:14px;line-height:1.9}.wb-evidence{border:0;background:none;padding:6px 0;min-height:40px;font-size:11px;color:#525252;text-decoration:underline;text-decoration-color:#c8c8c8;text-underline-offset:3px}.wb-result-section{border-top:1px solid var(--line);padding-top:20px;margin-top:18px}.wb-article-copy{font-size:14px;line-height:1.95;overflow-wrap:anywhere;white-space:pre-wrap}.wb-input-label{font-size:12px;color:var(--muted);margin-bottom:14px}.wb-article-copy mark{background:#faf2e6;outline:4px solid #faf2e6}.wb-warning{padding:12px 14px;background:#faf2e6;color:#8b6223;font-size:12px;line-height:1.8;margin-bottom:14px}.wb-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
@media(max-width:1100px){body.news-workbench main{padding:20px}.wb-stat{min-width:90px;margin-right:15px}.wb-processing-top{align-items:start}.wb-run-actions{margin-top:6px}.wb-usage{gap:6px 12px}}
@media(max-width:720px){body.news-workbench main{padding:18px 16px}.wb-statistics{flex-wrap:wrap}.wb-stat{flex:1;min-width:75px}.wb-counts{flex-basis:100%;padding:0 0 10px}.wb-run-actions{row-gap:12px}.wb-manual{border-left:0;border-top:1px solid var(--line);padding:12px 0 0;margin:0;flex-basis:100%}.wb-run-actions .button{font-size:11px;padding:6px 9px;min-height:40px}.wb-usage details{margin-left:0}.wb-usage-note{left:0;right:auto}.wb-extra-filters>div{right:auto;left:0;width:300px}#news .news-filters .news-search{flex-basis:100%;max-width:none}.wb-detail-head{padding:20px 18px 0}.wb-detail-panel{padding:20px 18px 26px}.wb-detail-head h2{font-size:19px}.wb-dialog{padding:22px 18px}.wb-sources{gap:0 16px}}
.wb-stale-note{font-size:10px;color:#8b6223;margin-bottom:8px}#news .news-table.wb-trash-table{min-width:750px}#news .news-table.wb-trash-table th:first-child{width:42%}#news .news-table.wb-trash-table th:nth-child(2){width:18%}#news .news-table.wb-trash-table th:last-child{width:80px}

.wb-article-meta{padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);line-height:1.8}.wb-article-meta p{display:flex;flex-wrap:wrap;gap:0 10px;margin:0}.wb-article-meta p+p{margin-top:4px}.wb-article-meta span{white-space:nowrap}.wb-article-meta span+span:before{content:"·";margin-right:10px}.wb-original-link{display:inline-block;margin-top:6px;font-size:11px}.wb-input-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;font-size:11px}.wb-input-tools .wb-input-label{margin:0}.wb-input-tools .text-button{font-size:11px;padding:0;min-height:32px}

.wb-text-counts{padding-bottom:10px;margin-bottom:12px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}.wb-text-counts .wb-count-total{font-size:11px;line-height:1.8;color:var(--ink);margin:0}.wb-text-counts .wb-count-change{font-size:10px;line-height:1.8;color:var(--muted);margin:2px 0 0}.wb-detail-panel>.wb-text-counts{margin-bottom:20px;padding-bottom:16px}.wb-detail-panel>.wb-text-counts .wb-count-total{font-size:13px}.wb-detail-panel>.wb-text-counts .wb-count-change{font-size:12px}
