/* 全局自适应（长期保留，任何功能修改/删除都不要动这个文件）
   作用：所有表格按窗口宽度自动压缩列宽、长内容折行，保证一屏显示、不横向滚动。
   配合 js/app.js 里的 fitTables() 一起生效：切页 / 筛选 / 弹窗 / 窗口缩放后自动重算列宽。 */
table { width: 100%; }
.cust-main, .rep-main { table-layout: fixed !important; }
.cust-main th, .cust-main td, .rep-main th, .rep-main td { max-width: none !important; min-width: 0 !important; }
th, td { white-space: normal !important; overflow-wrap: anywhere; word-break: break-word; }
thead th { padding: 9px 8px !important; font-size: 12.5px; }
tbody td { padding: 9px 8px !important; font-size: 12.8px; line-height: 1.55; }
td.c-op, td:last-child { white-space: normal !important; }
td.c-op .btn, td:last-child .btn { margin: 2px 0; }
