#rmsInventoryGridRegion .datagrid-cell { /* Match EasyUI's body-level sizing probe; keep its dynamic column widths. */ box-sizing:border-box; white-space:normal; height:auto; line-height:1.65; padding:7px 4px; overflow-wrap:anywhere; }
#rmsInventoryGridRegion .datagrid-header .datagrid-cell { height:auto; min-height:28px; line-height:21px; white-space:normal; padding-top:6px; padding-bottom:6px; }
#rmsInventoryGridRegion .datagrid-header-check,
#rmsInventoryGridRegion .datagrid-cell-check { /* Checkbox columns bypass EasyUI's shared cellClass width calculation. */ box-sizing:border-box; width:46px; padding:0; }
#rmsInventoryGridRegion .datagrid-header .datagrid-header-check { height:auto; min-height:42px; white-space:normal; font-size:14px; }
#rmsInventoryGridRegion .datagrid-header .datagrid-header-check::before { content:"选择"; display:block; line-height:21px; }
.rms-inventory-link { border:0; padding:0 2px; background:transparent; color:#1766c4; cursor:pointer; text-align:left; font:inherit; line-height:inherit; }
.rms-inventory-link:hover { text-decoration:underline; }
.rms-inventory-link:focus-visible { outline:2px solid #1766c4; outline-offset:2px; }
.rms-inventory-label,.rms-inventory-muted { color:#71849a; }
.rms-inventory-sn { font-weight:600; color:#164573; }
.rms-inventory-single-line { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rms-presence-cell { display:flex; align-items:center; gap:8px; white-space:nowrap; }
.rms-presence-refresh { display:inline-flex; align-items:center; justify-content:center; width:25px; height:25px; padding:0; border:1px solid transparent; border-radius:3px; background:transparent; color:#1766c4; font:22px/1 sans-serif; cursor:pointer; }
.rms-presence-refresh:hover:not(:disabled) { background:#edf4ff; border-color:#b8cbe1; }
.rms-presence-refresh:focus-visible { outline:2px solid #1766c4; outline-offset:2px; }
.rms-presence-refresh:disabled { color:#71849a; cursor:wait; opacity:.65; }
.rms-status-checking { color:#818b97; font-weight:600; }
.rms-presence-refresh-icon { display:inline-block; }
.rms-presence-refresh.is-checking .rms-presence-refresh-icon { animation:rms-presence-spin .8s linear infinite; }
@keyframes rms-presence-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { .rms-presence-refresh.is-checking .rms-presence-refresh-icon { animation-duration:2s; } }
.rms-inventory-port { display:inline-block; padding:1px 3px; }
.rms-inventory-port.connected { color:#63758b; font-weight:600; }
.rms-inventory-port.connected.lan-gigabit { color:#168041; }
.rms-inventory-port.connected.lan-fast { color:#ad7900; }
.rms-inventory-port.connected .rms-inventory-link { color:inherit; }
.rms-inventory-port.disconnected { color:#202a36; }
.rms-inventory-port.unknown { color:#8994a1; }
.rms-inventory-editor { padding:20px; color:#24496f; }
.rms-inventory-editor>label { display:block; margin:14px 0; }
.rms-inventory-editor input:not([type=checkbox]),.rms-inventory-editor textarea,.rms-inventory-editor select { box-sizing:border-box; width:100%; margin-top:5px; border:1px solid #b8cbe1; border-radius:4px; padding:8px; font:inherit; }
.rms-inventory-editor textarea { min-height:88px; resize:vertical; }
.rms-inventory-editor [hidden] { display:none; }
.rms-inventory-footer { margin-top:18px; padding-top:12px; border-top:1px solid #dbe5ef; display:flex; justify-content:flex-end; gap:9px; }
.rms-inventory-error { color:#c62828; margin-top:12px; }
#rmsInventoryRouterPages,#rmsInventoryAccountPages { display:flex; gap:10px; align-items:center; margin:7px 0 14px; }
.rms-variable-editor [hidden],input[hidden] { display:none !important; }
.rms-variable-editor .rms-button { margin:5px 3px 0 0; }
.rms-variable-editor input { margin-top:6px; }
.rms-pppoe-combo-controls { display:flex; align-items:stretch; gap:0; }
.rms-pppoe-combo-controls input { flex:1; width:0; min-width:0; border-top-right-radius:0; border-bottom-right-radius:0; }
.rms-pppoe-combo-controls select { flex:0 0 118px; width:118px; border-left:0; border-top-left-radius:0; border-bottom-left-radius:0; }
.rms-pppoe-combo-controls input[readonly] { background:#edf5ff; color:#225a8a; }
.rms-wifi-combo-controls { display:flex; align-items:stretch; gap:0; }
.rms-wifi-combo-controls>input,.rms-wifi-combo-controls>.rms-ssid-editor { flex:1; width:0; min-width:0; }
.rms-wifi-combo-controls>input { border-top-right-radius:0; border-bottom-right-radius:0; }
.rms-wifi-combo-controls>select { flex:0 0 118px; width:118px; border-left:0; border-top-left-radius:0; border-bottom-left-radius:0; }
.rms-wifi-combo-controls input[readonly] { background:#edf5ff; color:#225a8a; }
.rms-wifi-combo [hidden] { display:none !important; }
