/* Robot management only: keep business-page table and dialog rules isolated. */
#robotMvp{--wx-line:#e0e9e5;--wx-muted:#62766d;color:#213b31}
#robotMvp .section-head h2{font-family:inherit;letter-spacing:0}
#robotMvp .section-head p,.wx-help{color:#62766d;line-height:1.7;font-size:13px}
.wx-panel{background:#fff;border:1px solid #e0e9e5;border-radius:14px;padding:24px;margin:20px 0}
.wx-panel h3{font-family:inherit;font-size:17px;margin:0 0 16px}
.wx-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}
.wx-summary>div{padding:18px 22px;background:#eff6f2;border:1px solid #dfebe4;border-radius:12px}
.wx-summary strong{display:block;font-size:21px;margin-top:8px}.wx-summary span{color:#62766d;font-size:13px}
#robotMvp .action-row,.wx-modal .action-row,.wx-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0 20px}
#robotMvp .btn,.wx-modal .btn{border:1px solid #dce6e0;background:#fff;border-radius:7px;min-height:36px;padding:7px 12px;line-height:1.4;font-size:13px;white-space:nowrap;color:#244d3e}
#robotMvp .btn:hover,.wx-modal .btn:hover{background:#edf6f1;border-color:#b3cec0}
#robotMvp .btn-primary,.wx-modal .btn-primary{background:#137b63;border-color:#137b63;color:#fff}
#robotMvp .btn-danger,.wx-modal .btn-danger{background:#fff7f6;border-color:#f0d9d5;color:#b64032}
#robotMvp .btn:disabled,.wx-modal .btn:disabled{opacity:.45;cursor:not-allowed}
#robotMvp .table-wrap,.wx-modal .table-wrap{width:100%;overflow-x:auto;border:1px solid #e0e9e5;border-radius:10px;margin:12px 0}
#robotMvp table,.wx-modal table{table-layout:auto!important;width:100%;font-size:14px}
#robotMvp thead,.wx-modal thead{background:#f5f8f6}
#robotMvp th,.wx-modal th{font-weight:600;color:#5e7368;padding:13px 16px}
#robotMvp td,.wx-modal td{white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere;vertical-align:top;padding:16px!important;line-height:1.65}
#robotMvp td small,.wx-modal td small{display:block;color:#72857b;font-size:12px;margin-top:4px}
#robotMvp td:last-child,.wx-modal td:last-child{min-width:150px}
#robotMvp td .btn,.wx-modal td .btn{margin:2px 6px 5px 0}
.wx-mono{font-family:ui-monospace,Consolas,monospace;font-size:12px;color:#72857b}
.wx-badge{display:inline-flex;align-items:center;background:#edf5f0;color:#226449;font-size:12px;border-radius:6px;padding:3px 9px;white-space:nowrap}
.wx-badge.muted{background:#f0f2f4;color:#65737b}.wx-badge.warn{background:#fff3e5;color:#99631a}
.wx-checkbox{display:flex;align-items:center;gap:10px;cursor:pointer}.wx-checkbox input{width:16px;height:16px;flex-shrink:0;accent-color:#137b63}
.wx-toolbar .input{width:auto;min-width:160px;flex:1;max-width:340px}.wx-toolbar select.input{flex:0 1 210px}
.wx-pagination{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:18px;color:#62766d;font-size:13px}
dialog#modal.wx-modal{width:min(1000px,calc(100vw - 40px));max-width:1000px;max-height:90vh;border-radius:16px;background:#fff;overflow-x:hidden}
.wx-modal .modal-head{background:#fff;padding:22px 28px;align-items:center}.wx-modal .modal-head h3{font-family:inherit;font-size:19px}
.wx-modal .modal-body{padding:24px 28px;overflow-wrap:anywhere}.wx-modal .field{min-width:0;display:flex;flex-direction:column;gap:8px}
.wx-modal .input{max-width:100%;box-sizing:border-box;line-height:1.6;border-radius:7px}.wx-modal textarea{min-height:100px;resize:vertical}
.wx-modal .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.wx-modal .field:has(input[type=checkbox]){padding:10px 12px;border:1px solid #e5ece8;border-radius:8px;background:#f8faf9}
.wx-modal input[type=checkbox]{width:16px;height:16px;vertical-align:middle;accent-color:#137b63;margin-right:7px}
.wx-modal h4{padding:12px 0 4px;border-top:1px solid #e0e9e5;color:#385d4c}
.wx-records{display:grid;gap:16px}.wx-record{border:1px solid #e0e9e5;border-radius:12px;padding:20px;background:#fff}
.wx-record-head{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:14px}.wx-record-head time{margin-left:auto;font-size:12px;color:#708176}
.wx-record-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font:14px/1.8 inherit;background:#f6f9f7;border-radius:8px;padding:16px;max-height:280px;overflow:auto}
.wx-record-content.expanded{max-height:none}.wx-record p{margin:8px 0}.wx-record footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.wx-empty{text-align:center;padding:40px 16px;color:#718278}.wx-confirm{border-left:3px solid #ce8e40;padding:12px 16px;background:#fff8ed;line-height:1.8;margin:12px 0 22px}
.wx-identities th:nth-child(1){width:18%}.wx-identities th:nth-child(2){width:40%}.wx-identities th:nth-child(3){width:15%}
@media(max-width:700px){.wx-summary{grid-template-columns:1fr}.wx-panel{padding:16px}dialog#modal.wx-modal{width:calc(100vw - 20px);max-height:94vh}.wx-modal .modal-body,.wx-modal .modal-head{padding:18px}.wx-modal .form-grid{grid-template-columns:1fr}.wx-modal .table-wrap table,#robotMvp .table-wrap table{min-width:600px}.wx-record{padding:14px}.wx-record-head time{margin-left:0;width:100%}.wx-toolbar .input{max-width:none;width:100%}.wx-pagination{justify-content:center}.wx-modal .modal-title-row{flex-wrap:wrap}}
