.cond-items { display:flex; flex-direction: column; gap: 10rpx; }
.cond-item-card { background:#fff; border: 1rpx solid #edf0f5; border-radius: 12rpx; padding: 10rpx; }
.item-head .item-top { display:flex; align-items:center; gap: 10rpx; flex-wrap: wrap; }
.item-field { display:flex; align-items:center; gap: 6rpx; }
.item-field .label { font-size: 24rpx; color:#606266; }
.item-actions { display:flex; align-items:center; gap: 8rpx; }
.table.cond-item-content .tr { display:grid; grid-template-columns: 1.1fr 1.1fr 1.1fr 1fr 1fr 1.1fr; gap: 6rpx; padding: 6rpx 0; }
/* pages/basics/BluetoothDebugging/B13page/B13page.wxss */
.container { background: #f5f6f8; min-height: 100vh; display: flex; flex-direction: column; }
.content { padding: 8rpx 10rpx 0rpx; box-sizing: border-box; display: flex; flex-direction: column; gap: 8rpx; flex: 1; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10rpx; margin-bottom: 12rpx; }
.grid-item { background: #fff; border-radius: 14rpx; padding: 10rpx 0; display: flex; flex-direction: column; align-items: center; }
.circle { width: 40rpx; height: 40rpx; border-radius: 50%; background: #e9ecef; margin-bottom: 6rpx; }
.circle.green { background: #21c161; }
.circle.red { background: #ff3b30; }
.circle.gray { background: #e9ecef; }
.label { font-size: 24rpx; color: #606266; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8rpx; margin-bottom: 10rpx; }
.card { background: #fff; border-radius: 14rpx; padding: 14rpx 6rpx; display: flex; flex-direction: column; align-items: center; }
.icon { width: 30rpx; height: 30rpx; border-radius: 8rpx; margin-bottom: 4rpx; }
.icon.orange { background: #ff8f00; }
.icon.red { background: #ff3b30; }
.icon.green { background: #21c161; }
.icon.blue { background: #0ea5e9; }
.icon.gray { background: #9aa0a6; }
.card-title { font-size: 24rpx; color: #555; }

.slider-card { background: #fff; border-radius: 14rpx; padding: 12rpx; box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.04); margin-bottom: 10rpx; }
.slider-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6rpx; }
.slider-head .title { font-size: 26rpx; color: #333; }
.slider-head .value { font-size: 24rpx; color: #21c161; }

.log-card { background: #fff; border-radius: 14rpx; padding: 14rpx; box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.04); display: flex; flex-direction: column; gap: 8rpx; flex: 1; }
.log-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12rpx; }
.log-head .title { font-size: 26rpx; color: #333; }
.log-head .action { font-size: 24rpx; color: #2bab99; }

.log-options { display: flex; flex-wrap: nowrap; gap: 14rpx; }
.log-options .option { display: flex; align-items: center; font-size: 24rpx; color: #555; white-space: nowrap; }
.log-options checkbox { margin-right: 10rpx; transform: scale(0.9); }

.log-input-row { display: flex; align-items: flex-end; gap: 8rpx; }
.log-input { flex: 1; background: #f5f6f8; border-radius: 12rpx; padding: 10rpx 12rpx; font-size: 24rpx; border: 1rpx solid #e5e9f2; height: 100rpx; line-height: 34rpx; box-sizing: border-box; white-space: pre-wrap; word-break: break-all; }
.send-btn { padding: 0 22rpx; height: 56rpx; line-height: 56rpx; border-radius: 12rpx; }

.log-scroll { flex: 1; border: 1rpx solid #e5e9f2; border-radius: 12rpx; padding: 12rpx; background: #fdfdfd; box-sizing: border-box; min-height: 200rpx; max-height: 42vh; }

/* 设备信息行 */
.device-row { display:flex; align-items:flex-start; justify-content: space-between; gap: 12rpx; background:#fff; border-radius: 14rpx; padding: 10rpx 12rpx; box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.04); flex-wrap: wrap; row-gap: 6rpx; }
.device-left { display:flex; flex-direction: column; gap: 6rpx; flex: 1; min-width: 60%; }
.device-line { display:flex; align-items:center; gap: 8rpx; flex-wrap: wrap; }
.device-row .dr-label { color:#606266; font-size: 24rpx; }
.device-row .dr-value { color:#333; font-size: 26rpx; }
.dr-btn { white-space: nowrap; margin-left: auto; height: 84rpx; line-height: 84rpx; padding: 0 28rpx; display: flex; align-items: center; justify-content: center; text-align: center; flex-shrink: 0; align-self: stretch; }
.dr-btn-view { background: #0ea5e9; color: #ffffff; border-radius: 12rpx; box-shadow: 0 2rpx 6rpx rgba(14,165,233,0.35); }
.dr-btn-view:active { opacity: 0.85; }

/* 配置表样式 */
.cfg-card { background:#fff; border-radius: 14rpx; padding: 12rpx; box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.04); }
.cfg-head { font-size: 26rpx; color:#333; margin-bottom: 10rpx; }
.head-row { display:flex; align-items:center; justify-content: space-between; gap: 12rpx; }
.head-actions { display:flex; gap: 10rpx; }
.cond-card .head-actions { gap: 8rpx; }
.cond-card .head-actions button { padding: 0 14rpx; height: 48rpx; line-height: 48rpx; }
.toolbar { display:flex; flex-wrap: wrap; gap: 8rpx; align-items: center; justify-content: space-between; }
.toolbar .import-box { min-width: 260rpx; padding: 6rpx 10rpx; border: 1rpx solid #e5e9f2; border-radius: 10rpx; background:#f7f8fa; font-size: 22rpx; color:#606266; }
.toolbar .toolbar-actions { display:flex; align-items:center; gap: 6rpx; }
.toolbar .toolbar-actions button { padding: 0 12rpx; }
.table.header, .table.body { display:flex; flex-direction: column; gap: 6rpx; }
.table.port .tr { display:grid; grid-template-columns: 1.4fr 1.2fr 1.4fr 1.4fr 0.8fr 1.1fr 1fr; gap: 6rpx; padding: 6rpx 0; }
.table.body.port { gap: 2rpx; }
.table.body.port .tr { gap: 4rpx; padding: 2rpx 0; }
.table.cond-item .tr-top { display:grid; grid-template-columns: 0.8fr 1fr 0.8fr; gap: 4rpx; padding: 2rpx 0; }
.cond-card .table.cond-item .tr-top .td { display:flex; align-items:center; gap: 6rpx; flex-wrap: nowrap; }
.cond-card .table.cond-item .tr-top .td .label { white-space: nowrap; }
.cond-card .table.cond-item .tr-top .td .picker-text { flex: none; white-space: nowrap; }
.cond-card .table.cond-item .tr-top .td { min-width: 0; }
.cond-card .table.cond-item .tr-top .td .label { font-size: 22rpx; }
.cond-card .table.cond-item .tr-top .td:first-child .label { font-weight: 600; color:#8B4513; }
.cond-card .table.cond-item .tr-top .td .picker-text { height: 40rpx; padding: 0 6rpx; font-size: 22rpx; }
.cond-card .table.cond-item .tr-top .td:first-child .picker-text { width: 90rpx; text-align: center; }
.cond-card .table.cond-item .tr-top .td:nth-child(2) .picker-text { width: 95rpx; }
.cond-card .table.cond-item .tr-top .td:nth-child(3) .picker-text { width: 100rpx; }
.cond-card .seq-value { font-size: 24rpx; font-weight: 600; color: #8B4513; }
.table.cond-item .tr-mid { display:grid; grid-template-columns: 1.5fr minmax(100rpx,0.9fr) minmax(100rpx,0.9fr) 1fr 1fr 1fr; gap: 6rpx; padding: 4rpx 0; }
.table.cond-item .tr-bottom { display:grid; grid-template-columns: 1.5fr minmax(100rpx,0.9fr) minmax(100rpx,0.9fr) 1fr 1fr 1fr; gap: 6rpx; padding: 6rpx 0; }
.cond-card .table.cond-item .tr-mid .th:first-child { white-space: nowrap; }
.cond-card .table.cond-item .tr-bottom .td:first-child .picker-text { white-space: nowrap; }
.table .th, .table .td { font-size: 24rpx; color:#555; }
.table .th.name, .table .td.name { color:#333; }
.picker-text { height: 48rpx; padding: 0 12rpx; border: 1rpx solid #e5e9f2; border-radius: 10rpx; background:#f7f8fa; display: flex; align-items: center; }
.cond-card .picker-text { height: 44rpx; padding: 0 8rpx; }
.picker-text.readonly { background: #f0f1f3; font-weight: 600; }
.input.picker-text { height: 48rpx; line-height: 48rpx; padding: 0 12rpx; }
.cond-card input.picker-text { height: 44rpx; line-height: 44rpx; padding: 0 8rpx; }
.td.group-seq { display:flex; align-items:center; gap: 6rpx; }
.td.group-seq .picker-text { flex: 1; }
.td.group-seq .sep { color:#9aa0a6; }
/* 条件组样式 */
.cond-groups { display:flex; flex-direction: column; gap: 10rpx; }
.cond-scroll { max-height: 680rpx; border: 1rpx solid #e5e9f2; border-radius: 12rpx; padding: 6rpx; box-sizing: border-box; background: #fff; }
.group-card { background:#fafafa; border: 1rpx solid #edf0f5; border-radius: 12rpx; padding: 10rpx; }
.group-head .group-info { display:flex; align-items:center; gap: 12rpx; }
.group-title { font-size: 24rpx; color:#1e3a8a; font-weight: 600; }
.group-seq { font-size: 24rpx; color:#1e3a8a; font-weight: 600; }
.group-time { display:flex; align-items:center; gap: 8rpx; }
.cond-card .group-time .label { white-space: nowrap; font-size: 22rpx; }
.cond-card .group-time .timeout-picker .picker-text { width: 120rpx; height: 44rpx; padding: 0 8rpx; font-size: 22rpx; text-align: center; white-space: nowrap; }
.cond-card .group-time .unit-picker .picker-text { width: 100rpx; height: 44rpx; padding: 0 8rpx; font-size: 22rpx; white-space: nowrap; }
.cfg-actions { display:flex; justify-content:flex-end; margin-top: 10rpx; }
.action-row { display:flex; flex-wrap: wrap; gap: 12rpx; }
.log-item { margin-bottom: 10rpx; }
.log-item:last-child { margin-bottom: 0; }
.log-time { display: block; font-size: 22rpx; color: #9aa0a6; margin-bottom: 4rpx; }
.log-text { display: block; font-size: 24rpx; color: #333; word-break: break-all; }
.log-empty { font-size: 24rpx; color: #9aa0a6; text-align: center; padding: 20rpx 0; }
