.rsp-ecu-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 1150px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    overflow: hidden;
}

.rsp-breadcrumbs-area {
    background: #ffffff;
    padding: 18px 30px;
    border-bottom: 1px solid #e2e8f0;
}

.rsp-breadcrumbs {
    font-size: var(--text-caps);
    color: #94a3b8;
    font-weight: 500;
}

.rsp-tabs-area {
    background: #f8fafc;
    padding: 20px 30px;
    border-bottom: 1px solid #e2e8f0;
}

.rsp-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.rsp-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: #ffffff;
    border: 1px solid var(--rsp-tab-active, #1c3882);
    border-radius: 8px;
    cursor: pointer;
    font-size: var(--text-body-m);
    font-weight: 600;
    color: var(--rsp-tab-active, #1c3882);
    transition: all 0.2s;
    user-select: none;
}

.rsp-tab-btn:hover {
    background: #f1f5f9;
}

.rsp-tab-btn.active {
    background: var(--rsp-tab-active, #1c3882);
    color: #fff;
    border-color: var(--rsp-tab-active, #1c3882);
    box-shadow: inset 0 0 0 2px #ffffff;
}

.rsp-tab-content {
    display: flex;
    gap: 50px;
    padding: 0;
}

.rsp-card-body {
    padding: 40px 30px;
    background: #ffffff;
}

.rsp-left-col {
    flex: 1;
}

.rsp-right-col {
    width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .rsp-breadcrumbs-area {
        padding: 15px;
    }
    .rsp-tabs-area {
        padding: 15px;
    }
    .rsp-card-body {
        padding: 25px 15px;
    }
    .rsp-tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    .rsp-tabs-nav::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .rsp-tab-btn {
        white-space: nowrap;
    }

    .rsp-tab-content {
        flex-direction: column-reverse;
        gap: 30px;
    }
    .rsp-right-col {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    .rsp-tune-page-header h1 {
        /* font-size clamp applied in HTML */
    }
}

.rsp-graph-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rsp-svg-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(135deg);
}

.rsp-circle-bg {
    fill: none;
    stroke: var(--rsp-circle-bg, #f0f0f0);
}

.rsp-circle-progress {
    fill: none;
}

.rsp-circle-inner {
    text-align: center;
    z-index: 2;
}

.rsp-metric {
    margin: 10px 0;
}






.rsp-pricing-block {
    width: 100%;
}

.rsp-price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: var(--text-body-s);
}

#rsp-price-display {
    font-weight: bold;
    color: var(--rsp-price-color, #333333);
}

#rsp-purchase-btn {
    width: 100%;
    background: var(--rsp-purchase-bg, #2ea043);
}

#rsp-purchase-btn:disabled {
    background: #ccc !important;
    cursor: not-allowed;
    opacity: 0.6;
}

#rsp-purchase-btn:not(:disabled):hover {
    background: var(--rsp-purchase-hover, #238636) !important;
}

.rsp-reqs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e2e8f0;
}
.rsp-reqs-table th, .rsp-reqs-table td {
    margin: 0;

}

/* Catalog Filter Widget v2 */
.rsp-v2-filter {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.rsp-v2-bg-shape {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: #eff6ff;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.rsp-v2-header {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.rsp-v2-header h2 { margin: 0 0 8px 0; font-size: var(--rsp-ft-size, var(--text-h1)); font-weight: var(--rsp-ft-weight, 600); color: var(--rsp-ft-color, #0f172a); }

.rsp-v2-header p { margin: 0; font-size: var(--rsp-fs-size, var(--text-caps)); font-weight: var(--rsp-fs-weight, 600); color: var(--rsp-fs-color, #64748b); }

.rsp-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.rsp-v2-full {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.rsp-v2-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--rsp-filter-border, #e2e8f0) !important;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    transition: border-color 0.2s ease;
}

.rsp-v2-box:hover {
    border-color: #cbd5e1;
}

.rsp-v2-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--rsp-primary, #2563eb) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.rsp-v2-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.rsp-v2-content {
    flex-grow: 1;
    min-width: 0; /* Prevent flex overflow */
}

.rsp-v2-content label {
    display: block;
    font-size: var(--text-caps);
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.rsp-v2-content select {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: var(--text-body-m);
    color: #334155;
    appearance: none;
    background: #fff url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 8px center;
    background-size: 16px;
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
    border: 1px solid #f1f5f9;
}

.rsp-v2-content select:hover:not(:disabled) {
    border-color: var(--rsp-filter-border, #e2e8f0) !important;
}

.rsp-v2-content select:focus {
    border-color: var(--rsp-primary, #2563eb) !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.rsp-v2-content select:disabled {
    background-color: transparent;
    color: #94a3b8;
    cursor: not-allowed;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

.rsp-v2-btn {
    width: 100%;
    padding: 16px;
    background: var(--rsp-primary, #2563eb) !important;
    color: #fff;
    border: 1px solid var(--rsp-btn-border, #1d4ed8) !important;
    cursor: pointer;
    font-size: var(--text-btn);
    font-weight: 600;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.rsp-v2-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.rsp-v2-btn:hover:not(:disabled) {
    background: var(--rsp-primary-hover, #1d4ed8) !important;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.rsp-v2-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .rsp-v2-grid {
        grid-template-columns: 1fr;
    }
}



