        /* Instrumentos más rentables cards */
        .mover-card, .inst-card { position: relative; }

        .inst-card {
            background: linear-gradient(135deg, #fffbeb 0%, #ffffff 65%);
            border: 1px solid #e3e8f0;
            border-left: 4px solid #f59e0b;
            padding: 0.85rem 0.85rem 0.9rem;
            border-radius: 16px;
            box-shadow: 0 4px 16px rgba(0,75,135,0.07), 0 1px 3px rgba(0,75,135,0.04);
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
            min-width: 0;
            max-width: 100%;
            min-height: 8.2rem;
            box-sizing: border-box;
            overflow: hidden;
        }
        .inst-card:hover {
            box-shadow: 0 12px 32px rgba(0,75,135,0.13), 0 4px 8px rgba(0,75,135,0.07);
            transform: translateY(-4px) scale(1.01);
            border-color: #fbbf24;
        }
        .inst-card-emisor {
            font-weight: 600;
            color: #1c2c3d;
            font-size: 0.8rem;
            line-height: 1.3;
            overflow-wrap: anywhere;
            min-height: 2.6em;
            /* at most two lines; the full name is in the title tooltip */
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            overflow: hidden;
        }
        .inst-card-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 0.4rem;
            flex-wrap: wrap;
            min-width: 0;
        }
        .inst-card-rendimiento {
            font-size: 1.25rem;
            font-weight: 800;
            color: #1fa463;
            letter-spacing: -0.5px;
            white-space: nowrap;
            min-width: 0;
            flex-shrink: 1;
        }
        .inst-badges {
            display: flex;
            gap: 0.3rem;
            flex-wrap: wrap;
            align-items: center;
            justify-content: flex-end;
            min-width: 0;
            max-width: 100%;
        }
        @media (max-width: 480px) {
            .inst-card-rendimiento { font-size: 1rem; }
            .inst-card { padding: 0.65rem 0.6rem 0.7rem; }
        }
        .inst-badge {
            background: #eef3f8;
            color: #2f4b68;
            font-weight: 600;
            font-size: 0.7rem;
            padding: 0.12rem 0.4rem;
            border-radius: 6px;
            letter-spacing: 0.3px;
            white-space: nowrap;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .inst-badge.dop { background: #fef3c7; color: #92400e; }
        .inst-badge.usd { background: #dcfce7; color: #166534; }
        .inst-card-meta {
            font-size: 0.73rem;
            color: #6b7280;
            margin-top: auto;
        }
