.eit-raid-wrap{
    --eit-raid-primary:#2f6fad;
    --eit-raid-success:#4caf50;
    --eit-raid-danger:#d9534f;
    --eit-raid-bg:#ffffff;
    --eit-raid-text:#1f2937;
    --eit-raid-border:#d8dee6;
    --eit-raid-soft:#f5f7fa;
    --eit-raid-shadow:0 8px 24px rgba(0,0,0,.06);
    font-family:inherit;
    color:var(--eit-raid-text);
    margin:20px 0;
}
.eit-raid-wrap *{
    box-sizing:border-box;
}
.eit-raid-grid{
    display:grid;
    grid-template-columns:minmax(300px,380px) 1fr;
    gap:24px;
}
.eit-raid-card{
    background:var(--eit-raid-bg);
    border:1px solid var(--eit-raid-border);
    border-radius:14px;
    box-shadow:var(--eit-raid-shadow);
    overflow:hidden;
}
.eit-raid-card-header{
    padding:18px 22px;
    border-bottom:1px solid var(--eit-raid-border);
    background:linear-gradient(180deg,#fafbfd 0%,#f5f7fa 100%);
}
.eit-raid-card-header h3{
    margin:0;
    font-size:20px;
    line-height:1.2;
}
.eit-raid-card-body{
    padding:22px;
}
.eit-raid-field{
    margin-bottom:20px;
}
.eit-raid-field label{
    display:block;
    font-weight:600;
    margin-bottom:8px;
}
.eit-raid-select,
.eit-raid-disk-input{
    width:100%;
    border:1px solid var(--eit-raid-border);
    border-radius:10px;
    padding:12px 14px;
    font-size:15px;
    background:#fff;
    color:var(--eit-raid-text);
}
.eit-raid-disk-input-row{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
}
.eit-raid-disk-index{
    min-width:72px;
    font-weight:600;
    font-size:14px;
}
.eit-raid-disk-input{
    max-width:150px;
}
.eit-raid-disk-unit{
    color:#6b7280;
    font-size:14px;
}
.eit-raid-btn-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}
.eit-raid-btn{
    border:0;
    border-radius:10px;
    padding:11px 16px;
    cursor:pointer;
    font-size:14px;
    font-weight:600;
    transition:.2s ease;
    line-height:1.2;
}
.eit-raid-btn:hover{
    transform:translateY(-1px);
}
.eit-raid-btn-primary{
    background:var(--eit-raid-primary);
    color:#fff;
}
.eit-raid-btn-secondary{
    background:#4b5563;
    color:#fff;
}
.eit-raid-btn-light{
    background:#eef2f7;
    color:#223040;
}
.eit-raid-stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    margin-bottom:24px;
}
.eit-raid-stat{
    background:var(--eit-raid-soft);
    border:1px solid var(--eit-raid-border);
    border-radius:12px;
    padding:18px 14px;
    text-align:center;
}
.eit-raid-stat-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    margin-bottom:8px;
}
.eit-raid-stat-icon img{
    max-width:28px;
    max-height:28px;
    display:block;
}
.eit-raid-stat-label{
    font-size:13px;
    color:#6b7280;
    margin-bottom:6px;
}
.eit-raid-stat-value{
    font-size:26px;
    font-weight:700;
    line-height:1.2;
}
.eit-raid-stat-value.is-primary{ color:var(--eit-raid-primary); }
.eit-raid-stat-value.is-success{ color:var(--eit-raid-success); }
.eit-raid-stat-value.is-danger{ color:var(--eit-raid-danger); }

.eit-raid-section{
    margin-top:24px;
}
.eit-raid-section h4{
    margin:0 0 12px 0;
    font-size:18px;
}
.eit-raid-bar{
    width:100%;
    height:42px;
    background:#edf1f5;
    border-radius:999px;
    overflow:hidden;
    border:1px solid var(--eit-raid-border);
    display:flex;
}
.eit-raid-bar-segment{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:700;
    color:#fff;
    white-space:nowrap;
    overflow:hidden;
}
.eit-raid-bar-usable{ background:var(--eit-raid-primary); }
.eit-raid-bar-protected{ background:var(--eit-raid-success); }
.eit-raid-bar-overhead{ background:var(--eit-raid-danger); }

.eit-raid-legend{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin-top:10px;
    font-size:14px;
    color:#6b7280;
}
.eit-raid-dot{
    display:inline-block;
    width:12px;
    height:12px;
    border-radius:3px;
    margin-right:6px;
    vertical-align:middle;
}
.eit-raid-dot-primary{ background:var(--eit-raid-primary); }
.eit-raid-dot-success{ background:var(--eit-raid-success); }
.eit-raid-dot-danger{ background:var(--eit-raid-danger); }

.eit-raid-disk-preview{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}
.eit-raid-disk-card{
    width:110px;
    border:1px solid var(--eit-raid-border);
    border-radius:12px;
    padding:12px 10px;
    background:#fafbfd;
    text-align:center;
}
.eit-raid-disk-icon{
    line-height:1;
    margin-bottom:8px;
    color:var(--eit-raid-primary);
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:32px;
}
.eit-raid-disk-icon svg{
    display:block;
    width:28px;
    height:28px;
}
.eit-raid-disk-icon img{
    max-width:28px;
    max-height:28px;
    display:block;
}
.eit-raid-disk-label{
    font-size:12px;
    font-weight:700;
    margin-bottom:4px;
}
.eit-raid-disk-size{
    font-size:18px;
    font-weight:700;
    color:var(--eit-raid-primary);
}
.eit-raid-info{
    margin-top:24px;
    padding:14px 16px;
    border:1px solid #bcd7f0;
    background:#eef6fd;
    color:#23415c;
    border-radius:12px;
}
.eit-raid-warning{
    margin-top:16px;
    padding:14px 16px;
    border:1px solid #f0d08a;
    background:#fff8e5;
    color:#7a5a00;
    border-radius:12px;
}
.eit-raid-table{
    width:100%;
    border-collapse:collapse;
    margin-top:8px;
}
.eit-raid-table th,
.eit-raid-table td{
    border:1px solid var(--eit-raid-border);
    padding:12px 14px;
    text-align:left;
}
.eit-raid-table th{
    width:35%;
    background:#f8fafc;
}

@media (max-width:980px){
    .eit-raid-grid{
        grid-template-columns:1fr;
    }
    .eit-raid-stats-grid{
        grid-template-columns:repeat(2,1fr);
    }
}
@media (max-width:640px){
    .eit-raid-stats-grid{
        grid-template-columns:1fr;
    }
    .eit-raid-disk-input-row{
        flex-wrap:wrap;
    }
    .eit-raid-disk-input{
        max-width:none;
    }
}