/* Sistem Durumu tanı paneli */
#system-health-modal {
    padding: 1rem !important;
    z-index: 285;
}
.sh-shell {
    width: min(100%, 28rem);
    max-height: min(90vh, 640px);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.sh-shell--inline {
    width: 100%;
    max-width: none;
    max-height: none;
    min-height: min(70vh, 720px);
    box-shadow: none;
    border: none;
    border-radius: 0.75rem;
}
#sa-tab-health .sh-list {
    max-height: min(58vh, 560px);
}
.sh-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.1rem 0.65rem;
    border-bottom: 1px solid #f1f5f9;
}
.sh-head h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}
.sh-head p {
    margin: 0.2rem 0 0;
    font-size: 0.68rem;
    color: #64748b;
    line-height: 1.4;
}
.sh-close {
    width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    flex-shrink: 0;
}
.sh-close:hover { background: #f8fafc; color: #0f172a; }
.sh-summary {
    margin: 0.75rem 1.1rem 0;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    border: 1px solid transparent;
}
.sh-summary.is-ok { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.sh-summary.is-warn { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.sh-summary.is-fail { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.sh-actions {
    display: flex;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem 0.5rem;
}
.sh-btn {
    flex: 1;
    min-height: 2.35rem;
    border-radius: 0.7rem;
    font-size: 0.7rem;
    font-weight: 800;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    cursor: pointer;
}
.sh-btn.is-primary {
    background: #0d9488;
    border-color: #0d9488;
    color: #fff;
}
.sh-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.sh-list {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 1.1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.sh-section-title {
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin: 0.35rem 0 0.1rem;
    padding-top: 0.25rem;
    border-top: 1px solid #f1f5f9;
}
.sh-section-title:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}
.sh-row {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    padding: 0.55rem 0.6rem;
    border-radius: 0.7rem;
    border: 1px solid #f1f5f9;
    background: #fafafa;
}
.sh-row .sh-icon {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}
.sh-row.is-ok .sh-icon { background: #d1fae5; color: #047857; }
.sh-row.is-warn .sh-icon { background: #fef3c7; color: #b45309; }
.sh-row.is-fail .sh-icon { background: #fee2e2; color: #b91c1c; }
.sh-row.is-skip .sh-icon { background: #f1f5f9; color: #94a3b8; }
.sh-row-body { min-width: 0; flex: 1; }
.sh-row-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}
.sh-row-detail {
    font-size: 0.64rem;
    color: #64748b;
    margin-top: 0.15rem;
    line-height: 1.45;
    word-break: break-word;
}
.tdash-profile-menu-item.is-health > i { background: #ede9fe; color: #6d28d9; }
