/* 公共模块：系统设置 → 渠道转移（源头 null53/gateway-common）。通用的颜色、表格、小标签在 gw-common.css。
   卡片正文自己带内边距（和网关 .panel-heading 的 16px 20px 对齐）；网关的 .panel 本身带内边距的设 --gw-panel-padding:0。 */
.gw-cho .gw-cho-body{display:flex;flex-direction:column;gap:12px;padding:var(--gw-panel-padding,20px)}
/* 查找：搜索框占大头，三个筛选 + 两个按钮跟在后面，窄了就换行 */
.gw-cho .gw-cho-search{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px}
.gw-cho .gw-cho-input{min-width:0;height:36px;padding:0 10px;border:1px solid var(--gwc-border);border-radius:var(--gwc-radius);background:transparent;color:var(--gwc-fg);font:inherit;font-size:13.5px}
.gw-cho .gw-cho-input:focus{outline:2px solid var(--gwc-primary,#2563eb);outline-offset:-1px}
.gw-cho textarea.gw-cho-query{flex:1 1 360px;height:auto;min-height:36px;padding:7px 10px;line-height:1.5;resize:vertical}
.gw-cho .gw-cho-search select{width:156px;height:36px}
.gw-cho .gw-cho-search button{height:36px;white-space:nowrap}
.gw-cho .gw-cho-summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;color:var(--gwc-muted);font-size:13px}
.gw-cho .gw-cho-missing{color:var(--gwc-warning)}
.gw-cho .gw-cho-missing[hidden]{display:none}
.gw-cho .gw-cho-frame{max-height:520px;border:1px solid var(--gwc-border);border-radius:var(--gwc-radius);overflow:auto;background:var(--gwc-surface)}
.gw-cho table.gw-cho-table{min-width:980px}
.gw-cho-table th:nth-child(1){width:44px}
.gw-cho-table th:nth-child(2){width:92px}
.gw-cho-table th:nth-child(4){width:120px}
.gw-cho-table th:nth-child(5){width:130px}
.gw-cho-table th:nth-child(6){width:104px}
.gw-cho-table th:nth-child(7){width:200px}
.gw-cho-table th:nth-child(8){width:104px}
.gw-cho .gw-cho-table input[type=checkbox]{width:15px;height:15px;margin:0;accent-color:var(--gwc-primary,#2563eb);cursor:pointer}
.gw-cho .gw-cho-table tr.gw-cho-picked-row td{background:color-mix(in oklab,var(--gwc-primary,#2563eb) 8%,transparent)}
/* 改归属：已选几条 → 选新归属（归属树形下拉）→ 按钮，贴在表格下面 */
.gw-cho .gw-cho-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--gwc-border);border-radius:var(--gwc-radius);background:var(--gwc-surface)}
.gw-cho .gw-cho-picked{flex:1 1 auto;min-width:96px;font-size:13.5px;font-weight:600}
.gw-cho .gw-cho-actions select{width:320px;max-width:100%;height:36px}
/* 归属的两个选择框：网关的归属树形下拉（GwCommon.ownerPicker）挂在这个壳里，弹层按它定位 */
.gw-cho .gw-cho-picker{position:relative;display:inline-flex;min-width:0}
.gw-cho .gw-cho-target{flex:0 1 360px}
.gw-cho .gw-cho-actions button{height:36px;white-space:nowrap}
/* 改动记录 */
.gw-cho .gw-cho-block{display:flex;flex-direction:column;gap:12px;margin-top:12px;padding-top:20px;border-top:1px solid var(--gwc-border)}
.gw-cho .gw-cho-head{display:flex;align-items:baseline;gap:12px}
.gw-cho .gw-cho-head h4{margin:0;font-size:15px;font-weight:700}
.gw-cho .gw-cho-head small{color:var(--gwc-muted);font-size:13px}
.gw-cho .gw-cho-log-frame{max-height:360px}
.gw-cho table.gw-cho-log{min-width:760px}
.gw-cho-log th:nth-child(1){width:104px}
.gw-cho-log th:nth-child(2){width:120px}
.gw-cho-log th:nth-child(4),.gw-cho-log th:nth-child(5){width:180px}
@media (max-width:860px){
  .gw-cho .gw-cho-search select{flex:1 1 140px;width:auto}
  .gw-cho .gw-cho-actions{align-items:stretch;flex-direction:column}
  .gw-cho .gw-cho-actions select,.gw-cho .gw-cho-target{width:100%;flex:1 1 auto}
}
