#commentsView.cw-enabled>.comment-patrol-notice,#commentsView.cw-enabled>.comment-patrol-summary,#commentsView.cw-enabled>.comment-patrol-panel{display:none!important}
.cw-notice{padding:14px 18px;border:1px solid var(--line,#c9d8e6);border-radius:12px;background:var(--field,#edf5fb);font-size:12px;line-height:1.8;margin:14px 0}
.cw-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0}.cw-summary>div{background:var(--paper,#fff);border:1px solid var(--line,#d7e4ef);border-radius:14px;padding:18px}.cw-summary span{display:block;font-size:11px;color:var(--muted,#627a91);margin-bottom:9px}.cw-summary strong{font-size:24px}
.cw-panel{border:1px solid var(--line,#d7e4ef);border-radius:16px;background:var(--paper,#fff);margin:16px 0;overflow:hidden}.cw-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:16px;border-bottom:1px solid var(--line,#d7e4ef)}.cw-tabs button{border:1px solid transparent;background:transparent;color:inherit;padding:10px 16px;border-radius:9px;cursor:pointer}.cw-tabs .active{background:#174e78;color:#fff}.cw-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:16px}.cw-toolbar label{font-size:11px;display:grid;gap:6px}.cw-toolbar input,.cw-toolbar select,.cw-pagination select{border:1px solid var(--line,#c9d8e6);background:var(--paper,#fff);color:inherit;border-radius:8px;padding:9px 12px;font:inherit;min-height:36px}.cw-search{flex:1;min-width:200px}.cw-meta{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;font-size:11px;color:var(--muted,#627a91);padding:0 16px 14px}.cw-warning{padding:12px 16px;color:#9a4a16;background:#fff4d9;font-size:12px}.cw-table{min-width:1350px;width:100%;border-collapse:collapse;table-layout:fixed}.cw-table th{font-size:11px;background:var(--field,#eaf2f8);padding:14px 10px;text-align:left}.cw-table th:first-child{width:220px}.cw-table th:nth-child(2){width:150px}.cw-table th:nth-child(3){width:220px}.cw-table th:last-child{width:150px}.cw-table td{padding:16px 10px;border-bottom:1px solid var(--line,#d7e4ef);vertical-align:top;font-size:12px;overflow-wrap:anywhere}.cw-table th button{border:0;background:none;color:inherit;cursor:pointer}.cw-table small{display:block;font-size:10px;color:var(--muted,#627a91);margin-top:5px}.cw-account-metric+div{margin-top:12px}.cw-chip{display:inline-block;border-radius:6px;background:#edf5fc;color:#235478;padding:4px 7px;margin-bottom:6px;font-size:10px}.cw-chip.urgent{background:#fce6e4;color:#a33}.cw-actions{display:grid;gap:8px}.cw-actions button{font-size:11px;padding:8px}.cw-pagination{display:flex;align-items:center;gap:10px;padding:14px;font-size:11px}.cw-pagination>span{margin-right:auto}.cw-help{padding:16px;font-size:12px;line-height:1.8}.cw-help summary{cursor:pointer}.cw-help ul{max-height:260px;overflow:auto}
.cw-dialog{width:min(840px,calc(100vw - 32px));max-height:90vh;padding:0;border:1px solid var(--line,#c9d8e6);border-radius:18px;background:var(--paper,#fff);color:var(--ink,#123956);box-shadow:0 20px 90px #132d4a40}.cw-dialog::backdrop{background:#102b4b80;backdrop-filter:blur(3px)}.cw-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line,#d7e4ef);position:sticky;top:0;background:var(--paper,#fff);z-index:1}.cw-dialog h2{margin:0;font-size:20px}.cw-dialog-body{padding:18px 24px;font-size:13px;line-height:1.7}.cw-dialog p{margin:10px 0}.cw-dialog form{display:grid;gap:12px;border:1px solid var(--line,#d7e4ef);padding:16px;border-radius:12px;margin:16px 0}.cw-dialog label{display:grid;gap:7px}.cw-dialog input:not([type=checkbox]),.cw-dialog select,.cw-dialog textarea{width:100%;padding:10px 12px;border:1px solid var(--line,#c9d8e6);border-radius:8px;background:var(--paper,#fff);color:inherit;font:inherit}.cw-dialog textarea{min-height:80px;resize:vertical}.cw-checks label,.cw-dialog fieldset label{display:flex;align-items:center;gap:8px;margin-bottom:8px}.cw-dialog fieldset{border:1px solid var(--line,#c9d8e6);border-radius:8px}.cw-dialog input[type=checkbox]{width:16px;height:16px;flex-shrink:0}.cw-dialog details{border-top:1px solid var(--line,#c9d8e6);padding:14px 0;margin-top:12px}.cw-dialog summary{cursor:pointer;font-weight:600}.cw-dialog-error{padding:0 24px 18px;color:#ac3535}.cw-mini-metrics{display:grid;gap:8px}.cw-mini-metrics>div{background:var(--field,#edf5fb);border-radius:8px;padding:12px}.cw-mini-metrics span{display:block;margin-top:5px}.cw-components{display:flex;flex-wrap:wrap;gap:8px}.cw-task-info{border-left:3px solid #d1a136;padding-left:12px;margin:16px 0}
.cw-pagination input{width:76px;border:1px solid var(--line,#c9d8e6);background:var(--paper,#fff);color:inherit;border-radius:8px;padding:9px;font:inherit}.cw-table-scroll{max-height:70vh;overflow:auto}.cw-table thead{position:sticky;top:0;z-index:1}
@media(max-width:800px){.cw-summary{grid-template-columns:repeat(2,1fr)}.cw-toolbar{align-items:stretch}.cw-toolbar label{flex:1;min-width:150px}.cw-dialog-body{padding:14px}.cw-pagination{flex-wrap:wrap}}
.cw-datebar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:18px 16px 0}.cw-datebar label{display:grid;gap:6px;font-size:12px}.cw-datebar input{padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:inherit;font:inherit;min-height:38px}.cw-date-hint{margin-left:auto;font-size:12px;align-self:center;color:var(--muted)}.cw-inline{display:flex!important;align-items:center;gap:7px!important;align-self:center}.cw-inline input{min-height:0;width:16px;height:16px}.cw-batch{padding:0 16px 16px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cw-batch span{font-size:11px;color:var(--muted);margin-right:auto}.cw-link{border:0;background:none;color:#21618e;padding:6px 0;text-align:left;cursor:pointer;font:inherit}.cw-table{min-width:1670px}.cw-table th:first-child{width:44px}.cw-table th:nth-child(2){width:220px}.cw-table th:nth-child(3){width:170px}.cw-table th:nth-child(4){width:110px}.cw-table th:nth-child(5){width:150px}.cw-table th:nth-child(6){width:130px}.cw-table th:nth-child(7){width:240px}.cw-table th:nth-child(8){width:130px}.cw-table th:nth-child(9){width:130px}.cw-table th:nth-child(10){width:130px}.cw-table th:last-child{width:150px}.cw-table td select{width:100%;padding:8px;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:inherit}.cw-table input[type=checkbox]{width:16px;height:16px}.cw-footer{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}.cw-history{padding:12px;border-bottom:1px solid var(--line)}.cw-history pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.cw-footnote{font-size:12px;color:var(--muted)}
/* Pending handling is distinct from checks that have not yet been performed. */
#commentWorkbench .cw-processing { color: #c33139; font-style: normal; font-weight: 700; }
#cwStatus option { color: var(--ink,#123956); font-weight: 400; background: var(--paper,#fff); }
#cwStatus option.cw-processing { color: #c33139; font-weight: 700; }
[data-theme="night"] #commentWorkbench .cw-processing { color: #ff8d96; }
