.device-detail-popup-content {
    max-height: calc(90vh - 220px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    padding-bottom: 4px;
    scrollbar-gutter: stable;
}

.uts-device-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.uts-device-two-col > .uts-device-block {
    min-width: 0;
}

.uts-device-block {
    border: 1px solid #dfe3e8;
    border-radius: 6px;
    background-color: #fff;
    overflow: hidden;
}

.uts-device-block-title {
    margin: 0;
    padding: 10px 12px;
    background: #f3f4f6;
    border-bottom: 1px solid #dfe3e8;
    color: #3f3f3f;
    font-size: 16px;
    font-weight: 600;
}

.uts-kv {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.uts-kv td {
    padding: 6px 10px;
    vertical-align: top;
    line-height: 1.3;
}

.uts-kv td:first-child {
    width: 36%;
    color: #4f5866;
    font-weight: 500;
}

.uts-kv td:last-child {
    color: #1f2937;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.uts-device-block > .uts-kv {
    margin: 8px 0 10px;
}

.uts-device-block > .dxbl-grid {
    margin: 8px 10px 10px;
}

.uts-device-block > .uts-device-two-col {
    padding: 8px 10px 10px;
}

@media (max-width: 992px) {
    .uts-device-two-col {
        grid-template-columns: 1fr;
    }
}
