#speedlabTab {
    padding-bottom: 24px;
}

.sl-header {
    background: linear-gradient(135deg, #171717, #353535);
    color: white;
    padding: 24px;
    border-radius: 18px;
    margin-bottom: 16px;
    border-top: 4px solid #c8102e;
}

.sl-header h2 {
    color: white;
    margin: 0 0 8px;
    font-size: 26px;
}

.sl-header p {
    color: #ddd;
    margin: 0;
    font-size: 13px;
}

.sl-card {
    background: white;
    border: 1px solid #dedede;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

.sl-card h3 {
    margin: 0 0 16px;
    color: #222;
    font-size: 19px;
}

.sl-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.sl-metric {
    background: #f5f5f6;
    border-radius: 12px;
    padding: 14px;
    border-top: 3px solid #c8102e;
}

.sl-metric span {
    display: block;
    font-size: 12px;
    color: #555;
}

.sl-metric strong {
    display: block;
    font-size: 28px;
    color: #222;
    margin: 6px 0;
}

.sl-field {
    margin: 18px 0;
}

.sl-field label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #333;
}

.sl-field input[type="range"] {
    width: 100%;
    accent-color: #c8102e;
    margin-top: 14px;
    padding: 0;
    min-height: 30px;
    box-shadow: none;
}

.sl-field input[type="number"] {
    width: 100%;
    margin-top: 8px;
    box-sizing: border-box;
}

.sl-note {
    color: #666;
    font-size: 12px;
    line-height: 1.6;
}

.sl-feature {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.sl-feature:last-child {
    border-bottom: 0;
}

.sl-feature strong {
    display: block;
    color: #222;
    margin-bottom: 5px;
}

.sl-feature span {
    color: #666;
    font-size: 13px;
}

.sl-positive {
    color: #16803c !important;
}

.sl-negative {
    color: #c8102e !important;
}

@media (max-width: 480px) {
    .sl-card {
        padding: 14px;
    }

    .sl-metric strong {
        font-size: 25px;
    }
}
