#ht-dvswitch {
    background: var(--ht-panel, #fff);
    color: var(--ht-text, #212529);
    border: 1px solid var(--ht-border, #ced4da);
    border-radius: 10px;
    margin: 12px 0;
    overflow: hidden;
}

#ht-dvswitch summary {
    padding: 14px 16px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
}

#ht-dvswitch-body {
    padding: 0 16px 16px;
}

.ht-dv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.ht-dv-item {
    background: var(--ht-card, #f8f9fa);
    border: 1px solid var(--ht-border, #dee2e6);
    border-radius: 8px;
    padding: 10px 12px;
}

.ht-dv-label {
    font-size: .75rem;
    color: var(--ht-muted, #6c757d);
    text-transform: uppercase;
}

.ht-dv-value {
    font-size: 1.2rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.ht-dv-good {
    color: #22c55e;
}

.ht-dv-bad {
    color: #ef4444;
}

.ht-dv-muted {
    color: var(--ht-muted, #6c757d);
    font-size: .8rem;
}

.ht-dv-table-wrap {
    overflow-x: auto;
}

#ht-dvswitch table {
    width: 100%;
    color: inherit;
    font-size: .85rem;
    border-collapse: collapse;
}

#ht-dvswitch th,
#ht-dvswitch td {
    padding: 8px;
    white-space: nowrap;
    border-bottom: 1px solid var(--ht-border, #dee2e6);
}

#ht-dvswitch a {
    color: var(--ht-accent, #0d6efd);
}
